/* ============================================================
   Landing Page 0019 — Dark Violet Theme
   Primary: #5b21b6, #7c3aed, #8b5cf6
   HHPoker / 德扑圈 Marketing
   ============================================================ */

/* --- CSS Variables / Theme Tokens --- */
:root {
  --violet-950: #2e1065;
  --violet-900: #4c1d95;
  --violet-800: #5b21b6;
  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --violet-300: #c4b5fd;
  --violet-200: #ddd6fe;
  --violet-100: #ede9fe;
  --violet-50: #f5f3ff;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

.section-padding {
  padding: 100px 0;
}

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

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--violet-100), var(--violet-200));
  color: var(--violet-800);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.025em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   1. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  transition: color var(--transition-base);
}

.navbar.scrolled .navbar-logo {
  color: var(--violet-800);
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--violet-600), var(--violet-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar.scrolled .navbar-links a {
  color: var(--gray-700);
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar.scrolled .navbar-links a:hover {
  color: var(--violet-700);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--violet-400);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.navbar-cta-btn {
  background: var(--violet-500);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.navbar-cta-btn:hover {
  background: var(--violet-600) !important;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.55) !important;
  transform: translateY(-1px);
}

.navbar-cta-btn::after {
  display: none !important;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--violet-800);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2e1065 0%, #4c1d95 30%, #6d28d9 60%, #7c3aed 100%);
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 100px;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--violet-200);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.025em;
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 24px 0;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--violet-300), #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 36px 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: var(--violet-800);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* Hero visual / image */
.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
}

.hero-image-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-image-dots {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--violet-300) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: 3;
  opacity: 0.6;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

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

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--violet-300);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* ============================================================
   3. FEATURES (6 cards, 3-col grid, colored LEFT border accent)
   ============================================================ */
#features {
  background: var(--gray-50);
}

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

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  border-left: 5px solid var(--violet-500);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--violet-600), var(--violet-500), var(--violet-400));
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  width: 8px;
}

.feature-card:nth-child(1) { border-left-color: var(--violet-600); }
.feature-card:nth-child(2) { border-left-color: #7c3aed; }
.feature-card:nth-child(3) { border-left-color: #8b5cf6; }
.feature-card:nth-child(4) { border-left-color: #a78bfa; }
.feature-card:nth-child(5) { border-left-color: #7c3aed; }
.feature-card:nth-child(6) { border-left-color: var(--violet-600); }

.feature-card:nth-child(1)::before { background: linear-gradient(180deg, var(--violet-600), var(--violet-400)); }
.feature-card:nth-child(2)::before { background: linear-gradient(180deg, #7c3aed, #a78bfa); }
.feature-card:nth-child(3)::before { background: linear-gradient(180deg, #8b5cf6, #c4b5fd); }
.feature-card:nth-child(4)::before { background: linear-gradient(180deg, #a78bfa, #c4b5fd); }
.feature-card:nth-child(5)::before { background: linear-gradient(180deg, #7c3aed, #8b5cf6); }
.feature-card:nth-child(6)::before { background: linear-gradient(180deg, var(--violet-600), var(--violet-500)); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  background: var(--violet-100);
  color: var(--violet-700);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--violet-600);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 10px 0;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   4. STATS (4 counters)
   ============================================================ */
#stats {
  background:
    linear-gradient(135deg, var(--violet-900) 0%, var(--violet-800) 50%, var(--violet-700) 100%);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 181, 253, 0.15) 0%, transparent 50%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-base);
}

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

.stat-icon {
  font-size: 2rem;
  color: var(--violet-300);
  margin-bottom: 12px;
}

.stat-number-wrap {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ============================================================
   5. TESTIMONIALS (4 cards, large quotation mark decoration)
   ============================================================ */
#testimonials {
  background: var(--white);
}

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

.testimonial-card {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--violet-200);
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 7rem;
  line-height: 0.7;
  font-weight: 800;
  color: var(--violet-100);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  z-index: 0;
}

.testimonial-card:nth-child(1) .testimonial-quote-mark { color: #ede9fe; }
.testimonial-card:nth-child(2) .testimonial-quote-mark { color: #f3e8ff; }
.testimonial-card:nth-child(3) .testimonial-quote-mark { color: #ede9fe; }
.testimonial-card:nth-child(4) .testimonial-quote-mark { color: #f3e8ff; }

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin: 0 0 24px 0;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--violet-200);
}

.testimonial-author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ============================================================
   6. FAQ (6 accordion items)
   ============================================================ */
#faq {
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: var(--violet-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--violet-700);
}

.faq-question:hover {
  color: var(--violet-600);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--violet-100);
  color: var(--violet-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--violet-600);
  color: var(--white);
  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-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ============================================================
   7. CTA (diagonal gradient)
   ============================================================ */
#cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, #2e1065 0%, #4c1d95 30%, #6d28d9 55%, #7c3aed 100%);
  text-align: center;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.02) 20px
    );
  z-index: 1;
}

#cta .container {
  position: relative;
  z-index: 2;
}

#cta .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--violet-200);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#cta .section-title {
  color: var(--white);
}

#cta .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--violet-800);
}

.cta-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cta-features-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.cta-feature-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

.cta-feature-mini i {
  color: var(--violet-300);
  font-size: 1.1rem;
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--gray-800);
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 14px 0;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin: 0 0 20px 0;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-800);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--violet-600);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 20px 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--violet-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

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

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--violet-400);
}

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

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

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.7s ease forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-image-wrapper img {
  animation: floatSlow 6s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

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

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image-wrapper img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

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

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

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

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 24px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .navbar-links.active {
    right: 0;
  }

  .navbar-links a {
    color: var(--gray-700) !important;
    font-size: 1.05rem;
  }

  .navbar-links a:hover {
    color: var(--violet-700) !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

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

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

  .cta-features-row {
    gap: 24px;
  }
}

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

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

  .hero-stat-number {
    font-size: 1.35rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number-wrap {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
