/* VidSense landing page. Tokens come from tokens.css (--vs-*).
   "Liquid glass": translucent panels over moving color, with a bright rim,
   a soft top sheen and a little refraction-like saturation boost. */
:root {
  --navy: #111426;
  --glass-bg: rgba(255, 255, 255, .52);
  --glass-bg-strong: rgba(255, 255, 255, .68);
  --glass-rim: rgba(255, 255, 255, .85);
  --glass-edge: rgba(23, 26, 45, .08);
  --glass-blur: 22px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--vs-ink); line-height: 1.6;
  background: #F4F3FF; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--vs-purple); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(109,93,251,.28), 0 0 0 1.5px var(--vs-purple); border-radius: 12px; }
.muted { color: var(--vs-muted); }

/* ---------------- Moving color behind the glass ---------------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #F7F6FF 0%, #F1F4FF 50%, #F6F8FC 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.o1 { width: 620px; height: 620px; left: -160px; top: -140px; background: radial-gradient(circle at 30% 30%, #8C7CFF, #6D5DFB 60%, transparent 70%); animation: drift1 26s ease-in-out infinite alternate; }
.o2 { width: 560px; height: 560px; right: -140px; top: 120px; background: radial-gradient(circle at 60% 40%, #5FE0E1, #24C7C9 55%, transparent 70%); opacity: .42; animation: drift2 30s ease-in-out infinite alternate; }
.o3 { width: 520px; height: 520px; left: 30%; top: 62%; background: radial-gradient(circle, #FFD978, #F2B72B 50%, transparent 70%); opacity: .22; animation: drift3 34s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 90px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-110px, 140px) scale(.94); } }
@keyframes drift3 { to { transform: translate(-80px, -120px) scale(1.12); } }

/* ---------------- Liquid glass surface ---------------- */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-rim);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),     /* top rim light */
    inset 0 -1px 0 rgba(255,255,255,.25),    /* bottom rim */
    inset 0 0 0 1px var(--glass-edge),       /* hairline that defines the edge on light backgrounds */
    0 18px 50px -18px rgba(40, 34, 120, .28),
    0 2px 6px rgba(23, 26, 45, .05);
  border-radius: 24px;
  isolation: isolate;
}
/* Specular sheen across the top of every glass panel. */
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background:
    radial-gradient(120% 60% at 20% -10%, rgba(255,255,255,.75), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.35), transparent 38%);
}
.glass-strong { background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.55)); }
.glass-dark {
  background: linear-gradient(160deg, rgba(27,31,58,.86), rgba(17,20,38,.78));
  border-color: rgba(255,255,255,.14);
  color: #E9EAF6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 24px 60px -20px rgba(17,20,38,.55);
}
.glass-dark::before { background: radial-gradient(90% 60% at 15% -20%, rgba(140,124,255,.35), transparent 60%), radial-gradient(70% 50% at 100% 110%, rgba(36,199,201,.22), transparent 60%); }
.glass-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px;
  background: rgba(255,255,255,.6); border: 1px solid var(--glass-rim);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(40,34,120,.10);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #8274FF 0%, #6D5DFB 55%, #5A4BEE 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 6px rgba(40,20,160,.35), 0 10px 26px -8px rgba(109,93,251,.65);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 6px rgba(40,20,160,.35), 0 14px 32px -8px rgba(109,93,251,.8); transform: translateY(-1px); }
.btn-glass {
  color: var(--vs-ink);
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.45));
  border-color: var(--glass-rim);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--glass-edge), 0 8px 22px -10px rgba(40,34,120,.35);
}
.btn-glass:hover { background: linear-gradient(180deg, #fff, rgba(255,255,255,.62)); transform: translateY(-1px); }

/* ---------------- Nav ---------------- */
.nav-wrap { position: sticky; top: 14px; z-index: 50; padding: 0 20px; }
.nav {
  max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 18px; border-radius: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.brand.small { font-size: 16px; }
.brand.small img { border-radius: 7px; }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 12px; text-decoration: none; font-weight: 550; font-size: 15px; color: var(--vs-ink-2); }
.nav-links a:hover { background: rgba(255,255,255,.6); color: var(--vs-ink); }
.nav-cta { display: flex; gap: 8px; }

/* ---------------- Hero ---------------- */
main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 72px 0 56px; min-height: calc(100vh - 90px); }
.eyebrow { font-size: 13.5px; font-weight: 650; color: var(--vs-purple-dark); letter-spacing: .01em; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vs-teal); box-shadow: 0 0 0 4px rgba(36,199,201,.18); }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.grad { background: linear-gradient(95deg, #6D5DFB 10%, #4C8BF0 55%, #1FB5B7 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--vs-ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 24px 0 0; font-size: 14px; color: var(--vs-ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--vs-teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2L11.5 5.6' fill='none' stroke='%2312A1A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Mascot hero */
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.mascot { position: relative; z-index: 1; width: min(100%, 560px); height: auto; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%); mask-image: linear-gradient(180deg, #000 78%, transparent 99%); filter: drop-shadow(0 30px 40px rgba(40, 34, 120, .28)); animation: bob 9s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.mascot-glow { position: absolute; inset: 12% 10% 8%; border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(140,124,255,.55), rgba(36,199,201,.25) 45%, transparent 70%); filter: blur(30px); }
.fc-avatar { width: 26px; height: 26px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(40,34,120,.25); }
.chat-card .a { display: flex; gap: 9px; align-items: flex-start; }

/* Product preview section */
.demo { max-width: 860px; margin: 0 auto; }
.demo .mock { transform: none; }
.mock { padding: 14px; border-radius: 26px; }
.mock-top { display: flex; align-items: center; gap: 12px; padding: 2px 6px 12px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3E1F3; }
.mock-dots i:first-child { background: #FF8A80; } .mock-dots i:nth-child(2) { background: #FFD166; } .mock-dots i:nth-child(3) { background: #7BD88F; }
.mock-title { font-size: 12.5px; font-weight: 600; color: var(--vs-muted); }
.mock-body { background: rgba(255,255,255,.78); border-radius: 18px; padding: 12px; border: 1px solid rgba(255,255,255,.9); }
.mock-video { position: relative; border-radius: 14px; overflow: hidden; background: #F0EEFF; aspect-ratio: 16 / 8.4; }
.mock-video img { width: 100%; height: 100%; object-fit: cover; }
.mock-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 22px rgba(40,34,120,.25); }
.mock-play::after { content: ''; position: absolute; left: 21px; top: 16px; border-left: 16px solid var(--vs-purple); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.mock-bar { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.6); }
.mock-bar span { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--vs-purple); }
.mock-tabs { display: flex; gap: 14px; font-size: 12.5px; color: var(--vs-muted); padding: 12px 4px 8px; border-bottom: 1px solid var(--vs-border); }
.mock-tabs b { color: var(--vs-purple-dark); font-weight: 650; }
.mock-lines { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--vs-ink-2); }
.mock-lines li { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 7px 8px; border-radius: 10px; line-height: 1.45; }
.mock-lines li.on { background: var(--vs-lilac); color: var(--vs-ink); }
.mock-lines em { font-style: normal; font-weight: 650; font-size: 11.5px; padding: 2px 7px; border-radius: 7px; background: var(--vs-lilac); color: var(--vs-purple-dark); height: fit-content; }
.mock-lines li.on em { background: #fff; }

.float-card { position: absolute; padding: 16px 18px; border-radius: 20px; font-size: 13.5px; line-height: 1.5; color: var(--vs-ink-2); }
.summary-card { z-index: 2; width: 262px; right: -26px; top: 2%; animation: float 7s ease-in-out infinite; }
.chat-card { z-index: 2; width: 262px; left: -36px; bottom: -2%; animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.fc-h { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--vs-ink); margin-bottom: 6px; font-size: 14px; }
.spark { width: 16px; height: 16px; background: var(--vs-purple); -webkit-mask: url('assets/icons/actions/sparkles.svg') center / contain no-repeat; mask: url('assets/icons/actions/sparkles.svg') center / contain no-repeat; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fc-tags span { font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 99px; background: rgba(233,250,250,.9); color: #0B6466; }
.fc-tags span:nth-child(2) { background: rgba(240,238,255,.95); color: var(--vs-purple-dark); }
.chat-card .q { justify-self: end; background: var(--vs-purple); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; margin-bottom: 8px; font-weight: 550; }
.chat-card .a em { font-style: normal; font-weight: 650; padding: 1px 6px; border-radius: 6px; background: var(--vs-lilac); color: var(--vs-purple-dark); }

/* ---------------- Sections ---------------- */
.section { padding: 64px 0; scroll-margin-top: 96px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vs-purple-dark); margin-bottom: 12px; }
.kicker.light { color: #B6ADFF; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.028em; font-weight: 800; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.benefit { padding: 30px 28px 28px; transition: transform .25s ease, box-shadow .25s ease; }
.benefit:hover { transform: translateY(-4px); }
.b-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 20px;
  background: linear-gradient(160deg, #fff, #EEEBFF); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 20px -8px rgba(109,93,251,.45); }
.b-icon.teal { background: linear-gradient(160deg, #fff, #E4F8F8); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -8px rgba(36,199,201,.5); }
.b-icon.gold { background: linear-gradient(160deg, #fff, #FFF3D6); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -8px rgba(242,183,43,.5); }
.benefit h3 { font-size: 21px; letter-spacing: -.015em; font-weight: 750; margin-bottom: 10px; }
.benefit p { color: var(--vs-ink-2); font-size: 15.5px; }
.benefit ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14.5px; font-weight: 550; }
.benefit li { display: flex; gap: 10px; align-items: center; }
.benefit li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--vs-lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2L11.5 5.6' fill='none' stroke='%236D5DFB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.also { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px 26px; border-radius: 20px; font-size: 15px; color: var(--vs-ink-2); }
.also p { display: flex; align-items: center; gap: 10px; }
.also strong { color: var(--vs-ink); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.step { padding: 28px; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(160deg, #8274FF, #5A4BEE); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 18px -6px rgba(109,93,251,.6); }
.step:nth-child(2) .step-n { background: linear-gradient(160deg, #4FD9DA, #17A9AB); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 18px -6px rgba(36,199,201,.6); }
.step:nth-child(3) .step-n { background: linear-gradient(160deg, #4C8BF0, #3A6FD8); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 18px -6px rgba(76,139,240,.6); }
.step h3 { font-size: 19px; font-weight: 750; margin-bottom: 8px; }
.step p { color: var(--vs-ink-2); }

.privacy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 30px; }
.privacy h2 { color: #fff; }
.privacy-lede { margin-top: 14px; color: #C9CCE3; font-size: 17px; }
.privacy-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.privacy-points li { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #C9CCE3; }
.privacy-points strong { color: #fff; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0; border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 650; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 500; color: var(--vs-purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--vs-ink-2); }

.final { text-align: center; padding: 56px 32px; border-radius: 32px; display: grid; justify-items: center; gap: 12px; }
.final img { border-radius: 16px; margin-bottom: 6px; box-shadow: 0 12px 30px -10px rgba(17,20,38,.45); }
.final p { color: var(--vs-ink-2); font-size: 17px; }

.footer { max-width: 1152px; margin: 20px auto 0; padding: 28px 24px 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--vs-ink-2); border-top: 1px solid rgba(23,26,45,.08); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 36px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .benefits, .steps { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .privacy { grid-template-columns: 1fr; padding: 34px 26px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .nav-wrap { top: 10px; padding: 0 12px; }
  .nav { padding: 8px 8px 8px 14px; gap: 10px; }
  .nav .btn-glass { display: none; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  main { padding: 0 16px; }
  .lede { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { min-height: 0; padding-bottom: 120px; }
  .mascot { width: 88%; }
  .summary-card { right: 0; top: auto; bottom: 0; width: 230px; }
  .chat-card { display: none; }
  .section { padding: 44px 0; }
  .also { padding: 16px 18px; }
  .final { padding: 40px 20px; }
}

/* ---------------- Accessibility preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Solid panels for people who ask their OS for less transparency, and where blur is unsupported. */
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-strong, .btn-glass, .glass-chip { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-dark { background: #1B1F36; }
  .orb { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-strong, .btn-glass, .glass-chip { background: rgba(255,255,255,.94); }
  .glass-dark { background: #1B1F36; }
}
