/* ─── Tokens ─── */
:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-elevated: #1a1a24;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --primary: #7c3aed;
  --primary-light: #9d60f8;
  --primary-dark: #5b21b6;
  --accent: #a78bfa;
  --text: #ffffff;
  --text-secondary: #8888a0;
  --text-muted: #555568;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Utilities ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent);
  background: rgba(167, 139, 250, 0.08);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  margin-bottom: 24px;
}
.honeypot { position: absolute; left: -9999px; }

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.btn-glow {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.4), 0 0 80px rgba(124, 58, 237, 0.15);
}
.btn-glow:hover {
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.5), 0 0 120px rgba(124, 58, 237, 0.2);
}
.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: none;
}

/* ─── Animations ─── */
.anim {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 80px;
}
.hero-content { flex: 1; }
.hero-glow {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite 2s;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
  letter-spacing: -0.2px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  flex-shrink: 0;
}
.hero-icon-wrapper {
  position: relative;
  animation: float 5s ease-in-out infinite;
}
.hero-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}
.hero-app-icon {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  box-shadow: 0 30px 100px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(255,255,255,0.05);
}

/* ─── Features ─── */
.features {
  padding: 140px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #a78bfa), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 58, 237, 0.06);
}
.feature-card:hover::before { opacity: 0.6; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Pricing ─── */
.pricing {
  padding: 140px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  transition: all 0.4s ease;
}
.pricing-card:hover {
  border-color: var(--border-hover);
}
.pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.pricing-card--premium {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.1), inset 0 0 80px rgba(124, 58, 237, 0.03);
}
.pricing-card--premium:hover {
  box-shadow: 0 0 100px rgba(124, 58, 237, 0.15), inset 0 0 80px rgba(124, 58, 237, 0.03);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  background: var(--primary);
  padding: 6px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
}
.price-period {
  font-size: 16px;
  color: var(--text-muted);
}
.price-original {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.pricing-sale {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--error);
  background: rgba(239, 68, 68, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pricing-features {
  text-align: left;
  margin: 28px 0 36px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li:first-child { font-weight: 600; color: var(--text); }
.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

/* ─── Testimonials ─── */
.testimonial {
  padding: 140px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.stars {
  font-size: 18px;
  color: var(--warning);
  margin-bottom: 16px;
  letter-spacing: 3px;
}
blockquote {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.85);
}
.testimonial-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── Contact / Newsletter ─── */
.contact {
  padding: 140px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
}
.contact-block h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.contact-block > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { align-self: flex-start; }
.form-msg {
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
}
.form-msg.success { color: var(--success); }
.form-msg.error { color: var(--error); }

/* ─── Download CTA ─── */
.download {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.download h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.download p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ─── Footer ─── */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.footer-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.3px;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .hero .container { flex-direction: column; text-align: center; gap: 48px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero { padding: 120px 20px 80px; }
  .hero-app-icon { width: 120px; height: 120px; border-radius: 28px; }
  .features, .pricing, .testimonial, .contact, .download { padding: 100px 0; }
  .section-header { margin-bottom: 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .feature-card { padding: 24px 20px; }
  .pricing-card { padding: 36px 24px; }
  .testimonial-card { padding: 28px 20px; }
  .contact-block { padding: 28px 20px; }
  blockquote { font-size: 14px; }
  .hero h1 { letter-spacing: -2px; }
}
