/* AURA — marketing site styles
   Color tokens mirror app/src/theme.js so the web page matches the app */

:root {
  --bg:           #050510;
  --surface:      #0d0d1a;
  --surface-high: #13131f;
  --border:       rgba(255,255,255,0.08);
  --primary:      #a855f7;
  --secondary:    #ec4899;
  --accent:       #f59e0b;
  --text:         #ffffff;
  --text-sub:     rgba(255,255,255,0.6);
  --text-muted:   rgba(255,255,255,0.35);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-pill:  999px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-sm   { padding: 8px 18px; font-size: 13px; }
.btn-lg   { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; padding: 14px; font-size: 14px; margin-top: 20px; }
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(168,85,247,0.35);
}
.btn-secondary {
  background: var(--surface-high);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(168,85,247,0.4);
}

/* ───────── Nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,16,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.footer-logo .logo-img { width: 24px; height: 24px; border-radius: 7px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: 90px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(168,85,247,0.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(236,72,153,0.2), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245,158,11,0.12), transparent 40%);
  filter: blur(40px);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 12px; color: var(--text-muted); }

.hero-grid {
  position: relative;
  max-width: 900px;
  margin: 64px auto 0;
  height: 140px;
  z-index: 1;
}
.float-card {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}
.card-1 { left: 8%;  top: 0;   animation-delay: 0s; }
.card-2 { left: 32%; top: 40px; animation-delay: 1.2s; }
.card-3 { left: 58%; top: 0;   animation-delay: 0.6s; }
.card-4 { left: 82%; top: 36px; animation-delay: 1.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.style-tile {
  width: 86px;
  height: 86px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  opacity: 0.85;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ───────── Section shared ───────── */
section { padding: 80px 0; }
.section-title {
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ───────── How it works ───────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.how-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.how-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.how-card p { font-size: 14px; color: var(--text-sub); }
.badge-soft {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(245,158,11,0.15);
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ───────── Styles grid ───────── */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.style-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.style-card .emoji { font-size: 40px; display: block; margin-bottom: 10px; }
.style-card .label { font-weight: 700; font-size: 14px; }
.style-card .pro-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: rgba(168,85,247,0.25);
  border-radius: 6px;
  padding: 3px 7px;
}

/* ───────── Features ───────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-sub); line-height: 1.55; }

/* ───────── Pricing ───────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}
.plan-popular {
  border-color: var(--primary);
  background: var(--surface-high);
  transform: scale(1.03);
}
.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan-name { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.plan-price { font-size: 36px; font-weight: 900; margin-bottom: 20px; }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.plan-features { list-style: none; }
.plan-features li {
  font-size: 13px;
  color: var(--text-sub);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 32px;
}

/* ───────── FAQ ───────── */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  gap: 12px;
}
.faq-chevron { color: var(--primary); font-size: 18px; font-weight: 700; flex-shrink: 0; }
.faq-a {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 12px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ───────── Final CTA ───────── */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 30px; font-weight: 900; margin-bottom: 28px; letter-spacing: -0.5px; }

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-inner a { color: var(--text-sub); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

/* ───────── Responsive ───────── */
@media (max-width: 860px) {
  .how-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-popular { transform: none; }
  .hero h1 { font-size: 38px; }
  .nav-links { display: none; }
  .hero-grid { display: none; }
}

@media (max-width: 480px) {
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; text-align: center; }
}
