/* ============================================================
   OfficesNet Marketing Site — style.css
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:      #54a4ce;
  --primary-dark: #3d8ab5;
  --charcoal:     #1a1a2e;
  --body-text:    #444457;
  --muted:        #888899;
  --border:       #e2e8f0;
  --page-bg:      #f8fafc;
  --white:        #ffffff;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Base ── */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
}

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--charcoal); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--body-text); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 560px; margin: 16px auto 0; color: var(--muted); font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(84,164,206,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(84,164,206,0.45); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover { background: var(--page-bg); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-social {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--border);
  font-weight: 500;
}
.btn-social:hover { border-color: var(--primary); color: var(--primary); }

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
  z-index: 200; /* stays above the mobile-overlay within nav stacking context */
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.navbar-logo svg { color: var(--primary); }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body-text);
  transition: color 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--primary); }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.25s ease;
  margin: 3px 0;
  transform-origin: center center;
}
.hamburger::before, .hamburger::after,
.hamburger span::before, .hamburger span::after { content: none; }
/* ── Mobile menu — fixed overlay, outside <nav>, does not push content down ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; /* matches .navbar-inner height */
  left: 0;
  right: 0;
  width: 100%;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 56px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--body-text);
}
.mobile-menu a:last-of-type:not([style]) { border-bottom: none; }

/* ── Grey overlay behind the mobile menu ── */
#mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 149;
}
#mobile-overlay.open { display: block !important; } /* overrides inline display:none on the element */

/* ── Mobile nav CTA buttons ──
   .mobile-menu .mobile-nav-btn has specificity 0,2,0 which beats
   .mobile-menu a at 0,1,1 — no !important needed anywhere. */
.mobile-menu .mobile-nav-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  margin: 6px 0;
  text-decoration: none;
  border-bottom: none;
  box-sizing: border-box;
}
.mobile-menu .mobile-nav-btn-primary {
  background: #54a4ce;
  color: white;
  border: none;
}
.mobile-menu .mobile-nav-btn-primary:hover {
  background: #3d8ab5;
  color: white;
}
.mobile-menu .mobile-nav-btn-ghost {
  background: white;
  color: #54a4ce;
  border: 2px solid #54a4ce;
}
.mobile-menu .mobile-nav-btn-ghost:hover {
  background: #f0f8fd;
}
.mobile-nav-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .footer-logo svg { color: var(--primary); }
.footer-brand p { font-size: 0.9rem; max-width: 240px; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

/* ── Feature Cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(84,164,206,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--white) 0%, var(--page-bg) 100%);
  padding: 96px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(84,164,206,0.1);
  color: var(--primary);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust { font-size: 0.82rem; color: var(--muted); }

/* ── Dashboard Mockup ── */
.dashboard-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--page-bg);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }
.mockup-body { display: flex; height: 320px; }
.mockup-sidebar {
  width: 160px;
  background: var(--charcoal);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.mockup-nav-item.active { background: rgba(84,164,206,0.2); color: var(--primary); }
.mockup-nav-dot { width: 14px; height: 14px; border-radius: 3px; background: currentColor; opacity: 0.6; }
.mockup-content { flex: 1; padding: 20px; background: var(--page-bg); overflow: hidden; }
.mockup-stat-row { display: flex; gap: 10px; margin-bottom: 16px; }
.mockup-stat {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.mockup-stat-num { font-size: 1.25rem; font-weight: 700; color: var(--charcoal); }
.mockup-stat-label { font-size: 0.65rem; color: var(--muted); margin-top: 2px; }
.mockup-activity { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.mockup-activity-title { font-size: 0.7rem; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; }
.mockup-activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mockup-activity-item:last-child { border-bottom: none; }
.mockup-activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.mockup-activity-dot.missed { background: #f87171; }
.mockup-activity-dot.vm { background: #fbbf24; }
.mockup-activity-text { font-size: 0.67rem; color: var(--body-text); }
.mockup-activity-time { font-size: 0.62rem; color: var(--muted); margin-left: auto; }

/* ── AI Mockup ── */
.ai-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.ai-card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.ai-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ai-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(84,164,206,0.12);
  color: var(--primary);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
}
.ai-card p { font-size: 0.82rem; color: var(--body-text); line-height: 1.55; }
.ai-sms-row { display: flex; flex-direction: column; gap: 8px; }
.ai-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  max-width: 85%;
}
.ai-bubble.outbound {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-bubble.inbound {
  background: var(--page-bg);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* ── Trust Bar ── */
.trust-bar { background: var(--page-bg); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-label { text-align: center; font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.06em; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.logo-placeholder {
  height: 32px;
  border-radius: 6px;
  background: #d1d5db;
  opacity: 0.5;
}

/* ── How It Works ── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(84,164,206,0.35);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.steps-cta { text-align: center; margin-top: 48px; }
.steps-cta a { color: var(--primary); font-weight: 600; font-size: 1rem; transition: color 0.2s; }
.steps-cta a:hover { color: var(--primary-dark); }

/* ── Two-column sections ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--body-text);
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: rgba(84,164,206,0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.95rem; line-height: 1.7; color: var(--body-text); margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }
.testimonial-title { font-size: 0.8rem; color: var(--muted); }

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(84,164,206,0.12);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 4px; }
.plan-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
.plan-price { margin-bottom: 8px; }
.plan-price .amount { font-size: 3rem; font-weight: 800; color: var(--charcoal); }
.plan-price .per { font-size: 1rem; color: var(--muted); }
.plan-price .annual-note { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.plan-features { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}
.plan-features li::before {
  content: '✓';
  width: 18px; min-width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(84,164,206,0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.plan-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ── Pricing Toggle ── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.toggle-label { font-size: 0.95rem; font-weight: 500; color: var(--body-text); }
.toggle-label.active { color: var(--charcoal); font-weight: 600; }
.toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 100px;
  transition: background 0.2s;
}
.toggle-track::before {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  top: 3px; left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-track { background: var(--primary); }
.toggle-switch input:checked + .toggle-track::before { transform: translateX(24px); }
.save-badge {
  background: rgba(84,164,206,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── Number Note Box ── */
.number-note-box {
  max-width: 860px;
  margin: 32px auto 0;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: rgba(84,164,206,0.05);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
.number-note-box .note-icon { font-size: 1.4rem; line-height: 1; margin-top: 1px; }

/* ── FAQ ── */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  gap: 16px;
}
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-answer-inner { padding-bottom: 20px; color: var(--body-text); line-height: 1.7; font-size: 0.95rem; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 40px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Auth Pages ── */
.auth-page { min-height: 100vh; background: var(--page-bg); display: flex; flex-direction: column; }
.auth-header { display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.auth-card .auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: var(--charcoal); margin-bottom: 32px; }
.auth-card .auth-logo svg { color: var(--primary); }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--primary); }
.form-input.error { border-color: #f87171; }
.form-input.code-input {
  text-align: center;
  font-size: 2rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5em;
  font-weight: 700;
  padding: 16px 14px;
}
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888899' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color 0.2s;
  outline: none;
}
.form-select:focus { border-color: var(--primary); }
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
  outline: none;
}
.form-textarea:focus { border-color: var(--primary); }
.form-error { font-size: 0.8rem; color: #f87171; margin-top: 5px; display: none; }
.form-error.visible { display: block; }
.auth-divider { text-align: center; margin: 20px 0; position: relative; color: var(--muted); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 24px); height: 1px; background: var(--border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-link-row { text-align: center; font-size: 0.875rem; margin-top: 20px; color: var(--muted); }
.auth-link-row a { color: var(--primary); font-weight: 600; }
.auth-terms { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 16px; }
.auth-terms a { color: var(--primary); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.875rem; margin-bottom: 24px; font-weight: 500; transition: color 0.2s; }
.auth-back:hover { color: var(--charcoal); }
.forgot-link { display: block; text-align: right; font-size: 0.8rem; color: var(--primary); margin-top: 6px; }
.trust-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.trust-list li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--body-text); }
.trust-list li::before { content: '✓'; width: 18px; height: 18px; min-width: 18px; border-radius: 50%; background: rgba(84,164,206,0.12); color: var(--primary); font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pw-requirements { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pw-req { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.pw-req::before { content: '•'; width: 16px; height: 16px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; transition: background 0.2s; }
.pw-req.met { color: var(--primary); }
.pw-req.met::before { background: var(--primary); content: '✓'; color: var(--white); }
.resend-link { text-align: center; margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.resend-link a { color: var(--primary); font-weight: 600; }
.next-step-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 16px; }
.success-state { display: none; flex-direction: column; align-items: center; text-align: center; padding: 16px 0; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(84,164,206,0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.form-success { display: none; text-align: center; padding: 16px; background: rgba(84,164,206,0.08); border: 1px solid rgba(84,164,206,0.3); border-radius: var(--radius); color: var(--primary); font-size: 0.9rem; font-weight: 500; margin-top: 16px; }

/* ── Contact Page ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.support-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 16px; }
.support-card-icon { width: 40px; height: 40px; min-width: 40px; background: rgba(84,164,206,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.support-card h4 { margin-bottom: 4px; }
.support-card p, .support-card a { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.support-card a { color: var(--primary); font-weight: 500; }
.faq-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.faq-preview-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.faq-preview-card h4 { font-size: 0.95rem; margin-bottom: 8px; }
.faq-preview-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.faq-preview-card a { font-size: 0.85rem; color: var(--primary); font-weight: 600; display: inline-block; margin-top: 10px; }

/* ── Features Page ── */
.feature-section { padding: 80px 0; }
.feature-section:nth-child(even) { background: var(--page-bg); }
.feature-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-section-grid.reverse { direction: rtl; }
.feature-section-grid.reverse > * { direction: ltr; }
.feature-category { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 8px; }
.feature-section-icon { width: 52px; height: 52px; background: rgba(84,164,206,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 16px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--body-text); }
.feature-list li::before { content: '✓'; width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: rgba(84,164,206,0.12); color: var(--primary); font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.feature-placeholder {
  background: var(--page-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  gap: 10px;
}
.ai-highlight-section { background: linear-gradient(135deg, #f0f7fc 0%, #e8f4fb 100%); padding: 80px 0; }
.ai-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.ai-feature-card { background: var(--white); border: 1px solid rgba(84,164,206,0.2); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.ai-feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.ai-feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ── Page Hero variants ── */
.page-hero { background: var(--charcoal); padding: 80px 0; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 580px; margin: 0 auto 32px; }

/* ── Scroll animation ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid { gap: 40px; }
  .two-col { gap: 40px; }
  .feature-section-grid { gap: 40px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 64px 0; }

  .navbar-links, .navbar-actions { display: none; }
  .hamburger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .trust-bar .logo-row { gap: 16px; }

  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }

  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .contact-grid { grid-template-columns: 1fr; }
  .faq-preview-grid { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-section-grid { grid-template-columns: 1fr; }
  .feature-section-grid.reverse { direction: ltr; }
  .ai-feature-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { min-width: 220px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.75rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .logo-row { gap: 12px; }
}

/* Hide hero CTA buttons on mobile — duplicated by mobile menu drawer */
@media (max-width: 768px) {
  .hero-cta-buttons { display: none; }
}
