/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07070f;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #e8e8f0;
  --muted: rgba(232,232,240,0.45);
  --accent: #a78bfa;
  --accent2: #818cf8;
  --gold: #fbbf24;
  --glow: rgba(167,139,250,0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== AMBIENT ORBS ===== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 18s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%);
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.18), transparent 70%);
  top: 30%; right: -120px;
  animation-delay: -6s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.14), transparent 70%);
  bottom: 10%; left: 20%;
  animation-delay: -12s;
}
@keyframes orb-drift {
  0%, 100% { transform: translateY(0px) scale(1); }
  33%  { transform: translateY(-30px) scale(1.05); }
  66%  { transform: translateY(20px) scale(0.97); }
}

/* ===== STARS ===== */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--lo, 0.1); }
  50% { opacity: var(--hi, 0.7); }
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  backdrop-filter: blur(20px);
  background: rgba(7,7,15,0.6);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo-icon {
  color: var(--accent);
  font-size: 1.2rem;
  animation: logo-spin 8s linear infinite;
}
@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.nav-cta {
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 100px;
  transition: box-shadow 0.3s, transform 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  background: #c4b5fd;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(167,139,250,0.4);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 160px 24px 80px;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.08);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fade-up 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  animation: fade-up 0.8s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, #c4b5fd 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  animation: fade-up 0.8s 0.2s ease both;
}

/* ===== MENU BAR MOCKUP ===== */
.menubar-mockup {
  animation: fade-up 0.8s 0.3s ease both;
  width: 100%;
  max-width: 760px;
  margin: 16px 0;
}

.mockup-bar {
  background: rgba(22, 22, 35, 0.85);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.08),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(139,92,246,0.12);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 12px 20px;
  gap: 16px;
  font-size: 0.82rem;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.mockup-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  white-space: nowrap;
}
.apple-icon { font-size: 1rem; }
.mockup-app { font-size: 0.82rem; }

.mockup-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.mockup-marquee {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  animation: marquee-scroll 22s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

.mockup-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ===== DOWNLOAD BUTTON ===== */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fade-up 0.8s 0.4s ease both;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.3s;
  box-shadow: 0 4px 32px rgba(124,58,237,0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-download::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(135deg, #a78bfa, #818cf8, #fbbf24);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(10px);
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(124,58,237,0.55), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.btn-download:hover::before { opacity: 1; }
.btn-download:active { transform: translateY(0); }

.btn-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.btn-sub {
  display: block;
  width: 100%;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.65;
  text-align: center;
  letter-spacing: 0.05em;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== FEATURES ===== */
.features {
  position: relative;
  z-index: 1;
  padding: 60px 24px 80px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  backdrop-filter: blur(10px);
}
.feature-card:hover {
  border-color: rgba(167,139,250,0.35);
  background: rgba(167,139,250,0.07);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== QUOTES SECTION ===== */
.quotes-section {
  position: relative;
  z-index: 1;
  padding: 60px 24px 80px;
  text-align: center;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 48px;
}
.quotes-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 28px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, background 0.3s;
  opacity: 0;
  transform: translateY(16px);
  animation: quote-appear 0.6s ease forwards;
}
.quote-item:nth-child(1) { animation-delay: 0.1s; }
.quote-item:nth-child(2) { animation-delay: 0.2s; }
.quote-item:nth-child(3) { animation-delay: 0.3s; }
.quote-item:nth-child(4) { animation-delay: 0.4s; }
.quote-item:hover {
  border-color: rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.06);
}
.q-emoji { flex-shrink: 0; font-size: 1.2rem; }

@keyframes quote-appear {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== FINAL CTA ===== */
.final-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.final-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}
.final-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}
.final-cta h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer .logo-icon {
  color: var(--accent);
  font-size: 0.9rem;
  animation: logo-spin 12s linear infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 130px 20px 60px; }
  .br-desktop { display: none; }
  .mockup-right span:first-child { display: none; }
  .feature-card { padding: 24px 20px; }
}
