/* Jedi Premium Dark Theme tokens */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-color: #030712;
  --bg-surface: #111827;
  --bg-surface-hover: #1f2937;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  
  --accent-1: #00f2fe;
  --accent-2: #4facfe;
  --accent-3: #8b5cf6;
  
  --gradient-neon: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  --gradient-glow: linear-gradient(90deg, var(--accent-1), var(--accent-3));
  
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Animated Background */
.background-mesh {
  position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 40% 50%, rgba(139, 92, 246, 0.08), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 242, 254, 0.08), transparent 50%);
  z-index: -1; animation: breathe 25s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes breathe {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.2) rotate(5deg) translate(2%, 2%); }
}

a { color: var(--accent-1); text-decoration: none; transition: 0.3s ease; }
a:hover { color: #fff; text-shadow: 0 0 10px rgba(0, 242, 254, 0.5); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.1; }

/* Header/Nav */
header {
  position: fixed; width: 100%; top: 0; z-index: 100;
  background: rgba(3, 7, 18, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border); transition: 0.3s;
}
.nav { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.brand-link { display: flex; align-items: center; gap: 14px; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
.brand-link:hover { text-shadow: none; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 20px rgba(0, 242, 254, 0.3); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text-main); text-shadow: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  font-family: var(--font-body); cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase; letter-spacing: 1px; border: none;
}
.btn-primary {
  background: var(--gradient-neon); color: #fff;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3); position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 242, 254, 0.4); color: #fff; text-shadow: none; }
.btn-primary:hover::after { left: 100%; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); color: var(--text-main);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-4px); text-shadow: none;
}

/* Layout */
main { max-width: 1200px; margin: 0 auto; padding: 140px 24px 80px; }

/* Hero Section */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; min-height: 75vh; }
.hero-inner { max-width: 600px; position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 50px;
  background: rgba(0, 242, 254, 0.05); border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--text-main); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 32px; backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--accent-1); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-1); animation: blink 1.5s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { 
  font-size: clamp(3.5rem, 6vw, 5.5rem); margin-bottom: 24px; letter-spacing: -1px;
}
.text-gradient {
  background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; 
  background-size: 200% auto; animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lead { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; font-weight: 300; }
.cta-row { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-note { font-size: 0.85rem; color: #6b7280; font-weight: 500; }

/* Hero Media 3D Glass Card */
.hero-media { perspective: 1200px; display: flex; justify-content: center; position: relative; }
.hero-media::before {
  content: ''; position: absolute; width: 300px; height: 300px; background: var(--accent-3);
  filter: blur(100px); opacity: 0.3; z-index: 0; border-radius: 50%;
}
.floating-card {
  position: relative; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1); padding: 24px;
  transform: rotateY(-15deg) rotateX(10deg);
  box-shadow: -20px 20px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.05);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1; backdrop-filter: blur(20px); max-width: 380px; width: 100%;
}
.floating-card:hover { 
  transform: rotateY(0) rotateX(0) translateY(-10px); 
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 80px rgba(0, 242, 254, 0.2); 
}
.shot { width: 100%; border-radius: calc(var(--radius-lg) - 10px); display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Data Animation Card Styles */
.data-animation-card {
  overflow: hidden; padding: 0; min-height: 380px; display: flex; flex-direction: column; background: rgba(17, 24, 39, 0.8);
}
.scanner-band {
  position: absolute; top: -100px; left: -50%; width: 200%; height: 50px;
  background: linear-gradient(transparent, rgba(0, 242, 254, 0.4), transparent);
  transform: rotate(30deg); animation: scan 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none; z-index: 10; opacity: 0.8;
}
@keyframes scan { 0% { top: -100px; } 100% { top: 500px; } }

.app-header {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border); background: rgba(255,255,255,0.02);
}
.app-title { font-weight: 700; color: var(--text-main); font-family: var(--font-heading); }
.app-status { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--accent-1); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.pulse-dot-small { width: 6px; height: 6px; background: var(--accent-1); border-radius: 50%; animation: blink 1.5s infinite; }

.data-row {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--glass-border);
}
.scan-active .icon-pulse {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(139, 92, 246, 0.5); border-top-color: var(--accent-3);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { height: 12px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 8px; animation: skeleton-pulse 1.5s ease-in-out infinite; }
.skeleton.w-70 { width: 120px; }
.skeleton.w-40 { width: 60px; }
@keyframes skeleton-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.data-row.result {
  opacity: 0; transform: translateX(-20px); animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.data-row.delay-1 { animation-delay: 1.5s; }
.data-row.delay-2 { animation-delay: 3s; }
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

.route-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.route-info { flex: 1; }
.route-name { font-weight: 600; color: var(--text-main); font-size: 0.95rem; margin-bottom: 4px; }
.route-price { font-size: 0.85rem; color: var(--text-muted); }
.route-price span { color: var(--accent-1); font-weight: 700; margin-left: 6px; }

.reward-pill {
  padding: 6px 12px; background: rgba(139, 92, 246, 0.2); border: 1px solid rgba(139, 92, 246, 0.4);
  color: #fff; font-size: 0.8rem; font-weight: 700; border-radius: 50px;
}
.earnings-float {
  margin: auto 24px 24px; padding: 16px; background: var(--gradient-neon); border-radius: var(--radius-md);
  text-align: center; color: #fff; font-weight: 500; opacity: 0; transform: translateY(20px);
  animation: slideUpFloat 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 4.5s;
}
.earnings-float strong { font-size: 1.2rem; }
@keyframes slideUpFloat { to { opacity: 1; transform: translateY(0); box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4); } }

/* Sections */
.section { padding: 100px 0; position: relative; }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 16px; color: var(--text-main); letter-spacing: -1px; }
.section-kicker { text-align: center; color: var(--accent-1); font-size: 1.1rem; margin-bottom: 60px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }

/* Grids & Premium Cards */
.grid { display: grid; gap: 32px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }

.card {
  background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 40px; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--gradient-neon); opacity: 0; transition: 0.4s;
}
.card:hover { 
  transform: translateY(-12px); border-color: rgba(255,255,255,0.15); 
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(139, 92, 246, 0.1); 
  background: var(--bg-surface-hover);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 60px; height: 60px; border-radius: 20px; background: rgba(0, 242, 254, 0.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  margin-bottom: 24px; border: 1px solid rgba(0, 242, 254, 0.2);
}
.card h2 { font-size: 1.6rem; margin-bottom: 16px; color: var(--text-main); }
.card p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }
.card ul { list-style: none; padding: 0; margin-top: 24px; }
.card ul li { 
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); 
  color: var(--text-muted); display: flex; align-items: start; gap: 16px; font-size: 1.05rem;
}
.card ul li::before { content: '✓'; color: var(--accent-1); font-weight: bold; background: rgba(0,242,254,0.1); width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; font-size: 0.8rem; }
.card ul li:last-child { border-bottom: none; }
.card strong { color: var(--text-main); font-weight: 600; }

/* Contact Specific UI */
.contact-links { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-pill {
  display: flex; align-items: center; padding: 16px 20px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  color: var(--text-muted); font-family: var(--font-body); transition: 0.3s;
}
.contact-pill span {
  background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 50px;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); margin-right: 16px; font-weight: 600;
}
.contact-pill:hover { background: rgba(0, 242, 254, 0.05); border-color: rgba(0,242,254,0.3); color: var(--text-main); transform: translateX(8px); text-shadow: none; }

/* Screenshots Carousel Grid */
.shots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.shot-figure { text-align: center; }
.shot-figure .shot-card { 
  background: var(--glass-bg); padding: 12px; border: 1px solid var(--glass-border); 
  border-radius: var(--radius-lg); transition: 0.4s; position: relative; overflow: hidden;
}
.shot-figure:hover .shot-card { 
  transform: translateY(-15px) scale(1.03); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(139, 92, 246, 0.2); 
  border-color: rgba(139, 92, 246, 0.4);
}
.shot-figure figcaption { margin-top: 24px; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--text-main); }

/* Footer */
footer { border-top: 1px solid var(--glass-border); padding: 60px 24px; text-align: center; color: var(--text-muted); background: #000; position: relative; z-index: 2; }
.footer-links { display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; }
.footer-links a { color: var(--text-muted); font-weight: 500; }
.footer-links a:hover { color: var(--text-main); text-shadow: none; }

/* Legal Page Overrides */
.legal-main { padding-top: 160px; max-width: 900px; }
.page-title { font-size: clamp(3rem, 6vw, 4.5rem); text-align: center; margin-bottom: 20px; background: var(--gradient-glow); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -1px; }
.page-subtitle { text-align: center; font-size: 1.25rem; color: var(--text-muted); margin-bottom: 60px; font-weight: 300; }
.legal-doc { padding: 60px; background: rgba(17, 24, 39, 0.4); border: 1px solid var(--glass-border); box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
.legal-intro p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; }
.legal-intro em { color: var(--text-main); font-style: normal; font-weight: 500; font-size: 1.25rem; }
.legal-toc { background: rgba(0,0,0,0.4); border-radius: var(--radius-md); padding: 32px; margin: 40px 0; border: 1px solid rgba(255,255,255,0.05); }
.legal-toc-title { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; color: var(--accent-1); }
.legal-toc ol { padding-left: 20px; }
.legal-toc li { margin-bottom: 12px; font-size: 1.05rem; }
.legal-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.legal-section h2 { color: var(--text-main); margin-bottom: 24px; font-size: 2rem; display: flex; align-items: center; gap: 16px; }
.legal-section h2::before { content: ''; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gradient-neon); }
.legal-section p, .legal-section ul { color: var(--text-muted); margin-bottom: 20px; font-size: 1.1rem; line-height: 1.8; }
.legal-section ul { padding-left: 24px; list-style-type: disc; }
.legal-section ul li { margin-bottom: 12px; color: var(--text-muted); padding: 0; border: none; display: list-item; font-size: 1.1rem; }
.legal-section ul li::before { display: none; }
.legal-meta { margin-top: 60px; padding: 32px; border-radius: var(--radius-md); background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }
.legal-meta-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.legal-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.legal-meta-row span { font-weight: 800; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.back-link { margin-top: 40px; text-align: center; }

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 50px; margin-top: 40px; }
  .hero-inner { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .floating-card { transform: none; max-width: 320px; margin: 0 auto; }
  .floating-card:hover { transform: translateY(-10px); }
  .nav-links { display: none; } /* Simplified mobile nav */
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .legal-doc { padding: 32px 24px; }
  .legal-meta-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}
