/* Rishta Baji landing. Dark, premium, modern. */

@font-face {
  font-family: 'TAYBilly';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/taybilly.ttf') format('truetype');
}
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('/fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('/fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('/fonts/dm-sans-700.woff2') format('woff2'); }

:root {
  --bg: #08080B;
  --bg-2: #0E0E12;
  --text: #F4F4F6;
  --text-soft: #A6A6AE;
  --text-mute: #6E6E77;
  --mint: #00E5C4;
  --mint-ink: #062A24;
  --pink: #FF4DA6;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.028);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* fine grain, keeps large dark fields from looking flat/cheap */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; max-width: 1200px; margin: 0 auto;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 8, 11, 0.72); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.wordmark { font-family: 'TAYBilly', sans-serif; font-size: 1.5rem; letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
.nav-cta { font-weight: 500; font-size: 0.95rem; color: var(--text); text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); transition: background 0.2s, border-color 0.2s; }
.nav-cta:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.arr { opacity: 0.6; }

main { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* Aurora glow */
.aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.aurora::before { width: 620px; height: 620px; top: -220px; left: 8%; background: radial-gradient(circle, rgba(0,229,196,0.5), transparent 66%); }
.aurora::after { width: 560px; height: 560px; top: -140px; right: 4%; background: radial-gradient(circle, rgba(255,77,166,0.42), transparent 66%); }

/* Hero */
.hero { position: relative; text-align: center; padding: 92px 0 84px; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; color: var(--text-soft);
  padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--glass); margin-bottom: 30px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hero h1 {
  font-family: 'TAYBilly', sans-serif; font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.0; letter-spacing: 0.01em;
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px;
}
.h1-dim { color: rgba(244,244,246,0.62); }
.h1-grad {
  background: linear-gradient(96deg, #00E5C4 0%, #7C6CF0 52%, #FF4DA6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subhead { font-size: 1.18rem; line-height: 1.6; color: var(--text-soft); max-width: 34em; margin: 0 auto 36px; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--mint); color: var(--mint-ink);
  font-weight: 700; font-size: 1.05rem; text-decoration: none; padding: 15px 32px; border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0,229,196,0.4), 0 10px 40px rgba(0,229,196,0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0,229,196,0.6), 0 16px 50px rgba(0,229,196,0.42); }
.btn-lg { font-size: 1.15rem; padding: 17px 40px; }
.btn-ghost { font-weight: 500; font-size: 1.05rem; color: var(--text); text-decoration: none; padding: 15px 24px; border-radius: 999px; border: 1px solid var(--line); transition: background 0.2s, border-color 0.2s; }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.cta-note { font-size: 0.9rem; color: var(--text-mute); margin-top: 20px; }

/* Bento */
.bento { padding: 20px 0 40px; }
.bento-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0) 40%);
}
.cell-spectrum { grid-column: span 3; grid-row: span 2; }
.cell-compat { grid-column: span 3; grid-row: span 2; }
.cell-b { grid-column: span 3; }
.cell-c { grid-column: span 3; }
.cell-private { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.cell-eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.cell-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.5rem; margin-top: 8px; }
.cell-icon { color: var(--mint); font-size: 1.1rem; margin-bottom: 14px; }
.cell-h { font-weight: 700; font-size: 1.22rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.cell p { color: var(--text-soft); font-size: 0.98rem; }
.spectrum { width: 100%; height: auto; display: block; margin-top: 14px; }

.compat-name { font-weight: 700; font-size: 1.4rem; margin-top: 8px; }
.compat-name .am { color: var(--mint); } .compat-name .ap { color: var(--pink); } .compat-name .tx { color: var(--text-mute); margin: 0 5px; }
.compat-verdict { color: var(--text-soft); font-size: 0.95rem; margin-top: 4px; }
.fit-list { margin-top: 24px; }
.fit-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fit-label { width: 104px; color: var(--text); font-size: 0.9rem; font-weight: 500; flex-shrink: 0; }
.fit-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.09); overflow: hidden; }
.fit-fill { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), #7C6CF0); }

/* Flow */
.flow { display: flex; align-items: stretch; gap: 8px; padding: 64px 0 40px; }
.flow-step { flex: 1; display: flex; gap: 16px; }
.flow-n { font-family: 'TAYBilly', sans-serif; font-size: 1.3rem; color: var(--mint); }
.flow-step h3 { font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.flow-step p { color: var(--text-soft); font-size: 0.96rem; }
.flow-line { flex: 0 0 40px; align-self: center; height: 1px; background: linear-gradient(90deg, var(--line), transparent); margin-top: -10px; }

/* Final CTA */
.cta-final { position: relative; text-align: center; padding: 96px 0 120px; overflow: hidden; }
.aurora-2 { opacity: 0.7; }
.aurora-2::before { top: 10%; left: 30%; opacity: 0.4; }
.aurora-2::after { top: 0; right: 30%; opacity: 0.35; }
.cta-final h2 { position: relative; z-index: 2; font-family: 'TAYBilly', sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: 0.01em; margin-bottom: 32px; }
.cta-final .btn-primary { position: relative; z-index: 2; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); max-width: 1200px; margin: 0 auto; padding: 34px 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; position: relative; z-index: 2; }
.footer-mark { font-size: 1.25rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-soft); font-size: 0.9rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-note { color: var(--text-mute); font-size: 0.82rem; width: 100%; }

/* Responsive */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .cell-spectrum, .cell-compat { grid-column: span 2; grid-row: auto; }
  .cell-b, .cell-c { grid-column: span 1; }
  .cell-private { grid-column: span 2; }
  .flow { flex-direction: column; gap: 24px; }
  .flow-line { display: none; }
}
@media (max-width: 560px) {
  .nav { padding: 16px 20px; }
  main { padding: 0 18px; }
  .hero { padding: 56px 0 60px; }
  .bento-grid { grid-template-columns: 1fr; }
  .cell-spectrum, .cell-compat, .cell-b, .cell-c, .cell-private { grid-column: span 1; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .footer { flex-direction: column; align-items: flex-start; }
}
