/* ========================================
   MOJUD - Inventory Management SaaS
   Modern, Premium Landing Page Styles
======================================== */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors - Blue Theme */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  /* Accent Colors */
  --accent-blue: #0ea5e9;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-pink: #06b6d4;
  --accent-cyan: #06b6d4;

  /* Neutral Colors */
  --neutral-50: #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #71717a;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;

  /* Background & Surface */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Gradients - Blue Theme */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  --gradient-secondary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 100px;
  --border-radius: 16px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Bengali", "Inter", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.en {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-white {
  background: white;
  color: var(--primary-700);
}

.btn-white:hover {
  background: var(--neutral-100);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary-700);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Language Toggle */
.lang-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.lang-icon {
  font-size: 18px;
}

/* Theme Toggle - Animated Switch */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 90px;
  z-index: 1000;
}

/* The switch - the box around the slider */
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 4em;
  height: 2.2em;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a2a2a;
  transition: 0.4s;
  border-radius: 30px;
  overflow: hidden;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.2em;
  width: 1.2em;
  border-radius: 20px;
  left: 0.5em;
  bottom: 0.5em;
  transition: 0.4s;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
  box-shadow: inset 8px -4px 0px 0px #fff;
}

.switch input:checked + .slider {
  background-color: #00a6ff;
}

.switch input:checked + .slider:before {
  transform: translateX(1.8em);
  box-shadow: inset 15px -4px 0px 15px #ffcf48;
  transition: 0.4s;
  transition-timing-function: cubic-bezier(0.81, -0.04, 0.38, 1.5);
}

.star {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  width: 5px;
  transition: all 0.4s;
  height: 5px;
}

.star_1 {
  left: 2.5em;
  top: 0.5em;
}

.star_2 {
  left: 2.2em;
  top: 1.2em;
}

.star_3 {
  left: 3em;
  top: 0.9em;
}

.switch input:checked ~ .slider .star {
  opacity: 0;
}

.cloud {
  width: 3.5em;
  position: absolute;
  bottom: -1.4em;
  left: -1.1em;
  opacity: 0;
  transition: all 0.4s;
}

.switch input:checked ~ .slider .cloud {
  opacity: 1;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 24px;
}

.mobile-nav-links li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-toggle-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-theme-switch {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.mobile-theme-switch .switch {
  font-size: 14px;
  width: 3.5em;
  height: 2em;
}

.mobile-theme-switch span {
  color: var(--text-primary);
  font-size: 14px;
}

.toggle-btn-icon {
  font-size: 18px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-600);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-pink);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-300);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual / Dashboard Preview */
.hero-visual {
  position: relative;
}

.dashboard-preview {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red {
  background: #ff5f57;
}
.control.yellow {
  background: #febc2e;
}
.control.green {
  background: #28c840;
}

.dashboard-title {
  font-size: 14px;
  color: var(--text-muted);
}

.dashboard-content {
  padding: 20px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.dash-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-purple {
  border-left: 3px solid var(--primary-500);
}
.card-blue {
  border-left: 3px solid var(--accent-blue);
}
.card-green {
  border-left: 3px solid var(--accent-green);
}
.card-orange {
  border-left: 3px solid var(--accent-orange);
}

.dash-icon {
  font-size: 24px;
}

.dash-info {
  display: flex;
  flex-direction: column;
}

.dash-value {
  font-size: 18px;
  font-weight: 700;
}

.dash-label {
  font-size: 12px;
  color: var(--text-muted);
}

.dash-chart {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100px;
  gap: 12px;
}

.chart-bar {
  width: 20px;
  background: linear-gradient(
    180deg,
    var(--primary-500) 0%,
    var(--primary-700) 100%
  );
  border-radius: 4px 4px 0 0;
  opacity: 0.6;
  transition: all var(--transition-base);
}

.chart-bar.active {
  opacity: 1;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.chart-bar:hover {
  opacity: 1;
  transform: scaleY(1.05);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  animation: floatCard 3s ease-in-out infinite;
}

.card-notification {
  top: 60px;
  left: -40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-sale {
  bottom: 40px;
  right: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: -1.5s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.notif-icon,
.sale-icon {
  font-size: 24px;
}

.notif-title,
.sale-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.notif-text {
  font-size: 11px;
  color: var(--text-muted);
}

.sale-amount {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-green);
}

/* Trusted Section */
.trusted-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-text {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.logo-item:hover {
  opacity: 1;
}

/* Section Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Features Section */
.features-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Feature Card Wrapper - Service Page Style */
.feature-card-wrap {
  position: relative;
  border-radius: 16px;
  padding: 2px;
  background-image: radial-gradient(
    300px circle at 0% 0%,
    rgba(255, 255, 255, 0.7),
    transparent 40%
  );
  transition: all 300ms ease-in-out;
}

.feature-card {
  background: #020617;
  border-radius: 14px;
  border: 0.5px solid #242424;
  width: 100%;
  height: 100%;
  padding: 32px;
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.4);
  transition: all 300ms ease-in-out;
}

.feature-card-wrap:hover {
  background-image: radial-gradient(
      300px circle at 0% 0%,
      rgba(255, 255, 255, 0.7),
      transparent 40%
    ),
    radial-gradient(
      800px 500px at 100% 0%,
      rgba(255, 255, 255, 0.9),
      transparent 60%
    ),
    radial-gradient(
      450px circle at 100% 100%,
      rgba(59, 130, 246, 0.6),
      transparent 50%
    );
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2),
    0 0 32px 8px rgba(59, 130, 246, 0.3), 0 0 24px 4px rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-400);
}
.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}
.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}
.icon-orange {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
}
.icon-pink {
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent-pink);
}
.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: var(--section-padding) 0;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step-card {
  flex: 1;
  max-width: 300px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  text-align: center;
  transition: all var(--transition-base);
}

.step-card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

.step-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

.step-connector {
  color: var(--primary-500);
  opacity: 0.5;
}

/* Pricing Section */
.pricing-section {
  padding-top: var(--section-padding);
  padding-bottom: 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(236, 72, 153, 0.1) 100%
  );
  border-color: var(--primary-500);
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  min-height: 80px; /* Standardize header height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-price {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 100px; /* Standardize price height */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: top;
}

.amount {
  font-size: 48px;
  font-weight: 800;
}

.period {
  font-size: 16px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.plan-features svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
}

.testimonial-stars {
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 24px;
}

.author-name {
  display: block;
  font-weight: 600;
}

.author-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  font-size: 20px;
}

.contact-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-secondary);
}

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-size: 18px;
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    justify-self: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .floating-card {
    display: none;
  }

  /* Hide fixed toggle buttons on mobile - they're in hamburger menu */
  .lang-toggle,
  .theme-toggle {
    display: none;
  }

  /* Reduce section padding for mobile */
  .features-section,
  .screenshot-section,
  .how-it-works-section,
  .integrations-section,
  .pricing-section,
  .testimonials-section,
  .comparison-section,
  .faq-section,
  .stats-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .trusted-section {
    padding: 40px 0;
  }

  .cta-section {
    padding: 50px 0;
  }

  .newsletter-section {
    padding: 50px 0;
  }

  .contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .plan-price .amount {
    font-size: 36px;
  }
}

/* ========================================
   PRELOADER STYLES
======================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  font-size: 64px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-text {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0 24px;
}

.preloader-spinner {
  display: flex;
  justify-content: center;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   FAQ SECTION STYLES
======================================== */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.faq-item.active {
  border-color: var(--primary-500);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--primary-400);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 99;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  z-index: 99;
  animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
}

/* ========================================
   ADDITIONAL ANIMATIONS
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Staggered animations for cards */
.feature-card-wrap:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card-wrap:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card-wrap:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card-wrap:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-card-wrap:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-card-wrap:nth-child(6) {
  animation-delay: 0.6s;
}

/* ========================================
   RESPONSIVE FAQ
======================================== */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  .back-to-top,
  .whatsapp-float {
    right: 20px;
    bottom: 20px;
  }

  .whatsapp-float {
    bottom: 90px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* ========================================
   NEWSLETTER SECTION
======================================== */
.newsletter-section {
  padding: 60px 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(236, 72, 153, 0.1) 100%
  );
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-text p {
  color: var(--text-secondary);
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 14px 20px;
  width: 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition-base);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-500);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* ========================================
   COMPARISON TABLE (For pricing features)
======================================== */
.comparison-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table thead th {
  background: rgba(139, 92, 246, 0.1);
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table thead th.popular {
  background: rgba(139, 92, 246, 0.25);
  color: var(--primary-300);
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table .feature-name {
  color: var(--text-primary);
  font-weight: 500;
}

.check-icon {
  color: var(--accent-green);
  font-size: 20px;
}

.cross-icon {
  color: var(--neutral-500);
  font-size: 20px;
}

/* ========================================
   STATS COUNTER ANIMATION
======================================== */
.stats-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
}

.stat-card-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-card-label {
  color: var(--text-secondary);
  font-size: 16px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   INTEGRATIONS SECTION
======================================== */
.integrations-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.integration-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.integration-card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.integration-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.integration-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.integration-card p {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .integrations-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   APP SCREENSHOT SHOWCASE
======================================== */
.screenshot-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.screenshot-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.screenshot-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.screenshot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.15) 0%,
    transparent 70%
  );
  z-index: -1;
}

/* ========================================
   COOKIE CONSENT BANNER
======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 600px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

/* ========================================
   MOBILE APP BADGES
======================================== */
.app-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: all var(--transition-base);
}

.app-badge:hover {
  background: var(--surface-hover);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.app-badge-icon {
  font-size: 24px;
}

.app-badge-text {
  text-align: left;
}

.app-badge-text span {
  display: block;
}

.app-badge-text .small {
  font-size: 10px;
  color: var(--text-muted);
}

.app-badge-text .large {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .app-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   PRICING TOGGLE
======================================== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  transition: all var(--transition-base);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background: var(--gradient-primary);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.discount-badge {
  padding: 4px 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

/* ========================================
   LIVE CHAT WIDGET
======================================== */
.chat-widget {
  position: fixed;
  bottom: 180px;
  right: 30px;
  z-index: 98;
}

.chat-button {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: all var(--transition-base);
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.chat-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  display: none;
  overflow: hidden;
}

.chat-popup.active {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--gradient-secondary);
  color: white;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  padding: 20px;
  min-height: 150px;
}

.chat-body p {
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 12px;
  border-top-left-radius: 4px;
  color: var(--text-secondary);
  font-size: 14px;
  display: inline-block;
}

.chat-footer {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-footer input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: inherit;
}

.chat-footer input:focus {
  outline: none;
  border-color: var(--primary-500);
}

/* Button size utilities */
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .chat-widget {
    right: 20px;
    bottom: 160px;
  }

  .chat-button {
    width: 50px;
    height: 50px;
  }

  .chat-popup {
    width: 280px;
    right: -10px;
  }
}

/* ========================================
   ANNOUNCEMENT BAR
======================================== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(
    90deg,
    var(--primary-600) 0%,
    var(--accent-pink) 100%
  );
  color: white;
  font-size: 14px;
  animation: slideDown 0.5s ease;
}

.announcement-bar.hidden {
  display: none;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: 0;
}

.announcement-icon {
  font-size: 18px;
}

.announcement-text {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.announcement-cta {
  color: white;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: background var(--transition-base);
}

.announcement-cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

.announcement-close {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.announcement-close:hover {
  opacity: 1;
}

/* Adjust navbar when announcement is visible */
body.has-announcement .navbar {
  top: 45px;
}

body.has-announcement .lang-toggle {
  top: 66px;
}

body.has-announcement .mobile-menu {
  top: 112px;
}

body.has-announcement .hero {
  padding-top: 180px;
}

/* ========================================
   TESTIMONIAL CAROUSEL INDICATORS
======================================== */
.testimonial-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.indicator.active {
  background: var(--primary-500);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ========================================
   RESPONSIVE ANNOUNCEMENT
======================================== */
@media (max-width: 768px) {
  .announcement-bar {
    padding: 8px 40px 8px 16px;
  }

  .announcement-content {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .announcement-text {
    font-size: 13px;
  }

  .announcement-cta {
    font-size: 12px;
    padding: 3px 10px;
  }

  body.has-announcement .navbar {
    top: 40px;
  }

  body.has-announcement .mobile-menu {
    top: 140px;
  }

  body.has-announcement .hero {
    padding-top: 200px;
  }
}

@media (max-width: 480px) {
  .announcement-icon {
    display: none;
  }

  .announcement-intro {
    display: none;
  }
}

/* ========================================
   THEME TOGGLE BUTTON
======================================== */
.theme-toggle {
  position: fixed;
  top: 24px;
  right: 120px;
  z-index: 1000;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.theme-btn:hover {
  background: var(--surface-hover);
  transform: scale(1.05);
}

body.has-announcement .theme-toggle {
  top: 66px;
}

@media (max-width: 768px) {
  .theme-toggle {
    right: 80px;
  }

  .theme-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ========================================
   LIGHT MODE THEME
======================================== */
body.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);

  /* Improved text contrast */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}

/* Light mode specific overrides */
body.light-mode {
  background: var(--bg-primary);
  color: var(--text-primary);
}

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-links a {
  color: var(--text-secondary);
}

body.light-mode .nav-links a:hover {
  color: var(--primary-500);
}

body.light-mode .logo span {
  color: var(--text-primary);
}

body.light-mode .lang-btn,
body.light-mode .theme-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

body.light-mode .lang-btn:hover,
body.light-mode .theme-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .hero-title,
body.light-mode .section-title,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4 {
  color: var(--text-primary);
}

body.light-mode .hero-subtitle,
body.light-mode .section-subtitle,
body.light-mode p {
  color: var(--text-secondary);
}

body.light-mode .feature-card {
  background: #ffffff;
  border-radius: 14px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.15);
}

body.light-mode .pricing-card,
body.light-mode .testimonial-card,
body.light-mode .faq-item,
body.light-mode .integration-card,
body.light-mode .stat-card,
body.light-mode .step-card {
  background: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 15px rgba(59, 130, 246, 0.15);
}

body.light-mode .feature-card-wrap {
  background-image: radial-gradient(
    300px circle at 0% 0%,
    rgba(59, 130, 246, 0.5),
    transparent 40%
  );
  transition: all 300ms ease-in-out;
}

body.light-mode .feature-card-wrap:hover {
  background-image: radial-gradient(
      300px circle at 0% 0%,
      rgba(59, 130, 246, 0.6),
      transparent 40%
    ),
    radial-gradient(
      800px 500px at 100% 0%,
      rgba(59, 130, 246, 0.5),
      transparent 60%
    ),
    radial-gradient(
      450px circle at 100% 100%,
      rgba(139, 92, 246, 0.5),
      transparent 50%
    );
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 0 32px 8px rgba(59, 130, 246, 0.25), 0 0 24px 4px rgba(139, 92, 246, 0.15);
}

body.light-mode .pricing-card:hover,
body.light-mode .testimonial-card:hover,
body.light-mode .integration-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary-300);
}

body.light-mode .btn-outline {
  border-color: var(--primary-500);
  color: var(--primary-500);
}

body.light-mode .btn-outline:hover {
  background: var(--primary-500);
  color: white;
}

body.light-mode .section-badge {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-600);
}

body.light-mode .footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .footer-link a {
  color: var(--text-secondary);
}

body.light-mode .footer-link a:hover {
  color: var(--primary-500);
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea,
body.light-mode .newsletter-form input,
body.light-mode .chat-footer input {
  background: white;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder,
body.light-mode .newsletter-form input::placeholder {
  color: var(--text-muted);
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus,
body.light-mode .newsletter-form input:focus {
  border-color: var(--primary-500);
}

body.light-mode .comparison-table {
  background: var(--bg-secondary);
}

body.light-mode .comparison-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

body.light-mode .comparison-table td {
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

body.light-mode .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}

body.light-mode .mobile-menu a {
  color: var(--text-primary);
}

body.light-mode .cookie-banner,
body.light-mode .chat-popup {
  background: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .chat-body p {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

body.light-mode .back-to-top {
  background: var(--primary-500);
  color: white;
}

body.light-mode .plan-features li svg {
  color: var(--primary-500);
}

body.light-mode .faq-question {
  color: var(--text-primary);
}

body.light-mode .faq-answer {
  color: var(--text-secondary);
}

body.light-mode .preloader {
  background: var(--bg-primary);
}

body.light-mode .preloader-text {
  color: var(--text-primary);
}

body.light-mode .hero {
  background: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
}

body.light-mode .cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-50) 0%,
    var(--primary-100) 100%
  );
}

body.light-mode .cta-section .btn-outline-white {
  color: var(--primary-600);
  border-color: var(--primary-600);
}

body.light-mode .cta-section .btn-outline-white:hover {
  background: var(--primary-600);
  color: white;
}

body.light-mode .newsletter-section {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(14, 165, 233, 0.08) 100%
  );
  border-color: rgba(59, 130, 246, 0.15);
}

/* Additional light mode text fixes */
body.light-mode .feature-desc,
body.light-mode .plan-desc,
body.light-mode .testimonial-text,
body.light-mode .stat-card-label,
body.light-mode .step-card p,
body.light-mode .integration-card p,
body.light-mode .contact-info p {
  color: #475569;
}

body.light-mode .feature-title,
body.light-mode .plan-name,
body.light-mode .step-card h3,
body.light-mode .integration-card h4 {
  color: #1e293b;
}

body.light-mode .hero-subtitle {
  color: #475569;
}

body.light-mode .gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .stat-card-number {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .plan-price .currency,
body.light-mode .plan-price .amount,
body.light-mode .plan-price .period {
  color: #1e293b;
}

body.light-mode .plan-features li span {
  color: #475569;
}

body.light-mode .testimonial-author {
  color: #1e293b;
}

body.light-mode .testimonial-role {
  color: #64748b;
}

body.light-mode .footer-links h4 {
  color: #1e293b;
}

body.light-mode .footer-links a {
  color: #475569;
}

body.light-mode .footer-links a:hover {
  color: #2563eb;
}

body.light-mode .footer-bottom p {
  color: #64748b;
}

body.light-mode .footer-bottom-links a {
  color: #475569;
}

body.light-mode .section-badge {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

body.light-mode .trusted-logo {
  filter: grayscale(0) brightness(0.4);
  opacity: 0.7;
}

body.light-mode .hero-stats .stat-value {
  color: #1e293b;
}

body.light-mode .hero-stats .stat-label {
  color: #64748b;
}

body.light-mode .floating-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .floating-card p {
  color: #475569;
}

body.light-mode .announcement-bar {
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
}

body.light-mode .whatsapp-float,
body.light-mode .chat-button {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

body.light-mode .comparison-table .feature-name {
  color: #1e293b;
}

body.light-mode .check-icon {
  color: #10b981;
}

body.light-mode .cross-icon {
  color: #dc2626;
}

body.light-mode .toggle-label {
  color: #475569;
}

body.light-mode .toggle-label.active {
  color: #1e293b;
}

body.light-mode .discount-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Light mode - Navbar and Mobile Menu */
body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .logo {
  color: #1e293b;
}

body.light-mode .nav-links a {
  color: #475569;
}

body.light-mode .nav-links a:hover {
  color: #1e293b;
}

body.light-mode .mobile-menu-btn span {
  background: #1e293b;
}

body.light-mode .mobile-menu {
  background: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .mobile-nav-links a {
  color: #1e293b;
}

body.light-mode .mobile-nav-links li {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .mobile-toggle-buttons {
  border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .mobile-toggle-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.light-mode .mobile-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .lang-btn,
body.light-mode .theme-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

body.light-mode .lang-btn:hover,
body.light-mode .theme-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .btn-outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e293b;
}

body.light-mode .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
  color: #000000;
}

/* Light mode - Additional text color overrides */
body.light-mode .stat-number,
body.light-mode .stat-card-number {
  color: var(--primary-600);
  -webkit-text-fill-color: var(--primary-600);
}

body.light-mode .stat-label,
body.light-mode .stat-card-label {
  color: #475569;
}

body.light-mode .dash-value,
body.light-mode .dash-label {
  color: #1e293b;
}

body.light-mode .notif-title,
body.light-mode .sale-title,
body.light-mode .notif-text {
  color: #1e293b;
}

body.light-mode .plan-name,
body.light-mode .plan-desc,
body.light-mode .plan-features li {
  color: #1e293b;
}

body.light-mode .amount {
  color: #1e293b;
}

body.light-mode .period,
body.light-mode .currency {
  color: #475569;
}

body.light-mode .feature-title,
body.light-mode .feature-desc {
  color: #1e293b;
}

body.light-mode .testimonial-text {
  color: #475569;
}

body.light-mode .author-name {
  color: #1e293b;
}

body.light-mode .author-role {
  color: #64748b;
}

body.light-mode .step-content h3,
body.light-mode .step-content p {
  color: #1e293b;
}

body.light-mode .integration-card h4,
body.light-mode .integration-card p {
  color: #1e293b;
}

body.light-mode .footer-desc,
body.light-mode .footer-links a,
body.light-mode .footer-bottom p,
body.light-mode .footer-bottom-links a {
  color: #475569;
}

body.light-mode .section-badge {
  color: var(--primary-600);
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

body.light-mode .hero-badge {
  color: var(--primary-600);
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

body.light-mode .hero-description {
  color: #475569;
}

body.light-mode .trusted-text {
  color: #64748b;
}

body.light-mode .logo-item {
  color: #475569;
}

/* Smooth theme transition */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode *,
body.light-mode *::before,
body.light-mode *::after {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

/* ========================================
   Screenshot Showcase Section - Theme Switching
======================================== */

.screenshot-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Screenshot images fill container width (ignoring padding) */
.screenshot-wrapper {
  width: calc(100% + 48px);
  margin-left: -24px;
  max-width: none;
  position: relative;
}

.screenshot-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Theme-aware visibility for screenshot images */
.screenshot-dark {
  display: block;
}

.screenshot-light {
  display: none;
}

body.light-mode .screenshot-dark {
  display: none;
}

body.light-mode .screenshot-light {
  display: block;
}

/* Official App Store Badges */
.app-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.store-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.store-badge img {
  height: 48px;
  width: auto;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Light mode social links */
body.light-mode .social-link {
  background: rgba(0, 0, 0, 0.08);
  color: #1e293b;
}

body.light-mode .social-link:hover {
  background: var(--gradient-primary);
  color: #ffffff;
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    width: 100% !important;
    max-width: none !important;
  }
  .pricing-card:last-child {
    grid-column: auto;
  }
}
