/* ============================================
   MUBALLIG – Islamic Dawah App Landing Page
   Style: Premium | Modern | Islamic Identity
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --section-bg: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent: #0f172a;
  --accent-light: #1e293b;
  --accent-glow: rgba(15, 23, 42, 0.08);
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.06);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
  --card-hover-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --hero-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --input-bg: #f1f5f9;
  --input-border: #e2e8f0;
  --accordion-bg: #ffffff;
  --accordion-border: #e2e8f0;
  --gradient-1: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-2: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-3: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-4: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] {
  --bg-primary: #0a0f1e;
  --bg-secondary: #0f172a;
  --section-bg: #0d1321;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #38bdf8;
  --accent-light: #7dd3fc;
  --accent-glow: rgba(56, 189, 248, 0.1);
  --card-bg: rgba(15, 23, 42, 0.8);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 8px 32px rgba(0, 0, 0, 0.3);
  --card-hover-shadow: 0 8px 40px rgba(56, 189, 248, 0.1);
  --nav-bg: rgba(10, 15, 30, 0.85);
  --hero-bg: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #0d1321 100%);
  --footer-bg: #060a12;
  --footer-text: #64748b;
  --input-bg: rgba(15, 23, 42, 0.6);
  --input-border: rgba(255, 255, 255, 0.1);
  --accordion-bg: rgba(15, 23, 42, 0.6);
  --accordion-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(10, 15, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
}

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

/* ===== PRELOADER ===== */
#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.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  position: relative;
}

.crescent {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--text-muted);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

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

/* ===== NAVBAR ===== */
.navbar {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary) !important;
}

.brand-icon {
  font-size: 1.6rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  background: var(--accent-glow);
}

.theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.theme-toggle:hover {
  transform: rotate(15deg);
  box-shadow: 0 0 20px var(--accent-glow);
}

.theme-toggle .fa-sun {
  display: none;
}

.theme-toggle .fa-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .fa-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
  display: none;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--card-border);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

section {
  padding: 100px 0;
  position: relative;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-mosque {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 0.6;
}

.hero-mosque svg {
  width: 100%;
  height: auto;
}

.hero-mosque path {
  fill: var(--accent);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: var(--accent-glow);
  border: 1px solid var(--card-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #10b981 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: var(--gradient-1) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.4);
}

.btn-outline-light {
  border: 1px solid var(--card-border);
  color: var(--text-primary) !important;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-stats-mini {
  display: flex;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ===== PHONE MOCKUP ===== */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  height: 620px;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--accent);
  border-radius: 40px;
  padding: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--accent);
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 18px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.mockup-icons {
  display: flex;
  gap: 4px;
  font-size: 0.65rem;
  opacity: 0.7;
}

.mockup-greeting {
  margin-bottom: 16px;
}

.assalamu {
  font-size: 0.75rem;
  opacity: 0.6;
  display: block;
}

.greeting-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.prayer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.prayer-card i {
  font-size: 1.5rem;
  color: #10b981;
}

.prayer-card .label {
  font-size: 0.7rem;
  opacity: 0.6;
  display: block;
}

.prayer-card .value {
  font-size: 0.85rem;
  font-weight: 600;
}

.mockup-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.m-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  font-size: 0.65rem;
}

.m-stat i {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  opacity: 0.7;
}

.mockup-menu {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
}

.m-menu-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.9rem;
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.m-menu-item.active,
.m-menu-item:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.float-item {
  position: absolute;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.2;
}

.float-1 {
  top: 10%;
  right: -10%;
  animation: float 6s ease-in-out infinite;
}

.float-2 {
  bottom: 20%;
  left: -15%;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

.float-3 {
  top: 30%;
  left: -5%;
  animation: float 7s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* ===== HERO WAVE ===== */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  width: 100%;
  height: auto;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 40px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 500;
}

.trust-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-icons span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.trust-icons span:hover {
  opacity: 1;
}

.trust-icons i {
  font-size: 1.2rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--bg-primary);
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.4s ease;
  box-shadow: var(--card-shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--icon-color, var(--accent)), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

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

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--icon-color) 15%, transparent);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: color-mix(in srgb, var(--icon-color) 25%, transparent);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.why-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-pattern {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.why-phone-stack {
  position: relative;
  display: flex;
  gap: 20px;
  z-index: 2;
}

.phone-thumb {
  width: 120px;
  height: 160px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
}

.phone-thumb i {
  font-size: 2rem;
  color: var(--accent);
}

.phone-thumb:hover {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: var(--card-hover-shadow);
}

.t1 { transform: rotate(-5deg) translateY(10px); }
.t2 { transform: translateY(-10px); z-index: 2; }
.t3 { transform: rotate(5deg) translateY(10px); }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-check {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  margin-top: 2px;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gradient-1);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-card i {
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.stat-counter {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-card p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 8px;
}

/* ===== SCREENSHOTS SECTION ===== */
.screenshots-section {
  background: var(--bg-primary);
  padding-bottom: 60px;
}

.screenshot-carousel-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.screenshot-carousel {
  overflow: hidden;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 20px;
}

.carousel-slide {
  min-width: 220px;
  flex-shrink: 0;
}

.screenshot-card {
  text-align: center;
}

.s-phone {
  width: 200px;
  height: 400px;
  margin: 0 auto;
  background: var(--accent);
  border-radius: 28px;
  padding: 10px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.s-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--accent);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}

.s-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--bg);
  padding: 14px;
  color: #fff;
  overflow: hidden;
}

.s-content {
  font-size: 0.65rem;
}

.s-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.8;
}

.s-label {
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.carousel-btn:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  height: 100%;
}

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

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

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

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

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

/* ===== DOWNLOAD SECTION ===== */
.download-section {
  background: var(--gradient-1);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.download-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.btn-download-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-download-lg:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
}

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

.btn-download-lg small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
  text-align: left;
}

.compat-info {
  font-size: 0.85rem;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qr-code {
  display: inline-block;
  text-align: center;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.qr-placeholder i {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
}

.qr-code p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--bg-primary);
}

.accordion-item {
  background: var(--accordion-bg);
  border: 1px solid var(--accordion-border);
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  background: var(--accordion-bg) !important;
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 20px 24px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  border-bottom: 1px solid var(--accordion-border);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
  background-size: 16px;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.accordion-body {
  padding: 20px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-secondary);
}

.contact-form .form-control {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--card-bg);
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 0;
  position: relative;
}

.footer-wave {
  position: relative;
  margin-top: -1px;
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer .container {
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer h5 {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #fff;
  padding-left: 4px;
}

.footer-newsletter .input-group {
  border-radius: 12px;
  overflow: hidden;
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 14px;
  font-size: 0.85rem;
}

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

.footer-newsletter .btn {
  padding: 10px 16px;
  border-radius: 0;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.06);
  margin: 30px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--footer-text);
  transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: #fff;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .phone-mockup-wrapper {
    width: 280px;
    height: 540px;
  }

  .phone-mockup {
    width: 250px;
    height: 520px;
  }

  .why-phone-stack {
    gap: 12px;
  }

  .phone-thumb {
    width: 100px;
    height: 140px;
    font-size: 0.7rem;
  }

  .phone-thumb i {
    font-size: 1.5rem;
  }
}

@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }

  .hero-section {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-visual {
    margin-top: 50px;
  }

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

  .hero-stats-mini {
    justify-content: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
    margin: 0 auto 32px;
  }

  .hero-badge {
    margin: 0 auto 24px;
    display: table;
  }

  .why-visual {
    height: 300px;
    margin-bottom: 40px;
  }

  .why-phone-stack {
    gap: 16px;
  }

  .phone-thumb {
    width: 110px;
    height: 150px;
  }

  .download-buttons {
    justify-content: center;
  }

  .compat-info {
    justify-content: center;
  }

  .footer .container {
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stats-mini {
    gap: 24px;
  }

  .phone-mockup-wrapper {
    width: 240px;
    height: 480px;
  }

  .phone-mockup {
    width: 220px;
    height: 460px;
    padding: 8px;
    border-radius: 30px;
  }

  .phone-notch {
    width: 100px;
    height: 22px;
    border-radius: 0 0 14px 14px;
  }

  .phone-screen {
    border-radius: 24px;
    padding: 14px;
  }

  .trust-icons {
    gap: 20px;
  }

  .why-visual {
    height: 250px;
  }

  .why-phone-stack {
    gap: 12px;
  }

  .phone-thumb {
    width: 90px;
    height: 130px;
    font-size: 0.65rem;
  }

  .phone-thumb i {
    font-size: 1.3rem;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-counter,
  .stat-suffix {
    font-size: 2rem;
  }

  .s-phone {
    width: 170px;
    height: 340px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .qr-placeholder {
    width: 140px;
    height: 140px;
  }

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

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding-top: 70px;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .phone-mockup-wrapper {
    width: 200px;
    height: 420px;
  }

  .phone-mockup {
    width: 185px;
    height: 390px;
    border-radius: 24px;
    padding: 6px;
  }

  .phone-notch {
    width: 80px;
    height: 18px;
    top: 6px;
  }

  .phone-screen {
    border-radius: 20px;
    padding: 10px;
  }

  .carousel-slide {
    min-width: 180px;
  }

  .s-phone {
    width: 150px;
    height: 300px;
    border-radius: 20px;
    padding: 6px;
  }

  .s-notch {
    width: 60px;
    height: 16px;
    top: 6px;
    border-radius: 0 0 8px 8px;
  }

  .s-screen {
    border-radius: 16px;
    padding: 10px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .back-to-top,
  .preloader {
    display: none !important;
  }

  section {
    padding: 30px 0;
    page-break-inside: avoid;
  }

  .hero-section {
    min-height: auto;
  }
}
