/* ═══════════════════════════════════════════════════════════
   Clocko Marketing CSS  — single source of truth for all pages
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── 0. Reset + variables ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:        #080d1a;
  --bg2:       #0d1526;
  --bg3:       #111c35;
  --card:      #0f1e38;
  --border:    rgba(255,255,255,.08);
  --border2:   rgba(255,255,255,.14);
  --text:      #f0f4ff;
  --muted:     #8898aa;
  --blue:      #3b82f6;
  --blue-d:    #2563eb;
  --indigo:    #6366f1;
  --green:     #10b981;
  --yellow:    #f59e0b;
  --red:       #ef4444;
  --radius:    12px;
  --radius-lg: 20px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
code {
  font-family: 'Menlo','Monaco','Courier New',monospace;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2);
  border-radius: 4px; padding: .1em .4em; font-size: .875em;
}

/* ── 1. Typography ───────────────────────────────────────── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; }
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin: .75rem auto 0; }

/* ── 2. Layout ───────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 1.5rem; }

/* ── 3. Navigation ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,13,26,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.35rem; color: var(--text);
  flex-shrink: 0; margin-right: auto;
}
.nav-logo svg { color: var(--blue); }
.nav-logo-icon { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; }
.nav-links { display: flex; gap: 2rem; align-items: center; margin: 0; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: .5rem; color: var(--text);
}
.nav-burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: all .25s; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(8,13,26,.98); border-bottom: 1px solid var(--border); padding: .5rem 0;
  }
  .nav.open .nav-links a { display: block; padding: .8rem 1.5rem; }
  .nav-burger { display: flex; }
}

/* ── 4. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-weight: 600; border-radius: 8px; padding: .6rem 1.35rem;
  font-size: .9rem; font-family: inherit; transition: all .2s;
  cursor: pointer; border: none; white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 12px rgba(59,130,246,.25); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(59,130,246,.4); }
.btn-secondary { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--border2); }
.btn-secondary:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border2); color: var(--text); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: rgba(59,130,246,.1); }
.btn-white { background: #fff; color: var(--blue-d); }
.btn-white:hover { background: #f0f4ff; transform: translateY(-1px); }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg { padding: .8rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: 12px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── 5. Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 7rem 1.5rem 5rem; text-align: center;
  background: radial-gradient(ellipse 80% 70% at 50% -10%, rgba(59,130,246,.14) 0%, transparent 65%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25);
  color: var(--blue); border-radius: 999px; padding: .4rem 1.1rem;
  font-size: .8rem; font-weight: 600; margin-bottom: 2rem;
}
.hero h1 { font-size: clamp(2.2rem,6vw,3.8rem); font-weight: 900; margin-bottom: 1.25rem; max-width: 720px; margin-inline: auto; }
.hero-sub { font-size: clamp(1rem,2.2vw,1.2rem); color: var(--muted); max-width: 550px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero-note { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* Browser mockup */
.hero-mockup {
  max-width: 820px; margin: 3.5rem auto 0;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.mockup-bar {
  background: #131e35; padding: .7rem 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.mockup-dot:nth-child(1) { background: #ef5350; }
.mockup-dot:nth-child(2) { background: #ffb300; }
.mockup-dot:nth-child(3) { background: #66bb6a; }
.mockup-url {
  flex: 1; background: #0a1428; border-radius: 5px;
  padding: .25rem .75rem; font-size: .72rem; color: var(--muted); text-align: center; margin: 0 .75rem;
}
.mockup-screen { padding: 1.25rem; }
.mockup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.mockup-logo { font-weight: 700; font-size: .9rem; }
.mockup-user { font-size: .8rem; color: var(--muted); }
.mockup-clocked-in {
  text-align: center; padding: 1rem 0;
  border-bottom: 1px solid var(--border); margin-bottom: 1rem;
}
.mockup-status { font-size: .75rem; margin-bottom: .35rem; }
.mockup-status.active { color: var(--green); }
.mockup-time { font-size: 2rem; font-weight: 800; }
.mockup-site { font-size: .78rem; color: var(--muted); margin: .25rem 0 .75rem; }
.mockup-btn {
  background: var(--blue); color: #fff; border: none; border-radius: 6px;
  padding: .5rem 1.5rem; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.mockup-stats { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }
.mockup-stat { text-align: center; font-size: .72rem; color: var(--muted); }
.mockup-stat span { display: block; font-size: 1.3rem; font-weight: 800; color: var(--text); }

/* ── 6. Logos strip ──────────────────────────────────────── */
.logos {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.logos-label { text-align: center; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.logos-grid { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.logos-grid span { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.3); }

/* ── 7. Features grid ────────────────────────────────────── */
.features, .features-section { background: var(--bg); }
.features h2, .features-section h2 { font-size: clamp(1.7rem,4vw,2.4rem); text-align: center; margin-bottom: .5rem; }
.features .section-sub, .features-section .section-sub { text-align: center; margin: 0 auto 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.25rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: rgba(59,130,246,.3); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .875rem; line-height: 1.65; }

/* ── 8. How it works ─────────────────────────────────────── */
.how-it-works { background: var(--bg2); }
.how-it-works h2 { font-size: clamp(1.7rem,4vw,2.4rem); text-align: center; margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 2rem; }
.step { text-align: center; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin: 0 auto 1.25rem;
  box-shadow: 0 0 24px rgba(59,130,246,.3);
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .875rem; }
.step-divider { display: none; }

/* ── 9. Testimonials ─────────────────────────────────────── */
.testimonials { background: var(--bg); }
.testimonials h2 { font-size: clamp(1.7rem,4vw,2.4rem); text-align: center; margin-bottom: 3rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.25rem; }
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.testimonial-stars { color: var(--yellow); margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial > p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.testimonial-author strong { display: block; font-size: .875rem; }
.testimonial-author span { font-size: .78rem; color: var(--muted); }

/* ── 10. Pricing cards ───────────────────────────────────── */
.pricing-preview { background: var(--bg2); text-align: center; }
.pricing-section { background: var(--bg); }
.pricing-preview h2 { font-size: clamp(1.7rem,4vw,2.4rem); margin-bottom: .5rem; }
.pricing-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  max-width: 980px; margin: 2.5rem auto 0; align-items: start;
}
@media (max-width: 900px) { .pricing-cards { grid-template-columns: 1fr; max-width: 440px; } }
.pricing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  position: relative; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.pricing-card:hover { border-color: rgba(59,130,246,.2); transform: translateY(-3px); }
.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 56px rgba(59,130,246,.18);
  transform: scale(1.025);
}
.pricing-card.popular:hover { transform: scale(1.025) translateY(-3px); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .3rem .9rem; border-radius: 999px; text-transform: uppercase;
  letter-spacing: .08em; white-space: nowrap;
}
.plan-name {
  font-size: .78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem;
}
.plan-price { display: flex; align-items: baseline; gap: .2rem; margin-bottom: .4rem; }
.plan-amount { font-size: 3rem; font-weight: 900; line-height: 1; }
.plan-per { color: var(--muted); font-size: .9rem; }
.plan-tagline {
  color: var(--muted); font-size: .82rem; margin-bottom: 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.plan-features { text-align: left; flex: 1; margin-bottom: 1.75rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .45rem 0; font-size: .875rem; color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; line-height: 1.5; }
.plan-feature-no { color: var(--muted) !important; }
.plan-feature-no::before { content: '✕' !important; color: rgba(255,255,255,.18) !important; }
.pricing-cta-note { margin-top: 1.5rem; color: var(--muted); font-size: .875rem; }
.pricing-cta-note a { color: var(--blue); }
.pricing-vat-note { margin-top: 2.5rem; font-size: .8rem; color: var(--muted); }

/* ── 11. Feature comparison table ───────────────────────── */
.pricing-compare { background: var(--bg2); text-align: center; }
.pricing-compare h2 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 2.5rem; }
.compare-wrap { border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td {
  padding: .9rem 1.25rem; text-align: center; font-size: .875rem;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--bg3); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.compare-table thead th.col-pop {
  background: rgba(59,130,246,.1); color: var(--blue);
  border-top: 2px solid var(--blue);
}
.compare-table td:first-child { text-align: left; color: var(--text); font-weight: 500; }
.compare-table th:first-child { text-align: left; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.compare-table td.col-pop { background: rgba(59,130,246,.04); }
.chk { color: var(--green); font-size: 1.05rem; font-weight: 700; }
.crs { color: rgba(255,255,255,.2); font-size: 1.05rem; }
.cval { color: var(--text); font-weight: 600; font-size: .875rem; }

/* ── 12. FAQ ─────────────────────────────────────────────── */
.faq { background: var(--bg); }
.faq .container { max-width: 900px; }
.faq h2 { font-size: clamp(1.6rem,3.5vw,2.2rem); text-align: center; margin-bottom: 3rem; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 1.25rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.faq-item h3 { font-size: .95rem; margin-bottom: .6rem; }
.faq-item p { color: var(--muted); font-size: .875rem; line-height: 1.65; }
.faq-item code { font-size: .8rem; }

/* ── 13. CTA banner ──────────────────────────────────────── */
.cta-section {
  padding: 6rem 1.5rem; text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(59,130,246,.1) 0%, transparent 70%);
}
.cta-section h2 { font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 1rem; }
.cta-section p { color: var(--muted); max-width: 480px; margin: 0 auto 2.5rem; }
.cta-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ── PWA section ─────────────────────────────────────────── */
.pwa-section { background: var(--bg3,#0a1628); padding: 5rem 1.5rem; }
.pwa-section h2 { font-size: clamp(1.7rem,4vw,2.4rem); margin-bottom: .75rem; }
.pwa-section .section-sub { margin-bottom: 0; }
.pwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; align-items: start; }
@media (max-width: 768px) { .pwa-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.pwa-grid h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pwa-steps { display: flex; flex-direction: column; gap: 1.75rem; }
.pwa-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.pwa-step-num { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; }
.pwa-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.pwa-step p { font-size: .875rem; color: var(--muted); line-height: 1.55; margin: 0; }
.pwa-benefits { display: flex; flex-direction: column; gap: 1.25rem; }
.pwa-benefit { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius); padding: 1.25rem; }
.pwa-benefit-icon { width: 28px; height: 28px; flex-shrink: 0; margin-top: .1rem; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.pwa-benefit h4 { font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.pwa-benefit p { font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── Demo page ─────────────────────────────────────────────── */
.demo-section { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 5rem 1.5rem; background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(59,130,246,.1) 0%, transparent 65%); }
.demo-intro { text-align: center; margin-bottom: 3.5rem; }
.demo-intro h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 900; margin-bottom: .75rem; }
.demo-intro p { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }
.demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 860px; margin: 0 auto; }
@media (max-width: 640px) { .demo-cards { grid-template-columns: 1fr; max-width: 420px; } }
.demo-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg,16px); padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .25s, transform .25s; }
.demo-card:hover { border-color: rgba(59,130,246,.4); transform: translateY(-4px); }
.demo-card-icon { font-size: 3rem; margin-bottom: 1rem; }
.demo-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: .75rem; }
.demo-card > div > p { color: var(--muted); font-size: .875rem; line-height: 1.6; margin-bottom: 1.25rem; }
.demo-creds { background: var(--bg2,#0d1b35); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; font-size: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.demo-creds span { color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.demo-creds code { background: rgba(59,130,246,.1); color: var(--blue); padding: .15rem .5rem; border-radius: 4px; font-size: .77rem; white-space: nowrap; }
.demo-note { text-align: center; margin-top: 2.5rem; font-size: .85rem; color: var(--muted); }
.demo-note a { color: var(--blue); }

/* ── 14. Footer ──────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 3.5rem 1.5rem 2rem; color: var(--muted); font-size: .85rem; }
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer-brand .nav-logo { margin-bottom: .75rem; font-size: 1.2rem; }
.footer-brand p { font-size: .85rem; margin-bottom: .4rem; }
.footer-legal a { color: var(--blue); }
.footer-webbed-logo { display: block; margin-top: 6px; height: 20px; width: auto; vertical-align: middle; opacity: .75; transition: opacity .2s; filter: brightness(0) invert(1); }
.footer-webbed-logo:hover { opacity: 1; }
.footer-col h4 { font-size: .72rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; font-size: .8rem; }
.footer-minimal .footer-bottom { border-top: none; padding-top: 0; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-brand { grid-column: 1/-1; } }

/* ── 15. Page hero (sub-pages) ───────────────────────────── */
.page-hero {
  padding: 5rem 1.5rem 4rem; text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% -20%, rgba(59,130,246,.12) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; margin-bottom: 1rem; }
.page-hero .section-sub { max-width: 620px; }

/* ── 16. Signup page ─────────────────────────────────────── */
.signup-section {
  padding: 4rem 1.5rem;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(59,130,246,.07) 0%, transparent 60%);
}
.signup-wrap {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start;
}
.signup-info { padding-top: .5rem; }
.signup-info h1 { font-size: clamp(1.8rem,4vw,2.4rem); font-weight: 900; margin-bottom: .75rem; }
.signup-info > p { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; line-height: 1.65; }
.signup-perks { display: flex; flex-direction: column; gap: 1rem; }
.signup-perk { display: flex; align-items: flex-start; gap: .8rem; font-size: .9rem; }
.perk-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: .75rem; margin-top: .05rem;
}
.signup-perk span { color: var(--muted); }
.signup-perk strong { color: var(--text); }

/* Signup card */
.signup-form-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.signup-step { display: none; padding: 2rem; }
.signup-step.active { display: block; }
.signup-step h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.step-sub { color: var(--muted); font-size: .875rem; margin-bottom: 1.75rem; }

/* Plan selector */
.plan-selector { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.75rem; }
.plan-option {
  position: relative; cursor: pointer;
  border: 2px solid var(--border); border-radius: 10px;
  padding: .9rem 1.15rem; transition: border-color .2s, background .2s;
  display: flex; align-items: center; gap: .75rem;
}
.plan-option:hover { border-color: rgba(59,130,246,.4); }
.plan-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.plan-option.selected { border-color: var(--blue); background: rgba(59,130,246,.07); }
.plan-radio {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border2); position: relative; transition: border-color .2s;
}
.plan-option.selected .plan-radio { border-color: var(--blue); }
.plan-option.selected .plan-radio::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--blue); border-radius: 50%;
}
.plan-option-content { flex: 1; }
.plan-option-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .2rem; }
.plan-option-name { font-weight: 600; font-size: .9rem; }
.plan-option-price { font-weight: 700; font-size: .9rem; }
.plan-option-desc { font-size: .78rem; color: var(--muted); }
.plan-badge-inline {
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--blue); color: #fff; border-radius: 999px; padding: .15rem .5rem; margin-left: .4rem;
}

/* Form fields */
.form-group, .field { margin-bottom: 1.25rem; }
.form-group label, .field label {
  display: block; font-size: .75rem; font-weight: 600;
  color: var(--muted); margin-bottom: .45rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.form-group input, .form-group select,
.field input, .field select {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem; font-size: .9rem;
  color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
  font-family: inherit; -webkit-appearance: none;
}
.form-group input:focus, .field input:focus,
.form-group select:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-group input::placeholder, .field input::placeholder { color: rgba(255,255,255,.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint, .field-hint { font-size: .75rem; color: var(--muted); margin-top: .35rem; }
.form-actions { display: flex; gap: .75rem; margin-top: 1.75rem; }
.form-actions .btn { flex: 1; }

/* Slug field */
.slug-input-wrap {
  display: flex; align-items: stretch; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; background: var(--bg2); transition: border-color .2s, box-shadow .2s;
}
.slug-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.slug-input-wrap input {
  border: none !important; border-radius: 0 !important;
  box-shadow: none !important; background: transparent; flex: 1; min-width: 60px; padding: .75rem .9rem;
}
.slug-suffix {
  background: rgba(255,255,255,.04); color: var(--muted);
  padding: .75rem .9rem; font-size: .82rem; white-space: nowrap;
  border-left: 1px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center;
}
.slug-status { font-size: .75rem; margin-top: .4rem; min-height: 1rem; }
.slug-status.available { color: var(--green); }
.slug-status.taken { color: var(--red); }
.slug-status.checking { color: var(--muted); }

/* Error + loading */
.form-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
  color: #fca5a5; border-radius: 8px; padding: .75rem 1rem; font-size: .875rem; margin-bottom: 1.25rem;
}
.signup-loading { text-align: center; padding: 3.5rem 2rem !important; }
.loading-spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(59,130,246,.2); border-top-color: var(--blue);
  animation: spin .75s linear infinite; margin: 0 auto 1.75rem;
}
.signup-loading h2 { margin-bottom: .5rem; }
.signup-loading p { color: var(--muted); font-size: .875rem; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .signup-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── 17. Success page ────────────────────────────────────── */
.success-section {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem; text-align: center;
}
.success-card { max-width: 540px; width: 100%; }
.success-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.success-card h1 { font-size: 2rem; margin-bottom: 1rem; }
.success-lead { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }
.success-steps { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; text-align: left; }
.success-step {
  display: flex; align-items: flex-start; gap: .85rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem;
}
.success-step.done { border-color: rgba(16,185,129,.25); }
.success-step-icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: .75rem; margin-top: .05rem;
}
.success-step strong { display: block; font-size: .9rem; margin-bottom: .15rem; }
.success-step span { font-size: .82rem; color: var(--muted); }

/* ── 18. Sign In page ────────────────────────────────────────────────────── */
.signin-section {
  min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(59,130,246,.1) 0%, transparent 60%);
}
.signin-card {
  background: #2563eb; border: none;
  box-shadow: 0 20px 60px rgba(37,99,235,.3), 0 8px 24px rgba(0,0,0,.2);
  border-radius: 16px; padding: 2.5rem;
  max-width: 440px; width: 100%;
}
.signin-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 1.75rem; }
.signin-icon-img { width: 64px; height: 64px; object-fit: contain; }
.signin-card h1 { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: .4rem; color: #fff; }
.signin-sub { color: rgba(255,255,255,.65); font-size: .875rem; text-align: center; margin-bottom: 1.75rem; }
.signin-url-wrap {
  display: flex; align-items: stretch; border: 1px solid rgba(255,255,255,.35); border-radius: 8px;
  overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s;
  margin-bottom: .75rem;
}
.signin-url-wrap:focus-within { border-color: rgba(255,255,255,.8); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.signin-url-wrap input {
  flex: 1; background: transparent; border: none; padding: .85rem 1rem;
  font-size: .9rem; color: #2563eb; font-weight: 600; outline: none; font-family: inherit; min-width: 80px;
}
.signin-url-wrap input::placeholder { color: rgba(37,99,235,.4); font-weight: 400; }
.signin-suffix {
  background: rgba(37,99,235,.07); color: rgba(37,99,235,.65); padding: .85rem .9rem;
  font-size: .82rem; white-space: nowrap; border-left: 1px solid rgba(37,99,235,.2);
  display: flex; align-items: center;
}
.signin-card .btn-primary {
  background: transparent; color: #fff; border: 2px solid #fff; border-radius: 0;
  font-weight: 700; box-shadow: none;
}
.signin-card .btn-primary:hover { background: rgba(255,255,255,.15); transform: none; box-shadow: none; }
.signin-divider { text-align: center; position: relative; margin: 1.5rem 0; color: rgba(255,255,255,.45); font-size: .78rem; }
.signin-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.15); }
.signin-divider span { position: relative; background: #2563eb; padding: 0 .75rem; }
.signin-alt { text-align: center; font-size: .875rem; color: rgba(255,255,255,.65); }
.signin-alt a { color: rgba(255,255,255,.9); }
.signin-alt a:hover { text-decoration: underline; color: #fff; }
.admin-link {
  display: block; text-align: center; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: rgba(255,255,255,.4);
}
.admin-link a { color: rgba(255,255,255,.4); }
.admin-link a:hover { color: rgba(255,255,255,.7); text-decoration: underline; }
.signin-card .form-error { background: rgba(220,38,38,.18); border-color: rgba(220,38,38,.35); color: #fca5a5; border-radius: 6px; }

/* ── 19. Privacy / Terms pages ──────────────────────────── */
.prose-section { background: var(--bg); }
.prose-wrap { max-width: 720px; margin: 0 auto; }
.prose-meta { font-size: .78rem; color: var(--muted); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.prose-wrap h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.prose-wrap h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.prose-wrap p { color: var(--muted); font-size: .9rem; line-height: 1.8; margin-bottom: 1rem; }
.prose-wrap ul { margin: 0 0 1rem 1.25rem; list-style: disc; display: flex; flex-direction: column; gap: .4rem; }
.prose-wrap li { color: var(--muted); font-size: .9rem; }
.prose-wrap a { color: var(--blue); }
.prose-wrap a:hover { text-decoration: underline; }
