:root {
  --background: #050505;
  --surface: #0a0a0a;
  --surface-hover: #121212;
  --primary: #3b82f6; /* App Blue (hsl(217.2 91.2% 59.8%)) */
  --primary-glow: rgba(59, 130, 246, 0.2);
  --text: #ffffff;
  --text-muted: #888888;
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  color: var(--text-muted);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

/* Header/Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.btn-nav {
  padding: 0.6rem 1.2rem;
  background: var(--text);
  color: var(--background);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-nav:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: var(--primary);
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 5rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--primary-glow);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.hero-visual {
  margin-top: 2rem;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
/* Features */
.features-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-8px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* UI Showcase */
.showcase-header {
  text-align: center;
  margin-bottom: 5rem;
}

.showcase-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-cols: 1.5fr 1fr;
  gap: 2rem;
}

.showcase-item {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.05);
}

.btn-magnetic {
  transition: transform 0.1s ease-out;
}

/* Glow Background & Gimmicks */
.glow-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(80px);
  pointer-events: none;
}

.glow-1 { top: -100px; left: -200px; opacity: 0.5; }
.glow-2 { bottom: -100px; right: -200px; opacity: 0.3; }

.mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.grid-background {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: -1;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.05;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.1) 50%
  ), linear-gradient(
    90deg, 
    rgba(255, 0, 0, 0.01), 
    rgba(0, 255, 0, 0.005), 
    rgba(0, 0, 255, 0.01)
  );
  background-size: 100% 4px, 3px 100%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.2;
}

/* Hero Enhanced */
.hero-visual {
  margin-top: 4rem;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1000px;
}

.hero-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover img {
  transform: rotateX(0deg) scale(1.02);
}

.floating-data {
  position: absolute;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.glow-text {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow);
}

.data-1 { top: 10%; left: -5%; animation-delay: 0s; }
.data-2 { bottom: 20%; right: -8%; animation-delay: 1s; }
.data-3 { top: 40%; right: -5%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.data-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* How it Works */
.steps-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

.step {
  position: relative;
}

.step-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -2rem;
  left: -1rem;
  z-index: 0;
}

.step-content {
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 1rem;
}

/* Download Section */
.download-section {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.05));
  border-radius: 40px;
  padding: 6rem 2rem;
}

.download-section h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.note {
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: var(--border);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Waveform Gimmick */
.waveform-container {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
  margin-bottom: 2rem;
}

.wave-bar {
  width: 3px;
  height: 10px;
  background: var(--primary);
  border-radius: 99px;
  animation: wave 1.2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { height: 10px; opacity: 0.3; }
  50% { height: 30px; opacity: 1; }
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .features-grid { grid-template-cols: repeat(2, 1fr); }
  .showcase-grid { grid-template-cols: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .features-grid { grid-template-cols: 1fr; }
  .steps-grid { grid-template-cols: 1fr; }
  .nav-links { display: none; }
}

/* Legal Pages */
.legal-page {
  background-color: var(--background);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 6rem;
}

.legal-content h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.legal-content p, .legal-content ul {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .legal-content h1 { font-size: 2.5rem; }
}
/* Premium Pricing Styles (Ref Image) */
.pricing-section {
  padding: 100px 0;
  text-align: center;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.toggle-switch {
  width: 50px;
  height: 24px;
  background: var(--surface-hover);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.pricing-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.premium-card {
  background: #0f0f0f;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.premium-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.card-header {
  background: linear-gradient(180deg, var(--primary) 0%, #2563eb 100%);
  padding: 2.5rem 1rem;
  clip-path: ellipse(110% 100% at 50% 0%);
  color: #000;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-body {
  padding: 3rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-price {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
  text-align: left;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.card-features li i {
  width: 16px;
  height: 16px;
}

.card-features li.included {
  color: var(--text);
}

.card-features li.included i {
  color: #22c55e;
}

.card-features li.excluded i {
  color: #ef4444;
}

.btn-buy {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: auto;
}

.btn-buy:hover {
  background: var(--primary);
  color: #000;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-cols: 1fr;
    max-width: 400px;
  }
}
/* Utility Classes */
.grid { display: grid; }
.grid-cols-2 { grid-template-cols: repeat(2, 1fr); }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-mono { font-family: monospace; }
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }
.mt-32 { margin-top: 8rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.w-full { width: 100%; }

/* Redesigned Download Cards */
.download-card {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 3rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  background: #0f0f0f;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px var(--primary-glow);
}

.card-step-tag {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.download-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.download-card p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

.download-card .feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  margin: 0 auto 2rem;
  color: var(--primary);
}
