/* ==============================================================================
   SpeedNx - Premium Liquid Glass & Dark UI Stylesheet
   Direction: RTL | Font: Vazirmatn | Palette: #05070D, Cyan, Electric Blue, Violet
   ============================================================================== */

:root {
  /* Core Backgrounds (Sleek Interface) */
  --bg-dark: #05070D;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-surface-hover: rgba(255, 255, 255, 0.06);
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass-heavy: rgba(5, 7, 13, 0.85);

  /* Borders & Highlights */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(0, 209, 255, 0.4);
  --border-glass-accent: rgba(0, 209, 255, 0.2);

  /* Accents & Gradients (Sleek Interface) */
  --cyan: #00D1FF;
  --cyan-glow: rgba(0, 209, 255, 0.3);
  --blue: #0096FF;
  --purple: #9333EA;
  --purple-glow: rgba(147, 51, 234, 0.15);
  --emerald: #10B981;
  --amber: #F59E0B;

  --grad-cyan-blue: linear-gradient(90deg, #FFFFFF 0%, #00D1FF 100%);
  --grad-purple-cyan: linear-gradient(135deg, #00D1FF 0%, #9333EA 100%);
  --grad-aurora: linear-gradient(135deg, #00D1FF 0%, #0096FF 50%, #9333EA 100%);
  --grad-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

  /* Text Colors */
  --text-primary: #E0E0E0;
  --text-secondary: rgba(224, 224, 224, 0.65);
  --text-muted: rgba(224, 224, 224, 0.45);
  --text-white: #FFFFFF;

  /* Elevation Shadows & Glows */
  --glow-cyan: 0 0 30px rgba(0, 209, 255, 0.3);
  --glow-purple: 0 0 30px rgba(147, 51, 234, 0.2);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  /* Fluid Sizing & Radii (Sleek Interface 24px / 16px) */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Aurora Ambient Lights (Sleek Interface) */
.aurora-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.aurora-1 {
  top: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatOrb 24s ease-in-out infinite alternate;
}

.aurora-2 {
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  animation: floatOrb 28s ease-in-out infinite alternate-reverse;
}

.aurora-3 {
  top: 40%;
  right: 25%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.1) 0%, transparent 70%);
  filter: blur(90px);
  animation: floatOrb 22s ease-in-out infinite alternate;
}

/* Subtle Micro Grid Texture */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 85%);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Class Utilities (Sleek Interface) */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.glass-panel:hover {
  border-color: rgba(0, 209, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 209, 255, 0.15);
}

/* ==============================================================================
   Navbar (Sleek Interface)
   ============================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 16px 0;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding 0.3s ease, background 0.3s ease;
}

.navbar-scrolled {
  padding: 12px 0;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(0, 209, 255, 0.5));
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.05);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #FFFFFF 0%, #00D1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: rgba(224, 224, 224, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: #00D1FF;
  background: rgba(0, 209, 255, 0.06);
}

.nav-link.active {
  color: #00D1FF;
  font-weight: 700;
  background: rgba(0, 209, 255, 0.08);
}

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

/* Button Component Styles (Sleek Interface) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  outline: none;
}

.btn-primary {
  background: #00D1FF;
  color: #000000;
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0, 209, 255, 0.5);
  background: #1ae0ff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 209, 255, 0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-telegram {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 209, 255, 0.25);
  color: #00D1FF;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-telegram:hover {
  background: #00D1FF;
  color: #000000;
  border-color: #00D1FF;
  box-shadow: 0 0 25px rgba(0, 209, 255, 0.35);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Mobile Hamburger Toggle */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

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

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 90px 24px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.mobile-nav-item a {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-smooth);
}

.mobile-nav-item a:hover {
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.3);
  color: var(--cyan);
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 209, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulseLight 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #00D1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.guarantee-item svg {
  color: var(--cyan);
}

/* Hero Visual Composition */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.hero-center-shield {
  position: relative;
  z-index: 2;
  width: 240px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 209, 255, 0.35);
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.25), inset 0 0 20px rgba(0, 209, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: floatShield 8s ease-in-out infinite alternate;
}

.shield-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(0, 209, 255, 0.7));
}

.shield-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: #34D399;
  font-weight: 600;
}

.shield-status-dot {
  width: 6px;
  height: 6px;
  background-color: #34D399;
  border-radius: 50%;
  animation: pulseLight 1.5s infinite;
}

/* Floating Glass Cards around Hero */
.floating-glass-card {
  position: absolute;
  z-index: 3;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.floating-card-1 {
  top: 15px;
  right: -10px;
  animation: floatCard1 6s ease-in-out infinite alternate;
}

.floating-card-2 {
  bottom: 30px;
  left: -15px;
  animation: floatCard2 7s ease-in-out infinite alternate;
}

.floating-card-3 {
  top: 60%;
  right: -30px;
  animation: floatCard3 6.5s ease-in-out infinite alternate;
}

.card-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-cyan { background: rgba(0, 245, 255, 0.15); color: var(--cyan); }
.box-green { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.box-purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); }

/* ==============================================================================
   Feature Cards
   ============================================================================== */
.features-section {
  padding: 70px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 209, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFFFFF 0%, #00D1FF 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 209, 255, 0.15);
}

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

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--cyan);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.08);
  border-color: rgba(0, 209, 255, 0.4);
  background: rgba(0, 209, 255, 0.1);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==============================================================================
   Why SpeedNx
   ============================================================================== */
.why-section {
  padding: 80px 0;
  position: relative;
}

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

.why-card {
  padding: 28px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 209, 255, 0.15);
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(0, 209, 255, 0.08);
  border: 1px solid rgba(0, 209, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.why-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.why-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==============================================================================
   Statistics Section (Sleek Interface)
   ============================================================================== */
.stats-section {
  padding: 40px 0 70px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  display: inline-block;
}

.stat-label {
  color: rgba(224, 224, 224, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==============================================================================
   Pricing Section (Sleek Interface)
   ============================================================================== */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

/* iOS Segmented Control for Tabs */
.pricing-tab-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.segmented-control {
  display: inline-flex;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tab-btn {
  position: relative;
  z-index: 2;
  padding: 9px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(224, 224, 224, 0.6);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.tab-btn.active {
  color: #000000;
  font-weight: 700;
}

/* iOS Sliding Active Indicator */
.segmented-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 4px;
  width: calc(50% - 4px);
  background: #00D1FF;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.segmented-control[data-active="volume"] .segmented-slider {
  transform: translateX(-100%);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Unlimited Pricing Grid (3 cards) */
.pricing-grid-unlimited {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Volume Pricing Grid (7 cards) */
.pricing-grid-volume {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 34px 26px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 209, 255, 0.15);
}

/* Featured / Popular Card Highlight */
.pricing-card.popular, .pricing-card.featured {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 209, 255, 0.45);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 209, 255, 0.18);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #00D1FF 0%, #9333EA 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-popular {
  background: linear-gradient(135deg, #00D1FF 0%, #9333EA 100%);
  color: #FFFFFF;
}

.badge-featured {
  background: linear-gradient(135deg, #00D1FF 0%, #0096FF 100%);
  color: #FFFFFF;
}

.card-header-plan {
  margin-bottom: 22px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.plan-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.plan-currency {
  font-size: 0.9rem;
  color: rgba(224, 224, 224, 0.6);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-feature-item svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.plan-feature-highlight {
  color: var(--text-white);
  font-weight: 600;
}

.btn-buy {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-buy:hover {
  background: #00D1FF;
  color: #000000;
  border-color: #00D1FF;
  box-shadow: 0 0 25px rgba(0, 209, 255, 0.35);
  transform: translateY(-2px);
}

.pricing-card.popular .btn-buy,
.pricing-card.featured .btn-buy {
  background: #00D1FF;
  color: #000000;
  border-color: #00D1FF;
  box-shadow: 0 0 25px rgba(0, 209, 255, 0.3);
}

.pricing-card.popular .btn-buy:hover,
.pricing-card.featured .btn-buy:hover {
  background: #1ae0ff;
  box-shadow: 0 0 35px rgba(0, 209, 255, 0.5);
}

/* ==============================================================================
   FAQ Accordion (Sleek Interface)
   ============================================================================== */
.faq-section {
  padding: 80px 0;
  position: relative;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-item.open {
  border-color: rgba(0, 209, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 209, 255, 0.1);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-trigger:hover {
  color: var(--cyan);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-content {
  max-height: 240px;
  opacity: 1;
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-support-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.faq-support-link:hover {
  text-decoration: underline;
}

/* ==============================================================================
   CTA Glass Banner (Sleek Interface)
   ============================================================================== */
.cta-section {
  padding: 80px 0;
  position: relative;
}

.cta-glass-box {
  padding: 56px 36px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 209, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 209, 255, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==============================================================================
   Footer
   ============================================================================== */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 13, 0.9);
  position: relative;
  z-index: 2;
}

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

.footer-brand-col p {
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

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

.footer-nav-list a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-list a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==============================================================================
   Toast Notification (Telegram Redirection)
   ============================================================================== */
.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-container.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-glass-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: var(--radius-pill);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 600;
}

.toast-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 245, 255, 0.25);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* ==============================================================================
   Animations & Keyframes
   ============================================================================== */
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes floatShield {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes floatCard1 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatCard2 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-1.5deg); }
}

@keyframes floatCard3 {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(8px) rotate(1.2deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================================
   Accessibility: Reduced Motion
   ============================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aurora-blob {
    display: none;
  }
}

/* ==============================================================================
   Responsive Media Queries
   ============================================================================== */
@media (max-width: 1024px) {
  .features-grid, .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid-unlimited {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 840px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-guarantee {
    justify-content: center;
  }
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .pricing-grid-unlimited {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 30px 20px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 18px;
  }
  .hero-section {
    padding: 40px 0 60px;
  }
  .features-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .btn-buy, .hero-cta-group .btn {
    width: 100%;
  }
  .pricing-grid-volume {
    grid-template-columns: 1fr;
  }
  .cta-glass-box {
    padding: 40px 20px;
  }
  .floating-glass-card {
    display: none; /* Keep clean on small mobile viewports */
  }
  .stats-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item::after {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
