/* =============================================
   PRODUCT TRAIL — GLOBAL DESIGN SYSTEM
   ============================================= */

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

/* ── CSS Variables ──────────────────────────── */
:root {
  /* Colors */
  --clr-bg: #05050e;
  --clr-bg-alt: #0a0a1a;
  --clr-surface: rgba(255, 255, 255, 0.04);
  --clr-surface-md: rgba(255, 255, 255, 0.08);
  --clr-border: rgba(255, 255, 255, 0.08);
  --clr-border-glow: rgba(124, 58, 237, 0.4);

  /* Brand */
  --clr-primary: #7C3AED;
  --clr-primary-light: #9d5ff5;
  --clr-primary-glow: rgba(124, 58, 237, 0.25);
  --clr-accent: #06B6D4;
  --clr-accent-glow: rgba(6, 182, 212, 0.25);
  --clr-gold: #F59E0B;
  --clr-green: #10B981;
  --clr-pink: #EC4899;

  /* Text */
  --clr-text-primary: #F0F4FF;
  --clr-text-secondary: rgba(240, 244, 255, 0.6);
  --clr-text-muted: rgba(240, 244, 255, 0.35);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow-primary: 0 0 30px rgba(124, 58, 237, 0.35),
    0 0 60px rgba(124, 58, 237, 0.15);
  --shadow-glow-accent: 0 0 30px rgba(6, 182, 212, 0.35),
    0 0 60px rgba(6, 182, 212, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --shadow-card-hover: 0 8px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(124, 58, 237, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* ── Aurora Background ──────────────────────── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.aurora-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  animation: auroraDrift1 15s ease-in-out infinite alternate;
}

.aurora-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  animation: auroraDrift2 18s ease-in-out infinite alternate;
}

@keyframes auroraDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(15%, 10%) scale(1.1);
  }
}

@keyframes auroraDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-10%, -15%) scale(1.15);
  }
}

/* ── Particle Canvas ────────────────────────── */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

/* ── Noise Texture Overlay ───────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.4;
}

/* ── Typography ─────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

.text-display {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.text-hero {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.text-card-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #06B6D4 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: gradientShift 5s ease infinite;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

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

.section-pad {
  padding: var(--space-3xl) 0;
}

.section-pad-sm {
  padding: var(--space-2xl) 0;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.grid {
  display: grid;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

.text-center {
  text-align: center;
}

/* ── Glassmorphism Card ──────────────────────── */
.glass-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--transition-slow),
    box-shadow var(--transition-slow),
    border-color var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--clr-border-glow);
}

.glass-card-solid {
  background: rgba(20, 16, 40, 0.8);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), #5b21b6);
  color: white;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
  background: var(--clr-surface-md);
  color: var(--clr-text-primary);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--clr-surface);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--clr-accent), #0891b2);
  color: white;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary-light);
  border: 1px solid var(--clr-primary);
}

.btn-outline:hover {
  background: var(--clr-primary-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

/* ── Badges / Tags ───────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-purple {
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.badge-teal {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-pink {
  background: rgba(236, 72, 153, 0.15);
  color: #f9a8d4;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

/* ── Navbar ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px var(--space-lg);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(5, 5, 14, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--clr-border);
  padding: 12px var(--space-lg);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav-links a:hover {
  color: var(--clr-text-primary);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ── Scroll Reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ── Section Label ───────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-primary-light);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
}

/* ── Stats Number ────────────────────────────── */
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--clr-text-primary), rgba(240, 244, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Form Inputs ─────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--clr-text-muted);
}

.form-select option {
  background: #13111f;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--clr-border);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--clr-text-secondary);
  font-size: 0.9375rem;
  margin-top: var(--space-md);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--clr-text-secondary);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--clr-text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-border);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--clr-surface-md);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--clr-primary-glow);
  border-color: var(--clr-primary);
  color: var(--clr-text-primary);
  transform: translateY(-2px);
}

/* ── Modal ───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #0e0b1f;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-slow);
  position: relative;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--clr-surface-md);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--clr-surface);
  color: var(--clr-text-primary);
}

/* ── Toast Notification ──────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: rgba(20, 16, 40, 0.95);
  border: 1px solid var(--clr-primary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--clr-text-primary);
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-slow);
  max-width: 360px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── Divider ─────────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 3px;
  margin: var(--space-md) 0;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

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

  .hamburger {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 14, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .modal-box {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-actions .btn:last-child {
    display: inline-flex;
  }
}

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.7);
}

/* ── Icons (Lucide) ──────────────────────────── */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  width: 1.25em;
  height: 1.25em;
  stroke: currentColor;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.logo-icon [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 3px;
  color: white;
}

.nav-links a.active {
  color: var(--clr-primary-light);
}

.btn [data-lucide] {
  width: 1.1em;
  height: 1.1em;
}

.section-label [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 3px;
}

.feature-icon [data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2.5px;
}

.benefit-card-icon [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--clr-primary-light);
}

.success-icon-wrap [data-lucide] {
  width: 32px;
  height: 32px;
  color: var(--clr-green);
}

/* ── Glow Dot ────────────────────────────────── */
.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-green);
  box-shadow: 0 0 8px var(--clr-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

/* ── Selection ───────────────────────────────── */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--clr-text-primary);
}