/* ========================================
   STORIX RETAIL — Landing Page Styles
   Brand-aligned with Classic Luxury Palette
   ======================================== */

:root {
  /* Primary — Deep Space Navy (AppColors.primary) */
  --primary-color: #0f172a;
  --primary-light: #1e293b;
  --primary-dark: #020617;

  /* Accent — Royal Gold (AppColors.secondary) */
  --accent-color: #d4af37;
  --accent-light: #f1c40f;
  --accent-dark: #996515;

  /* Status Colors — Muted & Professional */
  --success: #2e7d32;
  --warning: #d87c4a;
  --error: #c62828;
  --info: #457b9d;

  /* Backgrounds */
  --dark-bg: #151b24; /* AppColors.backgroundDark */
  --light-bg: #f5f5f0; /* AppColors.backgroundLight (Creamy Paper) */
  --text-dark: #1b2a41; /* AppColors.textPrimary */
  --text-light: #546e7a; /* AppColors.textSecondary */
  --text-hint: #90a4ae;
  --white: #ffffff;

  /* Glass & Cards */
  --glass-bg: rgba(245, 245, 240, 0.9);
  --glass-border: rgba(15, 23, 42, 0.08);
  --card-bg: #ffffff; /* AppColors.surfaceLight */
  --section-alt-bg: #f1f5f9;
  --hero-gradient: linear-gradient(135deg, #f5f5f0 0%, #e5e7eb 100%);
  --card-border: #e2e8f0; /* AppColors.borderLight */
  --input-bg: #ffffff;

  /* Shadows — Subtle & Matte */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 40px -10px rgba(15, 23, 42, 0.15);

  --border-radius: 12px; /* Matched Flutter borderRadius */
}

/* Dark Mode Variables */
body.dark-mode {
  --primary-color: #d4af37; /* Use gold as primary accent in dark mode */
  --accent-color: #f1c40f;
  --dark-bg: #020617;
  --light-bg: #151b24; /* AppColors.backgroundDark */
  --text-dark: #e0e0e0; /* AppColors.textOnDark */
  --text-light: #90a4ae;
  --text-hint: #64748b;
  --white: #1e2732; /* AppColors.surfaceDark */
  --glass-bg: rgba(21, 27, 36, 0.95);
  --glass-border: rgba(255, 255, 255, 0.08);
  --card-bg: #1e2732; /* AppColors.surfaceDark */
  --section-alt-bg: #0f172a;
  --hero-gradient: linear-gradient(135deg, #151b24 0%, #0f172a 100%);
  --card-border: #334155; /* AppColors.borderDark */
  --input-bg: #1e2732;
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.3;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   THEME TOGGLE
   ======================================== */

.theme-toggle {
  background: transparent;
  border: 2px solid var(--text-hint);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-bg);
  transform: rotate(15deg);
}

body.dark-mode .theme-toggle {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

body.dark-mode .theme-toggle:hover {
  background: var(--accent-color);
  color: var(--dark-bg);
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.logo i {
  font-size: 2rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s;
}

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

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

.lang-select {
  padding: 8px 12px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 40px;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  transition: background 0.3s ease;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.06) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.badge-new {
  display: inline-block;
  padding: 8px 18px;
  background-color: rgba(212, 175, 55, 0.12);
  color: var(--accent-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.hero-content .reason {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 30px;
  padding-right: 15px;
  border-right: 3px solid var(--accent-color);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 45px;
}

.trust-badges {
  display: flex;
  gap: 35px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.badge-item i {
  color: var(--success);
  font-size: 1.3rem;
}

/* Screen Mockup */
.hero-image {
  flex: 1;
  position: relative;
}

.screen-mockup {
  background: var(--dark-bg);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.screen-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  padding-left: 10px;
}

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

.dot.red {
  background: var(--error);
}

.dot.yellow {
  background: var(--accent-color);
}

.dot.green {
  background: var(--success);
}

.screen-mockup img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--accent-color);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary.large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-primary.full-width {
  width: 100%;
}

/* WhatsApp-specific green CTA */
.btn-primary i.bxl-whatsapp {
  color: #25d366;
  font-size: 1.2em;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--dark-bg);
  border-color: var(--accent-color);
}

.btn-outline.large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
  padding: 100px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
  transform: scale(1.15) rotate(5deg);
}

/* Icon colors — aligned with AppColors */
.color-1 {
  background: rgba(69, 101, 157, 0.1);
  color: var(--info);
}

/* Info blue */
.color-2 {
  background: rgba(46, 125, 50, 0.1);
  color: var(--success);
}

/* Success green */
.color-3 {
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-color);
}

/* Gold */
.color-4 {
  background: rgba(198, 40, 40, 0.08);
  color: var(--error);
}

/* Error red */
.color-5 {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* Indigo (accentIndigo) */
.color-6 {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

/* Cyan (accentCyan) */

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   WHO IS THIS FOR? SECTION
   ======================================== */

.audience-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.audience-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.audience-card .emoji {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.audience-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.audience-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   MARIO'S STORY SECTION
   ======================================== */

.story-section {
  padding: 100px 0;
  background: var(--white);
}

.story-container {
  max-width: 700px;
  margin: 0 auto;
}

.story-timeline {
  position: relative;
  padding-right: 40px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--accent-color),
    var(--accent-light)
  );
  border-radius: 3px;
}

[dir="ltr"] .story-timeline {
  padding-right: 0;
  padding-left: 40px;
}

[dir="ltr"] .story-timeline::before {
  right: auto;
  left: 15px;
}

.story-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
  position: relative;
}

.story-step:last-child {
  margin-bottom: 0;
}

.story-step .step-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--card-bg);
  border: 3px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.story-step .step-content {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid var(--card-border);
  flex: 1;
  transition: all 0.3s ease;
}

.story-step .step-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(-5px);
}

[dir="ltr"] .story-step .step-content:hover {
  transform: translateX(5px);
}

.story-step .step-content h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.story-step.problem .step-content h4 {
  color: var(--error);
}

.story-step.struggle .step-content h4 {
  color: var(--warning);
}

.story-step.discovery .step-content h4 {
  color: var(--info);
}

.story-step.result .step-content h4 {
  color: var(--success);
}

.story-step .step-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========================================
   SOCIAL PROOF / TESTIMONIALS
   ======================================== */

.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg);
  font-weight: 800;
  font-size: 1.1rem;
}

.testimonial-author .name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-hint);
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  background: var(--white);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .caption {
  padding: 18px;
  text-align: center;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  transition: background 0.3s ease;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-section {
  padding: 100px 0;
  background: var(--white);
  transition: background 0.3s ease;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid var(--card-border);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: var(--dark-bg);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.plan-header {
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 25px;
}

.plan-header h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-color);
}

.price .period {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 5px;
}

.price .amount-alt {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--success);
  margin-top: 5px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.95rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  font-size: 1.3rem;
  color: var(--success);
}

.plan-features li.disabled {
  color: var(--text-hint);
  opacity: 0.6;
}

.plan-features li.disabled i {
  color: var(--text-hint);
}

.plan-actions {
  text-align: center;
}

.download-label {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.download-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 15px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-bg);
  color: var(--accent-color);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-download:hover {
  background: var(--accent-color);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.btn-download i {
  font-size: 1.3rem;
}

.plan-actions .note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* ========================================
   SETUP SECTION
   ======================================== */

.setup-section {
  padding: 100px 0;
  background: var(--dark-bg);
  color: var(--white);
}

.setup-section .section-title h2 {
  color: #ffffff;
}

.setup-section .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.step-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.faq-item {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.faq-question i {
  font-size: 1.8rem;
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-question i {
  background: var(--accent-color);
  color: var(--dark-bg);
  transform: scale(1.1);
}

.faq-question h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: var(--dark-bg);
  padding: 60px 0 25px;
  color: #ffffff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--accent-color);
}

.footer-contact a i {
  font-size: 1.3rem;
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 30px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes float {
  0% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px);
  }

  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg)
      translateY(-15px);
  }

  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes bounce-subtle {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional Animations */
.animate-on-scroll.from-left {
  transform: translateX(-50px);
}

.animate-on-scroll.from-right {
  transform: translateX(50px);
}

.animate-on-scroll.zoom-in {
  transform: scale(0.9);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* Floating Mockup */
.screen-mockup {
  animation: float 5s ease-in-out infinite;
}

.screen-mockup:hover {
  animation-play-state: paused;
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  transition: transform 0.4s ease;
}

/* ========================================
   PAGE-FLIP BOOK ANIMATION REMOVED FOR PERFORMANCE
   ======================================== */

/* Download Button Icon Bounce */
.btn-download:hover i {
  animation: bounce-subtle 0.6s ease infinite;
}

/* Trust Badges Hover */
.badge-item {
  transition: transform 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-3px);
}

.badge-item:hover i {
  animation: bounce-subtle 0.5s ease;
}

/* Navbar Link Underline */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .nav-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section .container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    max-width: 100%;
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .download-buttons {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-contact a {
    justify-content: center;
  }

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

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

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

  .story-step {
    flex-direction: column;
    text-align: center;
  }

  .story-timeline::before {
    display: none;
  }

  .step-icon {
    margin: 0 auto 15px;
  }

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .feature-card,
  .audience-card,
  .faq-item,
  .testimonial-card,
  .pricing-card {
    padding: 20px;
  }

  .hero-buttons .btn-primary.large,
  .hero-buttons .btn-outline.large {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .badge-item {
    font-size: 0.85rem;
  }

  .step-content h4 {
    font-size: 1rem;
  }

  .step-content p {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 15px;
  }
}

/* ========================================
   DARK MODE OVERRIDES
   ======================================== */

body.dark-mode .features-section,
body.dark-mode .pricing-section,
body.dark-mode .faq-section,
body.dark-mode .testimonials-section,
body.dark-mode .story-section {
  background: var(--light-bg);
}

body.dark-mode .gallery-section,
body.dark-mode .audience-section {
  background: var(--section-alt-bg);
}

body.dark-mode .hero-section {
  background: var(--hero-gradient);
}

body.dark-mode .navbar.scrolled {
  background-color: var(--glass-bg);
}

body.dark-mode .lang-select {
  background: var(--card-bg);
  color: var(--text-dark);
  border-color: var(--text-hint);
}

/* Dark Mode Cards */
body.dark-mode .feature-card,
body.dark-mode .pricing-card,
body.dark-mode .faq-item,
body.dark-mode .gallery-item,
body.dark-mode .audience-card,
body.dark-mode .testimonial-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .feature-card:hover,
body.dark-mode .pricing-card:hover,
body.dark-mode .faq-item:hover,
body.dark-mode .audience-card:hover,
body.dark-mode .testimonial-card:hover {
  background: var(--section-alt-bg);
}

body.dark-mode .gallery-item .caption {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .pricing-card.featured {
  border-color: var(--accent-color);
}

body.dark-mode .plan-header {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .plan-features li {
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .btn-outline {
  border-color: var(--accent-color);
  color: var(--text-dark);
}

body.dark-mode .btn-outline:hover {
  background: var(--accent-color);
  color: var(--dark-bg);
}

body.dark-mode .btn-download {
  background: var(--card-bg);
  border-color: rgba(212, 175, 55, 0.2);
}

body.dark-mode .screen-mockup {
  background: #0f172a;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body.dark-mode .badge-new {
  background: rgba(212, 175, 55, 0.15);
}

/* Dark Mode Icon Boxes */
body.dark-mode .icon-box.color-1 {
  background: rgba(69, 123, 157, 0.2);
}

body.dark-mode .icon-box.color-2 {
  background: rgba(46, 125, 50, 0.2);
}

body.dark-mode .icon-box.color-3 {
  background: rgba(212, 175, 55, 0.15);
}

body.dark-mode .icon-box.color-4 {
  background: rgba(198, 40, 40, 0.15);
}

body.dark-mode .icon-box.color-5 {
  background: rgba(99, 102, 241, 0.2);
}

body.dark-mode .icon-box.color-6 {
  background: rgba(6, 182, 212, 0.2);
}

body.dark-mode .faq-question i {
  background: rgba(212, 175, 55, 0.15);
}
