@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --color-bg-dark: #070B19;
  --color-bg-light: #0B1120;
  --color-bg-lighter: #111827;
  --color-primary: #3B82F6;
  --color-primary-glow: rgba(59, 130, 246, 0.3);
  --color-accent: #22D3EE;
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;
  --color-border: rgba(255, 255, 255, 0.1);

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-section: 8rem;

  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 60px var(--color-primary-glow);
  --shadow-image: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

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

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

p {
  color: var(--color-text-secondary);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section-alt {
  background-color: var(--color-bg-light);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) 0;
  background: rgba(7, 11, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
}

.play-badge {
  height: 48px;
  transition: transform 0.2s ease;
}

.play-badge:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px; /* Offset for header */
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-bg-dark) 20%, transparent 100%),
              linear-gradient(to top, var(--color-bg-dark) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
}

.hero-image {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}

/* Feature Sections */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-grid.reverse .feature-text {
  order: 2;
}

.feature-grid.reverse .feature-image-wrapper {
  order: 1;
}

.feature-text {
  max-width: 500px;
}

.feature-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-image);
  border: 1px solid var(--color-border);
}

.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--color-primary);
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
  border-radius: 50%;
}

/* Pricing Section */
.pricing {
  text-align: center;
}

.pricing-content {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-image {
  max-width: 500px;
  margin: var(--space-xl) auto 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-image);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.premium {
  background: rgba(11, 17, 32, 0.6);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  align-self: flex-start;
}

.plan-badge.premium-badge {
  background: var(--color-primary);
  color: #FFFFFF;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.1rem;
  color: var(--color-text-primary);
}

.check-icon {
  color: var(--color-text-secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

.check-icon.premium-icon {
  color: var(--color-accent);
}


/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-lighter) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--color-primary-glow) 0%, transparent 60%);
  z-index: 0;
}

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

/* Footer */
.footer {
  background-color: #040710;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo-icon {
  height: 72px;
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 7px;
}

.footer-logo-text {
  height: 50px;
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-text-primary);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .hero-overlay {
    background: linear-gradient(to top, var(--color-bg-dark) 40%, transparent 100%);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: var(--space-xl);
  }

  .hero-text {
    margin: 0 auto;
  }

  .hero-image-wrapper {
    display: none; /* Hide hero image on mobile to focus on video & text */
  }

  .feature-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .feature-grid.reverse .feature-text {
    order: 1;
  }

  .feature-grid.reverse .feature-image-wrapper {
    order: 2;
  }

  .feature-text {
    margin: 0 auto;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --space-section: 5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}
