@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Default LIGHT Mode (Premium Apple-inspired White and Light Slate Theme) */
  --bg-dark: #F5F5F7;
  --bg-deep: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-rgb: 255, 255, 255;
  --card-border: rgba(0, 0, 0, 0.06);
  --card-border-hover: rgba(0, 114, 255, 0.2);
  
  --text-white: #111115; /* Dark text in light mode */
  --text-gray-light: #1D1D1F; 
  --text-gray-muted: #6E6E73;
  --text-dark: #86868B;
  
  --logo-fill: #111B35; /* Navy blue like the original attachment logo */
  
  --accent-cyan: #0072FF; /* Darker blue for light mode contrast */
  --accent-blue: #0052D4;
  --accent-purple: #9B00E8;
  --accent-neon-blue: #00C6FF;
  
  --accent-gradient: linear-gradient(135deg, #0072FF 0%, #0052D4 50%, #9B00E8 100%);
  --accent-gradient-text: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(0, 114, 255, 0.08) 0%, rgba(0, 82, 212, 0.08) 50%, rgba(155, 0, 232, 0.08) 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  --glow-shadow-blue: 0 10px 25px rgba(0, 114, 255, 0.12);
  --glow-shadow-purple: 0 10px 25px rgba(155, 0, 232, 0.12);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* DARK MODE OVERRIDES */
body.dark-theme {
  --bg-dark: #0B0B0F;
  --bg-deep: #050508;
  --bg-card: #15151C;
  --bg-card-rgb: 21, 21, 28;
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-hover: rgba(0, 198, 255, 0.25);
  
  --text-white: #FFFFFF;
  --text-gray-light: #E2E2E9;
  --text-gray-muted: #8F8F9D;
  --text-dark: #565666;
  
  --logo-fill: #FFFFFF; /* White logo in dark mode */
  
  --accent-cyan: #00F0FF;
  --accent-blue: #0072FF;
  --accent-purple: #B000FF;
  --accent-neon-blue: #00C6FF;
  
  --accent-gradient: linear-gradient(135deg, var(--accent-neon-blue) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  --accent-gradient-text: linear-gradient(135deg, #00F0FF 0%, #0072FF 50%, #E000FF 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(0, 198, 255, 0.25) 0%, rgba(0, 114, 255, 0.25) 50%, rgba(176, 0, 255, 0.25) 100%);
  
  --glass-bg: rgba(21, 21, 28, 0.55);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  --glow-shadow-blue: 0 0 30px rgba(0, 198, 255, 0.25);
  --glow-shadow-purple: 0 0 30px rgba(176, 0, 255, 0.25);
}

/* Base resets & styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Satoshi', 'General Sans', 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body {
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-white);
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
  transition: var(--transition-fast);
}
body.dark-theme ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Floating Particle Canvas and Ambient Glows */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.ambient-glow-sphere {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: var(--radius-full);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  mix-blend-mode: multiply;
  animation: float-glow 25s infinite ease-in-out alternate;
}

body.dark-theme .ambient-glow-sphere {
  opacity: 0.15;
  mix-blend-mode: screen;
}

.glow-sphere-1 {
  background: radial-gradient(circle, var(--accent-neon-blue) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.glow-sphere-2 {
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: 10%;
  left: -200px;
  animation-duration: 35s;
  animation-delay: -5s;
}

.glow-sphere-3 {
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
  top: 45%;
  right: -100px;
  opacity: 0.08;
  animation-duration: 30s;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 8%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.9); }
}

/* Reusable Typography & UI Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Satoshi', 'General Sans', 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-gray-muted);
}

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

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Interactive Card Base for Mouse Hover Glow */
.interactive-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth), background-color 0.4s ease, border-color 0.4s ease;
}

.interactive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 114, 255, 0.04), transparent 40%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.dark-theme .interactive-card::before {
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 240, 255, 0.06), transparent 40%);
}

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

.interactive-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 25px rgba(0, 114, 255, 0.03);
}

body.dark-theme .interactive-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 198, 255, 0.05);
}

/* Primary Button Layouts */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  color: #FFFFFF;
  background: var(--accent-gradient);
  border: none;
  box-shadow: var(--glow-shadow-blue);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 114, 255, 0.35);
  transform: scale(1.04);
}

body.dark-theme .btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.45);
}

.btn-secondary {
  color: var(--text-white);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

body.dark-theme .btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.04);
}

body.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-glow-border {
  position: relative;
  background: var(--bg-deep);
  border: 1px solid transparent;
  color: var(--text-white);
}

.btn-glow-border::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: var(--accent-gradient);
  z-index: -1;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.btn-glow-border:hover::after {
  filter: brightness(1.1) blur(1px);
}

.btn-glow-border:hover {
  transform: scale(1.04);
}

/* Structure Styles */

/* 1. STICKY TOP NAVIGATION BAR */
.navbar-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 4%;
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 1440px;
  margin: 0 auto;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

body.dark-theme .navbar {
  background: rgba(11, 11, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-scrolled .navbar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 10px 28px;
}

body.dark-theme.nav-scrolled .navbar {
  background: rgba(11, 11, 15, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
}

/* Brand Logo Image Styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.logo-img-container {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 2px;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

/* Sophisticated invert filter to support dark theme gracefully */
body.dark-theme .brand-logo-img {
  filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--logo-fill);
  transition: var(--transition-fast);
}

.brand-logo:hover .logo-text {
  color: var(--accent-cyan);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-gray-muted);
  text-decoration: none;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Navbar Search Area */
.nav-search-bar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  width: 280px;
  transition: var(--transition-smooth);
}

body.dark-theme .nav-search-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-search-bar input {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 13px;
  width: 100%;
  margin-left: 8px;
  outline: none;
}

.nav-search-bar input::placeholder {
  color: var(--text-dark);
}

.nav-search-bar:focus-within {
  width: 340px;
  border-color: rgba(0, 114, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 114, 255, 0.05);
  background: rgba(0, 0, 0, 0.05);
}

body.dark-theme .nav-search-bar:focus-within {
  border-color: rgba(0, 198, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn-link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-btn-link:hover {
  color: var(--accent-cyan);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

body.dark-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

body.dark-theme .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile Nav Toggler */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
}

/* 2. HERO SECTION */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 6%;
  display: flex;
  align-items: center;
  z-index: 10;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  width: 100%;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Centerpiece brand plate at front page */
.hero-brand-plate {
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glass-shadow);
  max-width: 380px;
  transition: var(--transition-smooth);
}

.hero-brand-plate:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(0, 114, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}

body.dark-theme .hero-brand-plate:hover {
  border-color: rgba(0, 198, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-brand-logo-large {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

body.dark-theme .hero-brand-logo-large {
  filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 114, 255, 0.05);
  border: 1px solid rgba(0, 114, 255, 0.15);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: glow-pulse 3s infinite ease-in-out;
}

body.dark-theme .hero-badge {
  background: rgba(0, 198, 255, 0.08);
  border: 1px solid rgba(0, 198, 255, 0.2);
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 114, 255, 0.05); border-color: rgba(0, 114, 255, 0.15); }
  50% { box-shadow: 0 0 15px rgba(0, 114, 255, 0.15); border-color: rgba(0, 114, 255, 0.35); }
}

body.dark-theme @keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 198, 255, 0.1); border-color: rgba(0, 198, 255, 0.2); }
  50% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.25); border-color: rgba(0, 198, 255, 0.5); }
}

.hero-headline {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.08;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--logo-fill);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 580px;
  color: var(--text-gray-muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}

.hero-statistics-inline {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
}

body.dark-theme .hero-statistics-inline {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--logo-fill);
}

.hero-stat-lbl {
  font-size: 13px;
  color: var(--text-gray-muted);
}

/* Hero Right: Immersive Mockup Showcase */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
}

.hero-glowing-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, var(--accent-gradient-glow), transparent 60%);
  filter: blur(15px);
  z-index: 1;
  pointer-events: none;
}

.hero-main-card {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  z-index: 5;
  transition: var(--transition-smooth);
}

body.dark-theme .hero-main-card {
  box-shadow: 0 30px 70px rgba(0,0,0,0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.hero-main-card:hover img {
  transform: scale(1.08);
}

.floating-asset-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: float-slow 6s infinite ease-in-out;
}

body.dark-theme .floating-asset-card {
  background: rgba(21, 21, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-card-1 {
  bottom: 5%;
  left: -20px;
  animation-delay: 0s;
}

.float-card-2 {
  top: 5%;
  right: -30px;
  animation-delay: -2s;
}

.float-card-3 {
  bottom: 35%;
  right: -10px;
  animation-delay: -4s;
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
}

.float-details {
  display: flex;
  flex-direction: column;
}

.float-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
}

.float-subtitle {
  font-size: 11px;
  color: var(--text-gray-muted);
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* 3. TRUST STATISTICS BAR */
.stats-bar-section {
  position: relative;
  z-index: 10;
  padding: 20px 6%;
}

.stats-bar-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
}

.stat-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

.stat-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0, 0, 0, 0.06);
}

body.dark-theme .stat-bar-item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.08);
}

.stat-bar-value {
  font-size: clamp(28px, 3.5vw, 42px);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--logo-fill);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-bar-label {
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  color: var(--text-gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* 4. FEATURED PRODUCTS SECTION (Behance Grid) */
.featured-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  width: 100%;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--logo-fill);
}

/* Filter Controls */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: background-color 0.4s, border-color 0.4s;
}

body.dark-theme .filter-tabs {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.filter-btn {
  background: none;
  border: none;
  padding: 10px 22px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-gray-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.filter-btn.active {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.2);
}

/* Masonry Layout */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
}

.featured-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #EAEAEF;
  border: 1px solid var(--card-border);
}

body.dark-theme .card-img-wrapper {
  background: var(--bg-dark);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Overlay controls on cover */
.card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(17, 17, 21, 0.7) 0%, rgba(17, 17, 21, 0.1) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.featured-card:hover .card-overlay {
  opacity: 1;
}

.tag-badge {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}

.card-hover-action {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #111115;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transform: translateY(10px);
  transition: var(--transition-spring);
}

.featured-card:hover .card-hover-action {
  transform: translateY(0);
}

.card-info {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  transition: var(--transition-fast);
}

.featured-card:hover .card-title {
  color: var(--accent-cyan);
}

.card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

.card-creator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

body.dark-theme .card-creator-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.creator-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-cyan);
  object-fit: cover;
}

.creator-name {
  font-size: 13px;
  color: var(--text-gray-light);
  font-family: 'Outfit', sans-serif;
}

.card-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-gray-muted);
  font-size: 12px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 5. TRENDING PRODUCTS CAROUSEL */
.trending-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  background: #EAEAEF;
  transition: background-color 0.4s ease;
}

body.dark-theme .trending-section {
  background: var(--bg-deep);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

body.dark-theme .carousel-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

body.dark-theme .carousel-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.carousel-container {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: grab;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-card {
  min-width: 420px;
  width: 420px;
  user-select: none;
}

.carousel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.trending-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #FF0055, #9900FF);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

/* 6. CATEGORIES SHOWCASE */
.categories-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  max-width: 1440px;
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.category-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  height: 280px;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth), background-color 0.4s, border-color 0.4s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--accent-gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}

.category-card:hover .category-card-glow {
  opacity: 1;
}

.category-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
  z-index: 1;
}

body.dark-theme .category-icon-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-card:hover .category-icon-box {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--glow-shadow-blue);
  transform: rotate(6deg) scale(1.1);
}

.category-details {
  z-index: 1;
}

.category-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13px;
  color: var(--text-gray-muted);
}

.category-arrow {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-size: 18px;
  color: var(--text-gray-muted);
  transform: translateX(-10px);
  opacity: 0;
  transition: var(--transition-spring);
  z-index: 1;
}

.category-card:hover .category-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--accent-cyan);
}

/* 7. PRODUCT SHOWCASE SECTION (Laptop/Dashboard Showcase) */
.showcase-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  background: #EAEAEF;
  transition: background-color 0.4s ease;
}

body.dark-theme .showcase-section {
  background: var(--bg-deep);
}

.showcase-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* High Fidelity CSS Laptop Mockup */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 60px auto 0;
  perspective: 1200px;
}

.laptop-screen {
  background: #000;
  border-radius: 20px 20px 0 0;
  border: 12px solid #EAEAEF;
  border-bottom: none;
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06), 0 0 50px rgba(0,114,255,0.03);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease;
}

body.dark-theme .laptop-screen {
  border: 12px solid #1a1a24;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 100px rgba(0,198,255,0.08);
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.laptop-keyboard {
  background: #D8D8DF;
  height: 14px;
  border-radius: 0 0 12px 12px;
  border-bottom: 4px solid #B6B6BF;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transition: background-color 0.4s, border-color 0.4s;
}

body.dark-theme .laptop-keyboard {
  background: #1E1E28;
  border-bottom: 4px solid #0f0f15;
}

.laptop-keyboard::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 6px;
  background: rgba(0,0,0,0.1);
  border-radius: 0 0 4px 4px;
}

body.dark-theme .laptop-keyboard::after {
  background: rgba(0,0,0,0.3);
}

.laptop-reflection {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* Floating interface items on side of laptop */
.showcase-floating-screen {
  position: absolute;
  width: 220px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  z-index: 10;
  animation: float-slow 8s infinite ease-in-out alternate;
}

body.dark-theme .showcase-floating-screen {
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-screen-left {
  top: 20%;
  left: -110px;
  animation-delay: -2s;
}

.showcase-screen-right {
  bottom: 15%;
  right: -110px;
  animation-delay: -4s;
}

.showcase-floating-screen img {
  width: 100%;
  display: block;
}

/* 8. WHY CHOOSE US SECTION */
.why-us-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  max-width: 1440px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  padding: 40px;
  text-align: left;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 114, 255, 0.05);
  border: 1px solid rgba(0, 114, 255, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

body.dark-theme .benefit-icon {
  background: rgba(0, 198, 255, 0.06);
  border: 1px solid rgba(0, 198, 255, 0.15);
}

.benefit-card:hover .benefit-icon {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: var(--glow-shadow-blue);
  border-color: transparent;
  transform: translateY(-4px) scale(1.05);
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-gray-muted);
}

/* 9. SELLER INVITATION BANNER (CTA) */
.seller-banner-section {
  position: relative;
  z-index: 10;
  padding: 60px 6%;
  max-width: 1440px;
  margin: 0 auto;
}

.seller-banner {
  padding: 80px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 247, 0.95) 100%);
}

body.dark-theme .seller-banner {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle at 10% 20%, rgba(21, 21, 28, 0.9) 0%, rgba(11, 11, 15, 0.95) 100%);
}

.seller-banner-glow {
  position: absolute;
  top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(80px);
  pointer-events: none;
}

.seller-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5;
}

.seller-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--logo-fill);
}

.seller-subtitle {
  font-size: 16px;
  color: var(--text-gray-muted);
}

.seller-actions {
  z-index: 5;
}

/* 10. TESTIMONIALS SECTION */
.testimonials-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  background: #EAEAEF;
  transition: background-color 0.4s ease;
}

body.dark-theme .testimonials-section {
  background: var(--bg-deep);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  padding: 36px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #FFB800;
  font-size: 14px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray-light);
  margin-bottom: 24px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

body.dark-theme .user-avatar {
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.user-meta h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.user-meta span {
  font-size: 12px;
  color: var(--text-gray-muted);
}

/* 11. NEWSLETTER SECTION */
.newsletter-section {
  position: relative;
  z-index: 10;
  padding: 100px 6%;
  max-width: 1440px;
  margin: 0 auto;
}

.newsletter-box {
  padding: 60px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.newsletter-box h3 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--logo-fill);
}

.newsletter-box p {
  max-width: 520px;
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

body.dark-theme .newsletter-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.newsletter-form:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 114, 255, 0.05);
  background: rgba(0, 0, 0, 0.04);
}

body.dark-theme .newsletter-form:focus-within {
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.newsletter-form input {
  flex-grow: 1;
  background: none;
  border: none;
  padding: 0 16px;
  color: var(--text-white);
  outline: none;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: var(--text-gray-muted);
}

/* 12. FOOTER */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #EAEAEF;
  padding: 80px 6% 40px;
  transition: background-color 0.4s, border-color 0.4s;
}

body.dark-theme .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-deep);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-gray-muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-muted);
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition-fast);
}

body.dark-theme .social-icon {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-icon:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.05);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column h4 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--logo-fill);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-gray-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1440px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

body.dark-theme .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-legal-links a {
  color: var(--text-dark);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-gray-muted);
}

/* 13. HIGH FIDELITY POPUP DETAIL MODAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(245, 245, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 40px;
}

body.dark-theme .modal-overlay {
  background: rgba(5, 5, 8, 0.85);
}

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

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  box-shadow: 0 30px 80px rgba(0,0,0,0.06), 0 0 50px rgba(0, 114, 255, 0.05);
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

body.dark-theme .modal-window {
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 50px rgba(0, 198, 255, 0.1);
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  transition: var(--transition-fast);
}

body.dark-theme .modal-close-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

body.dark-theme .modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
}

.modal-left {
  padding: 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-theme .modal-left {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-preview-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--card-border);
}

.modal-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-desc-title {
  font-size: 15px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-gray-muted);
  line-height: 1.7;
}

.modal-right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-tag {
  padding: 6px 14px;
  background: rgba(0, 114, 255, 0.05);
  border: 1px solid rgba(0, 114, 255, 0.15);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

body.dark-theme .modal-tag {
  background: rgba(0, 198, 255, 0.08);
  border: 1px solid rgba(0, 198, 255, 0.2);
}

.modal-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--logo-fill);
}

.modal-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.modal-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-purple);
  object-fit: cover;
}

.modal-author-name {
  font-size: 14px;
  color: var(--text-gray-light);
}

.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 20px;
  border-radius: var(--radius-md);
}

body.dark-theme .modal-specs-list {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

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

.spec-value {
  color: var(--text-white);
  font-weight: 500;
}

.modal-buy-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-theme .modal-buy-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.price-label {
  font-size: 12px;
  color: var(--text-gray-muted);
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
}

/* RESPONSIVE STYLES (MOBILE-FIRST AND BREAKPOINTS) */

@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-statistics-inline {
    justify-content: center;
  }
  
  .category-grid, .benefits-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .seller-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 40px;
  }
  
  .seller-content {
    max-width: 100%;
  }
  
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-left {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
  }
  
  body.dark-theme .modal-left {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .modal-right {
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .navbar-wrapper {
    padding: 10px 2%;
  }
  
  .nav-menu, .nav-search-bar, .nav-actions .btn-glow-border {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .stats-bar-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }
  
  .stat-bar-item {
    width: 100%;
  }
  
  .stat-bar-item:not(:last-child)::after {
    display: none;
  }
  
  .category-grid, .benefits-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-card {
    min-width: 320px;
    width: 320px;
  }
  
  .carousel-card img {
    height: 200px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .filter-tabs {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .modal-overlay {
    padding: 10px;
  }
  
  .modal-window {
    max-height: 96vh;
  }
}

/* Slide in animations for elements */
[data-scroll] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll].scroll-visible {
  opacity: 1;
  transform: translateY(0);
}
