/* ============================================================
   KonnectPe — Main Design System
   Black / Gold / White premium fintech aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #0a0a0a;
  color: #e8e0d0;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Variables ── */
:root {
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --gold-dark:  #9a7a2e;
  --gold-dim:   rgba(201,168,76,0.15);
  --black:      #0a0a0a;
  --black-2:    #111111;
  --black-3:    #1a1a1a;
  --black-4:    #222222;
  --black-5:    #2d2d2d;
  --white:      #ffffff;
  --cream:      #f5f0e8;
  --text:       #e8e0d0;
  --text-dim:   #9a9080;
  --text-muted: #5a5248;
  --border:     rgba(201,168,76,0.2);
  --border-dim: rgba(255,255,255,0.06);
  --radius:     4px;
  --radius-lg:  8px;
  --shadow:     0 24px 64px rgba(0,0,0,0.5);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Light mode overrides ── */
[data-theme="light"] {
  --gold:       #b8922e;
  --gold-light: #d4aa48;
  --gold-dim:   rgba(184,146,46,0.12);
  --black:      #f5f3ef;
  --black-2:    #ffffff;
  --black-3:    #f0ece4;
  --black-4:    #e8e2d8;
  --white:      #111111;
  --cream:      #1a1a1a;
  --text:       #1a1714;
  --text-dim:   #4a4540;
  --text-muted: #7a7570;
  --border:     rgba(184,146,46,0.25);
  --border-dim: rgba(0,0,0,0.08);
  --shadow:     0 24px 64px rgba(0,0,0,0.12);
}
[data-theme="light"] body { background: #f5f3ef; color: #1a1714; }
[data-theme="light"] h1,[data-theme="light"] h2,[data-theme="light"] h3,
[data-theme="light"] h4,[data-theme="light"] h5,[data-theme="light"] h6 { color: #111; }
[data-theme="light"] .navbar { background: rgba(245,243,239,0.95); border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .navbar.scrolled { background: rgba(245,243,239,0.98); }
[data-theme="light"] .nav-links a { color: #3a3530; }
[data-theme="light"] .mobile-nav { background: #f5f3ef; border-top: 1px solid rgba(0,0,0,0.08); }
[data-theme="light"] .mobile-nav a { color: #3a3530; border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .btn-ghost { color: #1a1714; border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .btn-ghost:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .card { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .feature-cell { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .hero { background: #eee8de; }
[data-theme="light"] .hero-bg { opacity: 0.04; }
[data-theme="light"] .hero-grid { opacity: 0.12; }
[data-theme="light"] .hero-sub { color: #4a4540; }
[data-theme="light"] .footer { background: #111; }
[data-theme="light"] .cta-banner { background: linear-gradient(135deg, #1a1714 0%, #2d2520 100%); }
[data-theme="light"] .faq-question { color: #1a1714; border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .form-input,.form-select,.form-textarea,
[data-theme="light"] .form-select,[data-theme="light"] .form-textarea {
  background: #fff; border-color: rgba(0,0,0,0.15); color: #1a1714;
}
[data-theme="light"] .page-header { background: linear-gradient(180deg, #e8e2d8 0%, #f5f3ef 100%); }
[data-theme="light"] .section-bg { background: rgba(0,0,0,0.02); }

/* ── Theme toggle button (nav) ── */
.nav-theme-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-dim);
  background: transparent; color: var(--text-dim);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.nav-theme-btn:hover { color: var(--gold); border-color: var(--gold); }
.nav-theme-btn svg { pointer-events: none; }


/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 6vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--text-dim); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }

.display { font-family: var(--font-display); }
.gold    { color: var(--gold); }
.italic  { font-style: italic; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }

/* ── Grid Decorative Line ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-label span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}
.btn-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
}
.btn-ghost:hover {
  border-color: var(--border);
  color: var(--gold);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
}

.btn-full { width: 100%; justify-content: center; }

.btn-loading { pointer-events: none; opacity: 0.7; }
.btn-loading::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  border-color: var(--border-dim);
  backdrop-filter: blur(16px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 2rem;
  max-width: 1320px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--black-2);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--text);
  border-bottom: 1px solid var(--border-dim);
  padding: 1rem 0;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav a:last-child { border-bottom: none; margin-top: 0.5rem; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 820px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  color: var(--text-dim);
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-dim);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-number span { color: var(--gold); }
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Cards ── */
.card {
  background: var(--black-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.card-gold {
  background: linear-gradient(135deg, var(--black-3) 0%, rgba(201,168,76,0.05) 100%);
  border-color: var(--border);
}

.icon-box {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.icon-box svg { color: var(--gold); }

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.divider-v {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--black-4);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: var(--black-5);
}
.form-input.error { border-color: #e05252; }
.form-error {
  font-size: 0.75rem;
  color: #e05252;
  margin-top: 0.25rem;
  display: none;
}
.form-error.show { display: block; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23c9a84c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Checkbox ── */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  background: var(--black-4);
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-group a { color: var(--gold); }

/* ── Password toggle ── */
.input-wrapper {
  position: relative;
}
.input-wrapper .form-input { padding-right: 3rem; }
.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.toggle-password:hover { color: var(--gold); }

/* ── Alert ── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  display: none;
}
.alert.show { display: flex; }
.alert-success {
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.3);
  color: #52c878;
}
.alert-error {
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.3);
  color: #e07070;
}
.alert-info {
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold-light);
}

/* ── Auth pages ── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: var(--black-2);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(201,168,76,0.06), transparent);
}
.auth-left-content { position: relative; z-index: 1; }
.auth-right {
  background: var(--black);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.auth-form-wrap {
  width: 100%;
  max-width: 440px;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.auth-logo img { height: 40px; }
.auth-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.auth-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-dim);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Ticker / Marquee ── */
.ticker-wrap {
  overflow: hidden;
  padding: 1rem 0;
  background: var(--black-2);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}
.ticker-inner {
  display: flex;
  gap: 4rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ticker-item span { color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-cell {
  background: var(--black-2);
  padding: 2.5rem;
  transition: background 0.3s;
}
.feature-cell:hover { background: var(--black-3); }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--black-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}
.author-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 500;
}
.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--black-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--black-3), rgba(201,168,76,0.06));
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: 0 0 4px 4px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin: 1rem 0;
}
.pricing-price sup {
  font-size: 1.25rem;
  vertical-align: super;
  line-height: 0;
  color: var(--gold);
}
.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.pricing-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 1px; }
.faq-item {
  background: var(--black-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--black-3) 0%, rgba(201,168,76,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08), transparent 70%);
  pointer-events: none;
}

/* ── Footer ── */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border-dim);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand img { height: 40px; margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dim);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ── Scroll animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page header ── */
.page-header {
  padding: 10rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,168,76,0.07), transparent 70%),
    var(--black);
  border-bottom: 1px solid var(--border-dim);
  text-align: center;
}

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  max-width: 700px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--text-dim);
}
#cookie-banner.hidden { display: none; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Loader overlay ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-logo { animation: pulse-logo 1.5s ease infinite; }
@keyframes pulse-logo { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Number input ── */
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Legal pages ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 6rem;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--white);
}
.legal-content h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
  color: var(--gold);
}
.legal-content p,
.legal-content li {
  font-size: 0.925rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content strong { color: var(--text); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text);
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.toast-success { border-color: rgba(52,168,83,0.4); }
.toast.toast-error   { border-color: rgba(224,82,82,0.4); }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-dim    { color: var(--text-dim); }
.text-muted  { color: var(--text-muted); }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1       { gap: 1rem; }
.gap-2       { gap: 2rem; }
.mt-1        { margin-top: 1rem; }
.mt-2        { margin-top: 2rem; }
.mt-4        { margin-top: 4rem; }
.mb-1        { margin-bottom: 1rem; }
.mb-2        { margin-bottom: 2rem; }
.mb-4        { margin-bottom: 4rem; }
.fw-300      { font-weight: 300; }
.fw-500      { font-weight: 500; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =============================================
   RESPONSIVE
   ============================================= */

/* ── Tablet 1024px ── */
@media (max-width: 1024px) {
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-grid       { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .services-grid      { grid-template-columns: 1fr 1fr; }
  .feature-grid       { grid-template-columns: 1fr 1fr; }
  .auth-page          { grid-template-columns: 1fr; }
  .auth-left          { display: none; }
  .auth-right         { padding: 4rem 2rem; }
  .section            { padding: 5rem 0; }
}

/* ── Mobile 768px ── */
@media (max-width: 768px) {
  :root { --radius-lg: 6px; }

  /* Prevent horizontal scroll — everything must fit */
  html, body { overflow-x: hidden; }

  /* Nav */
  .nav-links, .nav-actions { display: none; }
  .hamburger     { display: flex; }
  .nav-inner     { padding: 0 1rem; height: 60px; }
  .nav-logo img  { height: 34px; }

  /* Mobile nav drawer */
  .mobile-nav {
    top: 60px;
    padding: 0 1rem;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav a {
    font-size: 1rem;
    padding: 0.95rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-dim);
  }
  .mobile-nav a:last-child { border-bottom: none; }

  /* Hero */
  .hero             { min-height: auto; padding: 5rem 0 3.5rem; }
  .hero h1          { font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; }
  .hero-sub         { font-size: 0.95rem; margin-bottom: 2rem; }
  .hero-eyebrow     { font-size: 0.68rem; margin-bottom: 1.25rem; }
  .hero-actions     { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* Hero stats — 2 per row */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
  .stat-item        { text-align: center; }
  .stat-number      { font-size: 2rem; }

  /* Sections */
  .section          { padding: 3.5rem 0; }
  .container        { padding: 0 1.25rem; }

  /* Feature grid — single col */
  .feature-grid     { grid-template-columns: 1fr; gap: 1px; }
  .feature-cell     { padding: 1.5rem; }

  /* Services grid — single col */
  .services-grid    { grid-template-columns: 1fr; gap: 1rem; }
  .card             { padding: 1.5rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial       { padding: 1.5rem; }
  .testimonial-quote { font-size: 1rem; }

  /* Pricing */
  .pricing-grid      { grid-template-columns: 1fr; max-width: 100%; }
  .pricing-card      { padding: 1.75rem 1.25rem; }

  /* FAQ */
  .faq-question      { font-size: 0.9rem; padding: 1rem; }
  .faq-answer-inner  { padding: 0 1rem 1rem; font-size: 0.875rem; }

  /* CTA banner */
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }
  .cta-banner h2     { font-size: 1.8rem !important; }
  .cta-banner .btn   { width: 100%; justify-content: center; }

  /* Footer */
  .footer            { padding: 3rem 0 1.5rem; }
  .footer-grid       { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-brand img  { height: 34px; }
  .footer-bottom     { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-legal      { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

  /* Forms — bigger tap targets */
  .form-row          { grid-template-columns: 1fr; gap: 0; }
  .form-group        { margin-bottom: 1rem; }
  .form-input,
  .form-select,
  .form-textarea     { font-size: 16px; padding: 0.875rem 1rem; }
  .form-label        { font-size: 0.73rem; }
  .form-textarea     { min-height: 100px; }

  /* Buttons */
  .btn               { padding: 0.8rem 1.25rem; font-size: 0.875rem; }
  .btn-sm            { padding: 0.625rem 1rem; font-size: 0.8rem; }
  .btn-lg            { padding: 0.875rem 1.5rem; font-size: 0.9rem; }

  /* Auth */
  .auth-right        { padding: 3rem 1.25rem 2.5rem; }

  /* Contact page layout — inline grid to single col */
  [style*="grid-template-columns:1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Cookie banner */
  #cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.25rem;
    gap: 0.875rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
  }
  .cookie-actions    { width: 100%; justify-content: center; }

  /* Page header */
  .page-header       { padding: 7rem 0 3rem; }

  /* Overflow guard */
  img, video, iframe { max-width: 100%; height: auto; }
}

/* ── Small phones 480px ── */
@media (max-width: 480px) {
  .container         { padding: 0 1rem; }
  .hero h1           { font-size: 1.75rem; }
  .hero-stats        { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number       { font-size: 1.75rem; }
  .section           { padding: 3rem 0; }
  .feature-cell      { padding: 1.25rem; }
  .card              { padding: 1.25rem; }
  .cta-banner        { padding: 1.75rem 1rem; }
  .cta-banner h2     { font-size: 1.6rem !important; }
  .auth-right        { padding: 2.5rem 1rem 2rem; }
  .nav-logo img      { height: 30px; }
  h2                 { font-size: clamp(1.6rem, 5vw, 3.5rem); }
  .badge             { font-size: 0.6rem; padding: 0.2rem 0.5rem; }
  .pricing-card      { padding: 1.5rem 1rem; }
  .section-label span { font-size: 0.65rem; }
}

/* ── iOS zoom prevention — font-size must be ≥16px on inputs ── */
@supports (-webkit-touch-callout: none) {
  input, select, textarea { font-size: 16px !important; }
}

/* ── Mobile fixes — additional ──────────────────────────────── */
@media (max-width: 768px) {
  /* Single hero button: full width centered */
  .hero-actions { align-items: center; }
  .hero-actions .btn { min-width: 220px; max-width: 320px; width: 100%; }

  /* Prevent tables & wide elements from breaking layout */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Auth page (forgot-password, login) form wrap */
  .auth-page { grid-template-columns: 1fr !important; }
  .auth-left  { display: none !important; }
  .auth-right { width: 100%; padding: 2rem 1.25rem; }
  .auth-form-wrap { max-width: 100%; }

  /* Nav single button */
  .nav-actions .btn { white-space: nowrap; }

  /* Contact info grid on mobile */
  .contact-info-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .auth-right { padding: 2rem 1rem; }
  .auth-form-wrap { padding: 1.5rem 1rem; }
}
