:root {
  --top: #303a88;
  --mid: #141833;
  --bottom: #050713;
  --indigo: #6366f1;
  --blue: #6d7cff;
  --orange: #ffb45f;
  --purple: #c96bff;
  --mint: #57e0b8;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7ff;
  --muted: rgba(245, 247, 255, 0.68);
  --soft: rgba(245, 247, 255, 0.42);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--bottom); }

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 180, 95, 0.22), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(109, 124, 255, 0.24), transparent 28%),
    radial-gradient(circle at 8% 78%, rgba(201, 107, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #303a88 0%, #141833 38%, #050713 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .35;
  background: url("../images/glow-bg.png") center / cover no-repeat;
  mix-blend-mode: screen;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(109, 124, 255, .28); border-radius: 999px; }

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,180,95,.16), rgba(109,124,255,.12) 38%, transparent 70%);
  filter: blur(18px);
  transition: opacity .25s ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 999;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--purple));
  box-shadow: 0 0 24px rgba(109,124,255,.55);
}

.ambient-orb {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
}

.ambient-orb-one {
  width: 320px;
  height: 320px;
  top: -40px;
  right: 8%;
  background: rgba(255, 180, 95, 0.28);
  animation: floatOrb 12s ease-in-out infinite;
}

.ambient-orb-two {
  width: 360px;
  height: 360px;
  bottom: 10%;
  left: -80px;
  background: rgba(201, 107, 255, 0.22);
  animation: floatOrb 14s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.06); }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease);
}

.nav.scrolled {
  background: rgba(5, 7, 19, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-back, .nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.nav-back svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.hero {
  position: relative;
  padding: 130px 24px 80px;
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: .96;
  letter-spacing: -.06em;
  margin-bottom: 18px;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  box-shadow: 0 14px 40px rgba(99, 102, 241, .34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(99, 102, 241, .42);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats span {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.collage-stage {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  aspect-ratio: 1;
}

.collage-tile {
  position: absolute;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}

.collage-tile:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
  z-index: 5;
}

.tile-blue { top: 8%; left: 8%; width: 42%; height: 42%; background: linear-gradient(145deg, #6d7cff, #6366f1); }
.tile-orange { top: 6%; right: 8%; width: 38%; height: 38%; background: linear-gradient(145deg, #ffb45f, #ff8f45); }
.tile-purple { bottom: 8%; right: 10%; width: 40%; height: 40%; background: linear-gradient(145deg, #c96bff, #8b5cf6); }
.tile-indigo { bottom: 10%; left: 10%; width: 36%; height: 36%; background: linear-gradient(145deg, #6366f1, #4338ca); }

.hero-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.12);
  animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.12); }
  50% { box-shadow: 0 24px 70px rgba(99,102,241,.28), 0 0 40px rgba(109,124,255,.24); }
}

.glass-pill {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(20, 24, 51, .62);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  animation: pillFloat 5s ease-in-out infinite;
}

.pill-templates { top: 4%; left: -4%; }
.pill-filters { top: 18%; right: -8%; animation-delay: .8s; }
.pill-export { bottom: 8%; left: -6%; animation-delay: 1.4s; }

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section-head {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.showcase, .features, .why-panel, .cta-section, .privacy-note {
  padding: 84px 24px;
}

.phone-strip {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.phone-card {
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.phone-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,180,95,.28);
}

.phone-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.phone-caption {
  padding: 18px;
}

.phone-caption span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

.phone-caption p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.format-demo {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 28px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
}

.format-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.format-tab {
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.format-tab.active {
  color: var(--text);
  border-color: rgba(255,180,95,.42);
  background: linear-gradient(135deg, rgba(99,102,241,.28), rgba(255,180,95,.16));
  box-shadow: 0 10px 30px rgba(99,102,241,.18);
}

.format-preview {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.format-frame {
  width: min(220px, 70vw);
  border-radius: 24px;
  border: 2px solid rgba(255,180,95,.45);
  background: rgba(0,0,0,.24);
  overflow: hidden;
  transition: width .45s var(--ease), height .45s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.format-frame-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.format-cell {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(109,124,255,.75), rgba(99,102,241,.55));
}

.format-cell:nth-child(2) { background: linear-gradient(145deg, rgba(255,180,95,.82), rgba(255,143,69,.62)); }
.format-cell:nth-child(3) { background: linear-gradient(145deg, rgba(99,102,241,.72), rgba(67,56,202,.58)); }
.format-cell:nth-child(4) { background: linear-gradient(145deg, rgba(201,107,255,.76), rgba(139,92,246,.58)); }

.feature-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109,124,255,.28);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(99,102,241,.24), rgba(255,180,95,.16));
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -.03em;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.why-panel {
  padding-top: 20px;
}

.liquid-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04)),
    rgba(8, 12, 32, .42);
  backdrop-filter: blur(20px);
}

.liquid-card p {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 14px;
}

.creator-list {
  display: grid;
  gap: 10px;
}

.creator-list div {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  font-size: 14px;
}

.cta-section {
  text-align: center;
}

.cta-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 36px;
  border: 1px solid rgba(255,180,95,.22);
  background:
    radial-gradient(circle at top right, rgba(255,180,95,.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(109,124,255,.16), transparent 38%),
    rgba(255,255,255,.05);
}

.cta-card h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.05em;
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 24px;
}

.privacy-note {
  padding-top: 0;
}

.privacy-card-inline {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 36px 24px 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-copy {
  width: 100%;
  color: var(--soft);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

.privacy-page-wrap {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0 80px;
}

.privacy-title {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .96;
  letter-spacing: -.07em;
  margin-bottom: 18px;
  text-align: center;
}

.privacy-subtitle {
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
}

.policy-card {
  padding: clamp(24px, 4vw, 46px);
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)), rgba(8, 12, 32, .34);
  backdrop-filter: blur(24px);
}

.policy-card h2 {
  margin: 30px 0 12px;
  font-size: 24px;
  letter-spacing: -.04em;
}

.policy-card h2:first-child { margin-top: 0; }

.policy-card p, .policy-card li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.policy-card ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.policy-card strong { color: var(--text); }
.policy-card a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .hero-grid, .liquid-card { grid-template-columns: 1fr; }
  .phone-strip, .feature-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .nav-links { display: none; }
}

@media (max-width: 680px) {
  .hero { padding-top: 108px; }
  .hero-stats { grid-template-columns: 1fr; }
  .privacy-page-wrap { width: min(100% - 28px, 960px); }
}
