/* ================================================
   SN DIGITAL — Shared Stylesheet
   ================================================ */

/* TOKENS */
:root {
  --v: #7C5CFF;
  --v2: #6044e0;
  --c: #22D3EE;
  --ink: #080912;
  --ink2: #0C0D1C;
  --card: #0E0F22;
  --w: #fff;
  --m: rgba(255,255,255,.52);
  --sm: rgba(255,255,255,.28);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--w); font-family: 'Inter', sans-serif; line-height: 1.65; overflow-x: hidden; }

/* ── NAV ───────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(8,9,18,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { text-decoration: none; }
.nav-logo img { height: 34px; }
.nav-btn { background: var(--v); color: var(--w); font-size: 14px; font-weight: 700; font-family: 'Inter', sans-serif; padding: 10px 22px; border-radius: 8px; text-decoration: none; transition: background .2s, box-shadow .2s; white-space: nowrap; }
.nav-btn:hover { background: var(--v2); box-shadow: 0 8px 28px rgba(124,92,255,.4); }

/* ── HERO HUB (index.html — 2-col grid) ────────────── */
.hero-hub { position: relative; overflow: hidden; padding: 88px 48px 96px; }
.hero-hub::before { content: ''; position: absolute; top: -200px; left: -100px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(124,92,255,.15) 0%, transparent 60%); pointer-events: none; }
.hero-hub::after { content: ''; position: absolute; bottom: -100px; right: -60px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(34,211,238,.07) 0%, transparent 65%); pointer-events: none; }
.hero-inner-grid { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 440px; gap: 72px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(124,92,255,.4); border-radius: 6px; background: rgba(124,92,255,.07); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--v); margin-bottom: 28px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--v); animation: blink 2s ease-in-out infinite; }
.hero-hub h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 56px; font-weight: 800; line-height: 1.06; letter-spacing: -1.5px; color: var(--w); margin-bottom: 22px; }
.hero-hub h1 em { font-style: normal; color: var(--v); }
.hero-hub h1 .cc { color: var(--c); }
.hero-sub { font-size: 18px; color: var(--m); line-height: 1.85; max-width: 460px; margin-bottom: 36px; }
.hero-sub strong { color: var(--w); }
.btn-hero { display: inline-flex; align-items: center; gap: 8px; background: var(--v); color: var(--w); font-size: 16px; font-weight: 700; font-family: 'Inter', sans-serif; padding: 15px 28px; border-radius: 10px; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; margin-bottom: 12px; }
.btn-hero:hover { background: var(--v2); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(124,92,255,.4); }
.btn-hero svg { width: 16px; height: 16px; transition: transform .2s; }
.btn-hero:hover svg { transform: translateX(3px); }
.hero-note { font-size: 13px; color: var(--sm); margin-top: 6px; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; }
.hstat-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; color: var(--w); letter-spacing: -.5px; display: block; }
.hstat-val.vc { color: var(--v); }
.hstat-val.cc { color: var(--c); }
.hstat-label { font-size: 12px; color: var(--sm); margin-top: 2px; display: block; }

/* ── HERO NICHE (niche pages — centered) ───────────── */
.hero-niche { position: relative; overflow: hidden; padding: 100px 40px 80px; text-align: center; }
.hero-niche::before { content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse, rgba(124,92,255,.14) 0%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(124,92,255,.35); border-radius: 6px; background: rgba(124,92,255,.07); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--v); margin-bottom: 28px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--v); animation: blink 2s ease-in-out infinite; }
.hero-niche h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 60px; font-weight: 800; line-height: 1.05; letter-spacing: -1.8px; color: var(--w); margin-bottom: 24px; text-wrap: balance; }
.hero-niche h1 em { font-style: normal; color: var(--c); }
.hero-niche h1 .vc { color: var(--v); }
.niche-hero-sub { font-size: 19px; color: var(--m); line-height: 1.85; max-width: 580px; margin: 0 auto 40px; text-wrap: balance; }
.niche-hero-sub strong { color: var(--w); }
.btn-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--v); color: var(--w); font-size: 17px; font-weight: 700; font-family: 'Inter', sans-serif; padding: 16px 32px; border-radius: 12px; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-cta:hover { background: var(--v2); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(124,92,255,.45); }
.btn-cta svg { width: 17px; height: 17px; transition: transform .2s; }
.btn-cta:hover svg { transform: translateX(3px); }
.hero-note-niche { margin-top: 14px; font-size: 13px; color: var(--sm); }

/* ── VOICE DEMO ────────────────────────────────────── */
.demo-wrap { position: relative; }
.demo-glow { position: absolute; inset: -40px; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124,92,255,.14) 0%, transparent 70%); pointer-events: none; }
.demo-card { position: relative; z-index: 1; background: var(--card); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(124,92,255,.08); }
.demo-topbar { background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.demo-caller { display: flex; align-items: center; gap: 10px; }
.demo-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(124,92,255,.15); border: 1px solid rgba(124,92,255,.3); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.demo-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--w); }
.demo-num { font-size: 11px; color: var(--sm); margin-top: 1px; }
.demo-live { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--c); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); border-radius: 4px; padding: 3px 8px; animation: lb 2s ease-in-out infinite; }
@keyframes lb { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.demo-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 52px; padding: 0 20px; background: rgba(124,92,255,.04); }
.wbar { width: 3px; border-radius: 2px; background: rgba(124,92,255,.25); transform-origin: center; }
.demo-wave.speaking .wbar { background: var(--v); animation: wv 1.2s ease-in-out infinite; }
.demo-wave.listening .wbar { background: var(--c); animation: wv .7s ease-in-out infinite; }
.wbar:nth-child(1) { height: 10px; animation-delay: 0s; } .wbar:nth-child(2) { height: 22px; animation-delay: .1s; }
.wbar:nth-child(3) { height: 38px; animation-delay: .2s; } .wbar:nth-child(4) { height: 26px; animation-delay: .05s; }
.wbar:nth-child(5) { height: 48px; animation-delay: .15s; } .wbar:nth-child(6) { height: 34px; animation-delay: .25s; }
.wbar:nth-child(7) { height: 48px; animation-delay: .1s; } .wbar:nth-child(8) { height: 38px; animation-delay: .2s; }
.wbar:nth-child(9) { height: 26px; animation-delay: .3s; } .wbar:nth-child(10) { height: 14px; animation-delay: .05s; }
.wbar:nth-child(11) { height: 30px; animation-delay: .15s; } .wbar:nth-child(12) { height: 18px; animation-delay: .25s; }
@keyframes wv { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.demo-status { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(34,211,238,.05); border-bottom: 1px solid rgba(34,211,238,.12); }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); animation: dp 1.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes dp { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,.4); } 50% { box-shadow: 0 0 0 5px rgba(34,211,238,0); } }
.demo-status-txt { font-size: 12px; color: var(--c); font-weight: 500; }
.demo-transcript { height: 180px; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; scrollbar-color: rgba(124,92,255,.3) transparent; }
.dbubble { padding: 9px 13px; border-radius: 10px; font-size: 13px; line-height: 1.55; max-width: 88%; }
.dai { background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.2); color: rgba(255,255,255,.9); align-self: flex-start; border-radius: 4px 10px 10px 10px; }
.duser { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); color: var(--m); align-self: flex-end; border-radius: 10px 4px 10px 10px; }
.dthink { color: var(--sm); font-size: 12px; font-style: italic; align-self: flex-start; padding: 4px 0; }
.demo-controls { padding: 16px 20px; text-align: center; background: rgba(255,255,255,.02); }
.mic-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--c); border: none; cursor: pointer; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(34,211,238,.3); transition: all .25s; }
.mic-btn:hover { transform: scale(1.1); box-shadow: 0 0 36px rgba(34,211,238,.5); }
.mic-btn.active { background: #ff4a4a; box-shadow: 0 0 24px rgba(255,74,74,.45); animation: mp 1s ease-in-out infinite; }
@keyframes mp { 0%, 100% { box-shadow: 0 0 24px rgba(255,74,74,.45); } 50% { box-shadow: 0 0 48px rgba(255,74,74,.7); } }
.demo-hint { font-size: 11px; color: var(--sm); margin-top: 10px; line-height: 1.5; }
.demo-foot { border-top: 1px solid rgba(255,255,255,.05); padding: 10px 18px; text-align: center; font-size: 10px; color: rgba(255,255,255,.2); letter-spacing: .3px; }

/* ── DIVIDER ───────────────────────────────────────── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--v) 38%, var(--c) 62%, transparent); opacity: .35; }

/* ── SECTIONS ──────────────────────────────────────── */
.section { padding: 88px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.s-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--v); margin-bottom: 14px; }
.s-tag::before { content: ''; display: block; width: 16px; height: 1px; background: var(--v); }
.s-tag.tc { color: var(--c); }
.s-tag.tc::before { background: var(--c); }
.s-h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--w); margin-bottom: 16px; }
.s-h2 .vc { color: var(--v); }
.s-h2 .cc { color: var(--c); }
.s-p { font-size: 18px; color: var(--m); line-height: 1.8; max-width: 580px; }

/* ── BEFORE / AFTER ────────────────────────────────── */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.ba-card { border-radius: 20px; padding: 40px; }
.ba-card.before { background: rgba(255,55,55,.03); border: 1px solid rgba(255,55,55,.14); }
.ba-card.after { background: rgba(34,211,238,.04); border: 1px solid rgba(34,211,238,.2); }
.ba-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.ba-label.bl { color: rgba(255,90,90,.65); }
.ba-label.al { color: var(--c); }
.ba-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--w); margin-bottom: 20px; line-height: 1.35; }
.ba-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.ba-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--m); line-height: 1.72; }
.ba-card.after .ba-list li { color: rgba(255,255,255,.93); }
.bi { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }

/* ── VISION GRID ───────────────────────────────────── */
.vis-bg { background: rgba(124,92,255,.03); }
.vis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.vis-card { background: var(--card); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 38px; transition: border-color .25s, transform .25s; }
.vis-card:hover { border-color: rgba(124,92,255,.4); transform: translateY(-3px); }
.vis-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(124,92,255,.1); border: 1px solid rgba(124,92,255,.2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.vis-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--w); margin-bottom: 10px; line-height: 1.3; }
.vis-card p { font-size: 14px; color: rgba(255,255,255,.88); line-height: 1.85; }

/* ── HUB NICHE SELECTOR ────────────────────────────── */
.niche-bg { background: var(--ink2); }
.niche-head { text-align: center; margin-bottom: 52px; }
.niche-h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--w); margin-bottom: 12px; }
.niche-h2 .vc { color: var(--v); }
.niche-sub { font-size: 18px; color: var(--m); max-width: 520px; margin: 0 auto; line-height: 1.8; }
.niche-flex { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.niche-card { background: var(--card); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 32px; text-decoration: none; color: inherit; transition: border-color .3s, transform .3s, box-shadow .3s; display: flex; flex-direction: column; flex: 0 0 calc(25% - 12px); min-width: 200px; }
.niche-card:hover { border-color: rgba(124,92,255,.45); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.niche-em { font-size: 36px; line-height: 1; margin-bottom: 14px; display: block; }
.niche-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--w); margin-bottom: 8px; line-height: 1.25; }
.niche-card p { font-size: 13px; color: var(--m); line-height: 1.75; flex-grow: 1; margin-bottom: 20px; }
.niche-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--v); transition: gap .2s; }
.niche-card:hover .niche-link { gap: 10px; }
.niche-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--sm); }
.niche-note a { color: var(--v); text-decoration: none; }

/* ── TRUST BAND ────────────────────────────────────── */
.trust-band { background: rgba(124,92,255,.06); border-top: 1px solid rgba(124,92,255,.18); border-bottom: 1px solid rgba(124,92,255,.18); padding: 40px 48px; text-align: center; }
.trust-inner { max-width: 640px; margin: 0 auto; }
.trust-band p { font-size: 17px; color: var(--m); line-height: 1.8; }
.trust-band strong { color: var(--w); }

/* ── FOUNDER CARD ──────────────────────────────────── */
.founder-card { background: rgba(124,92,255,.05); border: 1px solid rgba(124,92,255,.18); border-radius: 24px; padding: 52px; display: flex; align-items: center; gap: 44px; margin-top: 44px; }
.founder-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(124,92,255,.4); flex-shrink: 0; }
.founder-quote { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--w); line-height: 1.55; margin-bottom: 14px; font-style: italic; }
.founder-name { font-weight: 700; color: var(--w); font-size: 14px; }
.founder-role { font-size: 12px; color: var(--sm); margin-top: 2px; }

/* ── CALENDAR SECTION ──────────────────────────────── */
.cal-section { padding: 96px 48px; background: var(--ink2); text-align: center; }
.cal-inner { max-width: 680px; margin: 0 auto; }
.cal-h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -1px; color: var(--w); margin-bottom: 14px; line-height: 1.1; text-wrap: balance; }
.cal-h2 .cc { color: var(--c); }
.cal-sub { font-size: 17px; color: var(--m); margin-bottom: 44px; line-height: 1.8; max-width: 500px; margin-left: auto; margin-right: auto; }
.cal-box { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 52px 40px; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.cal-box p { color: var(--sm); font-size: 14px; }

/* ── FOOTER ────────────────────────────────────────── */
footer { border-top: 1px solid rgba(255,255,255,.06); padding: 40px 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo img { height: 28px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 13px; color: var(--sm); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--w); }
.footer-back { font-size: 12px; color: rgba(124,92,255,.6); text-decoration: none; transition: color .2s; margin-top: 4px; display: inline-block; }
.footer-back:hover { color: var(--v); }

/* ── REVEAL ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ── KEYFRAMES ─────────────────────────────────────── */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ── MEDIA QUERIES ─────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner-grid { grid-template-columns: 1fr; gap: 52px; }
  .demo-wrap { max-width: 420px; margin: 0 auto; }
  .vis-grid { grid-template-columns: 1fr 1fr; }
  .niche-card { flex: 0 0 calc(33.333% - 11px); }
}
@media (max-width: 900px) {
  .vis-grid { grid-template-columns: 1fr 1fr; }
  .niche-card { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .hero-hub { padding: 64px 24px 72px; }
  .hero-hub h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-niche { padding: 72px 24px 60px; }
  .hero-niche h1 { font-size: 36px; letter-spacing: -1px; }
  .niche-hero-sub { font-size: 17px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 64px 24px; }
  .cal-section { padding: 64px 24px; }
  .s-h2, .niche-h2, .cal-h2 { font-size: 30px; }
  .ba-grid, .vis-grid { grid-template-columns: 1fr; }
  .niche-card { flex: 0 0 calc(50% - 8px); }
  .trust-band { padding: 32px 24px; }
  footer { padding: 28px 24px; }
  .founder-card { flex-direction: column; text-align: center; padding: 36px 28px; gap: 24px; }
}
@media (max-width: 520px) {
  .hero-hub h1 { font-size: 30px; }
  .hero-niche h1 { font-size: 28px; }
  .ba-card { padding: 26px 20px; }
  .niche-card { flex: 0 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .wbar, .demo-dot, .demo-live, .dot { animation: none; }
}
