/* VidToLive marketing site — design tokens ---------------------------------- */
:root {
  --blue: #2563EB;
  --violet: #7C3AED;
  --pink: #EC4899;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-tint: #F1F5FF;
  --grad: linear-gradient(115deg, #2563EB 0%, #7C3AED 52%, #EC4899 100%);
  --grad-soft: linear-gradient(135deg, #EEF2FF 0%, #F5F0FF 50%, #FDF2F8 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 40px rgba(37, 99, 235, .10), 0 2px 10px rgba(15, 23, 42, .05);
  --shadow-lg: 0 30px 70px rgba(37, 99, 235, .16), 0 8px 24px rgba(15, 23, 42, .07);
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.025em; margin: 0; font-weight: 750; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }
section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.nav .wrap { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.nav-links a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: 10px; }
.nav-cta {
  background: var(--grad); color: #fff; font-weight: 650; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124, 58, 237, .32); }

/* language dropdown */
.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 550; color: var(--ink-2); background: #fff;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: #C7D2FE; }
.globe { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 186px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; max-height: 340px; overflow: auto;
}
.lang-menu a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; }
.lang-menu a:hover { background: var(--bg-tint); color: var(--blue); }
.lang-menu a.current { background: var(--bg-tint); color: var(--blue); font-weight: 700; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 100px; background: var(--grad-soft); }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -240px;
  background: radial-gradient(circle, rgba(124, 58, 237, .20), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -280px;
  background: radial-gradient(circle, rgba(37, 99, 235, .16), transparent 65%); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--violet);
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(124, 58, 237, .18);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(236, 72, 153, .16); }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -.045em; }
.hero .lede { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 550px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 15.5px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(124, 58, 237, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(124, 58, 237, .36); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #C7D2FE; transform: translateY(-2px); }
.badge {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 22px;
  background: #0F172A; color: #fff; border-radius: 13px; line-height: 1.15;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}
.badge svg { width: 27px; height: 27px; }
.badge small { display: block; font-size: 10.5px; opacity: .82; letter-spacing: .02em; }
.badge strong { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.soon-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 550;
  color: var(--ink-2); background: rgba(255, 255, 255, .85); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 6% -6% 4% 2%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .9), transparent 68%); filter: blur(10px);
}
.device {
  position: relative; background: #0F172A; padding: 9px; border-radius: 42px;
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
}
.device img { border-radius: 34px; width: 100%; }
.device-hero { width: min(100%, 310px); transform: rotate(2.2deg); }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 16px; font-size: 13px; font-weight: 650; color: var(--ink-2);
  display: flex; align-items: center; gap: 9px; border: 1px solid var(--line);
}
.float-card .tick { width: 22px; height: 22px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: grid; place-items: center; font-size: 13px; }
.float-a { top: 12%; left: -4%; }
.float-b { bottom: 13%; right: -6%; }

/* ---------- Trust strip ---------- */
.trust { padding: 0; }
.trust .wrap {
  margin-top: -34px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.trust div { display: flex; align-items: center; gap: 12px; padding: 22px 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.trust div + div { border-left: 1px solid var(--line); }
.trust .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.trust svg { width: 18px; height: 18px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #DDD6FE; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 22px; }
.ico svg { width: 23px; height: 23px; }
.feature h3 { font-size: 19px; }
.feature p { margin-top: 11px; color: var(--muted); font-size: 15px; }

/* ---------- How ---------- */
.how-section { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 750; font-size: 17px; margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(124, 58, 237, .22);
}
.step h3 { font-size: 17px; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- Screens ---------- */
.screens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.shot { margin: 0; text-align: center; }
.shot .device { padding: 6px; border-radius: 26px; box-shadow: var(--shadow-sm); }
.shot .device img { border-radius: 21px; }
.shot figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.shot-note { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--muted); }
.ipad-section { background: var(--grad-soft); }
.ipad-section .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ipad-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.ipad-copy p { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.ipad-copy ul { margin-top: 24px; display: grid; gap: 12px; }
.ipad-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.tick { flex: none; width: 21px; height: 21px; border-radius: 50%; background: #EEF2FF; color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.ipad-visual { display: flex; justify-content: center; }
.ipad-shell { background: #0F172A; padding: 12px; border-radius: 22px; box-shadow: var(--shadow-lg); max-width: 420px; }
.ipad-shell img { border-radius: 12px; }

/* ---------- Languages ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 780px; margin: 0 auto; }
.lang-pill {
  text-align: center; padding: 14px 10px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; font-size: 14.5px; font-weight: 650; color: var(--ink-2);
  transition: border-color .18s, transform .18s;
}
.lang-pill:hover { border-color: #C7D2FE; transform: translateY(-2px); }
.lang-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14.5px; }

/* ---------- Privacy ---------- */
.privacy-section .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.privacy-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.privacy-copy > p { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.privacy-link { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 650; font-size: 15px; }
.privacy-link:hover { text-decoration: underline; }
.privacy-list { display: grid; gap: 14px; }
.privacy-item { display: flex; gap: 16px; padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; }
.privacy-item .ic { margin: 0; width: 38px; height: 38px; border-radius: 11px; flex: none; }
.privacy-item h3 { font-size: 16px; }
.privacy-item p { margin-top: 5px; font-size: 14.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-section { background: var(--bg-soft); }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin-inline: auto; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 32px; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-md); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--violet); background: #F3EEFF; padding: 5px 11px; border-radius: 999px; }
.plan.featured .tag { background: var(--grad); color: #fff; }
.plan h3 { margin-top: 18px; font-size: 22px; }
.price { margin-top: 12px; font-size: 44px; font-weight: 800; letter-spacing: -.05em; }
.price span { font-size: 15px; font-weight: 550; letter-spacing: 0; color: var(--muted); }
.price-note { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.plan ul { margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; 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: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); color: var(--blue); display: grid; place-items: center; font-size: 18px; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 16px; }
.cta-band {
  position: relative; overflow: hidden; border-radius: 30px; background: var(--grad);
  color: #fff; text-align: center; padding: 70px 32px;
}
.cta-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(255, 255, 255, .10); top: -300px; left: -80px; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .08); bottom: -300px; right: -60px; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 3.8vw, 42px); }
.cta-band p { margin-top: 14px; font-size: 17px; opacity: .92; }
.cta-band .badge { margin-top: 30px; background: #fff; color: #0F172A; box-shadow: 0 12px 30px rgba(15, 23, 42, .2); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 46px 0 34px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); max-width: 420px; }
.f-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 14px; color: var(--ink-2); }
.f-links a:hover { color: var(--blue); text-decoration: underline; }
.copyright { width: 100%; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Inner pages (privacy / support) ---------- */
.inner-hero { background: var(--grad-soft); padding: 64px 0 56px; }
.inner-hero h1 { font-size: clamp(32px, 4.4vw, 48px); }
.inner-hero p { margin-top: 16px; color: var(--ink-2); font-size: 17.5px; max-width: 760px; }
.inner-body { padding: 64px 0 96px; }
.prose { max-width: 800px; margin-inline: auto; }
.prose .block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.prose .block:first-child { padding-top: 0; }
.prose h2 { font-size: 21px; }
.prose p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.prose a { color: var(--blue); text-decoration: underline; }
.updated { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 650; font-size: 14.5px; margin-bottom: 18px; }
.back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-actions, .chips { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-grid { grid-template-columns: repeat(5, 1fr); }
  .ipad-section .wrap, .privacy-section .wrap { grid-template-columns: minmax(0, 1fr); gap: 38px; }
}
@media (max-width: 680px) {
  section { padding: 68px 0; }
  .wrap { width: min(100% - 36px, var(--max)); }
  .nav .wrap { height: 64px; gap: 12px; }
  .brand { font-size: 17px; }
  .nav-cta { display: none; }
  .trust .wrap { grid-template-columns: 1fr; margin-top: -26px; }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .features, .steps, .screens-grid, .pricing { grid-template-columns: 1fr; }
  .screens-grid { gap: 28px; max-width: 340px; margin-inline: auto; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .device-hero { transform: none; }
  .cta-band { padding: 54px 22px; }
  footer .wrap { flex-direction: column; }
  .f-links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
