/*
 * ═══════════════════════════════════════════
 *   LINGALIRO — Beast Mode Design System v2
 *   Premium African Business Growth Platform
 * ═══════════════════════════════════════════
 */

/* ── Google Fonts (Plus Jakarta Sans & Inter) ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Brand Colors */
  --orange:         #F97316;
  --orange-light:   #FB923C;
  --orange-dark:    #EA580C;
  --orange-glow:    rgba(249, 115, 22, 0.25);
  --orange-subtle:  rgba(249, 115, 22, 0.08);

  --green:          #22C55E;
  --green-light:    #4ADE80;
  --green-dark:     #16A34A;
  --green-glow:     rgba(34, 197, 94, 0.25);
  --green-subtle:   rgba(34, 197, 94, 0.08);

  /* Backgrounds */
  --bg-base:        #05050F;
  --bg-card:        rgba(255, 255, 255, 0.03);
  --bg-card-hover:  rgba(255, 255, 255, 0.07);
  --bg-input:       rgba(255, 255, 255, 0.05);

  /* Borders */
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.15);
  --border-orange:  rgba(249, 115, 22, 0.35);
  --border-green:   rgba(34, 197, 94, 0.35);

  /* Neutrals */
  --white:          #FFFFFF;
  --text-primary:   #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;
  --text-dim:       #475569;

  /* Gradients */
  --grad-brand:     linear-gradient(135deg, var(--orange), var(--green));
  --grad-orange:    linear-gradient(135deg, #F97316, #EA580C);
  --grad-dark:      linear-gradient(180deg, #05050F 0%, #0A0A1A 100%);
  --grad-card:      linear-gradient(135deg, rgba(249,115,22,0.05) 0%, rgba(34,197,94,0.05) 100%);

  /* Typography */
  --font-display:   'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:      'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 20px 48px rgba(0,0,0,0.6);
  --shadow-orange: 0 0 32px rgba(249, 115, 22, 0.3);
  --shadow-green:  0 0 32px rgba(34, 197, 94, 0.3);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

p { line-height: 1.7; color: var(--text-secondary); }

/* ── Gradient Text ── */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: var(--space-4) auto 0;
}

/* ─────────────────────────────────────────
   BACKGROUND AMBIENT ORBS
───────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  top: -100px; left: -200px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.10) 0%, transparent 70%);
  bottom: 10%; right: -150px;
  animation-delay: -6s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  animation-delay: -3s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(249, 115, 22, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--border-orange);
}
.btn-outline:hover {
  background: var(--orange-subtle);
  color: var(--orange-light);
  transform: translateY(-3px);
  border-color: var(--orange);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

/* ─────────────────────────────────────────
   HEADER / NAVIGATION
───────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(5, 5, 15, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-container a { display: flex; align-items: center; }
.logo-img { height: 80px; max-height: 80px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  padding: var(--space-2) 0;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2.5px;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--white);
  background: transparent;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--white);
  background: transparent;
  border: none;
}

.nav-portal {
  color: var(--orange-light) !important;
  font-weight: 600;
}
.nav-portal:hover {
  color: var(--white) !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}
.mobile-menu-btn:hover { background: var(--bg-card-hover); color: var(--orange); }

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2000;
}
.mobile-drawer.open { display: block; }

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: linear-gradient(180deg, #0A0A1A 0%, #05050F 100%);
  border-left: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer-close {
  align-self: flex-end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}
.drawer-close:hover { border-color: var(--orange); color: var(--orange); }
.drawer-nav-link {
  display: block;
  padding: var(--space-4) var(--space-3);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}
.drawer-nav-link:hover, .drawer-nav-link.active {
  color: var(--white);
  background: var(--bg-card);
  border-color: var(--border);
}
.drawer-cta { margin-top: var(--space-4); }

/* ─────────────────────────────────────────
   HERO SLIDER
───────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 76px);
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-base);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide.active .slide-img { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(5,5,15,0.92) 0%,
    rgba(5,5,15,0.70) 45%,
    rgba(5,5,15,0.25) 100%);
  z-index: -1;
}

.slide-content {
  max-width: 680px;
  padding: 0 var(--space-6);
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.slide.active .slide-content { transform: translateY(0); opacity: 1; }

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  color: var(--orange-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.slide-eyebrow span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }

.slide-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  color: var(--white);
}

.slide-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 520px;
  line-height: 1.7;
}

.slide-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-6);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

.dot {
  width: 28px; height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition-slow);
}
.dot.active {
  background: var(--orange);
  width: 48px;
  box-shadow: var(--shadow-orange);
}

/* Slider Arrows */
.slider-arrows {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-6);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}
.slider-arrow {
  width: 42px; height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); }

/* ─────────────────────────────────────────
   STATS COUNTER BAR
───────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, rgba(249,115,22,0.08) 0%, rgba(34,197,94,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stat-item {
  padding: var(--space-4);
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────
   SERVICES BENTO GRID
───────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: var(--space-4);
}

/* Layout assignments */
.bento-card:nth-child(1) { grid-column: span 5; }
.bento-card:nth-child(2) { grid-column: span 7; }
.bento-card:nth-child(3) { grid-column: span 4; }
.bento-card:nth-child(4) { grid-column: span 4; }
.bento-card:nth-child(5) { grid-column: span 4; }
.bento-card:nth-child(6) { grid-column: span 12; }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
}

.bento-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: all var(--transition-slow);
}
.bento-card:hover .bento-icon {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.bento-card h3 { margin-bottom: 0; }
.bento-card p { color: var(--text-secondary); flex-grow: 1; }

.bento-price {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  color: var(--orange-light);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  width: fit-content;
}

/* Wide bento card (6th row) */
.bento-card:nth-child(6) {
  flex-direction: row;
  align-items: center;
  gap: var(--space-8);
  background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(34,197,94,0.08) 100%);
  border-color: var(--border-orange);
}
.bento-card:nth-child(6) .bento-icon {
  width: 72px; height: 72px;
  font-size: 2rem;
  flex-shrink: 0;
}
.bento-card:nth-child(6):hover {
  transform: translateY(-4px);
}

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.how-it-works { background: linear-gradient(180deg, transparent 0%, rgba(249,115,22,0.04) 50%, transparent 100%); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 16%;
  width: 68%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  position: relative;
}

.step-number {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
}
.step-number-wrap {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
  transition: all var(--transition-slow);
}
.step-number-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: -1;
}
.step-card:hover .step-number-wrap::before { opacity: 0.4; }
.step-card:hover .step-number-wrap { border-color: transparent; }

.step-icon {
  font-size: 2.25rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card h3 { margin-bottom: var(--space-3); }
.step-card p { color: var(--text-secondary); font-size: 0.9375rem; }

/* ─────────────────────────────────────────
   PACKAGES / PRICING CARDS
───────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-slow);
  position: relative;
}
.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.package-card.popular {
  background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(5,5,15,1) 60%);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
.package-card.popular:hover {
  box-shadow: 0 0 60px rgba(249,115,22,0.4);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-orange);
  color: #fff;
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-orange);
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.package-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.package-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.package-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.feature-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-subtle);
  border: 1px solid var(--border-green);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: all var(--transition-slow);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-orange);
  box-shadow: var(--shadow-orange);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  color: var(--orange);
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  font-style: italic;
}
.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}
.author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
/* ─────────────────────────────────────────
   CTA BANNER (REDESIGNED - BORDERLESS MESH GLOW)
───────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
  background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.14) 0%, transparent 55%),
              radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.14) 0%, transparent 55%),
              linear-gradient(180deg, rgba(5,5,15,0.4) 0%, rgba(10,10,26,0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--space-6) 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-banner::before {
  display: none;
}

.cta-glow-orb-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 320px;
  height: 320px;
  background: rgba(249, 115, 22, 0.22);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 7s ease-in-out infinite alternate;
}

.cta-glow-orb-2 {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 320px;
  height: 320px;
  background: rgba(34, 197, 94, 0.22);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 9s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-25px) scale(1.15); }
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-full);
  color: var(--orange-light);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-6);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.cta-banner h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: #fff;
  position: relative;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
  position: relative;
}

.cta-features-pills {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  position: relative;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.cta-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.cta-pill i {
  color: var(--green);
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-actions .btn-primary {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
}

.cta-actions .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 45px rgba(249, 115, 22, 0.65);
}

/* ─────────────────────────────────────────
   SPLIT SECTIONS (About / Services)
───────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-content h2 { margin-bottom: var(--space-6); }
.split-content p { margin-bottom: var(--space-4); color: var(--text-secondary); }

.split-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ─────────────────────────────────────────
   SERVICE PAGE GRID
───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-orange);
  box-shadow: var(--shadow-orange);
}

.service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  color: var(--orange);
  transition: all var(--transition-slow);
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
  transform: rotate(5deg) scale(1.05);
}

.service-card h3 { color: var(--text-primary); }
.service-card p { color: var(--text-secondary); font-size: 0.9375rem; flex-grow: 1; }

.price-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  color: var(--orange-light);
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-display);
  width: fit-content;
}

/* ─────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────── */
.page-hero {
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center top, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero p { font-size: 1.125rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ─────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-base);
}
.contact-method-card:hover {
  border-color: var(--border-orange);
  transform: translateX(6px);
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-method-card h4 { margin-bottom: var(--space-1); font-size: 1rem; }
.contact-method-card p { font-size: 0.9375rem; color: var(--text-secondary); }
.contact-method-card a { color: var(--orange-light); }
.contact-method-card a:hover { color: var(--orange); }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  backdrop-filter: blur(10px);
}
.contact-form-card h3 { margin-bottom: var(--space-8); }

/* Form Elements */
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-display);
}
.form-control {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  outline: none;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-subtle);
  background: rgba(255,255,255,0.06);
}
.form-control::placeholder { color: var(--text-dim); }
select.form-control option { background: #0A0A1A; color: var(--text-primary); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ─────────────────────────────────────────
   VALUES / CORE CARDS
───────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-slow);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}
.value-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-subtle);
  border: 1px solid var(--border-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.875rem;
  color: var(--green);
  margin: 0 auto var(--space-6);
  transition: all var(--transition-slow);
}
.value-card:hover .value-icon {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}

/* ─────────────────────────────────────────
   EXPANSION TIMELINE
───────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--space-10);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--green), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2.5rem + 2px);
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: 3px solid var(--bg-base);
  box-shadow: var(--shadow-orange);
}
.timeline-stage {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}
.timeline-item h4 { margin-bottom: var(--space-2); color: var(--white); }
.timeline-item p { font-size: 0.9375rem; color: var(--text-secondary); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--bg-base) 0%, #03030C 100%);
  border-top: 1px solid var(--border);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand .logo-img { height: 44px; filter: brightness(0) invert(1); margin-bottom: var(--space-4); }
.footer-brand p { font-size: 0.9375rem; color: var(--text-muted); max-width: 260px; line-height: 1.7; }

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}
.social-link:hover {
  background: var(--orange-subtle);
  border-color: var(--border-orange);
  color: var(--orange);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links li { margin-bottom: var(--space-3); }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}
.footer-links a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p { font-size: 0.875rem; color: var(--text-dim); }

.lingaliro-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-dim);
}
.lingaliro-logo {
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--transition-base);
}
.lingaliro-logo:hover { opacity: 1; }

/* ─────────────────────────────────────────
   WHATSAPP FLOATING BUTTON
───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.625rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition-slow);
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
  color: #fff;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.2);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ─────────────────────────────────────────
   UTILITY CLASSES
───────────────────────────────────────── */
.text-center  { text-align: center; }
.text-orange  { color: var(--orange); }
.text-green   { color: var(--green); }
.text-muted   { color: var(--text-muted); }
.text-sm      { font-size: 0.875rem; }

/* ─────────────────────────────────────────
   RESPONSIVE — TABLET (≤1024px)
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-card:nth-child(1) { grid-column: span 6; }
  .bento-card:nth-child(2) { grid-column: span 6; }
  .bento-card:nth-child(3) { grid-column: span 3; }
  .bento-card:nth-child(4) { grid-column: span 3; }
  .bento-card:nth-child(5) { grid-column: span 6; }
  .bento-card:nth-child(6) { grid-column: span 6; }

  .bento-card:nth-child(6) {
    flex-direction: column;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .steps-grid::before { display: none; }

  /* RTL layout for tablet split sections */
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .split-section:nth-of-type(even) {
    direction: rtl;
  }
  .split-section:nth-of-type(even) > * {
    direction: ltr;
  }

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

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
───────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --space-24: 4rem; --space-20: 3.5rem; --space-16: 3rem; }

  .nav-links { display: none !important; }
  .mobile-menu-btn { display: flex; }

  /* Bento → single column on mobile */
  .bento-grid { display: flex; flex-direction: column; }
  .bento-card:nth-child(6) { flex-direction: column; }

  .split-section {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  .split-section.reverse { direction: ltr; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .stat-item:not(:last-child)::after { display: none; }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .lingaliro-attribution { justify-content: center; }

  .slide-content {
    padding: 0 var(--space-4);
    text-align: center;
  }
  .slide-actions { justify-content: center; }

  .hero { min-height: 100svh; }

  .cta-banner {
    padding: var(--space-10) var(--space-6);
    border-radius: var(--radius-xl);
  }

  .section-header { text-align: center; }
  .service-card, .value-card, .testimonial-card { text-align: center; }
  .service-icon { margin: 0 auto; }

  /* MANDATORY: mobile truncation + Read More */
  .mobile-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mobile-truncate.expanded {
    display: block;
    -webkit-line-clamp: unset;
  }
  .read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: var(--orange-light);
    font-size: 0.875rem;
    cursor: pointer;
    padding: var(--space-2) 0 0;
    font-family: var(--font-body);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px; height: 54px;
    font-size: 1.375rem;
  }

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

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

  .page-hero { padding: var(--space-12) 0 var(--space-8); }
}

/* ─────────────────────────────────────────
   CALCULATOR PAGE
───────────────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
.calc-items-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.calc-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.calc-item-row:last-child { border-bottom: none; }
.calc-item-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}
.calc-item-label { flex-grow: 1; color: var(--text-secondary); font-size: 0.9375rem; }
.calc-item-price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--orange-light);
  font-size: 0.9375rem;
}
.calc-result-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: sticky;
  top: 100px;
}
.calc-result-panel h3 { margin-bottom: var(--space-6); }
.result-row {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-4);
}
.result-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  margin-bottom: var(--space-2);
}
.result-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.result-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-1); }

@media (max-width: 768px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result-panel { position: static; }
}

/* ─────────────────────────────────────────
   DASHBOARD / LOGIN PAGES
───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(20px);
}
.auth-card h2 { margin-bottom: var(--space-2); text-align: center; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: var(--space-8); }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb { animation: none; }
  .whatsapp-float::before { animation: none; }
}

/* ─────────────────────────────────────────
   CALCULATOR v3 — New Components
───────────────────────────────────────── */
.calc-category-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-orange);
  display: block;
}

.calc-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  margin-bottom: var(--space-2);
}
.calc-item-row:hover {
  border-color: var(--border-orange);
  background: rgba(249,115,22,0.04);
}

.calc-checkbox {
  width: 20px; height: 20px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}

.calc-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-item-info strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 600;
}
.calc-item-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.calc-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-light);
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Summary Card */
.calc-summary-card {
  background: linear-gradient(135deg, rgba(249,115,22,0.1) 0%, rgba(34,197,94,0.05) 100%);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
}
.calc-summary-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.calc-total {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Installment Cards */
.install-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  transition: all var(--transition-base);
  position: relative;
}
.install-card:hover {
  border-color: var(--border-orange);
  background: var(--orange-subtle);
}

.install-card--popular {
  border-color: var(--orange);
  background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(5,5,15,1) 100%);
}
.install-popular-badge {
  position: absolute;
  top: -12px; left: var(--space-5);
  background: var(--grad-orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.install-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.install-card-body { flex-grow: 1; }
.install-card-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.install-card-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: var(--space-1) 0;
}
.install-card-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-summary-card { text-align: center; }
}

/* ─────────────────────────────────────────
   DASHBOARD v2 — Beast Mode
───────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.dash-sidebar {
  background: linear-gradient(180deg, rgba(10,10,26,0.98) 0%, rgba(5,5,15,0.98) 100%);
  border-right: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.dash-logo {
  margin-bottom: var(--space-8);
  display: block;
}
.dash-logo img { height: 38px; filter: brightness(0) invert(1); }

.dash-nav-section-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: var(--space-4) var(--space-3) var(--space-2);
}

.dash-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}
.dash-nav-link i { width: 18px; text-align: center; font-size: 0.875rem; }
.dash-nav-link:hover {
  color: var(--white);
  background: var(--bg-card);
  border-color: var(--border);
}
.dash-nav-link.active {
  color: var(--orange-light);
  background: var(--orange-subtle);
  border-color: var(--border-orange);
}

.dash-sidebar-footer {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

/* Main Content */
.dash-main {
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Topbar */
.dash-topbar {
  background: rgba(5,5,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-topbar-title h2 { font-size: 1.25rem; margin-bottom: 0; }
.dash-topbar-title p  { font-size: 0.875rem; color: var(--text-muted); }

.dash-user-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  border: 2px solid var(--border-orange);
}

/* Dashboard Body */
.dash-body {
  padding: var(--space-8);
  flex-grow: 1;
  overflow-y: auto;
}

/* KPI Stat Cards */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}
.dash-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-slow);
}
.dash-kpi-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}
.dash-kpi-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid var(--border-orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: var(--space-4);
}
.dash-kpi-icon.green {
  background: var(--green-subtle);
  border-color: var(--border-green);
  color: var(--green);
}
.dash-kpi-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.dash-kpi-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Project Card */
.dash-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  transition: all var(--transition-slow);
}
.dash-project-card:hover { border-color: var(--border-strong); }

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
}
.project-meta { font-size: 0.8125rem; color: var(--text-muted); }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-in-progress {
  background: var(--orange-subtle);
  color: var(--orange-light);
  border: 1px solid var(--border-orange);
}
.status-review {
  background: rgba(234,179,8,0.1);
  color: #FCD34D;
  border: 1px solid rgba(234,179,8,0.3);
}
.status-complete {
  background: var(--green-subtle);
  color: var(--green-light);
  border: 1px solid var(--border-green);
}

/* Progress Bar */
.progress-track {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.progress-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Milestone List */
.milestone-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.milestone-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.milestone-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
}
.milestone-check.done   { background: var(--green-subtle); border: 1px solid var(--border-green); color: var(--green); }
.milestone-check.active { background: var(--orange-subtle); border: 1px solid var(--border-orange); color: var(--orange); }
.milestone-check.pending { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim); }

/* Chat Bubbles */
.chat-area {
  flex-grow: 1;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  min-height: 200px;
  max-height: 280px;
  overflow-y: auto;
}
.chat-msg { max-width: 80%; }
.chat-msg.mine  { align-self: flex-end; }
.chat-msg.theirs { align-self: flex-start; }
.chat-bubble {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.6;
}
.chat-msg.mine .chat-bubble {
  background: linear-gradient(135deg, rgba(249,115,22,0.25), rgba(249,115,22,0.15));
  border: 1px solid rgba(249,115,22,0.3);
  border-bottom-right-radius: 4px;
}
.chat-msg.theirs .chat-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-time {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-align: right;
  margin-top: var(--space-1);
  padding: 0 var(--space-2);
}

/* Chat input */
.chat-input-row {
  display: flex;
  gap: var(--space-3);
}
.chat-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-base);
}
.chat-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-subtle);
}
.chat-input::placeholder { color: var(--text-dim); }

/* Dashboard Responsive */
@media (max-width: 1024px) {
  .dash-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-1);
    padding: var(--space-4) var(--space-4);
  }
  .dash-logo { margin-bottom: 0; width: 100%; }
  .dash-nav-section-label { display: none; }
  .dash-sidebar-footer { display: none; }
  .dash-kpi-grid { grid-template-columns: 1fr 1fr; }
  .dash-body { padding: var(--space-4); }
}

/* Service Multi-Select Checkboxes */
.svc-chk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.svc-chk-item:hover {
  border-color: var(--orange-light);
  background: rgba(249, 115, 22, 0.05);
}
.svc-chk-item input[type="checkbox"] {
  accent-color: var(--orange);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.svc-chk-item span {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-chk-item strong {
  font-size: 0.78rem;
  color: var(--orange);
  margin-left: auto;
  white-space: nowrap;
}
.svc-chk-item--selected {
  border-color: var(--orange) !important;
  background: rgba(249, 115, 22, 0.12) !important;
}

/* ─────────────────────────────────────────
   FLOATING WHATSAPP BUTTON
───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFF !important;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
  overflow: visible;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
  color: #FFF !important;
}
.whatsapp-float .tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 14, 30, 0.95);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap !important;
  word-break: keep-all;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
  width: auto;
  height: auto;
}
.whatsapp-float:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* ─────────────────────────────────────────
   LINGALIRO FOOTER ATTRIBUTION
───────────────────────────────────────── */
.lingaliro-attribution {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.lingaliro-logo {
  height: 64px !important;
  min-height: 60px !important;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.25));
}
.lingaliro-logo:hover {
  transform: scale(1.06);
}

/* ─────────────────────────────────────────
   AUTH TABS & ROLE SELECTOR
───────────────────────────────────────── */
.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 5px;
  margin-bottom: var(--space-6);
  border: 1px solid var(--border);
}
.auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-base);
  text-align: center;
  background: transparent;
  cursor: pointer;
}
.auth-tab-btn.active {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.role-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: var(--space-5);
}
.role-toggle-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-badge {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.role-badge-client {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-light);
  border: 1px solid var(--border-green);
}
.role-badge-admin {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange-light);
  border: 1px solid var(--border-orange);
}

/* ─────────────────────────────────────────
   MODAL SYSTEM
───────────────────────────────────────── */
.ling-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(5, 5, 15, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.ling-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.ling-modal {
  background: #0D0E1E;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 520px;
  padding: var(--space-8);
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.ling-modal-overlay.active .ling-modal {
  transform: scale(1);
}
.ling-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
  background: rgba(255, 255, 255, 0.05);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ling-modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

/* ─────────────────────────────────────────
   RESPONSIVE MOBILE RULES
───────────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-text-center {
    text-align: center !important;
  }
  .mobile-text-center p, 
  .mobile-text-center h1, 
  .mobile-text-center h2, 
  .mobile-text-center h3 {
    text-align: center !important;
  }
  
  .text-truncate-mobile {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .text-truncate-mobile.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .read-more-btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange-light);
    cursor: pointer;
  }
}

