@import url('themes.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Announcement bar — seperti SafelinkU */
.announce-bar {
  background: var(--announcement-bg);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
}
.announce-bar strong { font-weight: 800; }

/* Header */
.site-header-shell,
.site-topbar,
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}
@media (min-width: 901px) {
  .site-header-shell,
  .site-topbar,
  .site-header {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
}
@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px 20px;
  }
  .main-nav {
    min-width: 0;
    overflow: hidden;
    justify-content: center;
  }
  .main-nav-links {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 4px;
  }
  .main-nav-links::-webkit-scrollbar {
    display: none;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-text span { color: var(--brand); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta { display: flex; gap: 8px; align-items: center; }

.icon { flex-shrink: 0; }
.icon, .icon svg, .icon-box svg, .logo-svg { pointer-events: none; }
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.icon-box--green { background: #d1fae5; color: #059669; }
.icon-box--blue { background: #dbeafe; color: #2563eb; }
.icon-box--purple { background: #ede9fe; color: #7c3aed; }
.icon-box--orange { background: #ffedd5; color: #ea580c; }
.icon-box--pink { background: #fce7f3; color: #db2777; }
[data-theme="dark"] .icon-box--green { background: #064e3b; color: #34d399; }
[data-theme="dark"] .icon-box--blue { background: #1e3a5f; color: #60a5fa; }
[data-theme="dark"] .icon-box--purple { background: #3b0764; color: #c4b5fd; }
[data-theme="dark"] .icon-box--orange { background: #431407; color: #fb923c; }
[data-theme="dark"] .icon-box--pink { background: #500724; color: #f472b6; }

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px var(--brand-glow);
}
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 8px 24px var(--brand-glow); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
[data-theme="dark"] .btn--outline {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
[data-theme="dark"] .btn--outline:hover {
  background: var(--surface-hover);
  border-color: var(--brand);
  color: var(--brand);
}
.btn--white { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn--secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost { background: transparent; color: var(--text-muted); border: 2px solid var(--border); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ===== HOME — SafelinkU style ===== */
.page-home { overflow-x: hidden; }

.hero-sl {
  padding: 64px 0 48px;
  background: var(--gradient-hero);
  position: relative;
}
.hero-sl::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero-sl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
@media (max-width: 960px) {
  .hero-sl-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sl-copy .hero-btns { justify-content: center; }
  .hero-sl-visual { order: -1; }
  .hero-sl { padding: 28px 0 36px; }
  .hero-sl-grid { gap: 20px; margin-bottom: 28px; }
  .hero-visual-card { max-width: 260px; margin: 0 auto; }
  .lottie-hero { width: 220px !important; height: 220px !important; }
}
@media (max-width: 640px) {
  .hero-sl { padding: 20px 0 28px; }
  .hero-sl-copy h1 { font-size: 1.65rem; margin-bottom: 14px; }
  .hero-sl-copy .eyebrow { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 14px; }
  .hero-sl-copy .hero-sub { font-size: 0.92rem; margin-bottom: 20px; }
  .hero-sl-copy .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-sl-copy .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-shrinker-inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 10px;
  }
  .hero-shrinker-inner input { width: 100%; text-align: left; }
  .hero-shrinker-inner .btn { width: 100%; justify-content: center; }
  .hero-float { display: none; }
  .lottie-hero { width: 180px !important; height: 180px !important; }
  .hero-visual-card { max-width: 200px; }
  .hero-proof-strip { justify-content: center; }
  .stats-sl { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-sl strong { font-size: 1.2rem; }
}
.hero-sl-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
[data-theme="dark"] .hero-sl-copy .eyebrow { color: var(--brand); }
.hero-sl-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.text-brand { color: var(--brand); }
.hero-sl-copy .hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.7;
}
@media (max-width: 960px) { .hero-sl-copy .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-sl-copy .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-shrinker { max-width: 520px; }
@media (max-width: 960px) { .hero-shrinker { margin: 0 auto; } }
.hero-shrinker-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.hero-shrinker-inner:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.hero-shrinker-inner input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  min-width: 0;
}
.hero-shrinker-inner input:focus { outline: none; }
.hero-shrinker small { display: block; margin-top: 10px; color: var(--text-light); font-size: 0.8rem; }

.hero-visual-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hero-float--1 { top: 12%; left: -8%; animation: float 4s ease-in-out infinite; }
.hero-float--2 { top: 45%; right: -10%; animation: float 5s ease-in-out infinite 0.5s; }
.hero-float--3 { bottom: 10%; left: 5%; animation: float 4.5s ease-in-out infinite 1s; }
@media (max-width: 960px) {
  .hero-float--1 { left: 0; }
  .hero-float--2 { right: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
}
.trust-strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.feature-sl--featured {
  border: 2px solid var(--brand) !important;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.feature-list {
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
}
.feature-list li svg { color: var(--brand); flex-shrink: 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial-stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.testimonial-author small { color: var(--text-light); }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.pay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}
.pay-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.pay-card h3 { font-size: 1rem; margin: 8px 0 4px; }
.pay-card p { color: var(--text-muted); font-size: 0.85rem; }
.pay-card .icon-box { margin: 0 auto 8px; }

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.payment-logo-img {
  height: 28px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s, transform 0.2s;
}
.payment-logos .payment-logo-img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Stats row — SafelinkU */
.stats-sl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (max-width: 768px) { .stats-sl { grid-template-columns: repeat(2, 1fr); } }
.stat-sl {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-sl:last-child { border-right: none; }
@media (max-width: 768px) {
  .stat-sl:nth-child(2) { border-right: none; }
  .stat-sl { border-bottom: 1px solid var(--border); }
  .stat-sl:nth-last-child(-n+2) { border-bottom: none; }
}
.stat-sl strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.stat-sl span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; display: block; }

/* Sections */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Feature grid — SafelinkU cards */
.features-sl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-sl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}
.feature-sl:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.feature-sl h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-sl p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.feature-sl .lottie-mini {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 12px;
}

/* Steps */
.steps-sl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps-sl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-sl { grid-template-columns: 1fr; } }
.step-sl {
  text-align: center;
  padding: 24px 16px;
}
.step-sl .step-num {
  width: 48px; height: 48px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px var(--brand-glow);
}
.step-sl h3 { font-size: 1rem; margin-bottom: 8px; }
.step-sl p { color: var(--text-muted); font-size: 0.9rem; }

/* FAQ */
.faq-sl { max-width: 760px; margin: 0 auto; }
.faq-item-sl {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}
.faq-q-sl {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q-sl .faq-icon { color: var(--brand); transition: transform 0.3s; flex-shrink: 0; }
.faq-item-sl.is-open .faq-q-sl .faq-icon { transform: rotate(45deg); }
.faq-a-sl { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-out); }
.faq-a-sl-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.faq-item-sl.is-open .faq-a-sl { max-height: 300px; }

/* Payment methods */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA bottom */
.cta-sl {
  margin: 0 24px 80px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-sl::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 50%);
}
.cta-sl h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-sl p { opacity: 0.9; margin-bottom: 28px; position: relative; font-size: 1.05rem; }
.cta-sl .btn { position: relative; }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 16px; }
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  padding: 6px 0;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Auth split layout */
.auth-split {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 900px) { .auth-split { grid-template-columns: 1fr; } }
.auth-split-visual {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) { .auth-split-visual { display: none; } }
.auth-split-visual h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.auth-split-visual p { opacity: 0.9; line-height: 1.7; margin-bottom: 32px; }
.auth-split-visual ul { list-style: none; }
.auth-split-visual li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
}
.auth-split-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg);
}
.auth-card-sl {
  width: 100%;
  max-width: 420px;
}
.auth-card-sl h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.auth-card-sl .auth-sub { color: var(--text-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }

/* Dashboard */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 120px);
  gap: 0;
}
@media (max-width: 900px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
}
@media (max-width: 900px) { .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border); } }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.dash-nav a:hover, .dash-nav a.is-active { background: var(--brand-light); color: var(--brand-dark); }
[data-theme="dark"] .dash-nav a:hover, [data-theme="dark"] .dash-nav a.is-active { background: #064e3b; color: var(--brand); }
.dash-main { padding: 32px 24px; background: var(--bg-soft); }
.dash-header { margin-bottom: 32px; }
.dash-header h1 { font-size: 1.5rem; font-weight: 800; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.stat-box .stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--brand-light);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
[data-theme="dark"] .stat-box .stat-icon { background: #064e3b; color: var(--brand); }
.stat-box strong { display: block; font-size: 1.4rem; font-weight: 800; }
.stat-box span { font-size: 0.8rem; color: var(--text-muted); }
.dash-header-sub { margin-top: 8px; font-size: 0.9rem; color: var(--text-muted); }
.dash-nav-divider { height: 1px; background: var(--border); margin: 12px 0; }
.dash-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.spark-wrap { height: 120px; position: relative; }
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.link-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dash-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
@media (max-width: 768px) {
  .dash-main { padding-bottom: 88px; }
  .dash-sidebar .dash-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .dash-sidebar .dash-nav a { flex: 1 1 auto; justify-content: center; font-size: 0.8rem; padding: 8px; }
  .dash-nav-divider, .dash-sidebar .dash-nav a[href="/docs/api"],
  .dash-sidebar .dash-nav a[href="/blog"],
  .dash-sidebar .dash-nav a[href="/logout"],
  .dash-sidebar .dash-nav a[href="/admin/"] { display: none; }
}
.dash-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
}
.dash-bottom-tab.is-active { color: var(--brand-dark); }
[data-theme="dark"] .dash-bottom-tab.is-active { color: var(--brand); }
.page-dash .card { margin-bottom: 20px; }
.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}
.notify-list--page { list-style: none; padding: 0; margin: 0; }
.notify-list--page .notify-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.notify-list--page .notify-item.is-unread { background: var(--brand-light); margin: 0 -16px; padding: 16px; border-radius: var(--radius); }
[data-theme="dark"] .notify-list--page .notify-item.is-unread { background: #064e3b33; }
.notify-item-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.notify-meta { font-size: 0.8rem; color: var(--text-muted); }
.notify-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.notify-empty { text-align: center; color: var(--text-muted); padding: 24px; }
.webhook-events { display: flex; flex-direction: column; gap: 8px; }
.webhook-events label { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; }
.domain-wizard { margin: 0 0 16px; padding-left: 20px; color: var(--text-muted); line-height: 1.7; }
.dash-empty { text-align: center; padding: 40px 16px; color: var(--text-muted); }
.dash-empty-icon { color: var(--brand); opacity: 0.5; margin-bottom: 12px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.more-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--text); font-size: 0.85rem; font-weight: 600; text-align: center;
}
.more-card.is-active, .more-card:hover { border-color: var(--brand); background: var(--brand-light); }
.more-icon { color: var(--brand-dark); }
.pricing-card--current { outline: 2px solid var(--brand); }
.tour-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(15,23,42,0.55);
  display: flex; align-items: flex-end; justify-content: center; padding: 24px;
}
.tour-pop {
  background: var(--surface); border-radius: var(--radius-lg); padding: 20px; max-width: 400px;
  box-shadow: var(--shadow-lg); margin-bottom: 80px;
}
.tour-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.tour-highlight { position: relative; z-index: 201; box-shadow: 0 0 0 4px var(--brand); border-radius: var(--radius); }
.api-playground { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-top: 16px; }
.api-playground-out { background: var(--bg-soft); padding: 16px; border-radius: var(--radius); overflow-x: auto; font-size: 0.8rem; max-height: 360px; margin-top: 16px; }
.bookmarklet-btn { cursor: grab; font-size: 1.1rem; }

/* Shortlink go page */
.go-page { padding: 48px 0; min-height: calc(100vh - 200px); display: flex; align-items: center; }
.go-card-sl {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.go-card-sl .go-icon {
  width: 72px; height: 72px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.go-options-sl { display: grid; gap: 16px; margin: 28px 0; text-align: left; }
.go-option-sl {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
}
.go-option-sl:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.go-option-sl h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 8px; }
.go-option-sl p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }

/* Tables */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.data-table td { padding: 14px; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: var(--surface-2); }
.truncate { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert--success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert--warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
[data-theme="dark"] .alert--error { background: #450a0a; color: #fca5a5; border-color: #7f1d1d; }
[data-theme="dark"] .alert--success { background: #064e3b; color: #6ee7b7; border-color: #047857; }
[data-theme="dark"] .alert--warning { background: #451a03; color: #fcd34d; border-color: #92400e; }
.code-inline {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  word-break: break-all;
  vertical-align: middle;
}
[data-theme="dark"] .code-inline { background: #1e293b; border-color: #334155; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge--info { background: #dbeafe; color: #1d4ed8; }
.badge--success { background: #d1fae5; color: #047857; }
.badge--warning { background: #fef3c7; color: #b45309; }
.badge--muted { background: #f1f5f9; color: #64748b; }
.badge--danger { background: #fee2e2; color: #b91c1c; }
[data-theme="dark"] .badge--info { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .badge--success { background: #064e3b; color: #6ee7b7; }
[data-theme="dark"] .badge--warning { background: #451a03; color: #fcd34d; }
[data-theme="dark"] .badge--danger { background: #450a0a; color: #fca5a5; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: 12px; }
.mt-xs { margin-top: 8px; }
.mb-0 { margin-bottom: 0; }
.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: center;
}
.pagination--start { justify-content: flex-start; }
.table-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 20px 12px;
}
.row-muted td { opacity: 0.65; }
.form-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9rem; }
.chart-card-pub { padding: 20px; margin-bottom: 20px; }
.chart-card-pub h2 { margin: 0 0 16px; }
.chart-wrap { position: relative; height: 220px; }
.chart-wrap--tall { height: 280px; }
.pub-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
}
.pub-toolbar--filter .pub-toolbar-label {
  font-weight: 600;
  font-size: 0.9rem;
}
.pub-filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.card--compact { padding: 16px; }
.notify-list--page .notify-body {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.console-card-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.console-card-toolbar h2 { margin: 0; }
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}
.admin-alerts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.admin-alerts .alert { margin: 0; flex: 1 1 220px; }

/* Lottie */
.lottie-box { display: inline-block; }
.lottie-hero { width: 280px !important; height: 280px !important; margin: 0 auto; }

/* Reveal */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Mobile nav */
.mobile-nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
}
.mobile-nav-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-toggle-icon--close { display: none; }
.mobile-nav-toggle.is-active .mobile-nav-toggle-icon--open { display: none; }
.mobile-nav-toggle.is-active .mobile-nav-toggle-icon--close { display: inline-flex; }

.main-nav-mobile-head,
.main-nav-mobile-cta,
.main-nav-label {
  display: none;
}
.main-nav-panel {
  display: contents;
}
.main-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.main-nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}
.main-nav-link.is-active {
  color: var(--brand-dark);
  background: var(--brand-light);
}
[data-theme="dark"] .main-nav-link.is-active {
  color: var(--brand);
  background: #064e3b;
}
.main-nav-link-icon {
  display: inline-flex;
  opacity: 0.9;
}
.main-nav-link-text {
  white-space: nowrap;
}
@media (min-width: 901px) {
  .main-nav-link-icon {
    display: none;
  }
  .main-nav-link {
    padding: 8px 10px;
    font-size: 0.84rem;
  }
  .main-nav-links {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2px;
  }
  .main-nav-link.main-nav-link--highlight {
    background: transparent;
    color: var(--text-muted);
  }
  .main-nav-link.main-nav-link--highlight.is-active {
    color: var(--brand-dark);
    background: var(--brand-light);
  }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .main-nav-link {
    padding: 7px 8px;
    font-size: 0.8rem;
  }
  .header-cta .btn--sm {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .mobile-nav-toggle { display: flex; }
  .header-cta { display: none; }

  .site-header-shell,
  .site-topbar,
  .site-header {
    z-index: 100;
    overflow: visible;
  }
  .site-header-shell .header-inner,
  .site-topbar .header-inner,
  .site-header .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "logo actions toggle";
    align-items: center;
    gap: 8px 10px;
    min-height: 60px;
    flex-wrap: nowrap;
  }
  .site-header-shell .logo,
  .site-topbar .logo,
  .site-header .logo {
    grid-area: logo;
    min-width: 0;
    font-size: 1rem;
    gap: 10px;
  }
  .site-header-shell .logo-text,
  .site-topbar .logo-text,
  .site-header .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-header-shell .header-actions,
  .site-topbar .header-actions,
  .site-header .header-actions {
    grid-area: actions;
    gap: 4px;
    flex-shrink: 0;
  }
  .site-header-shell .mobile-nav-toggle,
  .site-topbar .mobile-nav-toggle,
  .site-header .mobile-nav-toggle {
    grid-area: toggle;
    flex-shrink: 0;
  }
  .site-header-shell .lang-switch,
  .site-topbar .lang-switch,
  .site-header .lang-switch { margin-left: 0; }
  .site-header-shell .lang-switch .btn,
  .site-topbar .lang-switch .btn,
  .site-header .lang-switch .btn {
    padding: 6px 10px;
    font-size: 0.72rem;
    min-width: 0;
  }
  .site-header-shell .theme-toggle,
  .site-topbar .theme-toggle,
  .site-header .theme-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
  }
  .announce-bar {
    font-size: 0.78rem;
    padding: 8px 12px;
    line-height: 1.4;
  }

  .site-header-shell {
    position: sticky;
    z-index: 100;
  }
  body.site-nav-open .site-header-shell {
    z-index: 250;
  }

  .header-inner .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.28s;
    z-index: 5;
  }
  .main-nav.is-open {
    max-height: min(75vh, 520px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0 12px;
  }

  .main-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    gap: 2px;
  }
  .main-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }
  .main-nav-link:hover,
  .main-nav-link:focus-visible {
    background: var(--surface-2);
    color: var(--text);
    text-decoration: none;
  }
  .main-nav-link.is-active {
    background: var(--brand-light);
    color: var(--brand-dark);
  }
  [data-theme="dark"] .main-nav-link.is-active {
    background: #064e3b;
    color: var(--brand);
  }
  .main-nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--brand-light);
    color: var(--brand-dark);
    flex-shrink: 0;
  }
  .main-nav-link-icon svg {
    width: 17px;
    height: 17px;
  }
  [data-theme="dark"] .main-nav-link-icon {
    background: #064e3b;
    color: var(--brand);
  }
  .main-nav-link-text {
    flex: 1;
    min-width: 0;
  }

  .main-nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 4px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    flex-shrink: 0;
  }
  .main-nav-mobile-cta .btn {
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
    transform: none;
    box-shadow: none;
  }
  .main-nav-mobile-cta .btn:hover {
    transform: none;
  }
  .main-nav-mobile-cta .btn--primary,
  .main-nav-mobile-cta .btn--primary:visited,
  .main-nav-mobile-cta .btn--primary:hover,
  .main-nav-mobile-cta .btn--primary:focus-visible {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    border: none;
  }
  .main-nav-mobile-cta .btn--primary .icon {
    color: #fff;
  }
  .main-nav-mobile-cta .btn--outline,
  .main-nav-mobile-cta .btn--outline:visited {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border-strong);
  }
  .main-nav-mobile-cta .btn--outline:hover,
  .main-nav-mobile-cta .btn--outline:focus-visible {
    border-color: var(--brand);
    color: var(--brand-dark);
    background: var(--surface);
  }
}

@media (max-width: 420px) {
  .site-header-shell .logo-text,
  .site-topbar .logo-text,
  .site-header .logo-text {
    display: none;
  }
}

.site-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 200;
}
.site-nav-backdrop:not([hidden]) {
  display: block;
}
body.site-nav-open {
  touch-action: none;
}
body.site-nav-open .site-header-shell,
body.site-nav-open .site-topbar,
body.site-nav-open .site-header {
  z-index: 250;
}

/* Misc pages */
.page-legal { padding: 64px 0; max-width: 720px; }
.page-legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.blog-card-sl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.blog-card-sl:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.timer-display { font-size: 4rem; font-weight: 800; color: var(--brand); text-align: center; margin: 24px 0; }
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: none;
  align-items: center; justify-content: center;
  z-index: 99999;
  box-shadow: 0 -8px 32px rgba(0,0,0,.15);
  pointer-events: auto;
  isolation: isolate;
}
[data-theme="dark"] .cookie-consent {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 -8px 32px rgba(0,0,0,.45);
  border-top-color: var(--border-strong);
}
.cookie-consent.is-open { display: flex; }
.cookie-consent[hidden] { display: none !important; }
.cookie-consent .btn { position: relative; z-index: 2; cursor: pointer; pointer-events: auto; }
.cookie-consent a { pointer-events: auto; }
.ad-slot { margin: 16px 0; min-height: 90px; text-align: center; }
.ad-slot--custom {
  text-align: center;
  overflow: visible;
}
.ad-slot--custom iframe {
  max-width: 100%;
}
.ad-slot--custom script + div[id^="container-"] {
  margin: 8px auto;
}
.ad-slot--test {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-strong);
  border-radius: 12px;
  background: var(--surface-2);
}
.ad-slot-test-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.form-inline .form-input { flex: 1; min-width: 140px; }
textarea.form-input { min-height: 120px; resize: vertical; }
.captcha-field { margin: 12px 0; }

/* Legal pages */
.legal-page { max-width: 1100px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--brand); }
.legal-header { margin-bottom: 32px; }
.legal-header h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.legal-meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.legal-intro { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; line-height: 1.7; }
.legal-toc { margin-bottom: 24px; }
.legal-toc h2 { font-size: 1rem; margin-bottom: 12px; }
.legal-toc ul { list-style: none; columns: 2; gap: 24px; }
.legal-toc a { color: var(--brand); font-size: 0.9rem; display: block; padding: 4px 0; }
.legal-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; scroll-margin-top: 100px; }
.legal-section p, .legal-list { color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-list { padding-left: 20px; }
.legal-list li { margin-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { display: grid; gap: 16px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-form-card { position: sticky; top: 100px; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
.consent-check input { margin-top: 4px; }

/* Proof payment */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.proof-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: all 0.3s; }
.proof-card:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.proof-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--brand); }
.proof-status { background: #d1fae5; color: #047857; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); }
.proof-amount { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.proof-meta { list-style: none; font-size: 0.85rem; color: var(--text-muted); }
.proof-meta li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.proof-blur-note { margin-top: 16px; padding: 12px; background: var(--bg-muted); border-radius: var(--radius); font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 8px; }

/* Status */
.status-list { display: grid; gap: 12px; }
.status-item { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #10b981; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(16,185,129,0.2); }
.status-badge { margin-left: auto; font-size: 0.8rem; font-weight: 700; color: #047857; background: #d1fae5; padding: 4px 12px; border-radius: var(--radius-full); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* Footer 5 col */
.footer-grid--5 { grid-template-columns: 2fr repeat(4, 1fr) !important; }
@media (max-width: 1024px) { .footer-grid--5 { grid-template-columns: 1fr 1fr !important; } }

/* Blog article */
.article-layout { max-width: 760px; margin: 0 auto; }
.article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.article-meta { color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; }
.article-body { line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 1.35rem; margin: 32px 0 16px; font-weight: 700; }
.article-body h3 { font-size: 1.1rem; margin: 24px 0 12px; }
.article-body p { margin-bottom: 16px; color: var(--text-muted); }
.article-body ul, .article-body ol { margin: 16px 0 16px 24px; color: var(--text-muted); }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { border-left: 4px solid var(--brand); padding: 12px 20px; background: var(--bg-soft); margin: 20px 0; font-style: italic; }
.related-posts { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.blog-card-sl time { font-size: 0.8rem; color: var(--text-light); }

/* Blog professional — layout berita */
.blog-page { padding-top: 24px; }
.blog-page-header { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); max-width: 780px; }
.blog-page-header h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin: 12px 0; letter-spacing: -0.02em; }
.blog-page-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.blog-empty { text-align: center; padding: 48px; }

/* Cover image + gradient fallback */
.blog-cover { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.blog-cover--green { background: linear-gradient(135deg, #059669, #10b981); }
.blog-cover--blue { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.blog-cover--slate { background: linear-gradient(135deg, #334155, #64748b); }
.blog-cover--red { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.blog-cover--purple { background: linear-gradient(135deg, #6d28d9, #a78bfa); }
.blog-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-cover-label { display: none; }
.blog-featured .blog-cover { border-radius: 0; }
.blog-card-pro .blog-cover { border-radius: 0; aspect-ratio: 16/10; }

.blog-featured { margin-bottom: 48px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.blog-featured-link { display: grid; grid-template-columns: 1.15fr 1fr; text-decoration: none; color: inherit; }
@media (max-width: 900px) { .blog-featured-link { grid-template-columns: 1fr; } }
.blog-featured-body { padding: 28px 32px 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); font-weight: 800; line-height: 1.3; margin: 12px 0; color: var(--text); }
.blog-featured-body p { color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; font-size: 0.95rem; }

.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.blog-card-meta time { font-size: 0.78rem; color: var(--text-light); }
.blog-cat { background: var(--brand); color: #fff; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--radius-full); }
.blog-cat--inline { position: static; display: inline-block; }
.blog-grid--pro { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card-pro { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: box-shadow 0.25s, transform 0.25s; }
.blog-card-pro:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card-pro-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.blog-card-pro-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-pro-body h2, .blog-card-pro-body h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.4; margin: 8px 0; color: var(--text); flex: 1; }
.blog-card-pro-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 0.82rem; font-weight: 600; margin-top: 14px; }

/* Artikel — layout portal berita */
.news-article-head { max-width: 780px; margin: 0 auto 28px; padding: 0 4px; }
.news-article-head h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 16px; }
.news-article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }
.news-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-article-cover { max-width: 960px; margin: 0 auto 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.news-article-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; max-width: 1100px; margin: 0 auto; }
@media (max-width: 960px) { .news-article-grid { grid-template-columns: 1fr; } .news-sidebar { order: 2; } }
.news-sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.news-toc h2, .news-sidebar-box h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 12px; }
.news-toc ul { list-style: none; margin: 0; padding: 0; }
.news-toc a { display: block; padding: 8px 0; font-size: 0.88rem; color: var(--text-muted); border-bottom: 1px solid var(--border); text-decoration: none; line-height: 1.4; }
.news-toc a:hover { color: var(--brand); }
.news-sidebar-box p { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 12px; line-height: 1.6; }
.news-link-list { list-style: none; margin: 0; padding: 0; }
.news-link-list a { display: block; padding: 6px 0; font-size: 0.88rem; color: var(--brand); }
.news-article-main { min-width: 0; }
.news-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.news-related h2 { font-size: 1.35rem; margin-bottom: 8px; }

.article-deck { font-size: 1.12rem; line-height: 1.75; color: var(--text-muted); border-left: 4px solid var(--brand); padding: 4px 0 4px 20px; margin: 0; }
.article-body--news { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.article-body--news .article-lead { font-size: 1.12rem; line-height: 1.85; color: var(--text); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-body--news h2 { font-size: 1.45rem; font-weight: 800; margin: 40px 0 16px; padding-top: 8px; scroll-margin-top: 100px; color: var(--text); letter-spacing: -0.01em; }
.article-body--news h3 { font-size: 1.12rem; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.article-body--news p { margin-bottom: 18px; color: var(--text-muted); }
.article-body--news ul, .article-body--news ol { margin: 16px 0 24px; padding-left: 24px; color: var(--text-muted); }
.article-body--news li { margin-bottom: 10px; line-height: 1.7; }
.article-body--news blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text); }
.article-body--news blockquote p { margin: 0; color: inherit; }
.article-body--news .article-callout { background: var(--brand-light); border: 1px solid rgba(16,185,129,0.25); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; color: var(--brand-dark); line-height: 1.7; }
.article-body--news .data-table { width: 100%; margin: 24px 0 32px; font-size: 0.92rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body--news a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.article-body--news a:hover { color: var(--brand); }
.article-body--news pre { background: #0f172a; color: #e2e8f0; padding: 18px; border-radius: var(--radius); overflow-x: auto; font-size: 0.82rem; line-height: 1.6; margin: 20px 0; }
.article-body--news code { font-family: ui-monospace, Consolas, monospace; font-size: 0.88em; background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; }
.article-body--news pre code { background: none; padding: 0; }
.article-footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--border); }
.article-footer-meta p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* Legacy blog (keep minimal) */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.blog-card-sl { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.blog-card-sl time { font-size: 0.8rem; color: var(--text-light); }
.site-logo-img { border-radius: 11px; object-fit: cover; }

/* Cookie consent v2 */
.cookie-consent-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; width: 100%; }
.cookie-consent-inner p { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); margin: 0; flex: 1; min-width: 240px; line-height: 1.55; }
.cookie-consent-inner p .icon { flex-shrink: 0; margin-top: 2px; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 640px) {
  .cookie-consent {
    padding: 12px 14px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-consent-inner p {
    min-width: 0;
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .cookie-consent-inner p .icon {
    display: none;
  }
  .cookie-consent-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cookie-consent-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.78rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

body.cookie-open .sticky-cta-mobile {
  display: none !important;
}
body.cookie-open.page-home {
  padding-bottom: 0;
}

/* Home preview sections */
.preview-cpm-table { overflow-x: auto; margin-top: 24px; }
.home-preview-link { text-align: center; margin-top: 24px; }

/* Legal layout with sidebar */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; max-width: 1100px; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-sidebar { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.legal-sidebar h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
.legal-sidebar a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius); font-size: 0.88rem; color: var(--text-muted); text-decoration: none; }
.legal-sidebar a:hover { background: var(--bg-soft); color: var(--brand); }
.legal-sidebar a.is-active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
[data-theme="dark"] .legal-sidebar a.is-active { background: #064e3b; color: var(--brand); }
.legal-main { min-width: 0; }
.page-section-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.info-callout { background: var(--brand-light); border: 1px solid var(--brand); border-radius: var(--radius-lg); padding: 20px 24px; margin: 24px 0; }
[data-theme="dark"] .info-callout { background: #064e3b33; }
.info-callout p { margin: 0; color: var(--text); }
.faq-inline { margin-top: 32px; }
.faq-inline details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; padding: 0; background: var(--surface); }
.faq-inline summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-inline summary::-webkit-details-marker { display: none; }
.faq-inline details[open] summary { border-bottom: 1px solid var(--border); }
.faq-inline details p { padding: 16px 20px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* Enterprise & Pricing */
.enterprise-hero { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.enterprise-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin: 12px 0; letter-spacing: -0.02em; }
.enterprise-hero-sub { color: var(--text-muted); font-size: 1.08rem; line-height: 1.75; margin-bottom: 28px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.enterprise-benefits { margin-bottom: 56px; }
.enterprise-benefits h2 { font-size: 1.5rem; margin-bottom: 24px; text-align: center; }
.partner-strip { text-align: center; margin-bottom: 48px; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.partner-pill { background: var(--surface); border: 1px solid var(--border); padding: 10px 20px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.testimonials-section { margin-bottom: 48px; }
.testimonials-section h2 { font-size: 1.5rem; margin-bottom: 24px; text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 0; }
.testimonial-card p { font-style: italic; color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; }
.testimonial-card footer { font-size: 0.88rem; color: var(--text); }
.demo-form-section { max-width: 640px; margin: 48px auto 0; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: block; margin-bottom: 16px; font-size: 0.88rem; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 6px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.pricing-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.pricing-badge { position: absolute; top: -10px; right: 20px; background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); text-transform: uppercase; }
.pricing-card h2 { font-size: 1.25rem; margin: 0 0 12px; }
.pricing-price { margin-bottom: 20px; }
.pricing-amount { font-size: 2rem; font-weight: 800; color: var(--text); }
.pricing-period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; font-size: 0.88rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.changelog-list { display: grid; gap: 20px; max-width: 780px; }
.changelog-entry { padding: 24px 28px; }
.changelog-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.changelog-version { background: var(--brand-light); color: var(--brand-dark); font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); }
.changelog-meta time { font-size: 0.85rem; color: var(--text-light); }
.changelog-entry h2 { font-size: 1.2rem; margin: 0 0 12px; }
.changelog-body { color: var(--text-muted); line-height: 1.7; }
.changelog-body ul { margin: 8px 0; padding-left: 20px; }
.footer-grid--5 { grid-template-columns: 2fr repeat(5, 1fr) !important; }
@media (max-width: 1200px) { .footer-grid--5 { grid-template-columns: 1fr 1fr !important; } }
.admin-hint { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.admin-badge { background: var(--brand); color: #fff; font-size: 0.75rem; padding: 2px 8px; border-radius: var(--radius-full); }
.admin-form fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.admin-form legend { font-weight: 700; padding: 0 8px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.help-card { padding: 20px; }
.help-card h2 { font-size: 1.05rem; margin: 8px 0; }
.help-card h2 a { color: inherit; text-decoration: none; }
.help-card h2 a:hover { color: var(--brand); }
.lang-switch { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }

/* ===== Landing page enhancements ===== */
.hero-demo-result { margin-top: 16px; }
.hero-demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow);
}
.hero-demo-label { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 8px; }
.hero-demo-url {
  display: block;
  word-break: break-all;
  background: var(--bg-muted);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.hero-demo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 20px;
  font-size: 0.8rem;
}
.hero-proof-label { color: var(--text-muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.hero-proof-pill {
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
[data-theme="dark"] .hero-proof-pill { color: var(--brand); }
.hero-proof-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.social-signups { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }
.social-signups strong { color: var(--brand); }
.trust-strip--logos .trust-strip-item { padding: 4px 8px; }
.trust-logo-img { height: 28px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(20%); opacity: 0.9; }
.live-ticker-bar {
  background: var(--brand);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
}
.live-ticker-inner { display: flex; align-items: center; gap: 16px; }
.live-ticker-label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  overflow: hidden;
}
.live-ticker-track.is-animating { animation: ticker-scroll 30s linear infinite; }
.live-ticker-item { font-size: 0.85rem; opacity: 0.95; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.demo-flow-section { padding-top: 48px; }
.demo-flow-mock { display: flex; justify-content: center; }
.demo-flow-phone {
  width: min(320px, 100%);
  background: #0f172a;
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.demo-flow-screen {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.demo-flow-step {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  opacity: 0;
  animation: demo-step 8s ease-in-out infinite;
}
.demo-flow-step--1 { animation-delay: 0s; }
.demo-flow-step--2 { animation-delay: 2s; }
.demo-flow-step--3 { animation-delay: 4s; }
.demo-flow-step--4 { animation-delay: 6s; }
@keyframes demo-step {
  0%, 20% { opacity: 1; transform: scale(1); }
  25%, 100% { opacity: 0; transform: scale(0.96); }
}
.cpm-calculator { padding: 28px; max-width: 560px; margin: 0 auto; }
.cpm-calculator-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.cpm-calculator-result {
  text-align: center;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
}
.cpm-calculator-result strong { display: block; font-size: 1.75rem; color: var(--brand-dark); margin-top: 4px; }
[data-theme="dark"] .cpm-calculator-result strong { color: var(--brand); }
.compare-table-wrap { overflow-x: auto; }
.compare-table th, .compare-table td { text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-yes svg { color: var(--brand); }
.compare-no svg { color: #ef4444; }
.compare-partial { color: #f59e0b; font-weight: 700; }
.case-carousel { position: relative; overflow: hidden; }
.case-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}
.case-card {
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-sizing: border-box;
}
.case-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.case-metric { font-size: 1.5rem; font-weight: 800; color: var(--brand); margin: 8px 0 12px; }
.case-carousel-nav { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
#case-prev svg { transform: rotate(180deg); }
.enterprise-banner {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #fff;
  padding: 40px 0;
}
.enterprise-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.enterprise-banner h2 { margin: 0 0 8px; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.enterprise-banner p { margin: 0; opacity: 0.9; }
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta-mobile.is-visible { transform: translateY(0); }
@media (min-width: 769px) { .sticky-cta-mobile { display: none !important; } }
body.page-home { padding-bottom: 72px; }
@media (min-width: 769px) { body.page-home { padding-bottom: 0; } }

.page-hop .hop-iframe,
.page-hop .hop-card .hop-iframe {
    width: 100%;
    min-height: 360px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
body.page-embed {
    padding-top: 0;
}
body.page-embed .announce-bar,
body.page-embed .site-header-shell,
body.page-embed .site-footer,
body.page-embed .cookie-consent {
    display: none !important;
}

/* Visitor shortlink flow (timer / hop / final) */
.page-visitor-flow {
    background: var(--bg);
    min-height: 100vh;
}
.vf-header {
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 50;
}
.vf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}
.vf-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vf-page {
    padding: 28px 0 40px;
}
.vf-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-lg);
}
.vf-progress { margin-bottom: 20px; }
.vf-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.vf-progress-track {
    height: 6px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}
.vf-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), #34d399);
    transition: width 0.35s ease;
}
.vf-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-light);
    color: var(--brand);
}
.vf-title {
    text-align: center;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    margin-bottom: 8px;
}
.vf-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.55;
}
.vf-step-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: -8px 0 16px;
}
.vf-timer-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 8px auto 20px;
}
.vf-timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.vf-timer-track {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}
.vf-timer-progress {
    fill: none;
    stroke: var(--brand);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.9s linear;
}
.vf-timer-count {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand);
}
.vf-frame-wrap {
    margin: 0 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
}
.vf-frame {
    display: block;
    width: 100%;
    min-height: min(62vh, 520px);
    height: min(62vh, 520px);
    border: 0;
    background: var(--surface);
}
.vf-hop-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.vf-timer-inline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: var(--brand-light);
    color: var(--brand);
    font-size: 0.95rem;
}
.vf-timer-inline-value {
    font-size: 1.75rem;
    line-height: 1;
}
.vf-action { margin-top: 8px; }
.vf-hint {
    margin-top: 12px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.vf-footer {
    border-top: 1px solid var(--border);
    padding: 16px 0 24px;
    margin-top: auto;
}
.vf-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.vf-card .ad-slot {
    margin: 16px 0;
    min-height: 0;
}
@media (max-width: 640px) {
    .vf-card { padding: 22px 16px 18px; border-radius: var(--radius-lg); }
    .vf-frame { min-height: 50vh; height: 50vh; }
    .vf-footer-inner { flex-direction: column; text-align: center; }
}

/* Hop — full blog + continue at page bottom */
.vf-page--hop {
    padding-bottom: 32px;
}
.vf-hop-shell {
    max-width: 820px;
}
.vf-hop-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0 0 12px;
}
.vf-hop-timer-top {
    margin-bottom: 16px;
    padding: 0;
}
.vf-hop-timer-top-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.vf-timer-compact .vf-timer-inline {
    padding: 8px 14px;
    font-size: 0.82rem;
    border-radius: var(--radius);
    gap: 6px;
    width: auto;
    max-width: 100%;
}
.vf-timer-compact .vf-timer-inline-value {
    font-size: 1.1rem;
    font-weight: 700;
}
.vf-timer-compact .vf-timer-inline-label,
.vf-timer-compact .vf-timer-inline-unit {
    font-size: 0.78rem;
}
.vf-timer-compact--center {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}
.vf-timer-compact #hop-next-btn {
    min-width: 120px;
}
.vf-action--compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.vf-action--compact .btn {
    min-width: 140px;
}
.vf-hop-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.vf-hop-footer-action {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}
.vf-hop-footer .hop-btn--final {
    min-width: 140px;
    padding-inline: 20px;
}
.vf-hop-bottom-hint {
    text-align: center;
    margin: 0;
    font-size: 0.82rem;
}
.vf-hop-footer .hop-btn--final[aria-disabled="true"],
.vf-hop-footer .hop-btn--final:not(.is-ready) {
    pointer-events: none;
    opacity: 0.55;
}
.hop-btn--final.is-ready {
    animation: vf-pulse-btn 1.2s ease-in-out 2;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
}
@keyframes vf-pulse-btn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}
.vf-blog-article--inline {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 22px 28px;
    box-shadow: var(--shadow-sm);
}
.vf-blog-head { margin-bottom: 16px; }
.vf-blog-title {
    font-size: clamp(1.35rem, 4.5vw, 2rem);
    line-height: 1.25;
    margin: 12px 0 14px;
}
.vf-blog-meta {
    flex-wrap: wrap;
    gap: 10px 16px;
}
.vf-blog-cover {
    margin: 0 0 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.vf-blog-body {
    font-size: 1rem;
    line-height: 1.75;
}
.vf-blog-body h2,
.vf-blog-body h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}
.vf-blog-ad,
.vf-blog-inline-ad {
    margin: 22px 0;
    padding: 14px 0;
    text-align: center;
    clear: both;
}
.vf-blog-body .vf-blog-inline-ad .ad-slot {
    margin: 0 auto;
    max-width: 728px;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}
.vf-blog-body .vf-blog-inline-ad .ad-slot iframe {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.vf-frame-wrap--tall {
    border-radius: var(--radius-xl);
}
.vf-frame--tall {
    min-height: 75vh;
    height: 75vh;
}

/* Hop ads — rapi di dalam blog atau grid banner halaman ke-2 */
.vf-blog-article--inline .ad-slot {
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    overflow: hidden;
    clear: both;
}
.vf-blog-article--inline .ad-slot:first-of-type {
    border-top: none;
    padding-top: 4px;
}
.vf-blog-article--inline .ad-slot--hop-blog-mid {
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    padding: 16px 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
}
.vf-blog-article--inline .ad-slot iframe,
.vf-hop-banner-grid .ad-slot iframe,
.vf-hop-ad-stack .ad-slot iframe {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.vf-hop-banner-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    padding: 12px 0;
}
.vf-hop-banner-grid .ad-slot {
    width: 100%;
    max-width: 728px;
    margin: 0;
    min-height: 0;
    overflow: hidden;
}
.vf-hop-ad-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}
.vf-hop-ad-stack .ad-slot {
    width: 100%;
    max-width: 728px;
    margin: 0;
    overflow: hidden;
}
.vf-page--hop > .container > .ad-slot--hop-captcha-above,
.vf-page--hop > .container > .ad-slot--hop-captcha-below {
    margin: 12px 0 16px;
    text-align: center;
    overflow: hidden;
}
.ad-slot-units {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.ad-slot-unit {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}
.ad-slot-unit--notice {
    max-width: 100%;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
}
.ad-slot-unit iframe {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.vf-hop-banner-grid .ad-slot-units,
.vf-blog-article--inline .ad-slot-units {
    gap: 10px;
}

/* Payment success / pending (visitor flow) */
.page-pay-success,
.page-pay-pending {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 185, 129, 0.14), transparent 60%),
        var(--bg);
}
.page-pay-pending {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, 0.1), transparent 60%),
        var(--bg);
}
.pay-success-card,
.pay-pending-card {
    text-align: center;
    overflow: hidden;
}
.pay-success-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.pay-success-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #059669;
    background: linear-gradient(145deg, #d1fae5, #ecfdf5);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.22);
    animation: paySuccessPop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.pay-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.pay-success-badge--inline {
    margin: -4px auto 14px;
}
[data-theme="dark"] .pay-success-badge {
    color: #6ee7b7;
    background: #064e3b;
    border-color: #047857;
}
[data-theme="dark"] .pay-success-icon {
    color: #6ee7b7;
    background: linear-gradient(145deg, #064e3b, #022c22);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}
.pay-success-title {
    margin-bottom: 6px;
}
.pay-success-subtitle {
    margin-bottom: 18px;
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
}
.pay-receipt {
    text-align: left;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft, var(--surface-2));
    padding: 4px 0;
    margin: 0 auto 20px;
    max-width: 420px;
}
.pay-receipt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
}
.pay-receipt-row + .pay-receipt-row {
    border-top: 1px dashed var(--border);
}
.pay-receipt-row span {
    color: var(--text-muted);
}
.pay-receipt-row strong {
    color: var(--brand);
    font-size: 1.05rem;
}
.pay-receipt-row code {
    font-size: 0.78rem;
    word-break: break-all;
}
.pay-countdown-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.pay-success-ring {
    margin-bottom: 18px;
}
.pay-success-ring-progress {
    stroke: #10b981;
}
.pay-success-action .btn {
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}
.pay-pending-head {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin-bottom: 18px;
}
.pay-pending-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--brand);
    background: var(--brand-light);
}
.pay-pending-title {
    text-align: left;
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    margin-bottom: 4px;
}
.pay-pending-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}
.pay-receipt--pending {
    margin-bottom: 18px;
    max-width: none;
}
.pay-amount-highlight {
    font-size: 1.15rem !important;
}
.pay-method-box {
    margin-bottom: 14px;
}
.pay-method-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}
.pay-qris-frame {
    display: inline-block;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.pay-qris-image {
    display: block;
    width: min(240px, 72vw);
    height: auto;
    border-radius: 10px;
}
.pay-va-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-soft, var(--surface-2));
}
.pay-va-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.pay-va-number {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}
.pay-va-bank {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.pay-pending-hint {
    margin-top: 6px;
}
.pay-dest-preview {
    margin: 0 auto 16px;
    max-width: 420px;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-soft, var(--surface-2));
    text-align: left;
}
.pay-dest-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.pay-dest-preview strong {
    display: block;
    font-size: 0.95rem;
    word-break: break-all;
}
.page-continue-paid .vf-icon {
    background: linear-gradient(145deg, #d1fae5, #ecfdf5);
    color: #059669;
}
@keyframes paySuccessPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 640px) {
    .pay-pending-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .pay-pending-title {
        font-size: 1.25rem;
    }
}
