/* ── Reset & Variables ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --primary-light: #dbeafe;
  --dark:          #0a0f1e;
  --dark-2:        #111827;
  --dark-3:        #1e293b;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --border:        #e2e8f0;
  --bg:            #f8fafc;
  --white:         #ffffff;
  --success:       #10b981;
  --radius:        10px;
  --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; color: var(--text); line-height: 1.6; background: var(--white); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; line-height: 1.2;
  color: var(--dark-3);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 56px;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary  { background: var(--primary); color: white; }
.btn-primary:hover  { background: var(--primary-dark); }
.btn-outline  { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover  { background: rgba(255,255,255,0.1); border-color: white; }
.btn-dark     { background: var(--dark-3); color: white; }
.btn-dark:hover     { background: var(--dark); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,15,30,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-logo  { height: 36px; }
.navbar-name  { font-size: 18px; font-weight: 700; color: white; letter-spacing: -0.3px; }
.navbar-links { display: flex; align-items: center; gap: 8px; }
.navbar-links a {
  color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: all 0.15s;
  text-decoration: none;
}
.navbar-links a:hover { color: white; background: rgba(255,255,255,0.08); text-decoration: none; }
.navbar-cta { margin-left: 8px; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar-toggle span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800; line-height: 1.1;
  color: white; margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title span { color: #60a5fa; }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.4); }
.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero-stat-value { font-size: 32px; font-weight: 700; color: white; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── Features ──────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--dark-3); }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── How It Works ──────────────────────────────────────────────────────────── */
.how-bg { background: var(--bg); }
.steps  { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.step   { text-align: center; }
.step-num {
  width: 52px; height: 52px;
  background: var(--primary); color: white;
  font-size: 20px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--text-muted); }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 48px;
}
.toggle-label { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.toggle-label.active { color: var(--text); font-weight: 600; }
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--primary); border-radius: 13px;
  cursor: pointer; position: relative; border: none;
  transition: background 0.2s;
}
.toggle-switch::after {
  content: ''; position: absolute;
  width: 20px; height: 20px;
  background: white; border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform 0.2s;
}
.toggle-switch.annual::after { transform: translateX(22px); }
.save-badge {
  background: #dcfce7; color: #15803d;
  font-size: 12px; font-weight: 600;
  padding: 2px 8px; border-radius: 10px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 800px; margin: 0 auto;
}
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px; padding: 40px;
}
.pricing-card.featured {
  border-color: var(--primary);
  position: relative;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  font-size: 12px; font-weight: 600;
  padding: 4px 16px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-name  { font-size: 15px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount  { font-size: 48px; font-weight: 800; color: var(--dark-3); line-height: 1; }
.price-per     { font-size: 14px; color: var(--text-muted); }
.pricing-note  { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; padding: 8px 0;
  border-bottom: 1px solid var(--bg);
}
.pricing-features li:last-child { border-bottom: none; }
.check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name  { font-size: 14px; font-weight: 600; }
.author-title { font-size: 12px; color: var(--text-muted); }

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  padding: 80px 0; text-align: center;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: white; margin-bottom: 16px; }
.cta-banner p  { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.cta-actions   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p  { font-size: 14px; line-height: 1.7; max-width: 260px; margin: 12px 0 20px; }
.footer-heading  { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: white; margin-bottom: 16px; }
.footer-links    { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a  { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-logo { height: 28px; }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group   { margin-bottom: 20px; }
.form-label   { display: block; font-size: 14px; font-weight: 600; color: var(--dark-3); margin-bottom: 6px; }
.form-input   {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--text);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-hint    { font-size: 13px; color: var(--text-muted); margin-top: 5px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card    {
  background: white; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 48px;
  max-width: 560px; margin: 0 auto;
}
.price-preview {
  background: var(--bg); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.price-preview-label { font-size: 14px; color: var(--text-muted); }
.price-preview-amount { font-size: 22px; font-weight: 700; color: var(--dark-3); }

/* ── Page Hero (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 120px 0 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: white; margin-bottom: 16px; }
.page-hero p  { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-icon { font-size: 22px; margin-top: 2px; }
.contact-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.contact-item p  { font-size: 14px; color: var(--text-muted); }
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; display: none; }
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Page Header (inner pages) ─────────────────────────────────────────────── */
.page-header {
  background: var(--dark);
  padding: 120px 0 72px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(37,99,235,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .badge { position: relative; z-index: 1; }
.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.15;
  color: white; margin-bottom: 16px; position: relative; z-index: 1;
  letter-spacing: -0.5px;
}
.page-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 560px; margin: 0 auto; position: relative; z-index: 1;
}

/* ── Billing Toggle (pricing page) ────────────────────────────────────────── */
.billing-toggle-wrap {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 32px; position: relative; z-index: 1;
}
.billing-label {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.billing-label.active { color: white; font-weight: 600; }
.billing-toggle {
  width: 52px; height: 28px;
  background: rgba(255,255,255,0.15); border-radius: 14px;
  cursor: pointer; position: relative; border: none;
  transition: background 0.2s; flex-shrink: 0;
}
.billing-toggle.annual { background: var(--primary); }
.billing-toggle-knob {
  display: block;
  width: 22px; height: 22px;
  background: white; border-radius: 50%;
  position: absolute; top: 3px; left: 3px;
  transition: transform 0.2s;
}
.billing-toggle.annual .billing-toggle-knob { transform: translateX(24px); }

/* ── Pricing Grid 2-col ────────────────────────────────────────────────────── */
.pricing-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.pricing-faq { padding: 8px 0; }
.faq-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--dark-3); }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { font-size: 15px; font-weight: 600; color: var(--dark-3); margin-bottom: 6px; }
.faq-a { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Price Calculator ──────────────────────────────────────────────────────── */
.calc-wrap { max-width: 680px; margin: 0 auto; }
.calc-slider-row { margin-bottom: 28px; }
.calc-label { display: block; font-size: 18px; font-weight: 600; margin-bottom: 14px; color: var(--dark-3); }
.calc-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--primary) 0%, var(--border) 0%);
  outline: none; cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary); cursor: pointer;
}
.calc-result {
  display: flex; align-items: center; gap: 32px; justify-content: center;
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 40px;
}
.calc-price { font-size: 36px; font-weight: 800; color: var(--dark-3); }
.calc-price span { font-size: 18px; font-weight: 500; color: var(--text-muted); }
.calc-price.annual { color: var(--primary); }
.calc-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.calc-divider { font-size: 13px; color: var(--text-muted); font-style: italic; flex-shrink: 0; }

/* ── Feature Table ─────────────────────────────────────────────────────────── */
.feat-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.feat-table-row {
  display: grid; grid-template-columns: 1fr 120px;
  padding: 14px 24px; border-bottom: 1px solid var(--border);
  font-size: 14px; align-items: center;
}
.feat-table-row:last-child { border-bottom: none; }
.feat-table-header {
  background: var(--dark-3); color: white;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.feat-table-row:not(.feat-table-header):nth-child(even) { background: var(--bg); }
.feat-check { text-align: center; color: var(--success); font-weight: 700; font-size: 17px; }

/* ── Feature Detail Sections ───────────────────────────────────────────────── */
.feature-detail {}
.feature-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.feature-detail-grid.reverse .feature-detail-text { order: 2; }
.feature-detail-grid.reverse .feature-detail-visual { order: 1; }
.feature-detail-icon { font-size: 32px; margin-bottom: 12px; }
.feature-detail-text h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  color: var(--dark-3); margin-bottom: 16px; margin-top: 8px;
}
.feature-detail-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.feature-detail-list { list-style: none; }
.feature-detail-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text); padding: 8px 0;
  border-bottom: 1px solid var(--bg);
}
.feature-detail-list li:last-child { border-bottom: none; }
.feature-detail-list li::before {
  content: '✓'; color: var(--success);
  font-weight: 700; flex-shrink: 0;
}

/* ── Feature Mockup ────────────────────────────────────────────────────────── */
.feature-mockup {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  box-shadow: var(--shadow-lg);
}
.mockup-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 8px; padding: 10px 0;
  border-bottom: 1px solid var(--bg);
  font-size: 13px; align-items: center;
}
.mockup-row:last-child { border-bottom: none; }
.mockup-header {
  background: var(--bg); border-radius: 6px;
  padding: 8px 0; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted);
  margin-bottom: 4px;
}
.mockup-sum { font-weight: 700; color: var(--dark-3); border-top: 2px solid var(--border); }
.mockup-total { font-weight: 600; color: var(--primary); }
.mockup-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.mockup-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 12px;
}
.mockup-badge.approved { background: #dcfce7; color: #15803d; }
.mockup-badge.pending  { background: #fef3c7; color: #92400e; }
.mockup-badge.rejected { background: #fee2e2; color: #991b1b; }

/* ── Roles Grid ────────────────────────────────────────────────────────────── */
.roles-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.role-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.role-icon { font-size: 32px; margin-bottom: 16px; }
.role-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--dark-3); }
.role-card ul { list-style: none; }
.role-card ul li {
  font-size: 14px; color: var(--text-muted);
  padding: 6px 0; border-bottom: 1px solid var(--bg);
}
.role-card ul li:last-child { border-bottom: none; }
.role-card ul li::before { content: '→ '; color: var(--primary); font-weight: 600; }

/* ── Signup Page ───────────────────────────────────────────────────────────── */
.signup-section {
  min-height: calc(100vh - 68px);
  margin-top: 68px;
  background: var(--bg);
}
.signup-container {
  display: grid; grid-template-columns: 1fr 1.3fr;
  min-height: calc(100vh - 68px);
}
.signup-info {
  background: var(--dark);
  padding: 64px 48px;
  display: flex; align-items: flex-start;
  position: relative; overflow: hidden;
}
.signup-info::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 20%, rgba(37,99,235,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.signup-info-inner { position: relative; z-index: 1; padding-top: 24px; }
.signup-info h2 { font-size: 28px; font-weight: 700; color: white; margin-bottom: 12px; }
.signup-info > .signup-info-inner > p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.signup-benefits { list-style: none; margin-bottom: 40px; }
.signup-benefits li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: rgba(255,255,255,0.8);
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.signup-benefits li:last-child { border-bottom: none; }
.signup-benefits .check { color: #4ade80; font-weight: 700; }
.signup-trust { display: flex; flex-direction: column; gap: 14px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.55); }
.trust-icon { font-size: 18px; }
.signup-form-panel {
  background: white;
  padding: 64px 48px;
  display: flex; align-items: flex-start;
  overflow-y: auto;
}
.signup-form-inner { width: 100%; max-width: 480px; padding-top: 16px; }
.signup-form-title { font-size: 28px; font-weight: 700; color: var(--dark-3); margin-bottom: 8px; }
.signup-form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* Form controls (alias) */
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; }
.req { color: var(--primary); }
.label-hint { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.form-error {
  background: #fee2e2; color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px; padding: 12px 16px;
  font-size: 14px; margin-bottom: 20px;
}
.form-fine-print { font-size: 12px; color: var(--text-muted); margin-top: 14px; text-align: center; line-height: 1.6; }
.form-fine-print a { color: var(--primary); }

/* Billing cycle radio options */
.cycle-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cycle-option { cursor: pointer; }
.cycle-option input[type="radio"] { display: none; }
.cycle-option-box {
  border: 2px solid var(--border); border-radius: 10px;
  padding: 14px 16px; transition: border-color 0.15s, box-shadow 0.15s;
}
.cycle-option.selected .cycle-option-box,
.cycle-option input:checked + .cycle-option-box {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.cycle-option-name { font-size: 14px; font-weight: 600; color: var(--dark-3); margin-bottom: 2px; }
.cycle-option-price { font-size: 13px; color: var(--text-muted); }

/* Price preview */
.price-preview {
  background: var(--bg); border-radius: 10px;
  padding: 16px 20px; margin: 24px 0;
}
.price-preview-amount { font-size: 24px; font-weight: 700; color: var(--dark-3); }
.price-preview-note { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Success Page ──────────────────────────────────────────────────────────── */
.success-section {
  margin-top: 68px; padding: 100px 0;
  background: var(--bg); min-height: calc(100vh - 68px);
}
.success-icon { font-size: 64px; margin-bottom: 24px; }
.success-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--dark-3); margin-bottom: 16px; }
.success-sub { font-size: 18px; color: var(--text-muted); max-width: 520px; margin: 0 auto 56px; line-height: 1.7; }
.success-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; max-width: 760px; margin: 0 auto 56px;
}
.success-step { text-align: center; }
.success-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.success-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.success-step p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.success-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.success-note { font-size: 14px; color: var(--text-muted); }
.success-note a { color: var(--primary); }

/* ── Contact Page ──────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--dark-3); margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-item-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-item-title { font-size: 15px; font-weight: 600; color: var(--dark-3); margin-bottom: 4px; }
.contact-item-body  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-response-time {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted); margin-top: 8px;
}
.response-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.contact-form-panel {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 40px;
  box-shadow: var(--shadow);
}
.contact-success-msg { text-align: center; padding: 40px 24px; }
.contact-success-msg h3 { font-size: 22px; font-weight: 700; color: var(--dark-3); margin-bottom: 12px; }
.contact-success-msg p  { font-size: 15px; color: var(--text-muted); }

/* ── Footer Minimal ────────────────────────────────────────────────────────── */
.footer-minimal { padding: 28px 0; }
.footer-minimal .footer-bottom { padding-top: 0; border-top: none; color: rgba(255,255,255,0.5); }
.footer-minimal .footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-minimal .footer-bottom a:hover { color: white; text-decoration: none; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid-2 { grid-template-columns: 1fr; }
  .feature-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-detail-grid.reverse .feature-detail-text { order: 1; }
  .feature-detail-grid.reverse .feature-detail-visual { order: 2; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: block; }
  .navbar-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--dark); padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .navbar-cta { margin-left: 0; }
  .hero-stats { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .signup-container { grid-template-columns: 1fr; }
  .signup-info { padding: 48px 24px; }
  .signup-form-panel { padding: 40px 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 64px 0; }
  .calc-result { flex-direction: column; gap: 20px; }
  .cycle-options { grid-template-columns: 1fr; }
  .mockup-row { grid-template-columns: 2fr 1fr 1fr; }
  .mockup-row span:nth-child(n+5) { display: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .contact-form-panel { padding: 24px 20px; }
  .page-header { padding: 100px 0 56px; }
}
