/* ============================================
   POKER SOFTWARE LANDING PAGE — OPTIMIZED CSS
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Base palette */
  --bg-primary: #0a0e0c;
  --bg-secondary: #111814;
  --bg-card: #16201a;
  --bg-card-hover: #1c2821;
  --accent: #e11d48;
  --accent-light: #f43f5e;
  --accent-glow: rgba(225, 29, 72, .25);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, .2);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, .2);
  --red: #ef4444;
  --cyan: #fcd34d;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;

  /* Surfaces & borders */
  --border: rgba(255, 255, 255, .08);
  --border-hover: rgba(225, 29, 72, .4);
  --glass: rgba(10, 14, 12, .7);
  --glass-border: rgba(255, 255, 255, .05);

  /* Derived accent opacities (frequently reused) */
  --a-4: rgba(225, 29, 72, .04);
  --a-5: rgba(225, 29, 72, .05);
  --a-6: rgba(225, 29, 72, .06);
  --a-8: rgba(225, 29, 72, .08);
  --a-10: rgba(225, 29, 72, .1);
  --a-12: rgba(225, 29, 72, .12);
  --a-15: rgba(225, 29, 72, .15);
  --a-20: rgba(225, 29, 72, .2);

  /* Derived green opacities */
  --g-4: rgba(16, 185, 129, .04);
  --g-6: rgba(16, 185, 129, .06);
  --g-8: rgba(16, 185, 129, .08);
  --g-10: rgba(16, 185, 129, .1);
  --g-12: rgba(16, 185, 129, .12);
  --g-15: rgba(16, 185, 129, .15);

  /* Derived gold opacities */
  --y-4: rgba(251, 191, 36, .04);
  --y-8: rgba(251, 191, 36, .08);
  --y-10: rgba(251, 191, 36, .1);
  --y-12: rgba(251, 191, 36, .12);

  /* Radii */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 40px;

  /* Shadows */
  --shadow: 0 10px 30px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* Transitions */
  --t-fast: .2s;
  --t-default: .3s;
  --t-slow: .4s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  padding-top: 80px;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--t-default);
}

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

/* Font overrides for landing-page sections (fight Next.js globals) */
.hero, .section, .features, .pricing,
.hero h1, .section h2, .section h3, h4, h5, h6,
p, span, .btn {
  font-family: 'Inter', system-ui, sans-serif;
}

.hero h1, .section-title, .section h2 {
  color: var(--text-primary);
  margin: 0;
  text-align: center;
}

h3, h4, h5, h6 {
  color: var(--text-primary);
  margin: 0;
  text-align: left;
}

.btn {
  text-decoration: none;
  color: #fff;
}

/* ===== BACKGROUND SUITS ===== */
.suits-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: .04;
}

.suit {
  position: absolute;
  font-size: 12vw;
  line-height: 1;
  user-select: none;
}

.suit-club, .suit-spade { color: #f8fafc; }
.suit-diamond, .suit-heart { color: var(--accent); }

.suit:nth-child(1) { top: 10%; left: 5%; transform: rotate(-15deg); }
.suit:nth-child(2) { top: 20%; right: 10%; transform: rotate(25deg); }
.suit:nth-child(3) { top: 50%; left: 80%; transform: rotate(-10deg); }
.suit:nth-child(4) { top: 70%; left: 10%; transform: rotate(15deg); }

/* ===== TEXTURES ===== */
.bg-texture-1 {
  background: var(--bg-secondary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-opacity='0.15'%3E%3Cg transform='translate(25,25)'%3E%3Ccircle cx='0' cy='0' r='15' stroke-width='3'/%3E%3Ccircle cx='0' cy='0' r='10' stroke-width='1'/%3E%3Cpath d='M0-15v-4M015v4M-150h-4M150h4M-10.6-10.6l-2.8-2.8M10.610.6l2.82.8M-10.610.6l-2.82.8M10.6-10.6l2.8-2.8' stroke-width='3'/%3E%3C/g%3E%3Cg transform='translate(75,75)'%3E%3Ccircle cx='0' cy='0' r='15' stroke-width='3'/%3E%3Ccircle cx='0' cy='0' r='10' stroke-width='1'/%3E%3Cpath d='M0-15v-4M015v4M-150h-4M150h4M-10.6-10.6l-2.8-2.8M10.610.6l2.82.8M-10.610.6l-2.82.8M10.6-10.6l2.8-2.8' stroke-width='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
}

.bg-texture-1::before,
.bg-texture-2::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-texture-1::before {
  background: radial-gradient(circle at center, transparent, var(--bg-secondary));
}

.bg-texture-2 {
  background: var(--bg-secondary) url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  position: relative;
}

.bg-texture-2::before {
  background: linear-gradient(180deg, var(--bg-secondary), transparent 50%, var(--bg-secondary));
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: 100px;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--y-8);
  border: 1px solid var(--y-10);
}

.section-label i { font-size: 16px; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

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

.text-link {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: var(--t-default);
}

.text-link:hover {
  color: var(--accent);
  text-underline-offset: 6px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--t-default);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
  border-radius: var(--radius);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #be123c);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border-hover);
  color: var(--accent-light);
  background: transparent;
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(225, 29, 72, 0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.15), transparent 50%),
              linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}
@media (min-width: 768px) {
  .hero {
    background: linear-gradient(to bottom, rgba(10, 14, 12, .85), rgba(10, 14, 12, 1)),
      url('https://images.unsplash.com/photo-1501003878151-d3cb87799705?q=80&w=2070&auto=format&fit=crop') center / cover;
  }
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  animation: pulse 6s ease-in-out infinite;
}

.hero::before {
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.hero::after {
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  animation-duration: 8s;
  animation-delay: 2s;
}

@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--a-10);
  border: 1px solid var(--a-20);
  font-size: 16px;
  color: var(--accent-light);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-badge i { animation: sparkle 2s ease-in-out infinite; }

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 1100px;
  margin-inline: auto;
}


.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color var(--t-default);
}

.trust-badge:hover { color: var(--text-primary); }
.trust-badge i { color: var(--green); font-size: 1.1rem; }

/* ===== STATS BAR ===== */
.stats-bar {
  padding-block: 40px;
  border-block: 1px solid var(--border);
  background: var(--bg-secondary) url('https://www.transparenttextures.com/patterns/dark-matter.png');
}

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

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== CERTIFICATIONS ===== */
.certifications-section {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.08), transparent 50%),
              radial-gradient(circle at bottom right, rgba(225, 29, 72, 0.06), transparent 50%),
              var(--bg-primary);
}

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

.certification-card {
  text-align: center;
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: var(--radius) var(--radius) 0 0;
}

.certification-logo {
  width: 100%;
  height: 85px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.certification-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, filter 0.3s ease;
}

.certification-logo img.gli-logo {
  filter: invert(1);
}

.certification-card:hover .certification-logo {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.certification-card:hover .certification-logo img {
  opacity: 1;
  transform: scale(1.04);
}

.certification-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-align: center;
}

.certification-type {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.certification-card > p:last-child {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

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

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--t-slow);
  box-shadow: var(--shadow);
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ===== WHAT IS SECTION ===== */
.what-is { text-align: center; }
.what-is .section-title { margin-bottom: 40px; }
.what-is .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.what-is .text-content { text-align: left; }
.what-is .text-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
}

.insight-box {
  background: linear-gradient(135deg, var(--a-8), var(--y-5));
  border: 1px solid var(--a-15);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

.insight-box p {
  font-size: 16px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
}

.insight-box strong { color: var(--accent-light); }

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.comparison-table th {
  background: var(--a-12);
  padding: 14px 20px;
  text-align: left;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  font-weight: 600;
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-secondary);
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .good { color: var(--green); }
.comparison-table .bad { color: var(--red); }

/* Responsive Comparison Table Container */
.table-responsive-container {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 2rem !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  background: var(--bg-secondary) !important;
}

@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .comparison-table th,
  .comparison-table td {
    padding: 8px 8px !important;
    font-size: 11px !important;
  }
}

/* ===== WHY CHOOSE / VARIANTS / PRICING / CASES / TESTIMONIALS ===== */
.why-grid, .variants-grid, .pricing-grid, .cases-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card, .variant-card, .pricing-card, .case-card, .testimonial-card { position: relative; overflow: hidden; }

.why-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--a-10), var(--a-5));
  color: var(--accent-light);
  border: 1px solid var(--a-10);
}

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

.why-card p, .variant-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.variant-card .card-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: var(--radius) var(--radius) 0 0;
}

.variant-card h3 {
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-card h3 i { color: var(--accent-light); font-size: 1.2rem; }

.variant-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.variant-card .tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  background: var(--a-8);
  color: var(--accent-light);
  border: 1px solid var(--a-10);
}

/* Tournament */
.tournament-card { grid-column: 1 / -1; }

.tournament-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.tournament-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--a-4);
  border: 1px solid var(--a-6);
}

.tournament-item i { color: var(--accent-light); margin-top: 3px; flex-shrink: 0; }
.tournament-item strong { color: var(--text-primary); font-size: 16px; display: block; margin-bottom: 2px; }
.tournament-item span { font-size: 16px; color: var(--text-muted); }

/* ===== FEATURES TABS ===== */
.features-tabs, .faq-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 32px;
  justify-content: center;
}

.features-tabs button, .faq-categories button {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t-default);
  font-family: inherit;
}

.features-tabs button.active, .features-tabs button:hover,
.faq-categories button.active, .faq-categories button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.feature-panel { display: none; }
.feature-panel.active { display: block; }

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

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: var(--t-default);
}

.feature-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-item i { color: var(--accent-light); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; }
.feature-item div strong { display: block; color: var(--text-primary); margin-bottom: 4px; font-size: 16px; }
.feature-item div span { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* ===== TECH STACK ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.tech-card { text-align: center; padding: 28px 20px; }

.tech-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--y-10), var(--y-8));
  color: var(--cyan);
  border: 1px solid var(--y-10);
}

.tech-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; text-align: center; }

.tech-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: var(--accent-light);
  margin-bottom: 8px;
  display: block;
}

.tech-card p { font-size: 16px; color: var(--text-muted); line-height: 1.5; }

/* ===== COMPLIANCE ===== */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.compliance-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--g-10), var(--g-4));
  color: var(--green);
  border: 1px solid var(--g-10);
}

.compliance-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.compliance-card p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

.jurisdictions {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--g-6), var(--y-4));
  border: 1px solid var(--g-10);
}

.jurisdictions h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jurisdictions h3 i { color: var(--green); }
.jurisdictions p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

.jurisdiction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.jurisdiction-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  background: var(--g-8);
  color: var(--green);
  border: 1px solid var(--g-12);
  transition: var(--t-default);
  text-decoration: none;
}

.jurisdiction-tag:hover {
  background: var(--g-15);
  border-color: var(--green-glow);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  inset-block: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--green));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-item .phase {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  margin-bottom: 6px;
}

.timeline-item .time {
  font-size: 16px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.timeline-item p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 28px;
  right: -40px;
  width: 170px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 0;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-card .badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-card .badge.blue { background: var(--a-10); color: var(--accent-light); }
.pricing-card .badge.green { background: var(--g-10); color: var(--green); }
.pricing-card .badge.gold { background: rgba(245, 158, 11, .1); color: var(--gold); }

.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }

.pricing-card .best-for {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* ===== CASE STUDIES ===== */
.case-card { z-index: 1; }

.case-card .case-number {
  font-size: 8rem;
  font-weight: 900;
  position: absolute;
  bottom: -20px;
  right: -10px;
  line-height: 1;
  color: #121719;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.case-card h3, .case-card p { position: relative; z-index: 1; }
.case-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--accent-light); }
.case-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonial-card .stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-card blockquote {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.testimonial-card .author-info strong { display: block; font-size: 16px; color: var(--text-primary); }
.testimonial-card .author-info span { font-size: 16px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--glass);
  transition: border-color var(--t-default);
}

.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color var(--t-default);
}

.faq-question:hover { color: var(--accent-light); }
.faq-question i { transition: transform var(--t-default); color: var(--accent-light); flex-shrink: 0; font-size: 16px; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--a-8), var(--y-4));
  pointer-events: none;
}

.cta-box {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.cta-box p { font-size: 16px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }

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

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

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

.footer-brand p { font-size: 16px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

.footer h4 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--text-muted); font-size: 16px; transition: color var(--t-default); }
.footer ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .why-grid, .variants-grid, .pricing-grid, .cases-grid, .testimonials-grid,
  .tech-grid, .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .what-is .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding-block: 64px; }
  .hero h1 { font-size: 2rem; }
  .hero-ctas, .cta-buttons { flex-direction: column; }
  .hero-ctas .btn, .cta-buttons .btn { width: 100%; justify-content: center; }

  .why-grid, .variants-grid, .pricing-grid, .cases-grid, .testimonials-grid,
  .tech-grid, .compliance-grid, .features-list, .tournament-list, .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 1.8rem; }
  .timeline { padding-left: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* =========================================
   NEXT.JS HEADER & FOOTER OVERRIDES
   ========================================= */

/* Base typography inheritance */
#ais-header-wrapper, #ais-footer-wrapper,
#ais-header-wrapper *, #ais-footer-wrapper * {
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* Restore FontAwesome icon fonts over global resets */
#ais-header-wrapper i.fa-brands,
#ais-footer-wrapper i.fa-brands,
#ais-header-wrapper .fa-brands,
#ais-footer-wrapper .fa-brands,
#ais-header-wrapper .fab,
#ais-footer-wrapper .fab {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "Font Awesome", sans-serif !important;
}

#ais-header-wrapper i.fa-solid,
#ais-footer-wrapper i.fa-solid,
#ais-header-wrapper .fa-solid,
#ais-footer-wrapper .fa-solid,
#ais-header-wrapper .fas,
#ais-footer-wrapper .fas,
#ais-header-wrapper .fa,
#ais-footer-wrapper .fa {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "Font Awesome", sans-serif !important;
  font-weight: 900 !important;
}

/* --- HEADER --- */
#ais-header-wrapper header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 9999 !important;
  background: var(--bg-primary) !important;
  border-bottom: 1px solid var(--border) !important;
}

#ais-header-wrapper nav,
#ais-header-wrapper .main_menu {
  background: transparent !important;
}

#ais-header-wrapper .menu-heading,
#ais-header-wrapper .title-menu,
#ais-header-wrapper .sub-menu-link,
#ais-header-wrapper .body-text-color {
  color: var(--text-secondary) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

#ais-header-wrapper .menu-heading:hover,
#ais-header-wrapper .title-menu:hover,
#ais-header-wrapper .sub-menu-link:hover {
  color: var(--accent-light) !important;
}

#ais-header-wrapper .sub_menu {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
  padding: 8px !important;
  min-width: 200px !important;
}

#ais-header-wrapper .sub-menu-heading {
  color: var(--text-primary) !important;
  padding: 6px 12px !important;
  margin-bottom: 4px !important;
}

#ais-header-wrapper .sub-menu-link {
  padding: 6px 12px !important;
  line-height: 1.4 !important;
  display: block !important;
}

#ais-header-wrapper .sub_menu > li:not(:last-child) {
  border-bottom: 1px solid var(--border) !important;
}

#ais-header-wrapper ul { gap: 2px !important; }

#ais-header-wrapper .header-btn.primary_bg {
  background: linear-gradient(135deg, var(--accent), #be123c) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px var(--accent-glow) !important;
}

#ais-header-wrapper .header-btn.primary_bg:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px var(--accent-glow) !important;
}

/* --- FOOTER --- */
#ais-footer-wrapper footer {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
  padding-block: 40px 30px !important;
}

#ais-footer-wrapper .footer-top {
  background: transparent !important;
}

#ais-footer-wrapper .footer-bottom {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  margin-top: 48px !important;
  padding-top: 32px !important;
  padding-bottom: 16px !important;
  width: 100% !important;
}

#ais-footer-wrapper .footer-bottom-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex: 1 1 500px !important;
}

#ais-footer-wrapper .footer-bottom-left p.copyright-text {
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

#ais-footer-wrapper .footer-bottom-left p.copyright-text a.copyright-link {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline !important;
  transition: color 0.2s ease !important;
}

#ais-footer-wrapper .footer-bottom-left p.copyright-text a.copyright-link:hover {
  color: var(--accent-light) !important;
}

#ais-footer-wrapper .footer-bottom-left .footer-links {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

#ais-footer-wrapper .footer-bottom-left .footer-links a {
  font-size: 14px !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin: 0 !important;
  transition: color 0.2s ease !important;
}

#ais-footer-wrapper .footer-bottom-left .footer-links a:hover {
  color: var(--accent-light) !important;
}

#ais-footer-wrapper .footer-bottom-left .footer-links .separator {
  color: rgba(255, 255, 255, 0.15) !important;
  font-size: 14px !important;
}

#ais-footer-wrapper .footer-bottom-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

#ais-footer-wrapper .footer-bottom-right .social-icons {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
}

#ais-footer-wrapper .footer-bottom-right .social-icon {
  width: 38px !important;
  height: 38px !important;
  background-color: #ffffff !important;
  color: #3b0764 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 16px !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, color 0.2s ease !important;
  margin: 0 !important;
}

#ais-footer-wrapper .footer-bottom-right .social-icon:hover {
  transform: translateY(-3px) scale(1.08) !important;
  background-color: var(--accent) !important;
  color: #ffffff !important;
}

@media (max-width: 991px) {
  #ais-footer-wrapper .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
  }
  #ais-footer-wrapper .footer-bottom-left {
    align-items: center !important;
    text-align: center !important;
    flex: 1 1 auto !important;
    gap: 10px !important;
  }
  #ais-footer-wrapper .footer-bottom-left p.copyright-text {
    font-size: 13px !important;
    padding-inline: 10px !important;
  }
  #ais-footer-wrapper .footer-bottom-left .footer-links {
    justify-content: center !important;
    gap: 8px !important;
  }
  #ais-footer-wrapper .footer-bottom-right {
    justify-content: center !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  #ais-footer-wrapper .footer-bottom-left p.copyright-text {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
  #ais-footer-wrapper .footer-bottom-left .footer-links {
    gap: 6px !important;
  }
  #ais-footer-wrapper .footer-bottom-left .footer-links a {
    font-size: 12px !important;
  }
  #ais-footer-wrapper .footer-bottom-left .footer-links .separator {
    font-size: 11px !important;
  }
  #ais-footer-wrapper .footer-bottom-right .social-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }
}

#ais-footer-wrapper h3,
#ais-footer-wrapper h4,
#ais-footer-wrapper h6,
#ais-footer-wrapper .footer-heading {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  margin-bottom: 12px !important;
}

#ais-footer-wrapper p,
#ais-footer-wrapper span,
#ais-footer-wrapper a {
  color: var(--text-muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin-bottom: 2px !important;
  display: inline-block !important;
}

#ais-footer-wrapper a:hover { color: var(--accent-light) !important; }
#ais-footer-wrapper ul li { margin-bottom: 2px !important; }
#ais-footer-wrapper a[href^="tel:"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#ais-footer-wrapper a[href^="tel:"] span {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}

#ais-footer-wrapper a[href^="tel:"] span img {
  vertical-align: middle !important;
  display: block !important;
}

/* ===== HEADER / FOOTER SVG ICONS ===== */
/* Default: fill-based icons pick up current text color */
#ais-header-wrapper svg,
#ais-footer-wrapper svg { fill: currentColor !important; }

/* Stroke-based icons (dropdown chevrons) keep fill:none so stroke renders */
#ais-header-wrapper .menu-heading svg,
#ais-header-wrapper .sub-menu-heading svg,
#ais-header-wrapper .ai-nav-label svg {
  fill: none !important;
  stroke: currentColor !important;
}

/* ===== LOGO VISIBILITY ===== */
#ais-header-wrapper .logo,
#ais-footer-wrapper .logo {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
  min-height: 52px;
}

#ais-header-wrapper .logo a,
#ais-footer-wrapper .logo a {
  display: inline-flex;
  align-items: center;
  color: #fff;
}

#ais-footer-wrapper .logo img {
  filter: brightness(0) invert(1) !important;
  max-height: 52px;
  width: auto;
  display: block;
}

#ais-header-wrapper .logo img {
  max-height: 52px;
  width: auto;
  display: block;
}

#ais-header-wrapper .logo img[src=''] + a::before,
#ais-header-wrapper .logo img:not([src]) + a::before,
#ais-footer-wrapper .logo img[src=''] + a::before,
#ais-footer-wrapper .logo img:not([src]) + a::before {
  display: block;
}

/* Smooth transitions on header/footer interactive elements */
#ais-header-wrapper a,
#ais-header-wrapper .sub_menu,
#ais-header-wrapper .menu-heading,
#ais-footer-wrapper a {
  transition: color var(--t-default) ease-in-out, background var(--t-default) ease-in-out, transform var(--t-default) ease-in-out, box-shadow var(--t-default) ease-in-out !important;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 991px) {
  #ais-header-wrapper .logo {
    min-height: 65px !important;
    padding: 6px 0 !important;
  }

  #ais-header-wrapper .logo img {
    filter: none !important;
    max-height: 65px !important;
    height: 65px !important;
    width: auto !important;
  }

  #ais-header-wrapper .mobile_btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    transition: var(--t-default) !important;
  }

  #ais-header-wrapper .mobile_btn:hover,
  #ais-header-wrapper .mobile_btn:active {
    background: var(--a-10) !important;
    border-color: var(--border-hover) !important;
  }

  #ais-header-wrapper .mobile_btn svg {
    width: 26px;
    height: 26px;
    color: #fff !important;
  }

  #ais-header-wrapper .main_menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(10, 14, 12, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-top: 2px solid var(--accent) !important;
    border-bottom: 1px solid var(--border) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px 20px !important;
    max-height: calc(100vh - 77px) !important;
    overflow-y: auto !important;
    z-index: 9998 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(225, 29, 72, 0.15) !important;
  }

  #ais-header-wrapper .main_menu.menu-open {
    display: flex !important;
  }

  #ais-header-wrapper .main_menu > ul {
    flex-direction: column !important;
    width: 100% !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  #ais-header-wrapper .main_menu > ul > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    padding-bottom: 4px !important;
  }

  #ais-header-wrapper .main_menu > ul > li:last-child {
    border-bottom: none !important;
  }

  #ais-header-wrapper .main_menu ul li .menu-heading,
  #ais-header-wrapper .main_menu ul li .sub-menu-heading,
  #ais-header-wrapper .main_menu ul li a {
    color: #fff !important;
    padding: 14px 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: var(--t-default) !important;
    white-space: normal !important;
  }

  #ais-header-wrapper .main_menu ul li .menu-heading:hover,
  #ais-header-wrapper .main_menu ul li a:hover,
  #ais-header-wrapper .main_menu ul li .menu-heading.active,
  #ais-header-wrapper .main_menu ul li a.active {
    color: var(--accent-light) !important;
  }

  #ais-header-wrapper .main_menu ul li .menu-heading svg,
  #ais-header-wrapper .main_menu ul li .sub-menu-heading svg {
    color: var(--text-muted) !important;
    transition: transform 0.3s ease !important;
    width: 16px !important;
    height: 16px !important;
  }

  #ais-header-wrapper .main_menu ul li .menu-heading.active svg,
  #ais-header-wrapper .main_menu ul li .sub-menu-heading.active svg {
    transform: rotate(180deg) !important;
    color: var(--accent-light) !important;
  }

  /* Show submenus inline on mobile when toggled */
  #ais-header-wrapper .main_menu .sub_menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    background: rgba(17, 24, 20, 0.6) !important;
    border: 1px solid var(--border) !important;
    border-left: 2px solid var(--accent) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 6px 12px !important;
    margin: 4px 0 12px 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: all 0.3s ease !important;
  }

  #ais-header-wrapper .main_menu .sub_menu.open {
    display: block !important;
  }

  #ais-header-wrapper .main_menu .sub_menu .sub_menu {
    border-left: 2px solid var(--green) !important;
    margin: 4px 0 8px 8px !important;
    background: rgba(22, 32, 26, 0.8) !important;
  }

  #ais-header-wrapper .main_menu .sub_menu li {
    border-bottom: none !important;
  }

  #ais-header-wrapper .main_menu .sub_menu li a,
  #ais-header-wrapper .main_menu .sub_menu li .sub-menu-heading,
  #ais-header-wrapper .main_menu .sub_menu li .sub-menu-link {
    color: var(--text-secondary) !important;
    padding: 10px 8px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  #ais-header-wrapper .main_menu .sub_menu li a:hover,
  #ais-header-wrapper .main_menu .sub_menu li .sub-menu-heading:hover,
  #ais-header-wrapper .main_menu .sub_menu li .sub-menu-link:hover,
  #ais-header-wrapper .main_menu .sub_menu li .sub-menu-heading.active {
    color: var(--accent-light) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 4px !important;
    padding-left: 12px !important;
  }

  #ais-header-wrapper .main_menu .contact-number {
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--border) !important;
    border-top: none !important;
  }

  #ais-header-wrapper .main_menu .contact-number ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-column-gap: 16px !important;
    grid-row-gap: 12px !important;
  }

  #ais-header-wrapper .main_menu .contact-number li {
    display: block !important;
    width: 100% !important;
  }

  #ais-header-wrapper .main_menu .contact-number li a {
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 0 !important;
    white-space: nowrap !important;
  }

  #ais-header-wrapper .main_menu .contact-number li a:hover {
    color: var(--accent-light) !important;
  }

  #ais-header-wrapper .main_menu .contact-number li a img {
    width: 18px !important;
    height: auto !important;
    vertical-align: middle !important;
  }

  #ais-header-wrapper .main_menu .contact-number li a svg {
    width: 14px !important;
    height: 14px !important;
    color: var(--accent-light) !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border) !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .header-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 44px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: var(--t-default) !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .header-btn.primary_bg {
    background: #3b259c !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(59, 37, 156, 0.3) !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .header-btn.primary_bg:hover,
  #ais-header-wrapper .main_menu .header-btn-content .header-btn.primary_bg:active {
    background: #2e1d7a !important;
    box-shadow: 0 6px 20px rgba(59, 37, 156, 0.5) !important;
    transform: translateY(-1px) !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    background: #25d366 !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    transition: var(--t-default) !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .whatsapp-btn img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
    margin: 0 !important;
    transition: transform 0.3s ease !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .whatsapp-btn:hover {
    background: #20ba59 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
  }

  #ais-header-wrapper .main_menu .header-btn-content .whatsapp-btn:hover img {
    transform: scale(1.1) !important;
  }
}

/* =========================================
   COLLAPSIBLE FOOTER SECTIONS FOR MOBILE (< 768px)
   ========================================= */
@media (max-width: 767px) {
  #ais-footer-wrapper .nav-footer-item,
  #ais-footer-wrapper .nav-footer-item-about {
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  #ais-footer-wrapper .nav-footer-item ul,
  #ais-footer-wrapper .nav-footer-item-about ul {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important, 
                opacity 0.25s ease-out !important,
                visibility 0.25s ease-out !important,
                margin-top 0.3s ease !important;
  }

  #ais-footer-wrapper .nav-footer-item.expanded ul,
  #ais-footer-wrapper .nav-footer-item-about.expanded ul {
    max-height: 600px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }

  #ais-footer-wrapper .nav-footer-item h6,
  #ais-footer-wrapper .nav-footer-item-about h6 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  #ais-footer-wrapper .nav-footer-item h6::after,
  #ais-footer-wrapper .nav-footer-item-about h6::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-block !important;
  }

  #ais-footer-wrapper .nav-footer-item.expanded h6::after,
  #ais-footer-wrapper .nav-footer-item-about.expanded h6::after {
    transform: rotate(180deg) !important;
    color: var(--accent-light) !important;
  }

  #ais-footer-wrapper .nav-footer-item ul li,
  #ais-footer-wrapper .nav-footer-item-about ul li {
    padding-block: 6px !important;
    border: none !important;
  }
}
