/* ==========================================================================
   PLATFORM SAZ — DESIGN SYSTEM V2 (PALETTE A: HIGH-TRUST ENTERPRISE SAAS)
   Palette Architecture:
   - 60% Dominant Background: Deep Obsidian Navy (#090D1A / #0A0F1D)
   - 30% Structural & Surfaces: Glassmorphism (#0F172A / rgba(15,23,42,0.72))
   - 10% High-Conversion CTA Action: Fiery Tangerine Orange (#EA580C / #F97316)
   - Trust & Engineering Accent: Tech Royal Blue (#2563EB) & Crisp Cyan (#06B6D4)
   ========================================================================== */

/* ═══════════════════════════════════════
   LOCAL VAZIRMATN FONT FACES
   ═══════════════════════════════════════ */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url('/fonts/vazirmatn-arabic-wght-normal.woff2') format('woff2-variations'),
       url('/fonts/vazirmatn-arabic-wght-normal.woff2') format('woff2'),
       url('/fonts/Vazirmatn-Regular.woff') format('woff');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url('/fonts/vazirmatn-latin-wght-normal.woff2') format('woff2-variations'),
       url('/fonts/vazirmatn-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* Surfaces & Canvas */
  --v2-bg-base: #090d1a;
  --v2-bg-deep: #060913;
  --v2-bg-surface: rgba(15, 23, 42, 0.75);
  --v2-bg-surface-hover: rgba(22, 34, 62, 0.88);
  --v2-bg-card: rgba(16, 24, 44, 0.82);
  --v2-bg-panel: rgba(10, 16, 30, 0.92);
  --v2-bg-pill: rgba(255, 255, 255, 0.05);

  /* Typography Colors (WCAG AAA / AA Compliant) */
  --v2-text-primary: #f8fafc;
  --v2-text-secondary: #94a3b8;
  --v2-text-muted: #64748b;
  --v2-text-highlight: #38bdf8;
  --v2-text-on-cta: #ffffff;

  /* Brand Accents */
  --v2-royal-blue: #2563eb;
  --v2-royal-blue-hover: #1d4ed8;
  --v2-royal-blue-glow: rgba(37, 99, 235, 0.3);
  --v2-royal-blue-subtle: rgba(37, 99, 235, 0.12);

  /* Conversion CTA (Fiery Warm Ember / Orange) */
  --v2-cta-primary: #ea580c;
  --v2-cta-primary-hover: #f97316;
  --v2-cta-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --v2-cta-glow: rgba(234, 88, 12, 0.36);
  --v2-cta-border: rgba(249, 115, 22, 0.5);

  /* Auxiliary Semantics */
  --v2-cyan: #06b6d4;
  --v2-cyan-glow: rgba(6, 182, 212, 0.28);
  --v2-cyan-subtle: rgba(6, 182, 212, 0.12);
  --v2-green: #10b981;
  --v2-green-glow: rgba(16, 185, 129, 0.28);
  --v2-green-subtle: rgba(16, 185, 129, 0.12);
  --v2-amber: #f59e0b;
  --v2-amber-subtle: rgba(245, 158, 11, 0.12);

  /* Borders & Dividers */
  --v2-border-subtle: rgba(255, 255, 255, 0.08);
  --v2-border-default: rgba(255, 255, 255, 0.12);
  --v2-border-strong: rgba(255, 255, 255, 0.18);
  --v2-border-focus: rgba(37, 99, 235, 0.6);

  /* Shadows */
  --v2-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --v2-shadow-md: 0 10px 28px -6px rgba(0, 0, 0, 0.5), 0 0 1px 1px var(--v2-border-subtle);
  --v2-shadow-lg: 0 20px 48px -12px rgba(0, 0, 0, 0.65), 0 0 25px rgba(37, 99, 235, 0.15);
  --v2-shadow-cta: 0 8px 24px rgba(234, 88, 12, 0.35);
  --v2-shadow-cta-hover: 0 14px 34px rgba(249, 115, 22, 0.52);
}

/* Global Reset & Typography Baseline */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body, body.v2-body {
  background-color: var(--v2-bg-base);
  color: var(--v2-text-primary);
  font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  direction: rtl;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

input, textarea, select, button, optgroup {
  box-sizing: border-box;
  max-width: 100%;
  font-family: inherit;
}

.v2-hero-grid, .v2-hero-content, .v2-hero-visual, .v2-visual-frame {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ambient Radial Mesh Background */
.v2-ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  contain: strict;
  will-change: transform;
  background: 
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 40%, rgba(234, 88, 12, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--v2-bg-base) 0%, #060a15 100%);
}

/* Header & Navigation Bar (Palette A) */
.v2-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9, 13, 26, 0.85);
  border-bottom: 1px solid var(--v2-border-subtle);
  padding: 14px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.v2-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--v2-text-primary);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.v2-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.v2-nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: nowrap;
}

.v2-nav-link {
  color: var(--v2-text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.v2-nav-link:hover,
.v2-nav-link.active {
  color: #ffffff;
}

.v2-nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--v2-royal-blue);
  border-radius: 2px;
}

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--v2-border-subtle);
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
}

@media (max-width: 1140px) {
  .v2-nav-links.desktop-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
}

/* Mobile Drawer (Palette A Glass) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(9, 13, 26, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--v2-border-default);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  z-index: 1200;
  display: none;
  flex-direction: column;
  padding: 30px 20px;
  gap: 10px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
}

.mobile-drawer.active {
  display: flex !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-drawer a {
  color: var(--v2-text-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v2-border-subtle);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer a:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  color: #60a5fa;
}

/* Version Toggle Pill in Navbar */
.v2-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Primary High-Conversion CTA Button */
.v2-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 12px;
  background: var(--v2-cta-gradient);
  color: var(--v2-text-on-cta) !important;
  border: 1px solid var(--v2-cta-border);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--v2-shadow-cta);
  white-space: nowrap;
}

.v2-btn-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  box-shadow: var(--v2-shadow-cta-hover);
  border-color: rgba(251, 146, 60, 0.8);
}

.v2-btn-cta:active {
  transform: translateY(0);
}

/* Secondary Ghost Button */
.v2-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid var(--v2-border-default);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(10px);
}

.v2-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION — ASYMMETRIC SPLIT SCREEN (RTL)
   ========================================================================== */
.v2-hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 80px 80px 80px;
  max-width: 1380px;
  margin: 0 auto;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

@media (max-width: 1024px) {
  .v2-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Right Content (Persian Reading Anchor) */
.v2-hero-content {
  text-align: right;
}

.v2-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.v2-live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  position: relative;
}

.v2-live-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.6);
  animation: v2Pulse 2s infinite ease-out;
}

@keyframes v2Pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.v2-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.v2-hero-title span.highlight-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v2-hero-subtitle {
  font-size: 1.08rem;
  color: var(--v2-text-secondary);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 620px;
  min-height: 90px;
}

.v2-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
  min-height: 54px;
}

/* Trust Metric Row under Hero */
.v2-hero-trust-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--v2-border-subtle);
  font-size: 0.85rem;
  color: var(--v2-text-secondary);
}

.v2-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v2-trust-item svg {
  color: var(--v2-green);
  flex-shrink: 0;
}

/* Left Showcase (3D Hub Hologram & Screen Synchronizer) */
.v2-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: start;
  margin-top: 12px;
}

.v2-visual-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(16, 24, 44, 0.85) 0%, rgba(9, 13, 26, 0.95) 100%);
  border: 1px solid var(--v2-border-default);
  box-shadow: var(--v2-shadow-lg);
  padding: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  aspect-ratio: 600 / 400;
  contain: layout;
}

.v2-visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 400;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-visual-frame:hover img {
  transform: scale(1.02);
}

/* Telemetry Badge floating on Hero Visual */
.v2-telemetry-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(9, 13, 26, 0.88);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.2);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 10;
}

/* ==========================================================================
   MULTIVERSE 5-CHANNEL ARENA SECTION
   ========================================================================== */
.v2-section {
  position: relative;
  padding: 100px 48px;
  max-width: 1380px;
  margin: 0 auto;
  z-index: 2;
}

.v2-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.v2-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.v2-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.v2-section-desc {
  font-size: 1rem;
  color: var(--v2-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* 5 Channels Segmented Control */
.v2-channels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .v2-channels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .v2-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.v2-channel-tab {
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 20px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
}

.v2-channel-tab:hover {
  background: var(--v2-bg-surface-hover);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.v2-channel-tab.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: var(--v2-royal-blue);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.v2-channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease;
}

.v2-channel-tab:hover .v2-channel-icon-wrap,
.v2-channel-tab.active .v2-channel-icon-wrap {
  transform: scale(1.1);
}

.v2-channel-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.v2-channel-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--v2-text-secondary);
}

.v2-channel-tab.active .v2-channel-tag {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

/* Omnichannel Live Preview Stage */
.v2-channel-stage {
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-default);
  border-radius: 28px;
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: var(--v2-shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .v2-channel-stage {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ==========================================================================
   BENTO GRID — CORE PLATFORMS
   ========================================================================== */
.v2-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .v2-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .v2-bento-grid {
    grid-template-columns: 1fr;
  }
}

.v2-bento-card {
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 24px;
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.v2-bento-card:hover {
  background: var(--v2-bg-surface-hover);
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-5px);
  box-shadow: var(--v2-shadow-lg);
}

.v2-bento-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(16, 24, 44, 0.9) 0%, rgba(22, 33, 60, 0.75) 100%);
  border-color: rgba(37, 99, 235, 0.35);
}

@media (max-width: 1024px) {
  .v2-bento-featured {
    grid-column: span 1;
  }
}

.v2-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.v2-card-badge.badge-vip {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

.v2-card-badge.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   50% PHASED PAYMENT LIVE CALCULATOR
   ========================================================================== */
.v2-calc-container {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 24, 0.98) 100%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 32px;
  padding: 44px;
  box-shadow: var(--v2-shadow-lg);
  backdrop-filter: blur(24px);
}

@media (max-width: 768px) {
  .v2-calc-container {
    padding: 24px;
  }
}

/* 2-Phase Split Cards */
.v2-phases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

@media (max-width: 768px) {
  .v2-phases-grid {
    grid-template-columns: 1fr;
  }
}

.v2-phase-box {
  border-radius: 20px;
  padding: 22px;
  position: relative;
  border: 1px solid;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.v2-phase-1 {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}

.v2-phase-2 {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Custom Platform Switcher Pills */
.v2-pill-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.v2-pill-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--v2-text-secondary);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.v2-pill-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.v2-pill-option.active {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--v2-royal-blue);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

/* Addon Toggle Row */
.v2-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 14px;
  margin-bottom: 8px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.v2-addon-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.v2-addon-row.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

/* Sticky Switcher Banner to let users toggle versions */
.v2-version-switcher-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: rgba(9, 13, 26, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 88, 12, 0.2);
  border-radius: 30px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.v2-version-btn {
  color: #cbd5e1;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 20px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.v2-version-btn.active {
  background: var(--v2-cta-gradient);
  color: #fff;
}

/* ========================================================================== */
/* V2 ENHANCED ENTERPRISE FOOTER & TRUST BADGES                              */
/* ========================================================================== */
.v2-footer {
  background: var(--v2-bg-deep);
  border-top: 1px solid var(--v2-border-subtle);
  padding: 60px 40px 30px;
  position: relative;
  z-index: 2;
}

.v2-footer-guarantees {
  max-width: 1380px;
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.v2-footer-guarantee-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 16px;
  padding: 16px 20px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.v2-footer-guarantee-card:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.v2-footer-main-grid {
  max-width: 1380px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  text-align: right;
}

@media (max-width: 1080px) {
  .v2-footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .v2-footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .v2-footer {
    padding: 40px 20px 24px;
  }
}

.v2-skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.v2-skill-badge:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: #60a5fa;
  color: #fff;
}

.v2-trust-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 12px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.v2-trust-badge-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM STORY FOOTER (CANAL YAR ELEGANT ARCHITECTURE)
   ═══════════════════════════════════════════════════════════════ */
.story-footer,
footer.v2-footer {
  background: #050810;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 20px 20px;
  position: relative;
  z-index: 2;
  direction: rtl;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr;
  gap: 28px;
  margin-bottom: 24px;
  text-align: right;
  align-items: start;
}

.footer-col h3,
.footer-col h4 {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 10px !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.footer-links a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease!important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.footer-links a:hover {
  color: #00e5ff !important;
  transform: translateX(-3px);
}

.footer-trust-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 12px;
  margin-top: 8px;
  max-width: 320px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.footer-trust-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #00e5ff;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA-RESPONSIVE MOBILE ENGINE (< 768px & < 480px)
   Eliminates layout breakage, overflowing buttons, clipping cards
   ═══════════════════════════════════════════════════════════════ */

/* Mobile Header & Hero Refinements */
@media (max-width: 768px) {
  .v2-header {
    padding: 10px 16px !important;
  }
  .v2-logo {
    font-size: 1.05rem !important;
    gap: 8px !important;
  }
  .v2-logo img {
    width: 32px !important;
    height: 32px !important;
  }
  .v2-hero-section {
    padding: 85px 16px 36px 16px !important;
    min-height: auto !important;
  }
  .v2-hero-grid {
    gap: 28px !important;
  }
  .v2-hero-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem) !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-height: 56px !important;
  }
  .v2-custom-project-banner {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .v2-custom-project-banner .v2-btn-cta {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .v2-hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
    margin-bottom: 22px !important;
    min-height: 125px !important;
  }
  .v2-status-pill {
    font-size: 0.78rem !important;
    padding: 5px 12px !important;
    margin-bottom: 16px !important;
    white-space: normal !important;
    line-height: 1.5 !important;
  }
  /* CPU Optimization: Use hardware solid glass on mobile instead of heavy blur */
  *, *::before, *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .v2-header, .mobile-drawer, .v2-visual-frame, .v2-channel-stage, .v2-bento-card, .v2-calc-container, .v2-channel-tab {
    background: rgba(15, 23, 42, 0.95) !important;
  }
  .v2-ambient-mesh {
    contain: strict;
  }
  .v2-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    min-height: 108px !important;
  }
  .v2-hero-actions .v2-btn-cta,
  .v2-hero-actions .v2-btn-ghost {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
  }
  .v2-hero-trust-bar {
    gap: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-top: 18px !important;
    font-size: 0.8rem !important;
    min-height: 100px !important;
  }
  .v2-visual-frame {
    border-radius: 18px !important;
    padding: 8px !important;
    aspect-ratio: 600 / 400 !important;
  }
  .v2-telemetry-badge {
    font-size: 0.72rem !important;
    padding: 6px 12px !important;
    bottom: 12px !important;
    right: 12px !important;
  }
  .v2-section {
    padding: 50px 16px !important;
  }
  .v2-section-header {
    margin-bottom: 28px !important;
  }
  .v2-section-title {
    font-size: clamp(1.35rem, 5vw, 1.85rem) !important;
    line-height: 1.45 !important;
  }
  .v2-section-desc {
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
  }
  .v2-calc-container {
    padding: 22px 14px !important;
    border-radius: 20px !important;
  }
  .v2-phases-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .v2-version-switcher-bar {
    display: none !important; /* Hide floating version preview on mobile so it doesn't overlap UI */
  }
}

@media (max-width: 600px) {
  .v2-header {
    padding: 10px 12px !important;
  }
  .v2-header .v2-btn-ghost {
    display: none !important;
  }
  .v2-header .v2-btn-cta {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }
  .v2-header .v2-btn-cta svg {
    display: none !important;
  }
  .v2-header .v2-btn-cta span {
    font-size: 0.78rem !important;
  }
  .v2-logo span {
    font-size: 0.95rem !important;
  }
  .v2-channels-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .v2-channel-tab {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
  }
  .v2-channel-icon-wrap {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }
  .v2-channel-title {
    font-size: 0.86rem !important;
    margin: 0 10px !important;
    flex: 1 !important;
    text-align: right !important;
  }
  .v2-channel-tag {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
  }
  .v2-channel-stage {
    padding: 18px 14px !important;
    border-radius: 20px !important;
    gap: 20px !important;
  }
  #v2-channel-heading {
    font-size: 1.25rem !important;
  }
  #v2-channel-description {
    font-size: 0.88rem !important;
  }
  #v2-channel-features {
    flex-direction: column !important;
    gap: 8px !important;
  }
  #v2-channel-features .v2-trust-item {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #v2-channel-cta-link {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }
  .v2-bento-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .v2-pill-select-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .v2-pill-option {
    padding: 10px 8px !important;
    font-size: 0.78rem !important;
  }
  .v2-addon-row {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }
  .v2-phase-box {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }
  #v2-consultation > div {
    padding: 22px 14px !important;
    border-radius: 20px !important;
  }
  #v2-consult-step-1 form {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  #v2-btn-send-otp {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    white-space: normal !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
    text-align: center !important;
  }
}

@media (max-width: 400px) {
  .v2-hero-title {
    font-size: 1.55rem !important;
  }
  .v2-header .v2-btn-cta svg {
    display: none !important;
  }
}

/* ------------------------------------------------------------------------- */
/* SEO / PageSpeed Multi-Platform Carousel & Lightbox Modal                 */
/* ------------------------------------------------------------------------- */
.seo-audit-carousel-card {
  background: rgba(9, 13, 26, 0.75);
  border: 1px solid var(--v2-border-subtle);
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.seo-audit-carousel-card:hover {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.seo-audit-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #020610;
  cursor: pointer;
}
.seo-audit-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.seo-audit-img-wrap:hover img {
  transform: scale(1.02);
}
.seo-card-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.seo-card-nav-btn:hover {
  background: rgba(37, 99, 235, 0.9);
  border-color: #60a5fa;
  transform: translateY(-50%) scale(1.08);
}
.seo-card-nav-prev { right: 10px; }
.seo-card-nav-next { left: 10px; }
.seo-zoom-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.seo-zoom-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #fff;
  border-color: #38bdf8;
}
.seo-dot {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}
.seo-dot::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.seo-dot.active::before {
  background: #34d399;
  width: 26px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
}
.seo-dot:hover::before {
  background: rgba(255, 255, 255, 0.65);
}
.seo-dot.active:hover::before {
  background: #34d399;
}
.seo-dot:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
#seo-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
