/* VibeS Premium App Theme */

:root {
  --page: #ebe8f6;
  --bg: #070711;
  --bg-2: #0d0d19;
  --s1: #121221;
  --s2: #19192d;
  --s3: #211544;
  --purple: #7b45ff;
  --violet-soft: #b981ff;
  --magenta: #f23f9d;
  --coral: #ff8542;
  --selection: #d8c9ff;
  --text: #FFFFFF;
  --muted: #b8b4c4;
  --muted-2: #89859a;
  --border: rgba(123, 69, 255, 0.42);
  --border-pink: rgba(242, 63, 157, 0.42);
  --border-sub: rgba(255, 255, 255, 0.085);
  --glow: rgba(123, 69, 255, 0.24);
  --glow-mg: rgba(242, 63, 157, 0.16);
  --glow-warm: rgba(255, 133, 66, 0.16);
  --grad: linear-gradient(135deg, #7b45ff 0%, #f23f9d 56%, #ff8542 100%);
  --grad-t: linear-gradient(90deg, #7b45ff 0%, #f23f9d 54%, #ff8542 100%);
  --grad-edge: linear-gradient(115deg, #7b45ff 0%, #f23f9d 70%, #ff8542 100%);
  --panel-shadow: 0 20px 48px rgba(4, 4, 12, .18);
}

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

body {
  margin: 0;
  min-height: 100svh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--page);
  background-image:
    radial-gradient(ellipse 70% 44% at 12% 0%, rgba(216,201,255,.55) 0%, transparent 55%),
    radial-gradient(ellipse 52% 42% at 92% 12%, rgba(255,133,66,.12) 0%, transparent 60%);
}

/* ─── LAYOUT ─────────────────────────────────── */

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

/* ─── NAV ─────────────────────────────────────── */

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 32px 32px;
  background: rgba(8, 8, 18, .98);
  box-shadow: 0 18px 36px rgba(7, 7, 17, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(123,69,255,.28), inset 0 1px 0 rgba(255,255,255,.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  position: relative;
  overflow: hidden;
}

.brand-logo::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 6px 11px 11px 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.36));
  clip-path: polygon(14% 0, 100% 50%, 14% 100%, 30% 50%);
  filter: drop-shadow(0 0 6px rgba(255,255,255,.42));
}

.brand-logo::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  pointer-events: none;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.015em;
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.navlinks a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 140ms, background 140ms;
}

.navlinks a:hover { color: var(--text); background: rgba(216,201,255,.1); }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.1);
}

.language-switcher span[aria-hidden] { color: rgba(255,255,255,.2); font-size: .85rem; }

.language-switcher a {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 6px;
  transition: color 140ms, background 140ms;
}

.language-switcher a.active { color: var(--text); background: rgba(123,69,255,.26); }

/* ─── TYPOGRAPHY ─────────────────────────────── */

h1, h2, h3 { margin: 0; color: var(--text); }

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 850;
  line-height: 1.09;
  letter-spacing: -.025em;
}

h2 {
  font-size: clamp(1.42rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -.018em;
  line-height: 1.2;
}

h3 { font-size: 1.02rem; font-weight: 800; }

p { margin: 0; line-height: 1.7; }

.eyebrow {
  margin: 0 0 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.lede {
  margin-top: 18px;
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 52ch;
}

/* ─── BUTTONS ─────────────────────────────────── */

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 18px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  border: none;
}

.button.primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 22px rgba(242,63,157,.18), 0 8px 22px rgba(0,0,0,.28);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(242,63,157,.22), 0 10px 30px rgba(0,0,0,.38);
}

.button.secondary {
  background: rgba(255,255,255,.055);
  color: var(--text);
  border: 1px solid var(--border-sub);
}

.button.secondary:hover { background: rgba(216,201,255,.1); border-color: rgba(216,201,255,.24); transform: translateY(-1px); }

.button.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 16px 34px;
  min-width: 158px;
}

.button.store:hover {
  background: rgba(216,201,255,.1);
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--glow);
}

.button.store .store-sub {
  font-size: .67rem;
  font-weight: 500;
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.button.store .store-name { font-size: 1.05rem; font-weight: 800; }

/* ─── HERO ────────────────────────────────────── */

.hero {
  padding: 50px 48px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--s1);
  box-shadow: var(--panel-shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -90px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242,63,157,.16) 0%, transparent 58%),
    radial-gradient(circle at 35% 60%, rgba(123,69,255,.22) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 34px 0 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(123,69,255,.75), rgba(242,63,157,.72), transparent);
  opacity: .62;
}

.hero.compact { padding: 42px 44px; text-align: left; }
.hero.compact .lede { margin-left: 0; margin-right: 0; }

.site-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; }

/* ─── PHONE MOCKUP ───────────────────────────── */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,129,255,.2) 0%, transparent 70%);
  pointer-events: none;
}

.phone-wrap { position: relative; }

.phone-mockup {
  position: relative;
  width: 208px; height: 416px;
  border-radius: 38px;
  border: 2px solid rgba(216,201,255,.2);
  background: var(--s2);
  box-shadow: 0 0 42px rgba(123,69,255,.2), 0 28px 72px rgba(0,0,0,.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 8px;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(124,60,255,.07) 0%, transparent 55%);
  pointer-events: none;
}

.ph-notch {
  width: 68px; height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.12);
  margin: 0 auto 10px;
}

.ph-card {
  width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(25,25,45,.95);
  border: 1px solid rgba(255,255,255,.08);
}

.ph-card:nth-child(3) { border-color: rgba(242,63,157,.3); box-shadow: inset 0 0 0 1px rgba(123,69,255,.12); }
.ph-card:nth-child(4) { background: rgba(216,201,255,.13); border-color: rgba(216,201,255,.22); }

.ph-kicker {
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
  display: block;
  margin-bottom: 3px;
}

.ph-card:nth-child(3) .ph-kicker { color: var(--magenta); }
.ph-card:nth-child(4) .ph-kicker { color: var(--coral); }

.ph-title { font-size: .76rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 3px; }
.ph-body { font-size: .64rem; color: var(--muted); line-height: 1.4; display: block; }

/* ─── CARDS ──────────────────────────────────── */

.card {
  padding: 24px;
  border: 1px solid var(--border-sub);
  border-radius: 28px;
  background: var(--s1);
  box-shadow: 0 14px 34px rgba(4,4,12,.14);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(242,63,157,.34);
  box-shadow: 0 0 26px rgba(123,69,255,.12), 0 18px 44px rgba(4,4,12,.24);
}

.card h2, .card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; }
.card a { color: var(--purple); text-decoration: none; font-weight: 600; }
.card a:hover { color: var(--magenta); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  color: var(--violet-soft);
  background: rgba(123,69,255,.16);
  border: 1px solid rgba(123,69,255,.34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(123,69,255,.16);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 24px; }

.section-header { margin-top: 46px; margin-bottom: 4px; color: var(--bg); }
.section-header h2 { max-width: 24ch; color: var(--bg); }

/* ─── CTA BAND ───────────────────────────────── */

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 34px 38px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.09);
  background: var(--s1);
  background-image: radial-gradient(ellipse at 28% 50%, rgba(123,69,255,.2) 0%, transparent 70%);
  box-shadow: var(--panel-shadow);
}

.cta-band h2 { max-width: 22ch; }

/* ─── STATS ──────────────────────────────────── */

.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }

.stat-card { padding: 20px 22px; border-radius: 24px; border: 1px solid var(--border-sub); background: var(--s1); box-shadow: 0 12px 28px rgba(4,4,12,.12); }

.stat-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.stat-value { font-size: 1.05rem; font-weight: 800; }

/* ─── DOWNLOAD PAGE ──────────────────────────── */

.store-buttons { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 30px; }

.screenshot-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }

.screenshot-card {
  padding: 22px 18px;
  border-radius: 28px;
  border: 1px solid var(--border-sub);
  background: var(--s2);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.screenshot-card:hover { border-color: var(--border); transform: translateY(-2px); }
.sc-icon { font-size: 2rem; opacity: .9; filter: drop-shadow(0 0 12px rgba(123,69,255,.36)); }
.sc-label { font-size: .86rem; font-weight: 800; color: var(--muted); text-align: center; }

/* ─── SUPPORT PAGE ───────────────────────────── */

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }

.support-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--border-sub);
  background: var(--s1);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.support-card:hover { transform: translateY(-2px); border-color: rgba(242,63,157,.34); box-shadow: 0 0 22px rgba(123,69,255,.12), 0 14px 36px rgba(4,4,12,.22); }
.support-card h3 { font-size: .96rem; font-weight: 800; margin-bottom: 10px; }
.support-card p { font-size: .87rem; color: var(--muted); line-height: 1.6; }

.support-card a {
  display: block;
  color: var(--purple);
  font-weight: 600;
  font-size: .87rem;
  text-decoration: none;
  margin-bottom: 8px;
  word-break: break-all;
  transition: color 140ms;
}

.support-card a:hover { color: var(--magenta); }

.contact-highlight {
  margin-top: 28px;
  padding: 26px 34px;
  border-radius: 28px;
  border: 1px solid var(--border-sub);
  background: var(--s1);
  background-image: radial-gradient(ellipse at right, rgba(123,69,255,.16) 0%, transparent 70%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-highlight h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-highlight p { color: var(--muted); font-size: .9rem; }

.contact-email {
  font-size: 1.12rem;
  font-weight: 700;
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── LEGAL PAGES ────────────────────────────── */

.legal-container { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

.legal-card {
  padding: 22px 28px;
  border: 1px solid var(--border-sub);
  border-radius: 26px;
  background: var(--s1);
  box-shadow: 0 12px 30px rgba(4,4,12,.11);
}

.legal-card h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-sub);
}

.legal-card p { color: var(--muted); line-height: 1.75; font-size: .94rem; }
.legal-card p + p { margin-top: 10px; }
.legal-card a { color: var(--purple); text-decoration: none; transition: color 140ms; }
.legal-card a:hover { color: var(--magenta); text-decoration: underline; }

.legal-card ol, .legal-card ul {
  color: var(--muted);
  line-height: 1.75;
  font-size: .94rem;
  padding-left: 20px;
  margin: 0;
}

.legal-card li + li { margin-top: 6px; }

.legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255,133,66,.08);
  border: 1px solid rgba(255,133,66,.24);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
}

.legal-notice strong { color: var(--coral); }

/* ─── DELETE ACCOUNT ─────────────────────────── */

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }

.step-card {
  padding: 22px 16px;
  border-radius: 28px;
  border: 1px solid var(--border-sub);
  background: var(--s1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-edge);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 14px;
  background: rgba(123,69,255,.18);
  border: 1px solid rgba(185,129,255,.42);
  font-size: .87rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 13px;
  box-shadow: 0 0 14px rgba(123,69,255,.16);
}

.step-card h3 { font-size: .88rem; font-weight: 800; margin-bottom: 5px; }
.step-card p { font-size: .8rem; color: var(--muted); line-height: 1.5; }

.warning-card {
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 28px;
  border: 1px solid rgba(255,133,66,.32);
  background: rgba(255,133,66,.08);
  box-shadow: 0 0 20px rgba(255,133,66,.08);
}

.warning-card h3 { color: var(--coral); font-size: .96rem; font-weight: 800; margin-bottom: 10px; }
.warning-card p { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.warning-card a { color: var(--magenta); font-weight: 600; text-decoration: none; }
.warning-card a:hover { text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  margin-top: 42px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background: rgba(8,8,18,.98);
  box-shadow: 0 14px 30px rgba(7,7,17,.14);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 140ms;
}

.site-footer a:hover { color: var(--text); }

.footer-brand {
  font-weight: 800;
  font-size: .9rem;
  background: var(--grad-t);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy { margin-left: auto; color: rgba(184,182,200,.48); font-size: .78rem; }

/* ─── RESPONSIVE ─────────────────────────────── */

@media (max-width: 900px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3, .screenshot-strip, .stats-strip { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 26px; }
  .contact-highlight { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 24px); padding-top: 14px; padding-bottom: 56px; }
  .topnav { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 0 0 28px 28px; }
  .navlinks { flex-wrap: wrap; gap: 2px; }
  .language-switcher { border-left: none; padding-left: 0; margin-left: 0; }
  .hero, .hero.compact { padding: 28px 22px; border-radius: 32px; }
  h1 { font-size: 1.95rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .steps-grid { grid-template-columns: 1fr; }
}
