/* ============================================================
   SmartVibes — Fresh Site Stylesheet
   Modern, no-build. Dark-first with light theme toggle.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #0a0d18;
  --bg-soft: #10142500;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1f8;
  --text-dim: #a7b0c6;
  --text-mute: #6f7a93;

  --brand-1: #1e73be;   /* SmartVibes brand blue */
  --brand-2: #38bdf8;   /* bright sky            */
  --brand-3: #0b4f8a;   /* deep brand blue       */

  --vidya-1: #2563eb;   /* VidyaSetu blue  */
  --vidya-2: #06b6d4;   /* VidyaSetu teal  */
  --swift-1: #f97316;   /* SwiftBite orange */
  --swift-2: #f43f5e;   /* SwiftBite rose   */

  --grad-brand: linear-gradient(120deg, var(--brand-1), var(--brand-2));
  --grad-vidya: linear-gradient(125deg, var(--vidya-1), var(--vidya-2));
  --grad-swift: linear-gradient(125deg, var(--swift-1), var(--swift-2));

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px -30px rgba(30,115,190,0.45);

  --container: 1180px;
  --nav-h: 74px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --surface: rgba(15, 23, 42, 0.03);
  --surface-2: rgba(15, 23, 42, 0.05);
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #0d1326;
  --text-dim: #41506b;
  --text-mute: #6b7691;
  --shadow: 0 24px 60px -28px rgba(20, 30, 70, 0.35);
  --shadow-glow: 0 0 0 1px rgba(20,30,70,0.05), 0 30px 80px -34px rgba(30,115,190,0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Ambient background ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-orbs span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}
.bg-orbs .o1 { width: 520px; height: 520px; top: -160px; left: -120px; background: var(--brand-1); }
.bg-orbs .o2 { width: 480px; height: 480px; top: 30%; right: -160px; background: var(--brand-2); animation-delay: -6s; }
.bg-orbs .o3 { width: 460px; height: 460px; bottom: -180px; left: 35%; background: var(--brand-3); animation-delay: -11s; }
[data-theme="light"] .bg-orbs span { opacity: 0.22; }
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 18px 0 14px; font-weight: 800; }
.section-head p { color: var(--text-dim); font-size: 1.06rem; }
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 30px -10px rgba(30,115,190,0.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(30,115,190,0.75); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--brand-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: var(--grad-brand);
  box-shadow: 0 8px 20px -8px rgba(30,115,190,0.7);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand b { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; color: var(--text-dim); font-weight: 600; font-size: 0.93rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); display: grid; place-items: center;
  transition: transform .25s, border-color .25s;
}
.theme-toggle:hover { transform: rotate(20deg); border-color: var(--brand-2); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 70px; text-align: center; }
.hero .tagpill { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800;
  max-width: 16ch; margin-inline: auto;
}
.hero p.lead { color: var(--text-dim); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 58ch; margin: 24px auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 64px;
}
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; min-width: 150px; backdrop-filter: blur(6px);
}
.stat .num { font-size: 2rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--text-mute); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; }

/* App badges row */
.app-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); font-weight: 600; font-size: 0.9rem;
}
.app-badge svg { width: 20px; height: 20px; }

/* ---------- Products ---------- */
.product {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 46px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); position: relative; overflow: hidden; margin-bottom: 40px;
}
.product::before {
  content: ""; position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
}
.product.vidya::before { background: var(--grad-vidya); }
.product.swift::before { background: var(--grad-swift); }
.product.swift { grid-template-columns: 1fr 1.05fr; }
.product .pinfo { position: relative; z-index: 1; }
.product .plogo {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  color: #fff; box-shadow: var(--shadow);
}
.product.vidya .plogo { background: var(--grad-vidya); }
.product.swift .plogo { background: var(--grad-swift); }
.product .plogo svg { width: 32px; height: 32px; }
.product h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 6px; }
.product .ptag { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.product.vidya .ptag { color: var(--vidya-2); }
.product.swift .ptag { color: var(--swift-1); }
.product .pdesc { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 22px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 26px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-dim); font-size: 0.95rem; }
.feature-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px;
  color: #fff;
}
.product.vidya .tick { background: var(--grad-vidya); }
.product.swift .tick { background: var(--grad-swift); }
.feature-list .tick svg { width: 13px; height: 13px; }

/* Phone mockup */
.pmock { position: relative; z-index: 1; display: grid; place-items: center; }
.phone {
  width: 270px; aspect-ratio: 9 / 19; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #1c2336, #0c1020);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  position: relative;
}
[data-theme="light"] .phone { background: linear-gradient(160deg, #2a3349, #161c2e); }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 7px; border-radius: 99px; background: rgba(255,255,255,0.18); }
.phone-screen {
  width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; color: #fff; position: relative;
}
.product.vidya .phone-screen { background: linear-gradient(165deg, #0b2a63, #06384a); }
.product.swift .phone-screen { background: linear-gradient(165deg, #5a230a, #4a0f23); }
.ps-top { padding: 30px 18px 16px; }
.ps-top .greet { font-size: 0.72rem; opacity: 0.7; }
.ps-top .title { font-size: 1.05rem; font-weight: 800; margin-top: 2px; }
.ps-card {
  margin: 8px 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.14);
}
.ps-card .big { font-size: 1.5rem; font-weight: 800; }
.ps-card .sub { font-size: 0.72rem; opacity: 0.8; }
.ps-row { display: flex; gap: 8px; margin: 10px 14px; }
.ps-chip { flex: 1; padding: 12px 8px; border-radius: 13px; background: rgba(255,255,255,0.10); text-align: center; font-size: 0.68rem; font-weight: 600; }
.ps-chip .ico { font-size: 1.1rem; margin-bottom: 4px; display: block; }
.ps-list { margin: 8px 14px; display: grid; gap: 8px; }
.ps-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,0.08); font-size: 0.74rem; }
.ps-item .dot { width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,0.18); flex: none; display:grid; place-items:center; font-size: 0.85rem; }
.ps-item .meta { flex: 1; }
.ps-item .meta b { font-size: 0.78rem; }
.ps-item .meta span { opacity: 0.7; font-size: 0.66rem; display: block; }
.phone-glow { position: absolute; inset: -30px; z-index: -1; filter: blur(50px); opacity: 0.55; border-radius: 50%; }
.product.vidya .phone-glow { background: var(--grad-vidya); }
.product.swift .phone-glow { background: var(--grad-swift); }

/* ---------- Services / cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.card .ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-brand); color: #fff;
}
.card .ico svg { width: 27px; height: 27px; }
.card h4 { font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Values / why ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value {
  text-align: center; padding: 30px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s;
}
.value:hover { transform: translateY(-5px); border-color: var(--brand-2); }
.value .ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand-2); }
.value .ico svg { width: 26px; height: 26px; }
.value h4 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { color: var(--text-mute); font-size: 0.88rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.step .n {
  font-size: 0.85rem; font-weight: 800; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; margin-bottom: 16px;
}
.step h4 { font-size: 1.08rem; margin-bottom: 7px; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.tcard .stars { color: #fbbf24; margin-bottom: 12px; letter-spacing: 2px; }
.tcard p { color: var(--text-dim); font-size: 0.96rem; margin-bottom: 18px; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-brand); }
.tcard .who b { display: block; font-size: 0.95rem; }
.tcard .who span { color: var(--text-mute); font-size: 0.82rem; }

/* ---------- CTA / Contact ---------- */
.cta-wrap {
  border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-strong);
}
.cta-wrap::before { content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0.12; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; position: relative; z-index: 1; }
.contact-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 14px; font-weight: 800; }
.contact-info p { color: var(--text-dim); margin-bottom: 24px; }
.contact-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--brand-2); flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: 0.95rem; }
.contact-list span { color: var(--text-mute); font-size: 0.88rem; }
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 13px; background: var(--bg);
  border: 1px solid var(--border-strong); color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 22%, transparent); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--text-mute); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 0.93rem; max-width: 34ch; }
.footer-col h5 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.93rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--text-dim); transition: transform .25s, color .25s, border-color .25s; }
.socials a:hover { transform: translateY(-3px); color: var(--text); border-color: var(--brand-2); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 0.87rem; }
.footer-bottom a { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; z-index: 90;
  box-shadow: 0 14px 30px -10px rgba(30,115,190,0.6); opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s; border: none;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--nav-h); left: 14px; right: 14px;
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(18px);
    border: 1px solid var(--border); border-radius: 18px; padding: 12px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 16px; }
  .product, .product.swift { grid-template-columns: 1fr; gap: 36px; padding: 34px 26px; }
  .pmock { order: -1; }
  .cards, .tgrid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  section { padding: 70px 0; }
  .cards, .tgrid, .values, .steps, .footer-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .cta-wrap { padding: 32px 22px; }
  .hero-stats { gap: 10px; }
  .stat { min-width: 132px; padding: 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .bg-orbs span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Sub-page components (product / careers / legal)
   ============================================================ */

/* Page hero + breadcrumb */
.page-hero { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 30px; text-align: center; }
.page-hero.left { text-align: left; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-mute); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.5; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.page-hero .sub { color: var(--text-dim); font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 60ch; margin: 18px auto 0; }
.page-hero.left .sub { margin-inline: 0; }

/* Product hero head with logo + accent */
.prod-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.prod-head .plogo { width: 64px; height: 64px; border-radius: 17px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); flex: none; }
.prod-head .ptag { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.theme-vidya .plogo, .theme-vidya .accent-bg { background: var(--grad-vidya); }
.theme-swift .plogo, .theme-swift .accent-bg { background: var(--grad-swift); }
.theme-vidya .accent-text { color: var(--vidya-2); }
.theme-swift .accent-text { color: var(--swift-1); }
.theme-vidya .tick { background: var(--grad-vidya); }
.theme-swift .tick { background: var(--grad-swift); }

/* Screenshot gallery */
.shots { padding-top: 30px; }
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 19;
  background: linear-gradient(165deg, #161c2e, #0c1020); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); display: grid; place-items: center; padding: 10px;
}
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.shot.empty img { display: none; }
.shot.empty::before {
  content: attr(data-label); position: absolute; inset: 14px; border-radius: 18px;
  border: 2px dashed var(--border-strong); display: grid; place-items: center; text-align: center;
  color: var(--text-mute); font-size: 0.82rem; font-weight: 600; padding: 16px; line-height: 1.4;
}
.theme-vidya .shot.empty { background: linear-gradient(165deg, #0b2a63, #06384a); }
.theme-swift .shot.empty { background: linear-gradient(165deg, #5a230a, #4a0f23); }

/* Wide screenshot (dashboard) */
.shot-wide { aspect-ratio: 16 / 10; border-radius: 20px; }
.shot-wide img, .shot-wide.empty::before { border-radius: 14px; }

/* Browser-framed wide screenshots (for web dashboards) */
.browser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.browser {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong);
  background: #0c1020; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.browser:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.browser .bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: rgba(255,255,255,0.06); border-bottom: 1px solid var(--border); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.browser .bar i:nth-child(1) { background: #ff5f57; }
.browser .bar i:nth-child(2) { background: #febc2e; }
.browser .bar i:nth-child(3) { background: #28c840; }
.browser img { width: 100%; display: block; }
.browser figcaption { padding: 13px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text-dim); border-top: 1px solid var(--border); }

/* Specs / feature deep-dive grid */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .3s, border-color .3s; }
.spec:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.spec .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.spec .ico svg { width: 25px; height: 25px; }
.spec h4 { font-size: 1.12rem; margin-bottom: 7px; }
.spec p { color: var(--text-dim); font-size: 0.94rem; }

/* Audience split (for who it's for) */
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.split .who-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.split .who-card .emoji { font-size: 1.8rem; margin-bottom: 12px; }
.split .who-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.split .who-card ul li { color: var(--text-dim); font-size: 0.92rem; padding: 4px 0 4px 18px; position: relative; }
.split .who-card ul li::before { content: "›"; position: absolute; left: 2px; color: var(--text-mute); }

/* Careers */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 60px; }
.perk { text-align: center; padding: 26px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.perk .ico { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 13px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand-2); }
.perk .ico svg { width: 24px; height: 24px; }
.perk h4 { font-size: 1.02rem; margin-bottom: 5px; }
.perk p { color: var(--text-mute); font-size: 0.85rem; }
.jobs { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.job {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .3s;
}
.job:hover { border-color: var(--border-strong); }
.job summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px;
}
.job summary::-webkit-details-marker { display: none; }
.job .jtitle { flex: 1; }
.job .jtitle b { font-size: 1.12rem; display: block; }
.job .jtitle span { color: var(--text-mute); font-size: 0.88rem; }
.job .jtags { display: flex; gap: 8px; flex-wrap: wrap; }
.job .jtag { font-size: 0.76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap; }
.job .chev { flex: none; color: var(--text-mute); transition: transform .3s; }
.job .chev svg { width: 20px; height: 20px; display: block; }
.job[open] .chev { transform: rotate(180deg); }
.job .jbody { padding: 0 26px 24px; color: var(--text-dim); }
.job .jbody h5 { color: var(--text); font-size: 0.92rem; margin: 14px 0 8px; }
.job .jbody ul li { padding: 4px 0 4px 18px; position: relative; font-size: 0.94rem; }
.job .jbody ul li::before { content: "•"; position: absolute; left: 4px; color: var(--brand-2); }
.job .jbody .btn { margin-top: 18px; }

/* Legal prose */
.prose { max-width: 800px; margin: 0 auto; }
.prose .updated { color: var(--text-mute); font-size: 0.88rem; margin-bottom: 30px; }
.prose h2 { font-size: 1.4rem; letter-spacing: -0.01em; margin: 36px 0 12px; font-weight: 700; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--text-dim); margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; }
.prose ul li { color: var(--text-dim); padding: 5px 0 5px 20px; position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--text-mute); }
.prose a { color: var(--brand-2); }
.legal-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.legal-toc h5 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 18px; columns: 2; gap: 20px; }
.legal-toc li { color: var(--text-dim); padding: 4px 0; font-size: 0.92rem; }
.legal-toc a:hover { color: var(--text); }

@media (max-width: 980px) {
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .browser-grid { grid-template-columns: 1fr; }
  .spec-grid, .split, .perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .shot-grid, .spec-grid, .split, .perks { grid-template-columns: 1fr 1fr; }
  .spec-grid, .split { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
  .job summary { flex-wrap: wrap; }
  .prod-head { flex-wrap: wrap; }
}
