/* ============================================================
   F369 FORECAST — Premium Design System v2.0
   Dark Trading Theme with Glassmorphism, Aurora & Cosmic FX
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap");

/* ── CSS Custom Properties ── */
:root {
  /* Core Palette */
  --bg-primary: #050810;
  --bg-secondary: #0a0f1a;
  --bg-card: rgba(10, 15, 30, 0.6);
  --bg-glass: rgba(59, 130, 246, 0.04);
  --bg-glass-hover: rgba(59, 130, 246, 0.08);
  --border-glass: rgba(59, 130, 246, 0.12);
  --border-glow: rgba(59, 130, 246, 0.4);

  /* Brand Colors */
  --brand-primary: #3B82F6;
  --brand-secondary: #60A5FA;
  --brand-accent: #93C5FD;
  --brand-gold: #F59E0B;
  --brand-gold-light: #FBBF24;
  --brand-emerald: #10B981;
  --brand-cyan: #06B6D4;
  --brand-rose: #F43F5E;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #93C5FD 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #F97316 100%);
  --gradient-cosmic: linear-gradient(135deg, #050810 0%, #1E3A8A 50%, #050810 100%);
  --gradient-card: linear-gradient(145deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.02) 100%);
  --gradient-glass: linear-gradient(145deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.01) 100%);
  --gradient-aurora: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(6,182,212,0.1), rgba(139,92,246,0.1), rgba(236,72,153,0.05));

  /* Text */
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #93C5FD;

  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.25), 0 0 80px rgba(59, 130, 246, 0.1);
  --shadow-glow-gold: 0 0 40px rgba(245, 158, 11, 0.2), 0 0 80px rgba(245, 158, 11, 0.08);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Particle Canvas ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Noise Texture Overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Aurora Background ── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 80%, rgba(6,182,212,0.06) 0%, transparent 50%);
  animation: auroraShift 20s ease-in-out infinite alternate;
}

.aurora-bg::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background:
    radial-gradient(ellipse 50% 30% at 70% 60%, rgba(236,72,153,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 30% 70%, rgba(245,158,11,0.04) 0%, transparent 50%);
  animation: auroraShift 25s ease-in-out infinite alternate-reverse;
}

@keyframes auroraShift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(3%, -2%) rotate(1deg); }
  100% { transform: translate(-2%, 3%) rotate(-1deg); }
}

/* ── Animated Background Grid ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  top: -200px;
  left: -100px;
  background: var(--brand-primary);
  animation: floatGlow 20s ease-in-out infinite;
}

.bg-glow-2 {
  bottom: -200px;
  right: -100px;
  background: var(--brand-secondary);
  animation: floatGlow 25s ease-in-out infinite reverse;
}

.bg-glow-3 {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: var(--brand-accent);
  opacity: 0.04;
  animation: floatGlow 30s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--space-xl);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.nav-brand .brand-369 {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand .brand-forecast {
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-hero);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.2);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 60px rgba(59, 130, 246, 0.2); }
  50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.7), 0 0 80px rgba(59, 130, 246, 0.3); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  background: var(--gradient-hero) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  transition: all var(--duration-normal) var(--ease-out) !important;
}

.nav-cta:hover {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.7) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--space-xl) var(--space-4xl);
  overflow: hidden;
}

/* Hero radial spotlight */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse 50% 40% at 50% 45%, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1.2rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-accent);
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px rgba(16, 185, 129, 0.6); }
  50% { opacity: 0.5; transform: scale(1.5); box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  position: relative;
}

/* Animated glow behind hero text */
.hero h1 .gradient-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(30px);
  opacity: 0.4;
  z-index: -1;
}

.hero h1 .gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero h1 .gold-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(25px);
  opacity: 0.35;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeUp 0.8s var(--ease-out) 0.6s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  animation: fadeUp 0.8s var(--ease-out) 0.8s both;
}

.hero-stat { text-align: center; }

.hero-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(59,130,246,0.3));
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-out) 1s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.6), 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #0a0e1a;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold:hover {
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ── Section Layout ── */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) var(--space-xl);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Package Cards Grid ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-xl);
}

/* ── Package Card with Animated Border ── */
.package-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--duration-slow) var(--ease-out);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  background-clip: padding-box;
}

/* Animated gradient border */
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.1), rgba(6,182,212,0.1), rgba(59,130,246,0.2));
  background-size: 300% 300%;
  animation: borderGlow 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Top accent bar */
.package-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--gradient-hero));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

/* Shine sweep on card hover */
.package-card .card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 55%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.package-card:hover .card-shine {
  transform: translateX(100%);
}

.package-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-glow);
}

.package-card:hover::before {
  background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(139,92,246,0.3), rgba(6,182,212,0.3), rgba(59,130,246,0.4));
  background-size: 300% 300%;
  animation: borderGlow 3s ease infinite;
}

.package-card:hover::after {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--icon-bg, rgba(59, 130, 246, 0.12));
  color: var(--icon-color, var(--brand-accent));
  box-shadow: 0 0 25px var(--icon-glow, rgba(59, 130, 246, 0.15));
  transition: all var(--duration-normal) var(--ease-out);
}

.package-card:hover .card-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 35px var(--icon-glow, rgba(59, 130, 246, 0.3));
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.card-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.card-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

.card-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.card-features li .check-icon {
  color: var(--brand-emerald);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

.card-price { font-family: var(--font-display); }

.card-price .price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.card-price .price-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.4rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.card-action:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

/* ── Indicator Count Chips ── */
.indicator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-accent);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ── Features Section ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  background: rgba(59, 130, 246, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.feature-card:hover {
  border-color: var(--border-glow);
  background: rgba(59, 130, 246, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 10px rgba(59,130,246,0.2));
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Package Detail Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: all var(--duration-slow) var(--ease-spring);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(59,130,246,0.1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  padding: var(--space-xl) var(--space-2xl);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.modal-close:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-body { padding: var(--space-2xl); }

.modal-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.modal-indicators-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.modal-indicator-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.modal-indicator {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
}

.modal-indicator:hover {
  border-color: var(--border-glow);
  background: var(--bg-glass-hover);
  transform: translateX(4px);
}

.modal-indicator .ind-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-accent);
  background: rgba(59, 130, 246, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.modal-indicator .ind-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.modal-indicator .ind-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.modal-footer {
  padding: var(--space-xl) var(--space-2xl);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(59, 130, 246, 0.04);
}

.modal-price { font-family: var(--font-display); }

.modal-price .modal-price-amount {
  font-size: 2rem;
  font-weight: 800;
}

.modal-price .modal-price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Bundle Section ── */
.bundle-card {
  position: relative;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.06) 0%, rgba(249, 115, 22, 0.03) 100%);
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  overflow: hidden;
}

.bundle-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: bundlePulse 4s ease-in-out infinite;
}

@keyframes bundlePulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1.2rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-gold-light);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bundle-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.bundle-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.bundle-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.bundle-original {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.bundle-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245,158,11,0.3));
}

.bundle-savings {
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  color: var(--brand-emerald);
  font-weight: 700;
  font-size: 0.9rem;
}

.bundle-includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.bundle-includes .chip {
  background: rgba(245, 158, 11, 0.08);
  color: var(--brand-gold-light);
  border-color: rgba(245, 158, 11, 0.15);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
}

/* ── Filter Nav ── */
.filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.filter-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--text-primary);
  background: var(--bg-glass);
}

.filter-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* ── Trust Bar — Animated Marquee ── */
.trust-bar {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(59, 130, 246, 0.02);
}

.trust-track {
  display: flex;
  gap: var(--space-3xl);
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-item .trust-icon {
  font-size: 1.3rem;
  color: var(--brand-emerald);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand { max-width: 300px; }

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.footer-brand-name .brand-369 {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: var(--space-sm); }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--duration-fast);
}

.footer-links a:hover { color: var(--brand-accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 1280px;
  margin: var(--space-lg) auto 0;
  line-height: 1.6;
  opacity: 0.7;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.5); }

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ── NinjaTrader Platform Section ── */
.platform-section {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.platform-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.platform-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: transform var(--duration-normal) var(--ease-out);
}

.platform-feature:hover { transform: translateX(4px); }

.platform-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.platform-feature-text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.platform-feature-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease-out) 1.2s both;
}

.scroll-arrow {
  width: 20px;
  height: 30px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  position: relative;
}

.scroll-arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--brand-accent);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 14px; opacity: 0.3; }
}

/* ── Contact Section ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-card {
  padding: var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-glass-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(59,130,246,0.1);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-value a {
  color: var(--brand-accent);
  text-decoration: none;
}

.contact-value a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    padding: 80px var(--space-xl) var(--space-xl);
    transition: right var(--duration-slow) var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: var(--space-xl); }
  .hero-stat .stat-number { font-size: 2rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .bundle-pricing { flex-direction: column; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .trust-track { animation-duration: 20s; }

  .modal-indicator-list { grid-template-columns: 1fr; }
  .modal { max-height: 90vh; }
  .modal-header, .modal-body, .modal-footer {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
  .modal-footer {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }
  .modal-footer > div { width: 100%; }
  .modal-footer > div:last-child { flex-direction: column; }
}

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: var(--space-lg); }
  .filter-nav { gap: 4px; }
  .filter-btn { padding: 0.4rem 0.8rem; font-size: 0.78rem; }
}
