/* ─────────────────────────────────────────────────────
   Para — SaaS Landing Page
   Navy #0D1B2A  ·  Gold #C9A84C  ·  White #FFFFFF
───────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0D1B2A;
  --navy-mid:   #12253A;
  --navy-light: #1A3350;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim:   rgba(201,168,76,0.12);
  --white:      #FFFFFF;
  --text:       #D8E4F0;
  --muted:      #7A90A8;
  --border:     rgba(201,168,76,0.14);
  --radius:     10px;
  --radius-lg:  16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: transparent;
  z-index: 200;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.nav-scrolled {
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-brand { display: flex; align-items: center; }
.nav-logo  { height: 42px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-signin {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  padding: 7px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-signin:hover { border-color: var(--white); color: var(--white); }

.btn-nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 8px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-nav-cta:hover { background: var(--gold-light); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 12px 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a, .mobile-nav button {
  padding: 14px 28px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: rgba(255,255,255,0.04); }

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 34px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.14);
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: var(--white); }

/* ── Section Shared ──────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 48px 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 68%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0; left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59,111,232,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 780px; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.28);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-headline {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.7;
}

/* ── Social Proof Bar ────────────────────────────────── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.015);
}

.proof-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.proof-firms {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}

.proof-dot { color: var(--gold); opacity: 0.4; }

/* ── Features ────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-2px);
}

.feature-card.featured {
  border-color: rgba(201,168,76,0.3);
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, var(--navy-mid) 60%);
}

.feature-icon { font-size: 26px; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Who It's For ────────────────────────────────────── */
.who {
  padding: 100px 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.who-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: border-color 0.2s;
}

.who-card:hover { border-color: rgba(201,168,76,0.3); }

.who-icon { font-size: 26px; margin-bottom: 14px; }

.who-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.who-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.who-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.who-card ul li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.who-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 1px;
}

/* ── Integrations ────────────────────────────────────── */
.integrations {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.integrations-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.integrations-text { flex: 1; min-width: 280px; }
.integrations-text .section-title { margin-bottom: 12px; }
.integrations-text p { font-size: 15px; color: var(--muted); line-height: 1.65; }

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.integration-badge {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s;
}
.integration-badge:hover { border-color: var(--gold); }

/* ── Pricing ─────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: border-color 0.2s;
}

.pricing-card:hover { border-color: rgba(201,168,76,0.3); }

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,168,76,0.06) 0%, var(--navy) 50%);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  width: 100%;
  transition: all 0.15s;
}
.btn-plan:hover { border-color: var(--gold); color: var(--gold); }

.btn-plan-featured {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}
.btn-plan-featured:hover { background: var(--gold-light); }

/* ── Reviews ─────────────────────────────────────────── */
.reviews {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.review-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.review-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* ── Book a Demo ─────────────────────────────────────── */
.demo-section {
  padding: 100px 0;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}

.demo-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.demo-info { flex: 1; min-width: 280px; }
.demo-info .section-title { margin-bottom: 14px; }
.demo-info > p { font-size: 15px; color: var(--muted); margin-bottom: 36px; line-height: 1.7; }

.demo-steps { display: flex; flex-direction: column; gap: 24px; }

.demo-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.demo-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-step strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

.demo-step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.demo-form-wrap { flex: 0 0 380px; min-width: 300px; }

.demo-form-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.demo-form-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.demo-form-card > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 12px 14px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}

.demo-form input::placeholder { color: var(--muted); }
.demo-form select { color: var(--muted); }
.demo-form select option { background: var(--navy-mid); color: var(--white); }
.demo-form input:focus,
.demo-form select:focus { border-color: var(--gold); }

.demo-confirm {
  text-align: center;
  padding: 20px 0;
}

.confirm-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.demo-confirm strong {
  display: block;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 8px;
}

.demo-confirm p { font-size: 14px; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 60px 48px 30px;
}

.footer-top {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand { flex: 1; min-width: 200px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--muted); }

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 100px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Sign In Modal ───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--white); }

.modal-logo { height: 36px; width: auto; margin-bottom: 20px; }

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: -8px;
}

.modal-form input {
  padding: 12px 14px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.modal-form input::placeholder { color: var(--muted); }
.modal-form input:focus { border-color: var(--gold); }

.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.forgot-link {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s;
}
.forgot-link:hover { color: var(--gold-light); }

.modal-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}

.modal-footer-text a {
  color: var(--gold);
  text-decoration: none;
}
.modal-footer-text a:hover { color: var(--gold-light); }

.modal-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 14px 0 10px;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.modal-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.modal-tab:hover  { color: rgba(255,255,255,0.75); }
.modal-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.modal-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}

.modal-plan-indicator {
  background: rgba(196, 164, 74, 0.15);
  border: 1px solid rgba(196, 164, 74, 0.35);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-actions .btn-signin { display: none; }
  .container { padding: 0 24px; }
  .hero { padding: 120px 24px 80px; }
  .features, .who, .pricing, .reviews { padding: 70px 0; }
  .demo-section { padding: 70px 0; }
  .demo-inner { gap: 40px; }
  .demo-form-wrap { flex: 0 0 100%; }
  .integrations-inner { flex-direction: column; gap: 36px; }
  .footer { padding: 48px 24px 24px; }
  .footer-top { gap: 36px; }
  .proof-bar { padding: 18px 24px; }
}

@media (max-width: 600px) {
  .hero-headline { letter-spacing: -0.5px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 28px; }
  .modal { padding: 30px 22px; margin: 16px; }
}
