:root {
  --landing-primary: #7c3aed;
  --landing-primary-hover: #6d28d9;
  --landing-primary-light: rgba(124, 58, 237, 0.1);

  --landing-secondary: #06b6d4;
  --landing-secondary-hover: #0891b2;

  --landing-accent: #ec4899;

  --landing-bg-dark: #0f0f23;
  --landing-bg-medium: #1a1a2e;
  --landing-bg-card: #16162a;
  --landing-border: rgba(255, 255, 255, 0.08);
  --landing-text: #f8fafc;
  --landing-text-muted: #94a3b8;
  --landing-text-subtle: #64748b;

  --landing-gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --landing-gradient-bg: linear-gradient(
    135deg,
    #0f0f23 0%,
    #1a1a2e 50%,
    #16162a 100%
  );

  /* Shadows */
  --landing-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --landing-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --landing-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --landing-shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);

  /* Animation */
  --landing-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*------------------------------------------------------------------
[1. Base Styles]
-------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--landing-bg-dark);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--landing-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/*------------------------------------------------------------------
[2. Navigation]
-------------------------------------------------------------------*/
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  transition: var(--landing-transition);
}

.landing-nav.scrolled {
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--landing-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--landing-text);
  font-size: 20px;
  font-weight: 700;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--landing-gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon i {
  font-size: 18px;
  color: white;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

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

.nav-link {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--landing-transition);
}

.nav-link:hover {
  color: var(--landing-text);
}

.nav-btn {
  padding: 10px 24px;
  background: var(--landing-gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--landing-transition);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  color: white;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--landing-border);
  border-radius: 8px;
  color: var(--landing-text);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(15, 15, 35, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--landing-border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-link {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--landing-border);
}

.mobile-link-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  background: var(--landing-gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 8px;
}

/*------------------------------------------------------------------
[3. Hero Section]
-------------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 30% 20%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(236, 72, 153, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(6, 182, 212, 0.05) 0%,
      transparent 60%
    );
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.05) translate(2%, 2%);
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--landing-primary-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--landing-primary);
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 12px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gradient-text {
  background: var(--landing-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--landing-text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-primary-landing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--landing-gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--landing-transition);
}

.btn-primary-landing:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
  color: white;
}

.btn-primary-landing.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

.btn-secondary-landing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--landing-border);
  color: var(--landing-text);
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--landing-transition);
}

.btn-secondary-landing:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--landing-text);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--landing-text);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--landing-text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--landing-border);
}

@media (max-width: 576px) {
  .stat-divider {
    display: none;
  }
  .hero-stats {
    gap: 24px;
  }
}

/*------------------------------------------------------------------
[4. Section Styles]
-------------------------------------------------------------------*/
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--landing-primary-light);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--landing-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--landing-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/*------------------------------------------------------------------
[5. Video Examples Section]
-------------------------------------------------------------------*/
.examples {
  padding: 100px 0;
  background: var(--landing-bg-medium);
  position: relative;
}

.examples::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--landing-border),
    transparent
  );
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-card {
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--landing-transition);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--landing-shadow-lg);
  border-color: rgba(124, 58, 237, 0.3);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--landing-bg-dark);
  overflow: hidden;
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--landing-transition);
}

.play-btn {
  width: 64px;
  height: 64px;
  background: var(--landing-gradient-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--landing-transition);
}

.play-btn i {
  font-size: 24px;
  color: white;
  margin-left: 4px;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.video-badge i {
  color: var(--landing-accent);
}

.video-info {
  padding: 20px;
}

.video-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.video-info p {
  font-size: 13px;
  color: var(--landing-text-muted);
  margin: 0;
}

/*------------------------------------------------------------------
[6. Features Section]
-------------------------------------------------------------------*/
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  transition: var(--landing-transition);
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--landing-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--landing-primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--landing-text-muted);
  line-height: 1.6;
  margin: 0;
}

/*------------------------------------------------------------------
[7. How It Works Section]
-------------------------------------------------------------------*/
.how-it-works {
  padding: 100px 0;
  background: var(--landing-bg-medium);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--landing-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--landing-text-muted);
  margin: 0;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--landing-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon i {
  font-size: 20px;
  color: var(--landing-primary);
}

.step-connector {
  width: 2px;
  height: 40px;
  background: var(--landing-border);
  margin: 0 auto;
}

@media (max-width: 576px) {
  .step {
    flex-wrap: wrap;
  }
  .step-icon {
    display: none;
  }
}

/*------------------------------------------------------------------
[8. CTA Section]
-------------------------------------------------------------------*/
.cta {
  padding: 100px 24px;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(124, 58, 237, 0.15) 0%,
    transparent 60%
  );
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
  padding: 60px 40px;
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 24px;
}

.cta-content h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: var(--landing-text-muted);
  margin-bottom: 32px;
}

/*------------------------------------------------------------------
[9. Footer]
-------------------------------------------------------------------*/
.landing-footer {
  padding: 60px 24px 24px;
  background: var(--landing-bg-medium);
  border-top: 1px solid var(--landing-border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 3fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--landing-text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 576px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--landing-text);
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: var(--landing-text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--landing-transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--landing-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--landing-text-subtle);
}
