/* ========================================
   MBR Studio Marketplace — Design System
   ======================================== */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-base: #080810;
  --bg-surface: #0f0f1a;
  --bg-card: #12121f;
  --bg-card-hover: #16162b;
  --bg-muted: #1a1a2e;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(108, 99, 255, 0.4);

  --primary: #6c63ff;
  --primary-light: #8b84ff;
  --primary-dark: #4f48cc;
  --primary-glow: rgba(108, 99, 255, 0.25);

  --accent: #00d4aa;
  --accent-light: #00f5c4;
  --accent-glow: rgba(0, 212, 170, 0.2);

  --amber: #fbbf24;
  --rose: #f43f5e;

  --text-primary: #f0f0ff;
  --text-secondary: #9a9ab0;
  --text-muted: #5a5a78;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6c63ff, #8b5cf6);
  --gradient-accent: linear-gradient(135deg, #00d4aa, #0ea5e9);
  --gradient-hero: linear-gradient(135deg, #6c63ff 0%, #8b5cf6 50%, #00d4aa 100%);
  --gradient-card: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(0, 212, 170, 0.03));

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.15);
  --shadow-accent-glow: 0 0 40px rgba(0, 212, 170, 0.1);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

button {
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-muted);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-alt {
  background: var(--bg-surface);
}

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

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

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

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

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--primary-light);
}

.badge-accent {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  color: var(--accent);
}

.badge-amber {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--amber);
}

.badge-white-label {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(108, 99, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(108, 99, 255, 0.1);
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: inherit;
}

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

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

.card-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.section-header .eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--space-md);
  height: 70px;
  display: flex;
  align-items: center;
  transition: top 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

body.no-banner .navbar {
  top: 0;
}

.navbar.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-mbr {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.nav-logo-digital {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

/* nav-logo span styles handled by .nav-logo-mbr and .nav-logo-digital */

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

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

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

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

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  font-size: 1.2rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: var(--space-md);
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: rgba(108, 99, 255, 0.08);
  color: var(--text-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 114px; /* 44px banner + 70px navbar */
  overflow: hidden;
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(108, 99, 255, 0.18);
  top: -100px;
  left: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 170, 0.12);
  bottom: -80px;
  right: -80px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -2s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  letter-spacing: -0.03em;
}

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

/* ============================================
   PLATFORM PRODUCTS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.product-icon-purple {
  background: rgba(108, 99, 255, 0.15);
}

.product-icon-teal {
  background: rgba(0, 212, 170, 0.12);
}

.product-icon-amber {
  background: rgba(251, 191, 36, 0.12);
}

.product-icon-rose {
  background: rgba(244, 63, 94, 0.12);
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-price {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-price strong {
  color: var(--accent);
  font-size: 1.1rem;
}

.product-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ============================================
   DIGITAL PRODUCTS
   ============================================ */
.digital-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: rgba(108, 99, 255, 0.4);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.35);
}

.digital-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
  animation: fadeIn 0.4s ease;
}

.digital-grid.active {
  display: grid;
}

.digital-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.digital-card-img {
  height: 150px;
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.digital-card-img-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.digital-card-body {
  padding: 1.25rem;
}

.digital-card-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.digital-card-body p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
  line-height: 1.5;
}

.digital-card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.digital-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.digital-price.free {
  color: var(--primary-light);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:nth-child(1)::before {
  background: var(--gradient-primary);
}

.service-card:nth-child(2)::before {
  background: var(--gradient-accent);
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--amber), var(--rose));
}

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

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.3s;
}

.pricing-toggle.active {
  background: var(--primary);
}

.pricing-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.3s;
}

.pricing-toggle.active .pricing-toggle-thumb {
  transform: translateX(24px);
}

.pricing-save-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(145deg, #14142a, #1a1a38);
  border-color: rgba(108, 99, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.2), var(--shadow-glow), var(--shadow-card);
  transform: scale(1.02);
}

.pricing-card .popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  margin-bottom: 1.5rem;
}

.pricing-amount .price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-amount .price-annual {
  display: none;
}

.annual-active .pricing-amount .price-monthly {
  display: none;
}

.annual-active .pricing-amount .price-annual {
  display: inline;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-features li .cross {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(0, 212, 170, 0.05));
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  text-align: center;
  margin: var(--space-3xl) 0;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  display: block;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter input:focus {
  border-color: rgba(108, 99, 255, 0.5);
}

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

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

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

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

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(108, 99, 255, 0.1);
  border-color: rgba(108, 99, 255, 0.4);
  color: var(--primary-light);
  transform: translateY(-2px);
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 70px;
}

.sidebar {
  width: 240px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 70px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  padding: var(--space-md) 0;
  z-index: 100;
}

.sidebar-section {
  padding: 0 var(--space-sm);
  margin-bottom: var(--space-md);
}

.sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(108, 99, 255, 0.1);
  color: var(--text-primary);
}

.sidebar-link.active {
  color: var(--primary-light);
}

.sidebar-link .icon {
  font-size: 1rem;
  width: 20px;
}

.dashboard-main {
  margin-left: 240px;
  flex: 1;
  padding: var(--space-xl);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.dash-stat-card:nth-child(1)::before {
  background: var(--gradient-primary);
}

.dash-stat-card:nth-child(2)::before {
  background: var(--gradient-accent);
}

.dash-stat-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--amber), #f97316);
}

.dash-stat-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--rose), #f97316);
}

.dash-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.dash-stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.dash-stat-change {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.dash-stat-change.up {
  color: var(--accent);
}

.dash-stat-change.down {
  color: var(--rose);
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.product-hero {
  padding: calc(70px + 4rem) 0 4rem;
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.product-hero-content .badge {
  margin-bottom: 1rem;
}

.product-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.product-hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.product-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.mockup-bar {
  background: var(--bg-muted);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) {
  background: #ff5f57;
}

.mockup-dot:nth-child(2) {
  background: #febc2e;
}

.mockup-dot:nth-child(3) {
  background: #28c840;
}

.mockup-body {
  padding: 1.5rem;
  min-height: 280px;
  display: grid;
  gap: 0.75rem;
}

.mockup-row {
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  height: 40px;
  border: 1px solid var(--border);
}

.mockup-row.tall {
  height: 80px;
}

.mockup-row.short {
  height: 28px;
  width: 60%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.feature-text p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   DOCS PAGE
   ============================================ */
.docs-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 70px;
}

.docs-sidebar {
  width: 260px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 70px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  padding: var(--space-md);
  z-index: 100;
}

.docs-sidebar-section {
  margin-bottom: 1.5rem;
}

.docs-sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.docs-sidebar-link {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.docs-sidebar-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.docs-sidebar-link.active {
  color: var(--primary-light);
  border-left-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

.docs-main {
  margin-left: 260px;
  flex: 1;
  padding: var(--space-xl);
  max-width: 800px;
}

.docs-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.docs-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}

.docs-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.docs-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.docs-content pre {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1rem 0;
  position: relative;
}

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

.docs-content pre code {
  color: var(--text-secondary);
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  color: var(--text-primary);
  border-color: rgba(108, 99, 255, 0.4);
}

/* ============================================
   PAGE TRANSITIONS & ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

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

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

@keyframes pulse {

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

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

@keyframes shimmer {
  from {
    background-position: -200% center;
  }

  to {
    background-position: 200% center;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-hero-inner {
    grid-template-columns: 1fr;
  }

  .product-mockup {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn:not(.btn-primary) {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

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

  .hero-stat .number {
    font-size: 1.5rem;
  }

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

  .sidebar,
  .docs-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    bottom: auto;
    height: auto;
  }

  .dashboard-layout,
  .docs-layout {
    flex-direction: column;
  }

  .dashboard-main,
  .docs-main {
    margin-left: 0;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

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

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

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .stats-banner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-hero);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   HERO — TWO COLUMN LAYOUT
   ============================================ */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: var(--space-2xl) 0;
  min-height: calc(100vh - 70px);
}

.hero-text-side {
  position: relative;
  z-index: 1;
}

.hero-text-side .hero-title {
  text-align: left;
}

.hero-text-side .hero-subtitle {
  text-align: left;
  margin: 0 0 var(--space-xl);
}

.hero-text-side .hero-cta {
  justify-content: flex-start;
}

.hero-text-side .hero-stats {
  justify-content: flex-start;
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  margin-top: var(--space-2xl);
}

/* ============================================
   HERO VISUAL CARD
   ============================================ */
.hero-visual-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-visual-card {
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(108, 99, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hvc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hvc-dots {
  display: flex;
  gap: 5px;
}

.hvc-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hvc-dots span:nth-child(1) {
  background: #ff5f57;
}

.hvc-dots span:nth-child(2) {
  background: #febc2e;
}

.hvc-dots span:nth-child(3) {
  background: #28c840;
}

.hvc-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex: 1;
}

.hvc-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hvc-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hvc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hvc-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.875rem;
}

.hvc-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hvc-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.hvc-stat-value.accent {
  color: var(--accent);
}

.hvc-stat-change {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.hvc-stat-change.up {
  color: #34d399;
}

.hvc-stat-change.down {
  color: var(--rose);
}

/* Animated Chart */
.hvc-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.hvc-bar {
  flex: 1;
  background: rgba(108, 99, 255, 0.2);
  border-radius: 4px 4px 0 0;
  transition: background 0.3s;
  animation: barGrow 0.6s ease both;
}

.hvc-bar.active {
  background: var(--gradient-primary);
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.4);
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

/* Platform rows */
.hvc-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.hvc-platform-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hvc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hvc-dot.purple {
  background: var(--primary);
}

.hvc-dot.teal {
  background: var(--accent);
}

.hvc-dot.amber {
  background: var(--amber);
}

.hvc-ml-auto {
  margin-left: auto;
}

.hvc-green {
  color: #34d399;
  font-weight: 600;
}

/* Floating Badges */
.hvc-float {
  position: absolute;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hvc-float-1 {
  top: 10%;
  right: -15%;
  animation: float 5s ease-in-out infinite;
  animation-delay: -1s;
}

.hvc-float-2 {
  bottom: 20%;
  right: -18%;
  animation: float 5s ease-in-out infinite;
  animation-delay: -3s;
}

.hvc-float-3 {
  bottom: 5%;
  left: -12%;
  animation: float 5s ease-in-out infinite;
  animation-delay: -2s;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.trust-logos span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trust-logos span:hover {
  border-color: rgba(108, 99, 255, 0.3);
  color: var(--text-primary);
  background: rgba(108, 99, 255, 0.06);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.how-card:hover::before {
  transform: scaleX(1);
}

.how-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.how-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(108, 99, 255, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: -0.05em;
}

.how-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.how-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.how-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.how-arrow {
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 50%;
  font-weight: 700;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 100%);
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: 0 var(--space-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 8rem;
  font-family: serif;
  color: rgba(108, 99, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.tdot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.open {
  border-color: rgba(108, 99, 255, 0.3);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  gap: 1rem;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0;
}

.faq-item.open .faq-a {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--rose);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cart-close:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 3rem 1rem;
  line-height: 1.6;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(108, 99, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--rose);
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cart-total strong {
  color: var(--accent);
  font-size: 1.3rem;
}

/* ============================================
   DEMO MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  z-index: 20001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108, 99, 255, 0.1);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: var(--transition);
}

.modal-close:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.modal-form-group {
  margin-bottom: 1rem;
}

.modal-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-form-group input,
.modal-form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.modal-form-group input:focus,
.modal-form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.modal-form-group select {
  appearance: none;
  cursor: pointer;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 9000;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.55);
}

/* ============================================
   RESPONSIVE - NEW SECTIONS
   ============================================ */
@media (max-width: 1024px) {
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text-side .hero-title,
  .hero-text-side .hero-subtitle {
    text-align: center;
  }

  .hero-text-side .hero-cta {
    justify-content: center;
  }

  .hero-text-side .hero-stats {
    justify-content: center;
  }

  .hero-visual-side {
    display: none;
  }

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

  .how-arrow {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn:not(.btn-primary):not(.cart-btn) {
    display: none;
  }

  .trust-inner {
    justify-content: center;
  }

  .trust-logos {
    gap: 0.75rem;
  }

  .testimonials-track {
    grid-template-columns: repeat(4, 100%);
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
  }

  .hvc-float {
    display: none;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 1.75rem;
  }

  .trust-logos span {
    font-size: 0.75rem;
    padding: 0.275rem 0.6rem;
  }
}

/* ============================================
   ENHANCEMENT: CURSOR GLOW
   ============================================ */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
  will-change: left, top;
}

/* ============================================
   ENHANCEMENT: PARTICLES CANVAS
   ============================================ */
#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ============================================
   ENHANCEMENT: TYPED TEXT CURSOR
   ============================================ */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink-cursor 0.8s step-end infinite;
  border-radius: 2px;
}

@keyframes blink-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ============================================
   ENHANCEMENT: DARK / LIGHT MODE TOGGLE
   ============================================ */
.theme-toggle {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 8990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.1);
}

/* Light mode overrides */
body.light-mode {
  --bg-base: #f5f5ff;
  --bg-surface: #eeeeff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0ff;
  --bg-muted: #e8e8f8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(108, 99, 255, 0.4);
  --text-primary: #0a0a1a;
  --text-secondary: #555577;
  --text-muted: #8888aa;
}

body.light-mode .navbar.scrolled {
  background: rgba(245, 245, 255, 0.9);
}

body.light-mode .hero-orb-1 {
  background: rgba(108, 99, 255, 0.10);
}

body.light-mode .hero-orb-2 {
  background: rgba(0, 212, 170, 0.08);
}

body.light-mode .mobile-menu {
  background: rgba(245, 245, 255, 0.97);
}

/* ============================================
   ENHANCEMENT: WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 9rem;
  right: 1.5rem;
  z-index: 8990;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: #25D366;
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ============================================
   ENHANCEMENT: COUNTDOWN TIMER
   ============================================ */
.offer-banner {
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.15), rgba(0, 212, 170, 0.10), rgba(108, 99, 255, 0.15));
  border-bottom: 1px solid rgba(108, 99, 255, 0.2);
  padding: 0.55rem var(--space-md);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
}

.offer-banner strong {
  color: var(--accent);
}

.countdown-units {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  min-width: 36px;
}

.countdown-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-light);
  font-family: var(--font-mono);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-sep {
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.offer-banner-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  transition: color 0.2s;
}

.offer-banner-close:hover {
  color: var(--text-secondary);
}

/* ============================================
   ENHANCEMENT: MESH GRADIENT HERO BG
   ============================================ */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(0, 212, 170, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  animation: meshFloat 10s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

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

/* ============================================
   ENHANCEMENT: IMPROVED CARD HOVER GLOWS
   ============================================ */
.product-card:hover {
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.3),
    0 8px 40px rgba(108, 99, 255, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.2),
    0 12px 40px rgba(108, 99, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.digital-card:hover {
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.25),
    0 8px 30px rgba(108, 99, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   ENHANCEMENT: MOBILE HERO IMPROVEMENTS
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 2rem 1.25rem 3rem;
  }

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

@media (max-width: 768px) {
  .offer-banner {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .countdown-units {
    display: none;
  }

  .theme-toggle {
    bottom: 4.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .whatsapp-btn {
    bottom: 8rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   ENHANCEMENT: ANALYTICS / FORMSPREE FORM
   ============================================ */
.modal-form-group input,
.modal-form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  margin-top: 0.35rem;
}

.modal-form-group input:focus,
.modal-form-group select:focus {
  border-color: rgba(108, 99, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.08);
}

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

.modal-form-group select option {
  background: var(--bg-card);
}

/* ============================================
   LEGENDARY: SOCIAL PROOF TICKER
   ============================================ */
.social-ticker {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9000;
  pointer-events: none;
}

.social-proof-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  max-width: 280px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: slideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    fadeOut 0.4s ease 4.6s both;
}

.sp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.sp-body {
  flex: 1;
}

.sp-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sp-action {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.sp-time {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ============================================
   LEGENDARY: AI PLATFORM MATCHER
   ============================================ */
.matcher-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.matcher-step {
  display: none;
  animation: fadeInUp 0.35s ease both;
}

.matcher-step.active {
  display: block;
}

.matcher-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.matcher-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.matcher-opt {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}

.matcher-opt:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
  color: var(--text-primary);
  transform: translateY(-2px);
}

#mResult {
  text-align: center;
}

.matcher-result-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.matcher-result-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.matcher-result-platform {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0;
}

.matcher-result-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   LEGENDARY: ROI CALCULATOR
   ============================================ */
.roi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.roi-inputs {
  margin-bottom: 2rem;
}

.roi-row {
  margin-bottom: 1.5rem;
}

.roi-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.roi-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.roi-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--primary) 0%, var(--accent) 100%);
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(108, 99, 255, 0.4);
  cursor: pointer;
  transition: transform 0.15s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-val {
  min-width: 80px;
  text-align: right;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.roi-result-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.roi-result-card.featured {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 170, 0.06));
  border-color: rgba(108, 99, 255, 0.3);
}

.roi-result-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.roi-result-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.roi-result-val {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.roi-result-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.roi-result-card.featured .roi-result-val {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .roi-results {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LEGENDARY: BUSINESS NAME GENERATOR
   ============================================ */
.namegen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.namegen-inputs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.namegen-input {
  flex: 1;
  min-width: 180px;
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.namegen-input:focus {
  border-color: rgba(108, 99, 255, 0.5);
}

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

.namegen-select {
  padding: 0.75rem 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.namegen-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.namegen-name {
  padding: 0.875rem 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.namegen-name:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
  transform: translateY(-2px);
}

.namegen-name .copy-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================
   LEGENDARY: WAITLIST
   ============================================ */
.waitlist-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.06), rgba(0, 212, 170, 0.03));
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.waitlist-count {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.waitlist-num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.waitlist-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-input {
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input:focus {
  border-color: rgba(108, 99, 255, 0.5);
}

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

.waitlist-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.25rem;
}

.waitlist-perks span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .waitlist-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

/* ============================================
   LEGENDARY: AFFILIATE PROGRAM
   ============================================ */
.affiliate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.affiliate-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.affiliate-stat {
  text-align: center;
  flex: 1;
  min-width: 100px;
  padding: 1rem;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.affiliate-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.affiliate-stat span:last-child {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.affiliate-gen {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.affiliate-link-box {
  background: var(--bg-muted);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  animation: fadeInUp 0.35s ease both;
}

.affiliate-link-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.affiliate-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ============================================
   LEGENDARY: LANGUAGE SWITCH BUTTON
   ============================================ */
.lang-switch {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

body.ar-mode {
  direction: rtl;
  font-family: 'IBM Plex Arabic', 'Cairo', 'Tajawal', var(--font-sans);
}

/* ============================================
   LEGENDARY: 3D CARD HOVER
   ============================================ */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  will-change: transform;
}

/* Badge variants */
.badge-rose {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

/* ============================================
   PRIORITY #2: ANIMATED LOGO TICKER
   ============================================ */
.logo-ticker-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
}

.logo-ticker-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.logo-ticker-wrap {
  overflow: hidden;
  position: relative;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}

.logo-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
  border-right: 1px solid var(--border);
}

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

.logo-item span {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .logo-ticker-section {
    padding: 1.5rem 0;
  }

  .logo-item {
    padding: 0.4rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* ============================================================
   3D IMMERSIVE EFFECTS — MBR Digital
   ============================================================ */

/* ── Perspective containers ── */
.hero,
.section,
.section-alt,
.products-grid,
.services-grid {
  perspective: 1200px;
  perspective-origin: center center;
}

/* ── Hero visual card — smooth 3D transition ── */
.hero-visual-card {
  transform-style: preserve-3d;
  transition: transform 0.12s ease;
  will-change: transform;
  border-radius: var(--radius-xl);
}

/* ── Card tilt base ── */
.product-card,
.service-card,
.digital-card,
.pricing-card,
.compare-card,
.testimonial-card {
  transform-style: preserve-3d;
  cursor: pointer;
}

/* ── Depth Reveal animation ── */
.reveal,
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4 {
  will-change: transform, opacity;
}

/* ── 3D Word split reveal ── */
.word-3d {
  display: inline-block;
  opacity: 0;
  transform: perspective(600px) rotateX(40deg) translateY(20px);
  will-change: transform, opacity;
}

.word-3d.word-3d-animate {
  animation: word3dReveal 0.65s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.word-3d.inner-word {
  /* Preserve gradient colour on inner spans (inside .text-gradient) */
  background: inherit;
  -webkit-background-clip: inherit;
  -webkit-text-fill-color: inherit;
  background-clip: inherit;
}

@keyframes word3dReveal {
  0%   { opacity: 0; transform: perspective(600px) rotateX(40deg) translateY(20px) translateZ(-30px); }
  60%  { opacity: 1; transform: perspective(600px) rotateX(-4deg) translateY(-2px) translateZ(8px); }
  100% { opacity: 1; transform: perspective(600px) rotateX(0deg) translateY(0) translateZ(0); }
}

/* ── Parallax orbs inserted by JS ── */
.parallax-orb {
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ── Scroll progress glow ── */
#scrollProgress {
  height: 3px;
  background: linear-gradient(90deg, #6c63ff, #00d4aa, #8b5cf6);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(108,99,255,0.6), 0 0 20px rgba(0,212,170,0.3);
}

/* ── Floating badge 3D layer ── */
.hvc-float {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.12s ease;
}

/* ── Stats pop entry state (overridden by JS) ── */
.hero-stat {
  will-change: transform, opacity;
}

/* ── Reduce motion (accessibility) ── */
@media (prefers-reduced-motion: reduce) {
  .word-3d,
  .word-3d.word-3d-animate,
  .hero-visual-card,
  .hvc-float,
  .product-card,
  .service-card,
  .digital-card,
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ── Mobile: disable expensive 3D ── */
@media (max-width: 767px) {
  .hero-visual-card {
    transition: none;
  }
  .word-3d {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .parallax-orb {
    display: none;
  }
}

/* ============================================
   IPHONE & IPAD — COMPREHENSIVE RESPONSIVE
   ============================================ */

/* ── iPad (768px – 1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Hero */
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: var(--space-xl) 0;
    text-align: center;
    min-height: auto;
  }

  .hero-text-side .hero-title,
  .hero-text-side .hero-subtitle {
    text-align: center;
  }

  .hero-text-side .hero-cta,
  .hero-text-side .hero-stats {
    justify-content: center;
  }

  .hero-visual-side {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .pricing-card.featured {
    transform: scale(1);
    order: -1;
  }

  /* Nav */
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-actions .btn:not(.btn-primary):not(#langSwitch):not(#cartBtn) {
    display: none;
  }

  /* Offer Banner */
  .offer-banner {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    justify-content: center;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Section padding */
  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ── iPhone (≤ 767px) ── */
@media (max-width: 767px) {

  /* Base spacing */
  html { font-size: 15px; }

  .container,
  .container-wide {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Offer Banner */
  .offer-banner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    text-align: center;
  }

  .countdown-units {
    justify-content: center;
  }

  /* Navbar */
  .navbar {
    top: 0 !important;
    padding: 0 1rem;
    height: 60px;
  }

  body.no-banner .navbar {
    top: 0;
  }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn:not(.btn-primary):not(#langSwitch):not(#cartBtn) {
    display: none;
  }

  .nav-logo-mbr { font-size: 0.95rem; }
  .nav-logo-digital { font-size: 0.55rem; }

  /* Mobile menu positioning */
  .mobile-menu {
    top: 60px;
  }

  /* Hero */
  .hero {
    padding-top: 70px;
    min-height: auto;
  }

  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
    min-height: auto;
    text-align: center;
  }

  .hero-text-side .hero-title,
  .hero-text-side .hero-subtitle {
    text-align: center;
  }

  .hero-text-side .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-text-side .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Hide the visual dashboard card on mobile */
  .hero-visual-side {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    padding: 1.25rem;
  }

  /* Digital Grid */
  .digital-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .digital-tabs {
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Pricing Grid */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card {
    padding: 1.5rem;
  }

  /* Stats Banner */
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* How it Works steps */
  .steps-grid,
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonials */
  .testimonials-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Section headers */
  .section-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
    letter-spacing: -0.02em;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  /* Trust Bar */
  .trust-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .trust-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  /* FAQ */
  .faq-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  /* CTA Section */
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Cards hover — disable on touch */
  @media (hover: none) {
    .product-card:hover,
    .service-card:hover,
    .digital-card:hover,
    .card:hover {
      transform: none;
      box-shadow: none;
    }
  }

  /* Better touch targets */
  .btn {
    min-height: 44px;
  }

  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* Logo ticker — faster on mobile */
  .logo-ticker-track {
    animation-duration: 20s;
  }

  /* Floating badges in hero — hide on mobile */
  .hvc-float {
    display: none;
  }
}

/* ── iPhone SE / very small (≤ 375px) ── */
@media (max-width: 375px) {
  html { font-size: 14px; }

  .hero-title {
    font-size: 1.9rem;
  }

  .stats-banner {
    grid-template-columns: 1fr;
  }

  .pricing-toggle {
    flex-direction: column;
    align-items: center;
  }
}

/* ── iOS Safari-specific fixes ── */
@supports (-webkit-touch-callout: none) {

  /* Fix 100vh on iOS */
  .hero {
    min-height: -webkit-fill-available;
  }

  /* Safe area insets (notch + home indicator) */
  .navbar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  /* Prevent text size adjustment */
  body {
    -webkit-text-size-adjust: 100%;
  }
}