/* ============================================
   DesiMatch.org — Global Desi Matrimony
   Palette: Peacock teal / Marigold / Ivory
   ============================================ */
:root {
  --teal-900: #073B36;
  --teal-700: #0E5C55;
  --teal-500: #178A7E;
  --teal-100: #DFF2EF;
  --teal-50:  #F0FAF8;
  --gold-600: #C77F1E;
  --gold-500: #E8A33D;
  --gold-100: #FBEED8;
  --rose-600: #C4536B;
  --rose-100: #F9E7EC;
  --ink:      #1E2423;
  --ink-soft: #5A6663;
  --ivory:    #FAF7F0;
  --white:    #FFFFFF;
  --line:     #E5E0D5;
  --radius:   10px;
  --radius-lg:18px;
  --shadow:   0 2px 12px rgba(14,92,85,.08);
  --shadow-lg:0 8px 30px rgba(14,92,85,.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-body); color:var(--ink); background:var(--ivory); line-height:1.65; font-size:16px; }
img { max-width:100%; }
a { color:var(--teal-700); text-decoration:none; }
a:hover { text-decoration:underline; }
h1,h2,h3,h4 { font-family:var(--font-display); font-weight:600; line-height:1.2; }
.container { max-width:1140px; margin:0 auto; padding:0 24px; }

/* ---------- Buttons ---------- */
.btn { display:inline-block; padding:13px 28px; border-radius:var(--radius); font-weight:600; font-size:15.5px; cursor:pointer; border:none; transition:.18s; font-family:var(--font-body); text-align:center; }
.btn:hover { text-decoration:none; transform:translateY(-1px); }
.btn-primary { background:var(--teal-700); color:var(--white); }
.btn-primary:hover { background:var(--teal-900); }
.btn-gold { background:var(--gold-500); color:var(--teal-900); }
.btn-gold:hover { background:var(--gold-600); color:var(--white); }
.btn-outline { background:transparent; color:var(--teal-700); border:1.5px solid var(--teal-700); }
.btn-outline:hover { background:var(--teal-50); }
.btn-block { display:block; width:100%; }
.btn:disabled { opacity:.5; cursor:not-allowed; transform:none; }

/* ---------- Header ---------- */
header { background:var(--white); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:200; }
.nav { display:flex; align-items:center; justify-content:space-between; height:68px; }
.logo { font-family:var(--font-display); font-size:24px; font-weight:700; color:var(--teal-700); display:flex; align-items:center; gap:8px; }
.logo .dot { color:var(--gold-500); }
.nav-links { display:flex; gap:28px; list-style:none; align-items:center; }
.nav-links a { font-size:14.5px; color:var(--ink-soft); font-weight:500; }
.nav-links a:hover { color:var(--teal-700); text-decoration:none; }
.nav-cta { display:flex; gap:12px; align-items:center; }
.menu-toggle { display:none; background:none; border:none; font-size:26px; color:var(--teal-700); cursor:pointer; }

/* ---------- Hero ---------- */
.hero { background:linear-gradient(160deg, var(--teal-900) 0%, var(--teal-700) 70%); color:var(--white); position:relative; overflow:hidden; }
.hero::after { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 85% 15%, rgba(232,163,61,.18), transparent 55%); pointer-events:none; }
.hero-inner { display:grid; grid-template-columns:1.15fr .85fr; gap:48px; padding:72px 0 88px; position:relative; z-index:1; align-items:center; }
.hero-badge { display:inline-block; background:rgba(232,163,61,.16); border:1px solid rgba(232,163,61,.45); color:var(--gold-100); font-size:13px; padding:6px 16px; border-radius:99px; margin-bottom:22px; letter-spacing:.02em; }
.hero h1 { font-size:clamp(34px, 4.5vw, 54px); margin-bottom:18px; }
.hero h1 em { font-style:italic; color:var(--gold-500); }
.hero p.lede { font-size:18px; color:rgba(255,255,255,.82); max-width:520px; margin-bottom:28px; }
.trust-row { display:flex; gap:20px; flex-wrap:wrap; margin-top:26px; font-size:13.5px; color:rgba(255,255,255,.75); }
.trust-row span { display:flex; align-items:center; gap:7px; }

/* Journey line — signature motif */
.journey { margin-top:38px; display:flex; align-items:center; gap:0; font-size:12.5px; color:rgba(255,255,255,.65); flex-wrap:wrap; }
.journey .stop { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.journey .stop b { color:var(--gold-500); font-weight:600; }
.journey .path { flex:0 0 34px; border-top:2px dotted rgba(232,163,61,.55); margin:0 8px; }

/* ---------- Signup card ---------- */
.signup-card { background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:32px; color:var(--ink); }
.signup-card h3 { font-size:21px; margin-bottom:4px; color:var(--teal-900); }
.signup-card .sub { font-size:13.5px; color:var(--ink-soft); margin-bottom:20px; }
.field { margin-bottom:14px; }
.field label { display:block; font-size:13px; font-weight:600; margin-bottom:5px; color:var(--ink); }
.field input, .field select, .field textarea { width:100%; padding:11px 14px; border:1.5px solid var(--line); border-radius:var(--radius); font-size:15px; font-family:var(--font-body); background:var(--white); color:var(--ink); transition:.15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--teal-500); box-shadow:0 0 0 3px var(--teal-100); }
.field .hint { font-size:12px; color:var(--ink-soft); margin-top:4px; }
.fine { font-size:12px; color:var(--ink-soft); text-align:center; margin-top:12px; }
.otp-box { display:flex; gap:10px; }
.otp-box input { text-align:center; font-size:22px; letter-spacing:.4em; font-weight:600; }
.step-panel { display:none; }
.step-panel.active { display:block; animation:fadeUp .3s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(8px);} to { opacity:1; transform:none;} }
.success-tick { width:56px; height:56px; border-radius:50%; background:var(--teal-100); color:var(--teal-700); display:flex; align-items:center; justify-content:center; font-size:28px; margin:0 auto 14px; }

/* ---------- Sections ---------- */
section { padding:76px 0; }
.eyebrow { font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-600); font-weight:700; margin-bottom:10px; }
.section-title { font-size:clamp(26px,3.2vw,38px); color:var(--teal-900); margin-bottom:14px; }
.section-sub { color:var(--ink-soft); max-width:640px; margin-bottom:44px; font-size:16.5px; }
.center { text-align:center; }
.center .section-sub { margin-left:auto; margin-right:auto; }

/* ---------- Stats strip ---------- */
.stats-strip { background:var(--white); border-block:1px solid var(--line); padding:34px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat h3 { font-size:30px; color:var(--teal-700); }
.stat p { font-size:13.5px; color:var(--ink-soft); }

/* ---------- Cards grid ---------- */
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px; transition:.2s; }
.card:hover { box-shadow:var(--shadow-lg); transform:translateY(-3px); border-color:var(--teal-100); }
.card .icon { width:46px; height:46px; border-radius:12px; background:var(--teal-50); color:var(--teal-700); display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; }
.card h3 { font-size:17.5px; margin-bottom:8px; color:var(--teal-900); }
.card p { font-size:14.5px; color:var(--ink-soft); }
.card.gold .icon { background:var(--gold-100); color:var(--gold-600); }
.card.rose .icon { background:var(--rose-100); color:var(--rose-600); }

/* ---------- Steps ---------- */
.steps-wrap { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; position:relative; }
.step-item { text-align:center; padding:0 10px; position:relative; }
.step-item .num { width:44px; height:44px; border-radius:50%; background:var(--teal-700); color:var(--white); font-weight:700; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-size:17px; position:relative; z-index:1; }
.step-item:not(:last-child)::after { content:""; position:absolute; top:22px; left:calc(50% + 30px); width:calc(100% - 60px); border-top:2px dotted var(--gold-500); }
.step-item h4 { font-size:15.5px; margin-bottom:6px; color:var(--teal-900); font-family:var(--font-body); font-weight:700; }
.step-item p { font-size:13px; color:var(--ink-soft); }

/* ---------- Audience ---------- */
.aud-card { border-top:4px solid var(--teal-500); }
.aud-card.gold-top { border-top-color:var(--gold-500); }
.aud-card.rose-top { border-top-color:var(--rose-600); }
.aud-tag { display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:5px 12px; border-radius:99px; background:var(--teal-50); color:var(--teal-700); margin-bottom:14px; }

/* ---------- Comparison table ---------- */
.compare-scroll { overflow-x:auto; border-radius:var(--radius-lg); border:1px solid var(--line); background:var(--white); }
table.compare { width:100%; border-collapse:collapse; font-size:14px; min-width:760px; }
.compare th, .compare td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--line); }
.compare thead th { background:var(--teal-900); color:var(--white); font-family:var(--font-body); font-weight:600; font-size:13.5px; }
.compare thead th.dm { background:var(--gold-500); color:var(--teal-900); }
.compare tbody tr:last-child td { border-bottom:none; }
.compare td.dm { background:var(--gold-100); font-weight:600; color:var(--teal-900); }
.compare td .no { color:#B4453C; }
.compare td .yes { color:var(--teal-700); font-weight:600; }

/* ---------- Testimonials ---------- */
.testi { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px; }
.testi .stars { color:var(--gold-500); letter-spacing:2px; margin-bottom:12px; }
.testi p { font-style:italic; color:var(--ink-soft); font-size:14.5px; margin-bottom:16px; }
.testi .who { font-weight:700; font-size:14px; color:var(--teal-900); }
.testi .where { font-size:12.5px; color:var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background:linear-gradient(135deg, var(--teal-700), var(--teal-900)); color:var(--white); text-align:center; border-radius:var(--radius-lg); padding:64px 32px; position:relative; overflow:hidden; }
.cta-band::before { content:"✦"; position:absolute; font-size:180px; color:rgba(232,163,61,.08); top:-40px; right:20px; }
.cta-band h2 { font-size:clamp(26px,3vw,36px); margin-bottom:12px; }
.cta-band p { color:rgba(255,255,255,.8); margin-bottom:28px; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height:calc(100vh - 68px); display:flex; align-items:center; justify-content:center; padding:48px 24px; }
.auth-card { width:100%; max-width:440px; background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:40px; }
.auth-card h2 { color:var(--teal-900); margin-bottom:6px; font-size:26px; }
.auth-card .sub { color:var(--ink-soft); font-size:14px; margin-bottom:24px; }

/* ---------- Dashboard ---------- */
.dash { padding:40px 0 80px; }
.dash-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:28px; }
.dash-head h2 { color:var(--teal-900); font-size:28px; }
.match-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:22px; }
.match-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; transition:.2s; }
.match-card:hover { box-shadow:var(--shadow-lg); }
.match-top { background:var(--teal-50); padding:22px; display:flex; gap:16px; align-items:center; }
.avatar { width:62px; height:62px; border-radius:50%; background:var(--teal-700); color:var(--white); font-family:var(--font-display); font-size:23px; font-weight:600; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.match-top h3 { font-size:17px; color:var(--teal-900); font-family:var(--font-body); font-weight:700; }
.match-top .meta { font-size:13px; color:var(--ink-soft); }
.score-ring { margin-left:auto; text-align:center; }
.score-ring .pct { font-size:20px; font-weight:700; color:var(--teal-700); font-family:var(--font-display); }
.score-ring .lbl { font-size:10.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; }
.match-body { padding:18px 22px 22px; }
.chips { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:14px; }
.chip { font-size:12px; background:var(--ivory); border:1px solid var(--line); padding:4px 11px; border-radius:99px; color:var(--ink-soft); }
.chip.hl { background:var(--gold-100); border-color:var(--gold-500); color:var(--gold-600); font-weight:600; }
.bar-row { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--ink-soft); margin-bottom:7px; }
.bar-row .lbl { width:86px; flex-shrink:0; }
.bar { flex:1; height:6px; background:var(--ivory); border-radius:99px; overflow:hidden; }
.bar i { display:block; height:100%; background:var(--teal-500); border-radius:99px; }
.match-actions { display:flex; gap:10px; margin-top:16px; }
.match-actions .btn { padding:9px 0; font-size:13.5px; flex:1; }
.filters { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:26px; }
.filters select { padding:9px 14px; border:1.5px solid var(--line); border-radius:var(--radius); font-size:13.5px; background:var(--white); color:var(--ink); font-family:var(--font-body); }
.empty-state { text-align:center; padding:70px 20px; color:var(--ink-soft); }
.empty-state .big { font-size:44px; margin-bottom:12px; }

/* ---------- Legal pages ---------- */
.legal { max-width:780px; margin:0 auto; padding:56px 24px 90px; }
.legal h1 { color:var(--teal-900); font-size:34px; margin-bottom:8px; }
.legal .updated { color:var(--ink-soft); font-size:13.5px; margin-bottom:36px; }
.legal h2 { font-size:20px; color:var(--teal-900); margin:34px 0 12px; }
.legal p, .legal li { color:var(--ink-soft); font-size:15px; margin-bottom:12px; }
.legal ul { padding-left:22px; }

/* ---------- Footer ---------- */
footer { background:var(--teal-900); color:rgba(255,255,255,.75); padding:56px 0 34px; margin-top:40px; }
.foot-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; margin-bottom:40px; }
.foot-grid h4 { color:var(--white); font-size:15px; margin-bottom:14px; font-family:var(--font-body); font-weight:700; }
.foot-grid ul { list-style:none; }
.foot-grid li { margin-bottom:9px; }
.foot-grid a { color:rgba(255,255,255,.65); font-size:14px; }
.foot-grid a:hover { color:var(--gold-500); }
.foot-logo { font-family:var(--font-display); font-size:22px; font-weight:700; color:var(--white); margin-bottom:12px; }
.foot-logo .dot { color:var(--gold-500); }
.foot-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top:24px; font-size:13px; text-align:center; color:rgba(255,255,255,.5); }

/* ---------- Toast ---------- */
.toast { position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(80px); background:var(--teal-900); color:var(--white); padding:13px 26px; border-radius:99px; font-size:14px; box-shadow:var(--shadow-lg); opacity:0; transition:.3s; z-index:500; }
.toast.show { transform:translateX(-50%); opacity:1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns:1fr; padding:52px 0 64px; }
  .grid-3, .grid-4 { grid-template-columns:repeat(2,1fr); }
  .steps-wrap { grid-template-columns:repeat(2,1fr); gap:28px; }
  .step-item:not(:last-child)::after { display:none; }
  .foot-grid { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  .nav-links { display:none; position:absolute; top:68px; left:0; right:0; background:var(--white); flex-direction:column; padding:20px; gap:16px; border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .menu-toggle { display:block; }
  .nav-cta .btn-outline { display:none; }
  .grid-3, .grid-4 { grid-template-columns:1fr; }
  section { padding:56px 0; }
  .signup-card { padding:24px; }
}
