/* ==========================================================================
   Paratonel Elektrik — Main Stylesheet
   Design System: CSS Custom Properties (Single Source of Truth)
   Author: Paratonel Elektrik Dev Team
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS — Edit colors here to change the entire site theme
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --color-primary: #0A0E1A;
  --color-primary-light: #0F1F3D;
  --color-secondary: #F5A623;
  --color-secondary-dark: #D4891A;
  --color-accent: #1E90FF;
  --color-accent-dark: #1570CC;

  /* Surface Colors */
  --color-surface: #111827;
  --color-surface-2: #1C2844;
  --color-surface-3: #243057;
  --color-border: rgba(245, 166, 35, 0.15);
  --color-border-subtle: rgba(255, 255, 255, 0.06);

  /* Text Colors */
  --color-text: #E8EDF5;
  --color-text-muted: #8B9CB8;
  --color-text-dark: #0A0E1A;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(10, 14, 26, 0.85) 0%, rgba(15, 31, 61, 0.75) 50%, rgba(10, 22, 40, 0.88) 100%);
  --gradient-gold: linear-gradient(135deg, #F5A623 0%, #FF8C00 100%);
  --gradient-accent: linear-gradient(135deg, #1E90FF 0%, #006DDC 100%);
  --gradient-card: linear-gradient(145deg, #1C2844, #111827);

  /* Glassmorphism */
  --glass-bg: rgba(10, 14, 26, 0.88);
  --glass-bg-top: linear-gradient(180deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.0) 100%);
  --glass-border: rgba(245, 166, 35, 0.18);
  --glass-blur: blur(24px);
  --glass-saturate: saturate(180%);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 30px rgba(245, 166, 35, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --nav-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  /* Scroll timeline scope for scroll-driven animations */
  timeline-scope: --tl-features, --tl-stats, --tl-products;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   3. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

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

.text-gold {
  color: var(--color-secondary);
}

.text-accent {
  color: var(--color-accent);
}

.text-muted {
  color: var(--color-text-muted);
}

.hidden {
  display: none !important;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. SCROLL-REVEAL ANIMATION SYSTEM
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

/* Reduced motion: disable animations */
@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. NAVBAR
   -------------------------------------------------------------------------- */

/**
 * Two visual states:
 *   1. At top (.navbar — no .scrolled): transparent gradient fading to clear,
 *      ensuring hero text stays readable beneath the nav.
 *   2. Scrolled (.navbar.scrolled): solid glassmorphism panel with blur/border.
 */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  z-index: 1000;
  height: 72px;
  border-radius: 100px;

  /* Top-of-page: subtle dark glass */
  background: rgba(10, 14, 26, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);

  /* Smooth transition for all state changes */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar .container {
  height: 100%;
}

/* ---------- Scrolled state ---------- */
.navbar.scrolled {
  top: 1rem;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(245, 166, 35, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 166, 35, 0.1);
}

/* ---------- Inner layout ---------- */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
  gap: var(--space-md);
}

/* ---------- Logo ---------- */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  text-decoration: none;
  /* Subtle lift on hover */
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.navbar-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.35);
  transition: box-shadow var(--transition-base);
}

.navbar-logo:hover .logo-icon {
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.55);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  white-space: nowrap;
}

.logo-text span {
  color: var(--color-secondary);
}

/* ---------- Desktop nav links ---------- */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(232, 237, 245, 0.75);
  background: transparent !important;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

/* Animated Underline Effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Active section link */
.nav-link.active {
  color: var(--color-secondary);
}

/* ---------- Right controls wrapper ---------- */
.navbar-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 1;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: rgba(139, 156, 184, 0.85);
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.35);
}

/* ---------- Hamburger button ---------- */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-fast);
}

.navbar-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
  transform-origin: center;
}

.navbar-hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile Menu ---------- */
.navbar-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
  padding: var(--space-lg) var(--space-xl);
  /* Hidden above viewport */
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
  z-index: 999;
}

.navbar-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem var(--space-md);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(232, 237, 245, 0.75);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Animated grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(245, 166, 35, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 166, 35, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(60px);
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: particle-float linear infinite;
  opacity: 0;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-20vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  border: 1px solid rgba(245, 166, 35, 0.35);
  padding: 6px var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  animation: fade-down 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  animation: fade-up 0.8s ease 0.1s both;
}

.hero-title .line-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: var(--space-2xl);
  animation: fade-up 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
  animation: fade-up 0.8s ease 0.3s both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  animation: fade-up 0.8s ease 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

.hero-stat-value span {
  color: var(--color-secondary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-up 1s ease 0.8s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

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

  75% {
    transform: translateY(12px);
    opacity: 0;
  }
}

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

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

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

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

@keyframes pulse-dot {

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

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* --------------------------------------------------------------------------
   8. FEATURES SECTION
   -------------------------------------------------------------------------- */
.features {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: rgba(245, 166, 35, 0.18);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.25);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   9. HOW IT WORKS SECTION
   -------------------------------------------------------------------------- */
.how-it-works {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(30, 144, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.how-it-works-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.how-it-works-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.how-it-works-image:hover img {
  transform: scale(1.04);
}

.how-it-works-image-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.how-it-works-image-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-secondary);
}

.how-it-works-image-badge span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: var(--space-xl);
  position: relative;
}

.timeline-item:not(:last-child) .timeline-line {
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(245, 166, 35, 0.4), rgba(245, 166, 35, 0.05));
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--color-text-dark);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
  z-index: 1;
  position: relative;
}

.timeline-content {
  padding-bottom: var(--space-2xl);
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  padding-top: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. STATS SECTION
   -------------------------------------------------------------------------- */
.stats {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5A623' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.stat-item {
  background: var(--color-primary);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-base);
}

.stat-item:hover {
  background: var(--color-surface);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-suffix {
  font-size: 0.6em;
  color: var(--color-text-muted);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   11. PRODUCTS SECTION
   -------------------------------------------------------------------------- */
.products {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  transform-style: preserve-3d;
}

.product-card:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 166, 35, 0.1);
}

.product-card.featured {
  border-color: rgba(245, 166, 35, 0.3);
}

.product-badge {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 10;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-badge.popular {
  background: var(--gradient-gold);
  color: var(--color-text-dark);
}

.product-badge.new {
  background: var(--gradient-accent);
  color: #fff;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.9) 0%, transparent 60%);
}

.product-body {
  padding: var(--space-xl);
}

.product-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.product-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.product-specs {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.product-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text);
}

.spec-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.product-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   11.5 GALLERY SECTION
   -------------------------------------------------------------------------- */
.gallery {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  transform: translateZ(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 0.4;
}

.gallery-item.hidden-item {
  display: none !important;
}

/* --------------------------------------------------------------------------
   12. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  transition: transform var(--transition-slow);
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.2);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.6;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--color-text-dark);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.testimonial-stars {
  color: var(--color-secondary);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   13. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -300px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.contact-info p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 0.9375rem;
  color: var(--color-text);
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-group.full {
  grid-column: 1/-1;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input,
.form-textarea,
.form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem var(--space-md);
  color: var(--color-text);
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5' stroke='%238B9CB8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--color-surface);
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

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

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

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

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   15. FLOATING CTA BUTTON (mobile)
   -------------------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 900;
  display: none;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

/* Navbar CTA — compact size to fit within the nav bar */
.navbar-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  display: inline-flex;
  /* always visible on desktop */
}

/* --------------------------------------------------------------------------
   16. TOAST / NOTIFICATION
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 9999;
  background: var(--color-surface-2);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-xl);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE — TABLET (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .how-it-works-inner .how-it-works-image {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-brand {
    grid-column: 1/-1;
  }

  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE — MOBILE (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --nav-height: 68px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .navbar {
    top: 1rem;
    width: calc(100% - 2rem);
    height: 60px;
    border-radius: 60px;
  }

  .navbar-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .navbar-logo .logo-text {
    font-size: 1.1rem;
  }

  .navbar-controls {
    gap: 0.5rem;
  }

  .lang-switcher {
    padding: 2px;
  }

  .lang-btn {
    padding: 3px 8px;
    font-size: 0.75rem;
  }

  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  /* hide CTA on mobile — show in mobile menu instead */
  .navbar-hamburger {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .hero-badge {
    border-radius: var(--radius-md);
    padding: 8px 12px;
    align-items: flex-start;
  }

  .hero-badge-dot {
    margin-top: 5px;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-cta {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 340px;
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE — SMALL MOBILE (≤ 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .navbar-logo .logo-text {
    font-size: 0.95rem;
  }

  .navbar-logo .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .product-footer {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .contact-form-wrap {
    padding: var(--space-lg);
  }
}