@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --bg:          #0D1626;
  --bg-2:        #152032;
  --bg-card:     rgba(255, 255, 255, 0.04);
  --accent:      #5B6EFF;
  --accent-2:    #9B59FF;
  --gradient:    linear-gradient(135deg, #5B6EFF 0%, #9B59FF 100%);
  --text:        #F0F4FF;
  --text-muted:  #8899BB;
  --text-faint:  #4A5880;
  --border:      rgba(255, 255, 255, 0.07);
  --border-2:    rgba(255, 255, 255, 0.13);
  --r:           16px;
  --r-sm:        10px;
  --r-xs:        6px;
  --shadow:      0 4px 32px rgba(0, 0, 0, 0.35);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Utilities ── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 20px rgba(91, 110, 255, .35);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(91, 110, 255, .5); }

.btn-ghost {
  background: var(--bg-card); color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 12px 20px; border-radius: var(--r-sm);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn-store:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.btn-store .store-icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-store .store-icon svg { width: 26px; height: 26px; }
.btn-store .store-text { display: flex; flex-direction: column; text-align: left; gap: 2px; }
.btn-store .store-pre { font-size: 10px; font-weight: 400; opacity: .65; }
.btn-store .store-name { font-size: 15px; font-weight: 700; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 0;
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(13, 22, 38, .88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav .container { display: flex; align-items: center; gap: 8px; }

.nav-logo { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin-right: auto; }
.nav-logo span { display: inline-block; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-xs);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.lang-switcher {
  display: flex; gap: 2px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  border-radius: var(--r-xs); padding: 3px;
  margin-left: 8px;
}
.lang-switcher button {
  padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: var(--text-muted);
  transition: all .15s;
}
.lang-switcher button.active { background: var(--gradient); color: #fff; }
.lang-switcher button:hover:not(.active) { color: var(--text); background: rgba(255, 255, 255, .08); }

.nav-mobile-toggle {
  display: none; padding: 8px; color: var(--text-muted);
  border-radius: var(--r-xs); margin-left: 8px;
}
.nav-mobile-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* ── Mobile nav dropdown ── */
.nav-mobile {
  display: none; position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(13, 22, 38, .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 24px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .25s;
  z-index: 190;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-mobile a {
  display: block; padding: 14px 16px;
  font-size: 16px; font-weight: 500; color: var(--text-muted);
  border-radius: var(--r-xs);
  transition: color .15s, background .15s;
}
.nav-mobile a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-mobile .btn-store { width: 100%; justify-content: center; margin-top: 8px; }
.nav-mobile .lang-switcher { margin-top: 16px; justify-content: center; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(91, 110, 255, .14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(155, 89, 255, .1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(91, 110, 255, .07) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .025;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(91, 110, 255, .12);
  border: 1px solid rgba(91, 110, 255, .28);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: #8BA0FF;
  margin-bottom: 24px;
}
.hero-badge::before { content: '✦'; font-size: 10px; }

.hero-title {
  font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px; color: var(--text-muted); line-height: 1.75;
  max-width: 460px; margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Phone mockup ── */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.phone-glow {
  position: absolute; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(91, 110, 255, .22) 0%, transparent 70%);
  pointer-events: none;
}
.phone-frame {
  width: 268px; height: 540px;
  background: linear-gradient(180deg, #1E2E4A 0%, #0F1B2D 100%);
  border-radius: 44px;
  border: 1.5px solid var(--border-2);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.03);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  z-index: 1;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px;
  background: #0D1626; border-radius: 0 0 18px 18px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; padding: 40px 16px 24px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.phone-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.phone-header-logo { font-size: 13px; font-weight: 800; letter-spacing: -.3px; }
.phone-credit-badge {
  background: rgba(91,110,255,.2); border-radius: 100px; padding: 3px 10px;
  font-size: 10px; font-weight: 600; color: #8BA0FF;
}
.phone-ai-card {
  border-radius: 18px; overflow: hidden; flex: 0 0 auto;
  background: var(--gradient); position: relative;
  height: 220px; display: flex; align-items: center; justify-content: center;
}
.phone-ai-emoji { font-size: 72px; line-height: 1; filter: drop-shadow(0 4px 20px rgba(0,0,0,.4)); }
.phone-ai-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.phone-ai-label { font-size: 9px; color: rgba(255,255,255,.7); }
.phone-prompt-row {
  display: flex; gap: 6px; align-items: center;
  background: rgba(255,255,255,.07); border-radius: 10px; padding: 9px 12px;
}
.phone-prompt-input { flex: 1; font-size: 10px; color: var(--text-muted); }
.phone-prompt-btn {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
.phone-model-row { display: flex; gap: 6px; }
.phone-model-chip {
  flex: 1; background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 8px; font-size: 9px;
  color: var(--text-muted); text-align: center;
}
.phone-model-chip.active {
  background: rgba(91,110,255,.18);
  border-color: rgba(91,110,255,.4);
  color: #8BA0FF;
}

/* ── Sections ── */
section { padding: 96px 0; }

.section-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: #8BA0FF; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.5px; margin-bottom: 14px;
}
.section-sub {
  font-size: 16px; color: var(--text-muted); max-width: 520px; line-height: 1.75;
}

/* ── Features ── */
.features {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.features .container > .section-sub { margin-bottom: 64px; }

#features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(91, 110, 255, .35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  background: rgba(91, 110, 255, .1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── CTA ── */
.cta {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(91,110,255,.05) 50%, transparent);
}
.cta .section-title { margin: 0 auto 14px; max-width: 560px; }
.cta .section-sub { margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-size: 18px; font-weight: 800; letter-spacing: -.5px; }
.footer-links { display: flex; gap: 2px; flex-wrap: wrap; }
.footer-links a {
  padding: 6px 12px; border-radius: var(--r-xs);
  font-size: 13px; color: var(--text-muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-faint);
}

/* ── Legal pages ── */
.legal-page { padding: 120px 0 80px; max-width: 760px; }
.legal-header { margin-bottom: 48px; }
.legal-header h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 8px;
}
.legal-header .updated { font-size: 13px; color: var(--text-faint); }

.legal-intro {
  font-size: 16px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 32px;
}

#legal-content h2 {
  font-size: 17px; font-weight: 700; margin: 44px 0 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
  color: var(--text);
}
#legal-content h3 { font-size: 15px; font-weight: 600; margin: 24px 0 8px; }
#legal-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
#legal-content ul, #legal-content ol { margin: 8px 0 20px 0; display: flex; flex-direction: column; gap: 10px; }
#legal-content li {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  padding-left: 20px; position: relative;
}
#legal-content li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
#legal-content a { color: #8BA0FF; text-decoration: underline; text-underline-offset: 2px; }
#legal-content strong { color: var(--text); font-weight: 600; }

/* ── Account deletion page ── */
.deletion-warning {
  background: rgba(255, 90, 90, .07); border: 1px solid rgba(255, 90, 90, .2);
  border-radius: var(--r); padding: 20px 24px; margin: 32px 0;
  font-size: 14px; color: #FF9999; line-height: 1.65;
}
.deletion-warning strong { color: #FFAAAA; }

.deletion-steps { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.deletion-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px;
}
.step-num {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.step-body h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.step-body p { font-size: 13px; color: var(--text-muted); }

.divider-or {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; font-size: 12px; font-weight: 600;
  color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px;
}
.divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.deletion-note {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; margin: 32px 0;
}
.deletion-note h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--text-muted); }
.deletion-note ul { display: flex; flex-direction: column; gap: 8px; }
.deletion-note li {
  font-size: 13px; color: var(--text-muted);
  display: flex; gap: 8px; align-items: flex-start;
}
.deletion-note li::before { content: '✓'; color: #5B6EFF; font-weight: 700; flex-shrink: 0; }

/* ── Support page ── */
.support-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start;
}

.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 36px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: .3px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-2); border-radius: var(--r-sm);
  padding: 11px 14px; color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 110, 255, .14);
}
.form-group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899BB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group select option { background: var(--bg-2); }

.form-submit {
  width: 100%; padding: 14px; font-size: 15px; font-weight: 600;
  border-radius: var(--r-sm); background: var(--gradient);
  color: #fff; border: none; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.form-submit:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .success-icon { font-size: 52px; margin-bottom: 16px; }
.form-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-muted); }

/* ── FAQ ── */
.faq-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 14px; font-weight: 600; color: var(--text);
  gap: 12px; text-align: left; cursor: pointer;
  transition: color .15s;
}
.faq-question:hover { color: #8BA0FF; }
.faq-icon { font-size: 20px; font-weight: 300; color: var(--text-faint); flex-shrink: 0; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s cubic-bezier(.4,0,.2,1);
}
.faq-question[aria-expanded="true"] + .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.75; padding-bottom: 16px; }

/* ── Page header ── */
.page-hero {
  padding: 120px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(91,110,255,.09) 0%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 10px;
}
.page-hero .updated { font-size: 13px; color: var(--text-faint); }
.page-hero .page-sub { font-size: 16px; color: var(--text-muted); margin-top: 12px; max-width: 540px; line-height: 1.7; }

.page-content { padding: 0 0 96px; }

/* ── Back link ── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  margin-bottom: 32px; transition: color .15s;
}
.back-link:hover { color: var(--text); }
.back-link::before { content: '←'; }

/* ── Checkbox ── */
.form-check {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 20px;
}
.form-check input[type=checkbox] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--accent); cursor: pointer;
}
.form-check label { font-size: 13px; color: var(--text-muted); line-height: 1.55; cursor: pointer; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .support-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .phone-frame { width: 224px; height: 450px; }
  .phone-ai-card { height: 180px; }
  .phone-ai-emoji { font-size: 56px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav > .container > .btn-store { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-mobile { display: block; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-store { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS & MOTION
   ═══════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes blobDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  30%      { transform: translate(50px,-35px) scale(1.06); }
  65%      { transform: translate(-30px,25px) scale(.96); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmerSlide {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}

@keyframes iconGlow {
  0%,100% { box-shadow: 0 0 40px rgba(91,110,255,.4), 0 0 80px rgba(155,89,255,.2); }
  50%     { box-shadow: 0 0 60px rgba(91,110,255,.6), 0 0 120px rgba(155,89,255,.35); }
}

@keyframes scrollCue {
  0%,100% { transform: translateX(-50%) translateY(0); opacity:.45; }
  50%     { transform: translateX(-50%) translateY(8px); opacity:.7; }
}

/* ── Reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1),
              transform .55s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* Hero entrance uses same .reveal/.in-view but triggered by JS timer, not scroll */
.hero-seq {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1),
              transform .6s cubic-bezier(.4,0,.2,1);
}
.hero-seq.in-view { opacity: 1; transform: none; }

/* ── Gradient text animation ── */
.animated-gradient {
  background: linear-gradient(120deg, #7B8FFF 0%, #9B59FF 30%, #5B6EFF 60%, #A87AFF 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

/* ── Hero blobs ── */
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(72px); pointer-events: none;
  animation: blobDrift ease-in-out infinite;
}
.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(91,110,255,.16), transparent 70%);
  top: -120px; right: -80px;
  animation-duration: 22s;
}
.blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(155,89,255,.12), transparent 70%);
  bottom: -60px; left: -60px;
  animation-duration: 18s; animation-delay: -8s;
}

/* ── Scroll cue ── */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-faint); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; pointer-events: none;
  animation: scrollCue 2.2s ease-in-out infinite;
}
.scroll-cue-track {
  width: 18px; height: 28px;
  border: 1.5px solid currentColor; border-radius: 10px;
  position: relative;
}
.scroll-cue-dot {
  width: 3px; height: 5px; border-radius: 2px;
  background: currentColor;
  position: absolute; left: 50%; top: 4px;
  transform: translateX(-50%);
  animation: scrollCue 2.2s ease-in-out infinite;
}

/* ── App icon hero ── */
.app-icon-hero {
  display: flex; justify-content: center; align-items: center;
  position: relative; padding: 40px 0;
}
.app-icon-ring {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
}
.app-icon-img {
  width: 160px; height: 160px; border-radius: 36px;
  position: relative; z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  animation: iconGlow 4s ease-in-out infinite;
}
.app-icon-ring::before {
  content: '';
  position: absolute; inset: -20px;
  background: conic-gradient(from 0deg, rgba(91,110,255,.3), rgba(155,89,255,.3), rgba(91,110,255,.3));
  border-radius: 56px; filter: blur(20px); z-index: 0;
  animation: gradientShift 6s linear infinite; background-size: 200% 200%;
}
.app-icon-ring::after {
  content: '';
  position: absolute; inset: -1px;
  background: conic-gradient(from 0deg, rgba(91,110,255,.6), rgba(155,89,255,.4), transparent, rgba(91,110,255,.6));
  border-radius: 37px; z-index: 2;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; animation: gradientShift 4s linear infinite; background-size: 200% 200%;
}
.app-icon-badge {
  position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 100px; white-space: nowrap;
  z-index: 3; box-shadow: 0 4px 16px rgba(91,110,255,.4);
}

/* ── Enhanced feature cards ── */
.feature-card {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(91,110,255,.06) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(91,110,255,.3);
  box-shadow: 0 20px 48px rgba(0,0,0,.25), 0 0 0 1px rgba(91,110,255,.15);
}
.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  background: linear-gradient(135deg, rgba(91,110,255,.15), rgba(155,89,255,.08));
  border: 1px solid rgba(91,110,255,.2);
  transition: background .3s, border-color .3s, transform .3s;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(91,110,255,.25), rgba(155,89,255,.15));
  border-color: rgba(91,110,255,.4);
  transform: scale(1.05);
}

/* ── Section reveal additions ── */
.section-eyebrow.reveal,
.section-title.reveal,
.section-sub.reveal { display: block; }
