/* ============================================
   BRANDOPTIX LAUNCH — Ultra-Modern 3D & Immersive Design System
   SaaS Style: Isometric grids, 3D buttons, dynamic light spotlights, and depth
   ============================================ */

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

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Theme Colors */
  --color-primary: #6B3BB3;
  --color-primary-light: #9B6CE6;
  --color-primary-dark: #4F278C;
  --color-accent: #FF5A79; /* Vibrant coral for CTA highlights */
  --color-accent-glow: rgba(255, 90, 121, 0.4);
  --color-secondary: #1E0F38; /* Deep rich navy-purple */
  --color-secondary-light: #2C184F;
  --color-secondary-glow: rgba(30, 15, 56, 0.15);

  /* Neutrals & UI Surface */
  --color-bg-base: #FAF9FD;
  --color-bg-surface: #FFFFFF;
  --color-bg-soft: #F4EEFB;
  --color-bg-dark: #0B0614; /* Deep cosmic dark */
  --color-bg-dark-surface: #140C24;
  --color-text-title: #1E0F38;
  --color-text-body: #504366;
  --color-text-muted: #827499;

  /* Shadows (Multi-layered 3D depth system) */
  --shadow-flat: 0 2px 0 rgba(30, 15, 56, 0.15);
  --shadow-press: 0 1px 0 rgba(30, 15, 56, 0.1);
  --shadow-3d-sm: 0 4px 0 var(--color-primary-dark), 0 8px 16px rgba(30, 15, 56, 0.1);
  --shadow-3d-md: 0 6px 0 var(--color-primary-dark), 0 12px 24px rgba(30, 15, 56, 0.12);
  --shadow-3d-lg: 0 8px 0 var(--color-primary-dark), 0 20px 40px rgba(30, 15, 56, 0.15);
  --shadow-3d-accent: 0 6px 0 #D63956, 0 12px 24px rgba(255, 90, 121, 0.25);
  
  /* Glassmorphism Borders & Shadows */
  --border-glass-light: 1px solid rgba(255, 255, 255, 0.6);
  --border-glass-purple: 1px solid rgba(107, 59, 179, 0.12);
  --border-glass-dark: 1px solid rgba(255, 255, 255, 0.08);
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(107, 59, 179, 0.05);

  /* Fonts */
  --font-family: 'Poppins', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* System Spacing */
  --section-padding: 130px;
  --section-padding-tablet: 90px;
  --section-padding-mobile: 70px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

body {
  font-family: var(--font-family);
  font-size: 17px;
  color: var(--color-text-body);
  background-color: var(--color-bg-base);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Base Headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-text-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Global Noise and Light Spotlights */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient-light {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   3D BUTTON SYSTEM (Solid blocks, not flat vibes)
   ============================================ */
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: 12px;
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

/* Primary Purple 3D Button */
.btn-3d--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 6px 0 var(--color-primary-dark), 0 12px 24px rgba(107, 59, 179, 0.2);
}

.btn-3d--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--color-primary-dark), 0 16px 32px rgba(107, 59, 179, 0.3);
}

.btn-3d--primary:active {
  transform: translateY(6px);
  box-shadow: 0 0px 0 var(--color-primary-dark), 0 4px 10px rgba(107, 59, 179, 0.2);
}

/* Accent Coral 3D Button */
.btn-3d--accent {
  background: var(--color-accent);
  border-color: #2F0510;
  color: white;
  box-shadow: 0 6px 0 #D63956, 0 12px 24px rgba(255, 90, 121, 0.25);
}

.btn-3d--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #D63956, 0 16px 32px rgba(255, 90, 121, 0.35);
}

.btn-3d--accent:active {
  transform: translateY(6px);
  box-shadow: 0 0px 0 #D63956, 0 4px 10px rgba(255, 90, 121, 0.2);
}

/* Outline 3D Button */
.btn-3d--secondary {
  background: white;
  color: var(--color-text-title);
  box-shadow: 0 6px 0 var(--color-secondary), 0 12px 24px rgba(30, 15, 56, 0.08);
}

.btn-3d--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--color-secondary), 0 16px 32px rgba(30, 15, 56, 0.12);
}

.btn-3d--secondary:active {
  transform: translateY(6px);
  box-shadow: 0 0px 0 var(--color-secondary), 0 4px 10px rgba(30, 15, 56, 0.08);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 10px 24px -10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: var(--border-glass-purple);
  box-shadow: var(--shadow-glass);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled {
  padding-top: 10px;
}

.navbar.scrolled::before {
  opacity: 1;
  transform: translateY(0);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
  z-index: 2;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text-title);
}

.navbar__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 0 var(--color-primary-dark);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-body);
  position: relative;
  padding: 6px 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__link:hover {
  color: var(--color-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 0 var(--color-primary-dark), 0 6px 12px rgba(107, 59, 179, 0.15) !important;
}

.navbar__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 var(--color-primary-dark), 0 10px 18px rgba(107, 59, 179, 0.25) !important;
}

.navbar__cta:active {
  transform: translateY(4px) !important;
  box-shadow: 0 0px 0 var(--color-primary-dark), 0 2px 6px rgba(107, 59, 179, 0.15) !important;
}

.navbar__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-title);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2.5px solid var(--color-secondary);
  box-shadow: 0 6px 0 var(--color-secondary);
  border-radius: 16px;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
  animation: slideDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu .navbar__link {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px dashed rgba(30,15,56,0.06);
  padding-bottom: 12px;
}

.mobile-menu .btn-3d {
  margin-top: 10px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   1. HERO SECTION (3D Layout & Perspective Grid)
   ============================================ */
.hero {
  padding-top: 120px;
  background: radial-gradient(120% 70% at 50% 10%, #FAF8FF 40%, #EFE5FA 70%, #DED1F8 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Isometric Floor Grid */
.hero__floor {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg) rotateZ(-45deg);
  width: 1800px;
  height: 1000px;
  background-image: 
    linear-gradient(rgba(107, 59, 179, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(107, 59, 179, 0.08) 2px, transparent 2px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 4px 0 var(--color-secondary-glow);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent-glow);
  animation: beacon 1.8s infinite;
}

@keyframes beacon {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.hero__title {
  font-size: clamp(42px, 5.5vw, 68px);
  margin-bottom: 28px;
  line-height: 1.05;
  padding-bottom: 30px;
}

.hero__title span {
  display: block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 44px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-title);
}

.hero__trust-avatars {
  display: flex;
}

.hero__trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 8px rgba(30, 15, 56, 0.15);
}

.hero__trust-avatar:first-child { margin-left: 0; }
.hero__trust-avatar:nth-child(1) { background: #FF5A79; }
.hero__trust-avatar:nth-child(2) { background: #8B5CF6; }
.hero__trust-avatar:nth-child(3) { background: #3B82F6; }
.hero__trust-avatar:nth-child(4) { background: #10B981; }

/* 3D Isometric visual wrapper */
.hero__visual {
  perspective: 1200px;
  position: relative;
}

.hero__isometric-container {
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-15deg);
  position: relative;
  transition: transform 0.5s ease-out;
}

.hero__isometric-container:hover {
  transform: rotateX(20deg) rotateY(-10deg) translateY(-10px);
}

.hero__image-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: var(--color-primary);
  filter: blur(80px);
  opacity: 0.25;
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
}

/* Floating 3D Blocks */
.hero__float-card {
  position: absolute;
  background: white;
  border: 2px solid var(--color-secondary);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 0 var(--color-secondary-glow), 0 16px 30px rgba(30,15,56,0.12);
  z-index: 3;
  transition: all 0.3s ease;
}

.hero__float-card--orders {
  top: 10%;
  right: -20px;
  transform: translateZ(60px);
}

.hero__float-card--revenue {
  bottom: 15%;
  left: -30px;
  transform: translateZ(90px);
}

.hero__float-card:hover {
  transform: translateZ(110px) translateY(-5px);
  box-shadow: 0 12px 0 var(--color-secondary-glow), 0 20px 40px rgba(30,15,56,0.15);
}

.hero__float-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-soft);
  border: 2px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero__float-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text-title);
  display: block;
}

.hero__float-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ============================================
   2. TRUST SECTION (3D Stat Blocks)
   ============================================ */
.trust {
  padding: var(--section-padding) 0;
  background: white;
  position: relative;
  z-index: 5;
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-bg-base), transparent);
}

.trust__header {
  margin-bottom: 70px;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust__stat {
  background: white;
  border: 2.5px solid var(--color-secondary);
  border-radius: 20px;
  padding: 44px 24px;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 8px 0 var(--color-secondary), 0 16px 24px rgba(30,15,56,0.06);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.trust__stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 0 var(--color-secondary), 0 24px 36px rgba(30,15,56,0.12);
}

.trust__stat-value {
  font-size: 56px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.trust__stat-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-body);
}

/* ============================================
   3. THE PROBLEM SECTION (Isometric Contrast Layout)
   ============================================ */
.problem {
  padding: var(--section-padding) 0;
  background: var(--color-bg-soft);
  position: relative;
  overflow: hidden;
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.problem__card {
  border: 3px solid var(--color-secondary);
  border-radius: 28px;
  padding: 56px 48px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.problem__card--old {
  background: white;
  box-shadow: 0 10px 0 rgba(30, 15, 56, 0.08), 0 20px 30px rgba(30, 15, 56, 0.06);
}

.problem__card--old:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 0 rgba(30, 15, 56, 0.08), 0 28px 40px rgba(30, 15, 56, 0.1);
}

.problem__card--new {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 12px 0 var(--color-primary-dark), 0 24px 40px rgba(107, 59, 179, 0.25);
}

.problem__card--new:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 18px 0 var(--color-primary-dark), 0 32px 50px rgba(107, 59, 179, 0.35);
}

.problem__card-title {
  font-size: 26px;
  margin-bottom: 36px;
}

.problem__card--new .problem__card-title {
  color: white;
}

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

.problem__list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}

.problem__list-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
}

.problem__card--old .problem__list-icon {
  background: #FEE2E2;
  color: #EF4444;
}

.problem__card--new .problem__list-icon {
  background: white;
  color: var(--color-primary);
}

/* ============================================
   4. HOW IT WORKS (3D Step Stepper)
   ============================================ */
.how-it-works {
  padding: var(--section-padding) 0;
  background: white;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.how-it-works__step {
  background: var(--color-bg-base);
  border: 2.5px solid var(--color-secondary);
  border-radius: 20px;
  padding: 40px 24px;
  position: relative;
  transform-style: preserve-3d;
  box-shadow: 0 6px 0 var(--color-secondary-glow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.how-it-works__step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 0 var(--color-secondary);
  background: white;
}

.how-it-works__step-number {
  position: absolute;
  top: -30px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border: 2.5px solid var(--color-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: white;
  box-shadow: 0 4px 0 var(--color-primary-dark);
}

.how-it-works__step-title {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.how-it-works__step-desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.how-it-works__step-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 2px dashed rgba(30,15,56,0.1);
  padding-top: 16px;
}

.how-it-works__step-list li {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.how-it-works__step-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ============================================
   5. WHAT YOU GET (3D Grid Cards)
   ============================================ */
.features {
  padding: var(--section-padding) 0;
  background: var(--color-bg-soft);
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 70px;
}

.feature-card {
  background: white;
  border: 2.5px solid var(--color-secondary);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 6px 0 var(--color-secondary-glow);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.feature-card:hover {
  
  transform: translateY(-8px);
  box-shadow: 0 12px 0 var(--color-secondary);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-base);
  border: 2.5px solid var(--color-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--color-primary);
  box-shadow: 0 4px 0 var(--color-secondary-glow);
}

.feature-card__icon i {
  transition: color 0.2s ease;
}

.feature-card:hover .feature-card__icon {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 0 var(--color-primary-dark);
}

.feature-card__title {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* ============================================
   6. DEMO STORES (3D Browser Showcase)
   ============================================ */
.demos {
  padding: var(--section-padding) 0;
  background: white;
}

.demos__tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.demos__tabs {
  background: var(--color-bg-soft);
  border: 2.5px solid var(--color-secondary);
  border-radius: 40px;
  padding: 6px;
  display: inline-flex;
  gap: 4px;
}

.demos__tab {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.demos__tab.active {
  background: var(--color-secondary);
  color: white;
}

.demos__showcase {
  perspective: 1200px;
  max-width: 960px;
  margin: 0 auto;
}

.demos__image-container {
  background: white;
  border: 3px solid var(--color-secondary);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 0 var(--color-secondary-glow), 0 32px 50px rgba(30,15,56,0.15);
  transform: rotateX(8deg) rotateY(-5deg);
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.demos__image-container:hover {
  transform: rotateX(0deg) rotateY(0deg) scale(1.02);
}

.demos__browser-bar {
  height: 48px;
  background: var(--color-bg-soft);
  border-bottom: 3px solid var(--color-secondary);
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.demos__browser-dots {
  display: flex;
  gap: 8px;
}

.demos__browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
}
.demos__browser-dot:nth-child(1) { background: #FF5A79; }
.demos__browser-dot:nth-child(2) { background: #FBBF24; }
.demos__browser-dot:nth-child(3) { background: #34D399; }

.demos__browser-url {
  flex: 1;
  margin-left: 20px;
  background: white;
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.demos__image {
  width: 100%;
  display: none;
}

.demos__image.active {
  display: block;
}

.demos__cta {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   7. PLANS SECTION (Blocky 3D Cards)
   ============================================ */
.plans {
  padding: var(--section-padding) 0;
  background: var(--color-bg-soft);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 70px;
}

.plan-card {
  background: white;
  border: 3px solid var(--color-secondary);
  border-radius: 28px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 0 var(--color-secondary);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 0 var(--color-secondary);
}

.plan-card--popular {
  border-color: var(--color-primary);
  box-shadow: 0 8px 0 var(--color-primary-dark);
}

.plan-card--popular:hover {
  box-shadow: 0 16px 0 var(--color-primary-dark);
}

.plan-card__badge {
  position: absolute;
  top: -16px;
  right: 28px;
  background: var(--color-accent);
  border: 2px solid var(--color-secondary);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--color-secondary);
}

.plan-card__name {
  font-size: 24px;
  margin-bottom: 20px;
}

.plan-card__price {
  margin-bottom: 24px;
}

.plan-card__price-setup {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.plan-card__price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--color-text-title);
  line-height: 1;
}

.plan-card__price-amount span {
  font-size: 24px;
  font-weight: 700;
}

.plan-card__price-period {
  font-size: 14px;
  color: var(--color-text-muted);
}

.plan-card__desc {
  font-size: 14px;
  color: var(--color-text-body);
  margin-bottom: 32px;
  border-bottom: 2px dashed rgba(30,15,56,0.1);
  padding-bottom: 24px;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex: 1;
}

.plan-card__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.plan-card__feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  border: 2px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--color-primary);
}

/* ============================================
   8. AFTER PAYMENT TIMELINE
   ============================================ */
.timeline {
  padding: var(--section-padding) 0;
  background: white;
}

.timeline__flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 70px auto 50px;
}

.timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.timeline__step-icon {
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid var(--color-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 0 var(--color-secondary-glow);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline__step:hover .timeline__step-icon {
  transform: translateY(-6px) rotate(-3deg);
  box-shadow: 0 10px 0 var(--color-secondary);
  background: var(--color-bg-soft);
}

.timeline__step-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline__arrow {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.6;
}

.timeline__delivery {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg-soft);
  border: 2.5px solid var(--color-secondary);
  border-radius: 16px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text-title);
  box-shadow: 0 4px 0 var(--color-secondary-glow);
}

/* ============================================
   9. WHY BRANDOPTIX (3D Badge Grid)
   ============================================ */
.why {
  padding: var(--section-padding) 0;
  background: var(--color-secondary);
  color: white;
  position: relative;
  overflow: hidden;
}

.why .section-title {
  color: white;
}

.why .section-label {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.why__card {
  background: var(--color-secondary-light);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 6px 0 rgba(0,0,0,0.2);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 0 var(--color-primary);
  border-color: var(--color-primary-light);
}

.why__card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.why__icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  transition: all 0.25s ease;
}

.why__card:hover .why__icon-img {
  opacity: 1;
  transform: scale(1.1);
}

.why__card-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
}

/* ============================================
   10. FAQ
   ============================================ */
.faq {
  padding: var(--section-padding) 0;
  background: var(--color-bg-base);
}

.faq__list {
  max-width: 780px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  background: white;
  border: 2.5px solid var(--color-secondary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 0 var(--color-secondary-glow);
  transition: all 0.25s ease;
}

.faq__item.active {
  box-shadow: 0 6px 0 var(--color-secondary);
}

.faq__question {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-title);
  user-select: none;
}

.faq__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid var(--color-secondary);
  background: var(--color-bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary-dark);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 250px;
}

.faq__answer-content {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--color-text-body);
  border-top: 2px dashed rgba(30,15,56,0.06);
  padding-top: 20px;
}

/* ============================================
   11. FINAL CTA
   ============================================ */
.final-cta {
  padding: var(--section-padding) 0;
  background: radial-gradient(120% 120% at 50% 100%, #FAF8FF 30%, #EFE5FA 70%, #DED1F8 100%);
  position: relative;
  overflow: hidden;
}

.final-cta__content {
  position: relative;
  z-index: 2;
}

.final-cta .section-title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 24px;
}

.final-cta .section-subtitle {
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  border-top: 3px solid var(--color-secondary-light);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border: 2px solid white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 24px;
}

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

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.footer__link:hover {
  color: white;
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* ============================================
   RESPONSIVE DESIGN & LAYOUT SAFELISTS
   ============================================ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 10%;
    gap: 40px;
  }
  
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .hero__trust {
    justify-content: center;
  }
  
  .hero__visual {
    max-width: 440px;
    margin: 30px auto 0;
  }
  
  .hero__float-card {
    display: none;
  }
  
  .trust__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .problem__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .how-it-works__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
  
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 40px auto 0;
    gap: 32px;
  }
  
  .why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 90px;
  }

  .navbar__links, .navbar__actions .btn-3d {
    display: none;
  }
  
  .navbar__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero__title {
  font-size: clamp(3rem, 5vw, 4rem); /* 32px → 64px */
  font-weight: 800;
  line-height: 1.1;
  
  margin: 0;
}
  
  .hero__visual {
    display: none !important;
  }
  
  .hero {
    padding-top: 60px !important;
    min-height: auto !important;
  }
  
  .hero__actions {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  
  .hero__actions .btn-3d {
    width: auto !important;
    flex: 1 !important;
    font-size: 12px !important;
    padding: 12px 14px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }

  .hero__trust {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  /* Horizontal Carousel Styles for Mobile */
  .trust__stats,
  .features__grid,
  .plans__grid,
  .why__grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 4px !important;
    width: 100% !important;
    scrollbar-width: none !important;
  }

  .trust__stats::-webkit-scrollbar,
  .features__grid::-webkit-scrollbar,
  .plans__grid::-webkit-scrollbar,
  .why__grid::-webkit-scrollbar {
    display: none !important;
  }

  .trust__stat {
    flex: 0 0 250px !important;
    scroll-snap-align: start !important;
    box-shadow: 0 4px 0 var(--color-secondary), 0 8px 16px rgba(30,15,56,0.06) !important;
  }
  
  .how-it-works__steps {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 50px auto 0;
    gap: 48px;
  }
  
  .feature-card {
    flex: 0 0 280px !important;
    scroll-snap-align: start !important;
    box-shadow: 0 4px 0 var(--color-secondary-glow) !important;
  }

  .plans__grid {
    padding-top: 36px !important;
    padding-bottom: 20px !important;
  }

  .plan-card {
    flex: 0 0 280px !important;
    scroll-snap-align: start !important;
    box-shadow: 0 6px 0 var(--color-secondary) !important;
    padding: 32px 24px !important;
    border-radius: 20px !important;
  }

  .plan-card__name {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }

  .plan-card__price-amount {
    font-size: 38px !important;
  }

  .plan-card__desc {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
  }

  .plan-card__features {
    gap: 12px !important;
    margin-bottom: 28px !important;
  }

  .plan-card .btn-3d {
    font-size: 13px !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
  }
  
  .demos__tabs {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 8px;
  }
  
  .demos__tab {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .demos__image-container {
    transform: none !important;
    border-radius: 16px;
  }

  .demos__browser-url {
    display: none; /* Hide URL bar on mobile to save space */
  }
  
  .timeline__flow {
    flex-direction: column;
    gap: 16px;
  }
  
  .timeline__arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  
  .why__card {
    flex: 0 0 210px !important;
    scroll-snap-align: start !important;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2) !important;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer__brand {
    grid-column: span 1;
    max-width: 100%;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 70px;
  }

  .container {
    padding: 0 16px;
  }
  
  .why__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .faq__question {
    padding: 18px;
    font-size: 16px;
  }
  
  .faq__answer-content {
    padding: 0 18px 18px;
  }
}

/* ============================================
   LEGAL PAGES SURFACES
   ============================================ */
.legal-hero {
  padding: 160px 0 80px;
  background: radial-gradient(120% 70% at 50% 10%, #FAF8FF 40%, #EFE5FA 70%, #DED1F8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-content {
  padding: 80px 0;
  background: white;
  position: relative;
  z-index: 5;
}

.legal-article {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border: 3px solid var(--color-secondary);
  border-radius: 28px;
  padding: 56px 48px;
  box-shadow: 0 8px 0 var(--color-secondary);
}

.legal-article h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-text-title);
  border-bottom: 2px dashed rgba(30,15,56,0.1);
  padding-bottom: 12px;
}

.legal-article p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.legal-article ul, .legal-article ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-article li {
  font-size: 16px;
  color: var(--color-text-body);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .legal-article {
    padding: 32px 24px;
    border-radius: 20px;
  }
}
