/* Modern Dynamic Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@700;800&display=swap');

:root {
  /* Colors - Deep Premium Palette */
  --bg-dark: #030610;
  --bg-card: rgba(15, 23, 42, 0.4);
  --bg-card-hover: rgba(30, 41, 59, 0.6);
  --text-main: #ffffff;
  --text-muted: #94a3b8;

  /* Brand Colors */
  --brand-primary: #3b82f6;
  --brand-glow: rgba(59, 130, 246, 0.6);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.5);

  /* Utilities */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --glass-blur: 16px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;

  /* Animation */
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base & Noise Texture */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Cinematic Noise Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Glow Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  animation: pulse-glow 10s ease-in-out infinite alternate;
}

.orb-1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
}

.orb-2 {
  bottom: 10%;
  right: -20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.1) translate(20px, -20px);
    opacity: 0.6;
  }
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 60px rgba(59, 130, 246, 0.2);
}

h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 4rem;
}

p {
  color: var(--text-muted);
  font-size: 1.25rem;
  font-weight: 300;
}

/* Glass Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(3, 6, 16, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

.nav-links a:hover {
  color: #fff;
}

/* Dynamic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-elastic);
  position: relative;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.6);
  background: #2563eb;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  transform: scale(0);
  transition: transform 0.6s ease-out;
}

.btn-primary:active::after {
  transform: scale(1);
  opacity: 0;
  transition: 0s;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(5px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 3D Hero Section - Static Version */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* perspective removed */
}

/* Updated for centering and spacing */
.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 100px;
  /* Increased from 60px to 100px for padding */
  opacity: 0;
  animation: fade-in-up 0.8s var(--ease-out) forwards;
}

.hero p {
  font-size: 1.4rem;
  margin: 1.5rem auto 3rem;
  max-width: 650px;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Video Frame - Static */
.video-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  animation: hero-enter 1s 0.3s var(--ease-out) forwards;
  transform: translateY(30px);
  /* Simple slide up instead of 3D */
}

.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  /* Transform removed */
  transition: transform 0.4s ease-out;
}

.video-frame:hover {
  transform: scale(1.01);
  /* Subtle scale only */
}

/* Floating Reflection */
.video-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}

.video-container {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000;
  /* aspect-ratio removed to allow natural video size */
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

video {
  width: 100%;
  height: auto;
  /* Changed from 100% to auto to respect aspect ratio */
  display: block;
  /* Removes bottom space */
}

/* Feature Grid - Bento Style */
.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.col-span-2 {
  grid-column: span 2;
}

.row-span-2 {
  grid-row: span 2;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .row-span-2 {
    grid-row: span 1;
  }

  .feature-card {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Hover Effects */
.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Background Gradients for Cards */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
}

/* Visual Elements (CSS Graphics) - Animations Removed */
.feature-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  min-height: 120px;
}

/* 1. Timeline Visual */
.timeline-ui {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.thumb {
  position: absolute;
  top: 50%;
  left: 30%;
  /* Fixed position */
  width: 40px;
  height: 24px;
  background: var(--brand-primary);
  border-radius: 4px;
  transform: translateY(-50%);
  box-shadow: 0 0 15px var(--brand-glow);
}

.track-line {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

/* 2. AI Scanner Visual */
.scanner-ui {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-ui::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-top-color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  border-radius: 14px;
  transform: rotate(45deg);
  /* Fixed rotation */
}

.target-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent);
}

.scan-line {
  position: absolute;
  left: 0;
  top: 50%;
  /* Fixed position */
  width: 100%;
  height: 2px;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
}

/* 3. Stats Card Visual */
.stats-ui {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 60px;
}

.stat-bar {
  width: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.stat-bar:nth-child(1) {
  height: 40%;
}

.stat-bar:nth-child(2) {
  height: 70%;
  background: var(--brand-primary);
  box-shadow: 0 0 15px var(--brand-glow);
}

.stat-bar:nth-child(3) {
  height: 50%;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Pricing Section */
.pricing {
  padding: 120px 0;
  background: linear-gradient(to bottom, transparent, rgba(3, 6, 16, 0.8), transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  /* Center to make middle card pop */
}

.pricing-card {
  padding: 3rem;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  backdrop-filter: blur(10px);
}

.pricing-card.popular {
  background: rgba(15, 23, 42, 0.6);
  border-color: var(--brand-primary);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
  transform: scale(1.05);
  z-index: 10;
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.05em;
}

.price span {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}

.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.check {
  color: var(--brand-primary);
  font-weight: 800;
}

/* FAQ */
.faq {
  padding: 100px 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 0;
  transition: background 0.3s;
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}

.icon {
  font-size: 1.5rem;
  color: var(--brand-primary);
  transition: transform 0.3s;
}

.accordion-item.active .icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.accordion-content {
  margin-top: 1.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.accordion-item.active .accordion-content {
  opacity: 1;
  max-height: 200px;
}

/* Footer */
footer {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  background: rgba(3, 6, 16, 0.8);
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(100px) rotateX(20deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(5deg);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .video-frame {
    transform: rotateX(0);
  }
}