/* Videofinity website — dark, macOS-style, matching the app (violet accent, orange→violet icon gradient). */
:root {
  --bg: #0d0f15;
  --bg-2: #12151d;
  --panel: #191d27;
  --panel-2: #1f2430;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f6;
  --muted: #a3a9b8;
  --dim: #6f7687;
  --accent: #7c6cf6;
  --accent-2: #9d8fff;
  --orange: #e2793a;
  --yellow: #f8d54a;
  --green: #3ecf7a;
  --red: #ff5f57;
  --grad: linear-gradient(135deg, #e2793a 0%, #a8698e 45%, #6c5cf0 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* glow backdrop */
.glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.glow::before, .glow::after {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%; filter: blur(120px); opacity: 0.32;
}
.glow::before { background: #6c5cf0; top: -320px; right: -180px; }
.glow::after { background: #e2793a; top: -260px; left: -260px; opacity: 0.18; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 21, 0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 7px 11px; font-size: 16px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 16px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px -8px rgba(124, 108, 246, 0.7); }
.btn-primary:hover { background: #8a7bff; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 34px -10px rgba(226, 121, 58, 0.6); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-2); background: rgba(124, 108, 246, 0.12); border: 1px solid rgba(124, 108, 246, 0.3);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; }
h3 { font-size: 20px; letter-spacing: -0.01em; font-weight: 650; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

section { position: relative; padding: 96px 0; }
.section-head { margin-bottom: 52px; }
.section-head h2 { margin: 14px 0 14px; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 22px auto 22px; max-width: 920px; }
.hero .lead { margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--dim); }
.price-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); font-size: 15px;
}
.price-pill s { color: var(--dim); }
.price-pill b { color: var(--yellow); }

/* ---------- mac window ---------- */
.window {
  border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow);
  border: 1px solid var(--line-2);
}
.window-bar {
  height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #1b1f29;
  border-bottom: 1px solid var(--line);
}
.window-bar i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-size: 13px; color: var(--dim); font-weight: 500; }
.window.bare { background: transparent; }
.window.bare img { border-radius: 14px; }
.hero-shot { margin: 64px auto 0; max-width: 1040px; position: relative; }
.hero-shot::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -40px; height: 80px; background: #6c5cf0;
  filter: blur(80px); opacity: 0.35; z-index: -1;
}

/* ---------- chips / platforms ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500;
}
.chip .sw { width: 9px; height: 9px; border-radius: 3px; }
.chip.soon { opacity: 0.6; }
.platforms { padding: 40px 0 10px; }
.platforms p { text-align: center; color: var(--dim); font-size: 14px; margin-bottom: 16px; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px;
  background: rgba(124, 108, 246, 0.14); border: 1px solid rgba(124, 108, 246, 0.28);
}
.icon.o { background: rgba(226, 121, 58, 0.14); border-color: rgba(226, 121, 58, 0.3); }
.icon.y { background: rgba(248, 213, 74, 0.12); border-color: rgba(248, 213, 74, 0.28); }
.icon.g { background: rgba(62, 207, 122, 0.12); border-color: rgba(62, 207, 122, 0.28); }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 22px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: -6px; left: 28px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center;
}

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 70px 0; }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 16px; }
.feature-text .lead { font-size: 17.5px; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15.5px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; font-size: 12px;
  display: grid; place-items: center; color: #fff; background: rgba(124, 108, 246, 0.35);
}
.ticks b { color: var(--text); font-weight: 600; }

/* ---------- mock UIs (HTML "screenshots") ---------- */
.mock { padding: 18px; display: grid; gap: 12px; font-size: 13.5px; }
.mock-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 11px;
}
.mock-row .t { font-weight: 600; }
.mock-row .s { color: var(--dim); font-size: 12.5px; }
.mock-row .grow { flex: 1; min-width: 0; }
.tag { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag.v { background: rgba(124, 108, 246, 0.2); color: #b9b0ff; }
.tag.o { background: rgba(226, 121, 58, 0.2); color: #ffb183; }
.tag.g { background: rgba(62, 207, 122, 0.18); color: #7ee8a8; }
.tag.y { background: rgba(248, 213, 74, 0.16); color: #ffe17a; }
.tag.b { background: rgba(80, 160, 255, 0.18); color: #9ccaff; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.thumb { width: 44px; height: 56px; border-radius: 8px; background: var(--grad); flex: none; position: relative; }
.thumb.alt { background: linear-gradient(135deg, #2b7a5e, #6c5cf0); }
.thumb.alt2 { background: linear-gradient(135deg, #f8d54a, #e2793a); }
.thumb::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 14px; }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .d { background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px; min-height: 74px; padding: 6px; font-size: 11px; color: var(--dim); }
.cal .d b { display: block; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.cal .p { display: block; margin-top: 3px; padding: 2px 5px; border-radius: 4px; font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .p.ig { background: rgba(225, 48, 108, 0.22); color: #ff9fc0; }
.cal .p.fb { background: rgba(24, 119, 242, 0.24); color: #9cc5ff; }
.cal .p.yt { background: rgba(255, 48, 48, 0.2); color: #ff9c9c; }
.cal .h { text-align: center; font-size: 11px; color: var(--dim); font-weight: 600; }

.timeline { display: flex; gap: 3px; margin-top: 4px; }
.timeline span { height: 26px; border-radius: 5px; font-size: 11px; font-weight: 600; display: flex; align-items: center; padding: 0 8px; color: #fff; white-space: nowrap; overflow: hidden; }
.comment {
  display: flex; gap: 10px; padding: 12px; background: rgba(248, 213, 74, 0.07); border: 1px solid rgba(248, 213, 74, 0.25); border-radius: 11px;
}
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.lang { padding: 10px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.lang small { display: block; color: var(--dim); font-weight: 500; font-size: 11.5px; }

/* ---------- audience ---------- */
.audience .card { padding: 32px; }
.audience .card .who { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); }

/* ---------- quote / band ---------- */
.band {
  border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(226, 121, 58, 0.28), transparent 50%),
              radial-gradient(120% 140% at 100% 100%, rgba(108, 92, 240, 0.4), transparent 55%), var(--panel);
  border: 1px solid var(--line-2);
}
.band h2 { margin-bottom: 14px; }
.band .lead { margin: 0 auto 30px; }

/* ---------- pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: start; }
.price-card {
  position: relative; border-radius: 24px; padding: 40px; background: linear-gradient(180deg, #1d2130, #141720);
  border: 1px solid rgba(124, 108, 246, 0.45); box-shadow: 0 30px 90px -30px rgba(108, 92, 240, 0.55);
}
.price-card .ribbon {
  position: absolute; top: 22px; right: 22px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; flex-wrap: wrap; }
.price .now { font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); font-size: 18px; }
.price s { color: var(--dim); font-size: 28px; font-weight: 600; }
.save { display: inline-block; color: var(--green); font-weight: 600; font-size: 14.5px; margin-bottom: 24px; }
.price-card .btn { width: 100%; margin-top: 28px; }
.small { font-size: 13.5px; color: var(--dim); }
.need { display: grid; gap: 14px; }
.need .card { padding: 24px; }
.need .row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.need .row h3 { margin: 0; font-size: 17px; }
.need .cost { font-weight: 700; white-space: nowrap; }
.need p { margin-top: 8px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { color: var(--dim); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare td:first-child { color: var(--muted); }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no { color: var(--dim); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-group { margin: 34px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px;
  transition: border-color 0.2s ease;
}
details[open] { border-color: var(--line-2); }
summary {
  list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; font-size: 17px; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400;
  color: var(--dim); transition: transform 0.2s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .a { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; }
details .a p + p { margin-top: 10px; }
details .a a { color: var(--accent-2); }

/* ---------- page hero ---------- */
.page-hero { padding: 80px 0 30px; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 18px 0 18px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 54px 0 40px; margin-top: 40px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer h4 { color: var(--text); font-size: 14px; margin-bottom: 12px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a:hover { color: var(--text); }
footer .legal { width: 100%; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; }

/* ---------- reveal ---------- */
/* hidden only once the script has started (html.js), so the content never depends on JavaScript */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; padding: 50px 0; }
  .feature.flip .feature-text { order: 0; }
  .price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  section { padding: 70px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(13, 15, 21, 0.97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .band { padding: 46px 22px; }
  .price-card { padding: 30px 22px; }
  .price-card .ribbon { position: static; display: inline-block; margin-bottom: 14px; }
  .price .now { font-size: 56px; }
  .cal .d { min-height: 58px; padding: 4px; }
  .cal .p { font-size: 9px; padding: 1px 3px; }
  .hero { padding-top: 60px; }
}

/* =====================================================================================================
   v2: social / modern layer — image hero, floating glass cards, platform icons, marquee, story cards
   ===================================================================================================== */
.pi {
  width: 46px; height: 46px; border-radius: 14px; display: inline-grid; place-items: center; flex: none;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.pi svg { width: 22px; height: 22px; fill: #fff; }
.pi.sm { width: 30px; height: 30px; border-radius: 9px; }
.pi.sm svg { width: 15px; height: 15px; }
.pi.lg { width: 64px; height: 64px; border-radius: 18px; }
.pi.lg svg { width: 30px; height: 30px; }
.pi.yt { background: #ff0033; }
.pi.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.pi.fb { background: #1877f2; }
.pi.tt { background: #000; box-shadow: -2px -2px 0 0 #25f4ee inset, 2px 2px 0 0 #fe2c55 inset, 0 10px 30px -10px rgba(0,0,0,.6); }
.pi.wa { background: #25d366; }

/* image hero */
.hero-img { position: relative; min-height: min(92vh, 920px); display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero-img .bg { position: absolute; inset: 0; z-index: 0; }
.hero-img .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.04); animation: drift 24s ease-in-out infinite alternate; }
.hero-img .bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 50% 40%, rgba(13, 15, 21, 0.25), rgba(13, 15, 21, 0.7) 75%),
              linear-gradient(180deg, rgba(13, 15, 21, 0.5) 0%, rgba(13, 15, 21, 0.1) 40%, var(--bg) 100%);
}
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-img .wrap { position: relative; z-index: 2; width: 100%; }
.hero-img h1 { text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5); }
.hero-platforms { display: flex; gap: 12px; justify-content: center; margin-top: 34px; align-items: center; flex-wrap: wrap; }
.hero-platforms .lbl { color: var(--muted); font-size: 14px; margin-right: 6px; }

/* floating glass cards */
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(25, 29, 39, 0.62); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px;
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7); font-size: 13.5px; animation: bob 6s ease-in-out infinite;
}
.float-card .t { font-weight: 650; }
.float-card .s { color: var(--muted); font-size: 12.5px; }
.float-card.c1 { top: 22%; left: 4%; }
.float-card.c2 { top: 30%; right: 4%; animation-delay: -2s; }
.float-card.c3 { bottom: 16%; left: 7%; animation-delay: -4s; }
.float-card.c4 { bottom: 20%; right: 6%; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62, 207, 122, 0.2); flex: none; }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.marquee-item .sep { color: var(--dim); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font-size: 38px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* big image story cards */
.story { position: relative; border-radius: 26px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; border: 1px solid var(--line-2); }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.story:hover img { transform: scale(1.04); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,15,21,0) 30%, rgba(13,15,21,0.92) 85%); }
.story .body { position: relative; z-index: 1; padding: 34px; max-width: 560px; }
.story .who { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.story h3 { font-size: 28px; letter-spacing: -0.02em; margin: 8px 0 10px; }
.story p { color: #c9cdd8; }
.story .chips { justify-content: flex-start; margin-top: 16px; }

/* split with image */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: 24px; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.orbit { position: absolute; display: flex; flex-direction: column; gap: 12px; }
.orbit.left { left: -22px; top: 50%; transform: translateY(-50%); }
.orbit .pi { animation: bob 5s ease-in-out infinite; }
.orbit .pi:nth-child(2) { animation-delay: -1.2s; } .orbit .pi:nth-child(3) { animation-delay: -2.4s; } .orbit .pi:nth-child(4) { animation-delay: -3.6s; }

/* image band (full-width background section) */
.img-band { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-2); min-height: 460px; display: flex; align-items: center; }
.img-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,15,21,0.95) 0%, rgba(13,15,21,0.75) 42%, rgba(13,15,21,0.05) 75%); z-index: 1; }
.img-band.right::before { background: linear-gradient(270deg, rgba(13,15,21,0.95) 0%, rgba(13,15,21,0.75) 42%, rgba(13,15,21,0.05) 75%); }
.img-band .inner { position: relative; z-index: 2; padding: 56px; max-width: 560px; }
.img-band.right .inner { margin-left: auto; }
.img-band h2 { margin: 14px 0 14px; }

/* platform grid */
.plat { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.plat h3 { font-size: 17px; margin: 0 0 4px; }
.plat p { color: var(--muted); font-size: 14.5px; }
.plat .tag { margin-left: 6px; vertical-align: 2px; }

/* testimonial-ish quote */
.quote { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 600; max-width: 860px; margin: 0 auto; text-align: center; }
.quote-by { margin-top: 20px; color: var(--muted); text-align: center; }

@media (max-width: 980px) {
  .float-card { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .orbit.left { left: 10px; }
}
@media (max-width: 720px) {
  .hero-img { min-height: auto; padding: 90px 0 60px; }
  .story { min-height: 440px; }
  .story .body { padding: 24px; }
  .img-band { min-height: 0; }
  .img-band::before, .img-band.right::before { background: linear-gradient(180deg, rgba(13,15,21,0.55) 0%, rgba(13,15,21,0.95) 60%); }
  .img-band .inner { padding: 200px 22px 30px; }
  .stat b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img .bg img, .float-card, .marquee-track, .orbit .pi { animation: none; }
}

/* =====================================================================================================
   v3: rebuilt app screens (HTML, sample data) + minimal footer
   ===================================================================================================== */
.app {
  --a-bg: #16181f; --a-side: #1b1e26; --a-card: #20232c; --a-line: rgba(255,255,255,.07); --a-pink: #f0508a;
  border-radius: 14px; overflow: hidden; background: var(--a-bg); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: 12px; color: #e6e8ef; user-select: none; text-align: left;
}
.app-top { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #1a1d25; border-bottom: 1px solid var(--a-line); }
.app-top .lights { display: flex; gap: 7px; }
.app-top .lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.app-top .lights i:nth-child(1) { background: #ff5f57; } .app-top .lights i:nth-child(2) { background: #febc2e; } .app-top .lights i:nth-child(3) { background: #28c840; }
.app-top .ttl { margin-left: 14px; font-weight: 650; font-size: 12.5px; }
.app-top .ttl small { display: block; color: #8b90a0; font-weight: 500; font-size: 10.5px; }
.app-top .search { margin-left: auto; width: 180px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.06); border: 1px solid var(--a-line); color: #8b90a0; font-size: 11px; display: flex; align-items: center; padding: 0 8px; }
.app-crumb { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 14px; font-size: 11px; color: var(--a-pink); border-bottom: 1px solid var(--a-line); }
.app-crumb span { color: #6f7484; }
.app-body { display: grid; grid-template-columns: 170px 1fr 300px; height: 470px; }
.app-body.two { grid-template-columns: 170px 1fr; }
.app-body.edit { grid-template-columns: 1fr 250px; }
.a-side { background: var(--a-side); border-right: 1px solid var(--a-line); padding: 10px 8px; overflow: hidden; }
.a-ws { display: flex; gap: 8px; align-items: center; padding: 7px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid var(--a-line); margin-bottom: 8px; }
.a-ws b { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--a-pink); font-size: 11px; }
.a-ws div { font-weight: 650; font-size: 11.5px; line-height: 1.2; } .a-ws small { display: block; color: #8b90a0; font-weight: 500; font-size: 10px; }
.a-group { color: #6f7484; font-size: 10px; font-weight: 600; margin: 10px 6px 4px; }
.a-item { display: flex; align-items: center; gap: 8px; padding: 5px 7px; border-radius: 7px; color: #c8ccd6; font-size: 11.5px; }
.a-item i { width: 13px; text-align: center; font-style: normal; opacity: .75; font-size: 11px; }
.a-item em { margin-left: auto; font-style: normal; color: #7c8192; font-size: 10.5px; }
.a-item.on { background: rgba(255,255,255,.09); color: #fff; }
.a-item.pink { background: #2f6fe4; color: #fff; }
.a-main { padding: 12px; overflow: hidden; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vcard { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 10px; padding: 7px; }
.vcard.sel { border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
.vthumb { position: relative; height: 128px; border-radius: 7px; background: #0c0d12; overflow: hidden; display: flex; justify-content: center; }
.vthumb img { height: 100%; width: auto; }
.vthumb .tags { position: absolute; top: 6px; left: 6px; display: flex; gap: 4px; }
.vthumb .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.7); border-radius: 5px; padding: 1px 5px; font-weight: 700; font-size: 10px; }
.mt { font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.mt.en { background: #23406e; color: #9cc5ff; } .mt.reel { background: #5a2a6e; color: #f0a6ff; } .mt.ar { background: #24523f; color: #8fe6b8; } .mt.ratio { background: rgba(0,0,0,.65); color: #fff; }
.vname { font-weight: 650; font-size: 11px; margin: 7px 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vmeta { display: flex; gap: 6px; align-items: center; font-size: 10px; color: #8b90a0; margin: 0 2px; }
.vmeta .st { background: rgba(62,207,122,.18); color: #7ee8a8; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.vmeta .st.rev { background: rgba(255,159,67,.2); color: #ffbf80; }
.vmeta .sz { margin-left: auto; }
.a-detail { border-left: 1px solid var(--a-line); padding: 12px; overflow: hidden; }
.a-detail h4 { font-size: 13px; margin: 6px 0 8px; }
.seg { display: flex; background: rgba(255,255,255,.05); border-radius: 7px; padding: 2px; gap: 2px; font-size: 10.5px; }
.seg span { flex: 1; text-align: center; padding: 3px 4px; border-radius: 5px; color: #b4b8c4; }
.seg span.on { background: var(--a-pink); color: #fff; font-weight: 650; }
.btns { display: flex; gap: 6px; margin: 8px 0; }
.btns span { padding: 4px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; background: rgba(240,80,138,.16); color: #ff8db5; }
.btns span.solid { background: var(--a-pink); color: #fff; }
.player { height: 210px; border-radius: 9px; background: #000; display: flex; justify-content: center; overflow: hidden; position: relative; }
.player img { height: 100%; width: auto; }
.player .cap { position: absolute; top: 34%; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 12px; text-shadow: 0 1px 4px #000; }
.scenes { display: flex; gap: 2px; margin-top: 10px; }
.scenes span { height: 18px; border-radius: 3px; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; padding: 0 4px; overflow: hidden; white-space: nowrap; }
.cbox { margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.cbox .tc { background: #4a4224; color: #ffe17a; font-weight: 700; padding: 3px 6px; border-radius: 5px; font-size: 10.5px; }
.cbox .in { flex: 1; border: 1px solid var(--a-line); border-radius: 6px; padding: 5px 7px; color: #7c8192; font-size: 10.5px; }
/* editor */
.e-main { display: flex; flex-direction: column; }
.e-player { flex: 1; background: #000; display: flex; justify-content: center; position: relative; min-height: 0; }
.e-player img { height: 100%; width: auto; }
.e-player .cap { position: absolute; top: 30%; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 13px; text-shadow: 0 1px 4px #000; }
.e-bar { height: 30px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-top: 1px solid var(--a-line); font-size: 11px; color: #b4b8c4; }
.e-bar b { color: #fff; font-variant-numeric: tabular-nums; }
.tracks { border-top: 1px solid var(--a-line); position: relative; }
.trk { display: grid; grid-template-columns: 74px 1fr; align-items: center; height: 24px; border-bottom: 1px solid rgba(255,255,255,.04); }
.trk > span { font-size: 10.5px; color: #b4b8c4; padding-left: 10px; display: flex; gap: 5px; align-items: center; }
.lane { position: relative; height: 18px; display: flex; gap: 2px; align-items: center; padding-right: 8px; overflow: hidden; }
.lane .blk { height: 16px; border-radius: 3px; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; padding: 0 4px; white-space: nowrap; overflow: hidden; }
.lane.frames { gap: 1px; }
.lane.frames img { height: 18px; width: auto; border-radius: 2px; opacity: .9; }
.lane.voice i { display: block; height: 12px; background: #3fb4c4; border-radius: 2px; }
.wave { height: 18px; background: repeating-linear-gradient(90deg, #3fb4c4 0 1px, transparent 1px 3px); -webkit-mask: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%); opacity: .8; flex: 1; border-radius: 2px; }
.playhead { position: absolute; top: 0; bottom: 0; left: 18%; width: 2px; background: #ff4d4d; z-index: 2; }
.playhead::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 10px; background: #ff4d4d; border-radius: 3px; }
.e-side { border-left: 1px solid var(--a-line); padding: 10px; overflow: hidden; }
.el { display: flex; gap: 8px; padding: 5px 0 5px 8px; border-left: 3px solid #7c6cf6; margin: 6px 0; }
.el.v { border-color: #3fb4c4; } .el.m { border-color: #e2445c; }
.el div { font-size: 11px; } .el small { display: block; color: #7c8192; font-size: 10px; }
.e-side h5 { font-size: 10.5px; color: #9c91ff; margin: 12px 0 2px; }
/* assets */
.as-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.as-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 9px; padding: 5px; }
.as-card.sel { border-color: #3b82f6; }
.as-card .im { height: 74px; border-radius: 6px; overflow: hidden; }
.as-card .im img { width: 100%; height: 100%; object-fit: cover; }
.as-card div { font-size: 9.5px; font-weight: 650; margin: 4px 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-card small { display: block; color: #7c8192; font-size: 9px; margin: 0 2px; }
.gen { margin-top: 10px; border: 1px solid var(--a-line); border-radius: 9px; padding: 10px; background: rgba(255,255,255,.02); }
.gen .prompt { border: 1px solid var(--a-line); border-radius: 6px; padding: 6px; color: #9ca1b0; font-size: 10.5px; margin: 8px 0; min-height: 34px; }
.gen .go { display: inline-block; background: var(--a-pink); color: #fff; padding: 4px 9px; border-radius: 6px; font-weight: 650; font-size: 10.5px; }
.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
.variants img { height: 70px; width: 100%; object-fit: cover; border-radius: 5px; }

/* tabs for "inside the app" */
.tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.tabs label { cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; font-size: 14.5px; background: rgba(255,255,255,.03); transition: all .2s; }
.tabs label:hover { color: var(--text); }
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
.tab-pane { display: none; animation: fadeup .5s ease; }
#t1:checked ~ .tabs label[for=t1], #t2:checked ~ .tabs label[for=t2], #t3:checked ~ .tabs label[for=t3] { background: var(--text); color: #0d0f15; border-color: var(--text); }
#t1:checked ~ .panes .p1, #t2:checked ~ .panes .p2, #t3:checked ~ .panes .p3 { display: block; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane-note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 14px; }
.app-scroll { overflow-x: auto; border-radius: 14px; }
.app-scroll .app { min-width: 900px; }

/* minimal footer */
.foot { position: relative; margin-top: 60px; padding: 70px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-social { display: flex; gap: 8px; }
.foot-social .pi { transition: transform .2s; }
.foot-social .pi:hover { transform: translateY(-3px); }
.foot-tag { font-size: 15px; color: var(--muted); max-width: 420px; }
.foot-word {
  font-size: clamp(64px, 17vw, 250px); font-weight: 850; letter-spacing: -0.06em; line-height: .8; text-align: center;
  margin: 50px 0 -0.08em; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; opacity: .55; }
.foot-legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); position: relative; z-index: 1; background: var(--bg); }

@media (max-width: 720px) {
  .foot-row { flex-direction: column; align-items: flex-start; }
  .foot-word { margin-top: 36px; }
}
.foot .wrap { display: block; }
.foot .foot-legal .wrap { display: flex; }
footer.foot { color: var(--muted); font-size: 14px; padding-bottom: 0; }
.a-item { white-space: nowrap; overflow: hidden; }
.a-ws div { white-space: nowrap; }
/* rows holding a full app screen: text above, the screen full width below */
.feature.wide, .feature:has(.app-scroll) { grid-template-columns: 1fr; gap: 34px; }
.feature.wide .feature-text, .feature:has(.app-scroll) .feature-text { order: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
.feature:has(.app-scroll) .feature-text > .eyebrow, .feature:has(.app-scroll) .feature-text > h2, .feature:has(.app-scroll) .feature-text > .lead { grid-column: 1; }
.feature:has(.app-scroll) .feature-text > .ticks { grid-column: 2; grid-row: 1 / span 3; margin-top: 8px; }
@media (max-width: 980px) {
  .feature:has(.app-scroll) .feature-text { grid-template-columns: 1fr; }
  .feature:has(.app-scroll) .feature-text > .ticks { grid-column: 1; grid-row: auto; }
}
.e-main { min-height: 0; overflow: hidden; }
.e-player { flex: none; height: 250px; overflow: hidden; }
.feature:has(.app-scroll) .feature-text > .eyebrow { justify-self: start; }
.lane.frames img { flex: 1; min-width: 0; object-fit: cover; }
.trk > span { white-space: nowrap; }

/* v4: HTML phone mockups playing real-style frames */
.phones { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; padding: 30px 0 20px; min-height: 520px; }
.phone {
  position: relative; width: 210px; aspect-ratio: 9 / 19; border-radius: 34px; background: #0b0c10; padding: 7px;
  box-shadow: 0 0 0 1.5px #3a3d48, 0 40px 80px -30px rgba(0,0,0,.85), 0 0 60px -20px rgba(124,108,246,.5); flex: none;
}
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #000; }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; }
.phone .scr::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; background: #000; border-radius: 12px; z-index: 3; }
.phone .scr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 22%, transparent 55%, rgba(0,0,0,.75) 100%); z-index: 1; }
.phone .plat-badge { position: absolute; top: 34px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #fff; }
.phone .plat-badge .pi { width: 22px; height: 22px; border-radius: 7px; } .phone .plat-badge .pi svg { width: 12px; height: 12px; }
.phone .cap { position: absolute; left: 12px; right: 44px; bottom: 54px; z-index: 2; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.phone .cap em { font-style: normal; background: var(--yellow); color: #111; padding: 0 4px; border-radius: 4px; }
.phone .meta { position: absolute; left: 12px; right: 44px; bottom: 16px; z-index: 2; font-size: 10.5px; color: rgba(255,255,255,.85); }
.phone .meta b { color: #fff; }
.phone .rail { position: absolute; right: 9px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 12px; align-items: center; color: #fff; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.phone .rail small { display: block; font-size: 9px; font-weight: 700; text-align: center; margin-top: -2px; }
.phone .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); z-index: 2; }
.phone .prog i { display: block; height: 100%; width: 40%; background: #fff; animation: prog 6s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.phones .p-left { transform: translateX(40px) rotate(-8deg) scale(.88); z-index: 1; opacity: .95; }
.phones .p-mid { z-index: 2; transform: translateY(-14px); }
.phones .p-right { transform: translateX(-40px) rotate(8deg) scale(.88); z-index: 1; opacity: .95; }
.phones .tagline { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(25,29,39,.75); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12.5px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.phones .tg1 { top: 10px; right: 4%; } .phones .tg2 { bottom: 22px; left: 2%; animation-delay: -3s; }
@media (max-width: 720px) {
  .phones { min-height: 420px; transform: scale(.82); margin: -30px -40px; }
  .phone { width: 170px; }
}
/* the home hero picture is a detailed scene: darker in the middle where the headline sits */
.hero-img.busy .bg::after {
  background: radial-gradient(60% 55% at 50% 48%, rgba(13,15,21,.78), rgba(13,15,21,.45) 70%, rgba(13,15,21,.55) 100%),
              linear-gradient(180deg, rgba(13,15,21,.45) 0%, rgba(13,15,21,.1) 40%, var(--bg) 100%);
}
