/* ===== CSS CUSTOM PROPERTIES (DESIGN TOKENS) ===== */
:root {
  /* Color Palette - Cool Purple Theme */
  --primary-hue: 265;
  --secondary-hue: 265;
  --accent-hue: 265;

  --color-primary: hsl(var(--primary-hue), 85%, 65%);
  --color-primary-light: hsl(var(--primary-hue), 85%, 75%);
  --color-primary-dark: hsl(var(--primary-hue), 85%, 55%);

  --color-secondary: hsl(var(--secondary-hue), 80%, 60%);
  --color-accent: hsl(var(--accent-hue), 75%, 65%);

  --gradient-primary: linear-gradient(135deg,
      hsl(265, 85%, 65%),
      hsl(265, 75%, 55%));
  --gradient-accent: linear-gradient(135deg,
      hsl(265, 75%, 60%),
      hsl(265, 85%, 70%));
  --gradient-hero: linear-gradient(135deg,
      hsl(265, 85%, 65%) 0%,
      hsl(265, 75%, 55%) 50%,
      hsl(265, 70%, 50%) 100%);

  /* Neutral Colors */
  --color-bg: hsl(240, 15%, 8%);
  --color-bg-light: hsl(240, 12%, 12%);
  --color-bg-lighter: hsl(240, 10%, 18%);
  --color-text: hsl(0, 0%, 95%);
  --color-text-muted: hsl(0, 0%, 70%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 50rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(138, 99, 210, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: #050207;
  /* Deepest black/purple - zynth.cc style */
  overflow-x: hidden;
  position: relative;
}

/* ===== AURORA BACKGROUND (ZYNTH.CC STYLE) ===== */

/* The Aurora Container */
.aurora-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 900px;
  /* How far down the glow goes */
  z-index: -1;
  /* Puts it behind everything */
  overflow: hidden;
  pointer-events: none;
  opacity: 0.7;
  /* Adjust brightness here (0.1 to 1.0) */

  /* Smooth fade out at the bottom */
  mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

/* The Animated Gradient Mesh */
.aurora-top-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  /* The Colors (Purple, Blue, Cyan, Black mix) */
  background: conic-gradient(from 0deg at 50% 50%,
      #000000 0deg,
      #4c1d95 60deg,
      /* Deep Purple */
      #8b5cf6 100deg,
      /* Bright Purple */
      #0ea5e9 180deg,
      /* Cyan/Blue */
      #8b5cf6 260deg,
      /* Bright Purple */
      #4c1d95 300deg,
      /* Deep Purple */
      #000000 360deg);

  /* The Blur (Makes it look like gas/clouds) */
  filter: blur(100px);

  /* The Spin Animation */
  animation: aurora-spin 25s linear infinite;
}

/* Animation Keyframes */
@keyframes aurora-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== AURORA BACKGROUND ===== */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(to bottom right,
      hsl(220, 70%, 15%) 0%,
      hsl(250, 60%, 12%) 30%,
      hsl(270, 50%, 10%) 60%,
      hsl(280, 40%, 8%) 100%);
}

.aurora-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse at 20% 30%,
      hsla(210, 100%, 60%, 0.4) 0%,
      hsla(220, 100%, 65%, 0.3) 15%,
      hsla(230, 100%, 70%, 0.2) 30%,
      transparent 60%);
  animation: aurora-float 20s ease-in-out infinite;
  filter: blur(60px);
}

.aurora-bg::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -25%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 80% 40%,
      hsla(270, 100%, 60%, 0.35) 0%,
      hsla(280, 100%, 65%, 0.25) 15%,
      hsla(290, 100%, 70%, 0.15) 30%,
      transparent 60%);
  animation: aurora-float 25s ease-in-out infinite reverse;
  filter: blur(60px);
}

@keyframes aurora-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  33% {
    transform: translate(-5%, 5%) scale(1.1);
    opacity: 0.8;
  }

  66% {
    transform: translate(5%, -5%) scale(1.05);
    opacity: 0.9;
  }
}

/* Additional aurora layer for depth */
.aurora-bg {
  background:
    radial-gradient(ellipse at bottom, hsl(240, 25%, 8%) 0%, hsl(240, 30%, 3%) 100%),
    radial-gradient(ellipse at 50% 50%,
      hsla(265, 70%, 40%, 0.12) 0%,
      hsla(265, 60%, 30%, 0.06) 40%,
      transparent 70%);
}

/* Override with better animations */
.aurora-bg::before {
  animation: aurora-drift-left 28s ease-in-out infinite;
  filter: blur(90px);
  background:
    radial-gradient(ellipse at 25% 35%,
      hsla(265, 100%, 70%, 0.45) 0%,
      hsla(265, 95%, 65%, 0.35) 15%,
      hsla(265, 90%, 60%, 0.2) 35%,
      hsla(265, 85%, 55%, 0.1) 55%,
      transparent 75%),
    radial-gradient(ellipse at 15% 65%,
      hsla(265, 90%, 68%, 0.3) 0%,
      hsla(265, 85%, 62%, 0.18) 25%,
      hsla(265, 80%, 58%, 0.08) 50%,
      transparent 70%);
}

.aurora-bg::after {
  animation: aurora-drift-right 32s ease-in-out infinite;
  filter: blur(85px);
  background:
    radial-gradient(ellipse at 75% 30%,
      hsla(265, 95%, 72%, 0.4) 0%,
      hsla(265, 90%, 66%, 0.28) 18%,
      hsla(265, 85%, 60%, 0.15) 38%,
      hsla(265, 80%, 55%, 0.08) 58%,
      transparent 75%),
    radial-gradient(ellipse at 85% 70%,
      hsla(265, 88%, 65%, 0.32) 0%,
      hsla(265, 82%, 60%, 0.16) 28%,
      transparent 60%);
}

@keyframes aurora-drift-left {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.95;
  }

  20% {
    transform: translate(-4%, 3%) scale(1.06) rotate(1.5deg);
    opacity: 1;
  }

  40% {
    transform: translate(2%, -2%) scale(1.08) rotate(-1deg);
    opacity: 0.92;
  }

  60% {
    transform: translate(-3%, 4%) scale(1.04) rotate(0.8deg);
    opacity: 0.97;
  }

  80% {
    transform: translate(1%, -3%) scale(1.07) rotate(-1.2deg);
    opacity: 0.94;
  }
}

@keyframes aurora-drift-right {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.9;
  }

  25% {
    transform: translate(3%, -4%) scale(1.05) rotate(-1.3deg);
    opacity: 0.95;
  }

  50% {
    transform: translate(-2%, 3%) scale(1.09) rotate(1.1deg);
    opacity: 1;
  }

  75% {
    transform: translate(4%, -2%) scale(1.03) rotate(-0.9deg);
    opacity: 0.88;
  }
}

/* ===== PILL-SHAPED HEADER ===== */
.header {
  position: fixed;
  top: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: 800px;
  padding: 0.6rem 1.5rem;

  background: rgba(15, 10, 25, 0.4);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(180, 120, 255, 0.2);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(138, 99, 210, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);

  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(15, 10, 25, 0.6);
  border-color: rgba(180, 120, 255, 0.3);
  box-shadow: 0 8px 32px rgba(138, 99, 210, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--font-size-lg);
  transition: transform var(--transition-fast);
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  height: 32px;
  width: auto;
  transition: filter var(--transition-fast);
}

.header-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(138, 99, 210, 0.5));
}

.header-nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
  color: var(--color-primary-light);
}



/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
  overflow: visible;
}





.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
  font-weight: 300;
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typewriter {
  display: inline-block;
  border-right: 2px solid var(--color-primary);
  padding-right: 4px;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    border-color: var(--color-primary);
  }

  50% {
    border-color: transparent;
  }
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(180, 120, 255, 0.3);
}

.hero-cta:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(180, 120, 255, 0.5);
}


/* ===== TRUST INDICATORS SECTION ===== */
.trust-section {
  padding: var(--spacing-lg) var(--spacing-md);
  background: rgba(20, 15, 30, 0.25);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(180, 120, 255, 0.1);
  border-bottom: 1px solid rgba(180, 120, 255, 0.1);
}

.trust-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto var(--spacing-sm);
}

.trust-stat {
  text-align: center;
  padding: var(--spacing-xs) var(--spacing-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.trust-stat:hover {
  transform: translateY(-3px) scale(1.05);
}

.trust-number {
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.trust-stat:hover .trust-number {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.trust-label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.trust-stat:hover .trust-label {
  opacity: 1;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  max-width: 650px;
  margin: 0 auto;
}

.trust-badge {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(180, 120, 255, 0.2);
  border-radius: var(--radius-pill);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: default;
}

.trust-badge:hover {
  background: rgba(138, 99, 210, 0.15);
  border-color: rgba(180, 120, 255, 0.5);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 99, 210, 0.25);
}


/* ===== PRODUCTS SECTION ===== */
.products {
  padding: var(--spacing-2xl) var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.product-card {
  background: rgba(20, 15, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(180, 120, 255, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.product-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(180, 120, 255, 0.5);
  box-shadow: 0 12px 40px rgba(138, 99, 210, 0.3),
    0 0 0 1px rgba(180, 120, 255, 0.3);
  background: rgba(25, 20, 35, 0.8);
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, hsl(265, 70%, 45%), hsl(265, 60%, 35%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.product-card:hover .product-image::before {
  left: 100%;
}

.product-info {
  padding: var(--spacing-md);
}

.product-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.product-description {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-md);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-md);
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-button {
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(15, 10, 25, 0.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(180, 120, 255, 0.2);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary-light);
}

.footer-text {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .header {
    width: 95%;
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .header-nav {
    gap: var(--spacing-sm);
  }

  .nav-link {
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}