/* ============================================================
   doublesixOS — Global Design System
   Premium School Management Platform
   Version 1.0 | A Wahab Publications Initiative
   ============================================================ */

/* ── Google Fonts loaded via <link> in HTML for performance ── */

/* ════════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES — LIGHT MODE (DEFAULT)
   ════════════════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --brand-primary:      #1B4FD8;
  --brand-primary-dark: #1440B3;
  --brand-primary-rgb:  27, 79, 216;
  --brand-accent:       #F59E0B;
  --brand-accent-dark:  #D97706;
  --brand-accent-rgb:   245, 158, 11;
  --brand-success:      #10B981;
  --brand-danger:       #EF4444;
  --brand-warning:      #F59E0B;
  --brand-info:         #3B82F6;

  /* Background System */
  --bg-base:            #F8FAFF;
  --bg-surface:         #FFFFFF;
  --bg-surface-2:       #F1F5FD;
  --bg-surface-3:       #E8EFFA;
  --bg-overlay:         rgba(255, 255, 255, 0.85);
  --bg-glass:           rgba(255, 255, 255, 0.7);
  --bg-glass-border:    rgba(27, 79, 216, 0.12);
  --bg-dark-hero:       #050D1F;

  /* Text System */
  --text-primary:       #0A1628;
  --text-secondary:     #3D5070;
  --text-muted:         #7A90B0;
  --text-placeholder:   #A3B3CC;
  --text-inverse:       #FFFFFF;
  --text-accent:        #1B4FD8;

  /* Border System */
  --border-light:       rgba(27, 79, 216, 0.08);
  --border-medium:      rgba(27, 79, 216, 0.15);
  --border-strong:      rgba(27, 79, 216, 0.25);

  /* Shadow System */
  --shadow-xs:          0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-sm:          0 2px 8px rgba(10, 22, 40, 0.08);
  --shadow-md:          0 4px 20px rgba(10, 22, 40, 0.10);
  --shadow-lg:          0 8px 40px rgba(10, 22, 40, 0.12);
  --shadow-xl:          0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-brand:       0 8px 32px rgba(27, 79, 216, 0.25);
  --shadow-accent:      0 8px 32px rgba(245, 158, 11, 0.30);
  --shadow-glow:        0 0 60px rgba(27, 79, 216, 0.15);

  /* Typography */
  --font-display:       'Sora', sans-serif;
  --font-body:          'Plus Jakarta Sans', sans-serif;
  --font-urdu:          'Noto Nastaliq Urdu', serif;

  /* Sizing & Spacing */
  --radius-sm:          6px;
  --radius-md:          12px;
  --radius-lg:          18px;
  --radius-xl:          24px;
  --radius-2xl:         32px;
  --radius-full:        9999px;

  /* 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.4, 0, 0.2, 1);
  --transition-bounce:  500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --navbar-height:      72px;
  --sidebar-width:      260px;
  --container-max:      1280px;
}

/* ════════════════════════════════════════════════════════════
   2. DARK MODE
   ════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg-base:            #060D1E;
  --bg-surface:         #0D1829;
  --bg-surface-2:       #111F35;
  --bg-surface-3:       #162540;
  --bg-overlay:         rgba(13, 24, 41, 0.90);
  --bg-glass:           rgba(13, 24, 41, 0.75);
  --bg-glass-border:    rgba(27, 79, 216, 0.20);

  --text-primary:       #E8F0FE;
  --text-secondary:     #94AACB;
  --text-muted:         #5A7299;
  --text-placeholder:   #3D5473;
  --text-inverse:       #0A1628;

  --border-light:       rgba(255, 255, 255, 0.05);
  --border-medium:      rgba(255, 255, 255, 0.10);
  --border-strong:      rgba(255, 255, 255, 0.18);

  --shadow-xs:          0 1px 3px rgba(0, 0, 0, 0.30);
  --shadow-sm:          0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md:          0 4px 20px rgba(0, 0, 0, 0.40);
  --shadow-lg:          0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-xl:          0 20px 60px rgba(0, 0, 0, 0.50);
  --shadow-brand:       0 8px 32px rgba(27, 79, 216, 0.40);
  --shadow-glow:        0 0 80px rgba(27, 79, 216, 0.25);
}

/* ════════════════════════════════════════════════════════════
   3. URDU RTL MODE
   ════════════════════════════════════════════════════════════ */
[lang="ur"] {
  direction: rtl;
  font-family: var(--font-urdu);
  letter-spacing: 0;
}

[lang="ur"] .navbar-logo,
[lang="ur"] .nav-links {
  flex-direction: row-reverse;
}

[lang="ur"] .hero-content,
[lang="ur"] .section-header {
  text-align: right;
}

[lang="ur"] .btn-group {
  flex-direction: row-reverse;
}

/* ════════════════════════════════════════════════════════════
   4. RESET & BASE
   ════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ════════════════════════════════════════════════════════════
   5. TYPOGRAPHY SCALE
   ════════════════════════════════════════════════════════════ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
}

.body-lg   { font-size: 1.125rem; line-height: 1.7; }
.body-md   { font-size: 1rem;     line-height: 1.65; }
.body-sm   { font-size: 0.875rem; line-height: 1.6; }
.body-xs   { font-size: 0.75rem;  line-height: 1.5; }
.label-md  { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.label-sm  { font-size: 0.75rem;  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ════════════════════════════════════════════════════════════
   6. LAYOUT UTILITIES
   ════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-6 { gap: 3rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ════════════════════════════════════════════════════════════
   7. BUTTON SYSTEM
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  box-shadow: 0 12px 40px rgba(var(--brand-primary-rgb), 0.4);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--brand-accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-surface-2);
  color: var(--text-primary);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-full);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ════════════════════════════════════════════════════════════
   8. CARD SYSTEM
   ════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
}

.card-brand {
  background: linear-gradient(135deg, var(--brand-primary), #2563EB);
  border: none;
  color: white;
}

/* ════════════════════════════════════════════════════════════
   9. BADGE / CHIP SYSTEM
   ════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: rgba(var(--brand-primary-rgb), 0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
}

.badge-accent {
  background: rgba(var(--brand-accent-rgb), 0.12);
  color: var(--brand-accent-dark);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.25);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ════════════════════════════════════════════════════════════
   10. NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar {
  background: rgba(6, 13, 30, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(6, 13, 30, 0.99);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--brand-primary), #4F80FF);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
}

.logo-mark span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #0A1628;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .logo-name {
  color: #FFFFFF !important;
}

.logo-name span { color: var(--brand-primary); }

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface-2);
}

.nav-link.active { color: var(--brand-primary); font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.625rem;
}

.nav-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.nav-icon-btn:hover {
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.08);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              width 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile right group: toggles + hamburger — ALWAYS hidden on desktop */
.mobile-nav-right {
  display: none !important;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile controls pill: wraps dark mode + urdu together */
.mobile-controls-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  overflow: hidden;
  height: 38px;
}

[data-theme="dark"] .mobile-controls-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.mobile-controls-pill .nav-icon-btn {
  width: 36px;
  height: 38px;
  border-radius: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  border-right: 1px solid rgba(0,0,0,0.08);
}

[data-theme="dark"] .mobile-controls-pill .nav-icon-btn {
  border-right-color: rgba(255,255,255,0.08);
}

.mobile-controls-pill .nav-icon-btn:hover {
  background: rgba(var(--brand-primary-rgb), 0.1);
  color: var(--brand-primary);
}

.mobile-controls-pill .mobile-urdu-btn {
  width: auto;
  padding: 0 0.7rem;
  height: 38px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-right: none;
  color: var(--text-secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background: #111827;
  border-radius: 10px;
  padding: 8px;
  border: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: #1f2937;
}

.hamburger.open {
  background: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

/* ════════════════════════════════════════════════════════════
   11. HERO SECTION
   ════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark-hero);
  padding-top: var(--navbar-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(27, 79, 216, 0.35) 0%, transparent 70%);
  filter: blur(60px);
  animation: floatGlow 8s ease-in-out infinite alternate;
}

.hero-gradient-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}

.hero-gradient-3 {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  filter: blur(100px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27, 79, 216, 0.15);
  border: 1px solid rgba(27, 79, 216, 0.3);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #93B4FF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #4F80FF;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60A5FA, #A78BFA, #F472B6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .accent-text {
  color: var(--brand-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item { text-align: center; }

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-number span { color: var(--brand-accent); }

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.dashboard-mockup {
  background: rgba(13, 24, 41, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  animation: floatCard 6s ease-in-out infinite;
}

.mockup-topbar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dots { display: flex; gap: 6px; }

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }

.mockup-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.mockup-body { padding: 1.25rem; }

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mockup-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.875rem;
}

.mockup-stat-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.375rem;
}

.mockup-stat-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.mockup-stat-value.blue  { color: #60A5FA; }
.mockup-stat-value.green { color: #34D399; }
.mockup-stat-value.amber { color: #FBBF24; }
.mockup-stat-value.purple{ color: #A78BFA; }

.mockup-chart-area {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  overflow: hidden;
}

.mockup-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(27,79,216,0.8), rgba(79,128,255,0.4));
  border-radius: 4px 4px 0 0;
  min-height: 10%;
  animation: barGrow 1.5s ease-out forwards;
}

.mockup-bar:nth-child(2)  { animation-delay: 0.1s; }
.mockup-bar:nth-child(3)  { animation-delay: 0.2s; }
.mockup-bar:nth-child(4)  { animation-delay: 0.3s; }
.mockup-bar:nth-child(5)  { animation-delay: 0.4s; }
.mockup-bar:nth-child(6)  { animation-delay: 0.5s; }
.mockup-bar:nth-child(7)  { animation-delay: 0.6s; }
.mockup-bar:nth-child(8)  { animation-delay: 0.7s; }

/* Floating cards on hero */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.float-card-1 {
  top: -20px;
  right: -20px;
  animation: floatCardSm 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 20px;
  left: -30px;
  animation: floatCardSm 7s ease-in-out infinite reverse;
}

.float-card-title {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.float-card-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.float-card-value.positive { color: #34D399; }

.float-card-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.125rem;
}

/* ════════════════════════════════════════════════════════════
   12. TRUSTED BY SECTION
   ════════════════════════════════════════════════════════════ */
.trusted-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding-block: 2rem;
}

.trusted-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trusted-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.trusted-logo:hover {
  border-color: var(--border-strong);
  color: var(--text-secondary);
  background: var(--bg-surface-2);
}

/* ════════════════════════════════════════════════════════════
   13. PROBLEM / SOLUTION SECTION
   ════════════════════════════════════════════════════════════ */
.problem-section { background: var(--bg-base); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--brand-primary-rgb), 0.08);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-danger), #FF8C69);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.problem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.problem-icon {
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.problem-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.solution-arrow {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--brand-primary);
  animation: bounceDown 2s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════
   14. FEATURES SECTION
   ════════════════════════════════════════════════════════════ */
.features-section { background: var(--bg-surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(var(--brand-primary-rgb), 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-brand);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-primary), #4F80FF);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-bounce);
  box-shadow: 0 4px 16px rgba(var(--brand-primary-rgb), 0.2);
}

.feature-icon.amber  { background: linear-gradient(135deg, #F59E0B, #FBBF24); box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
.feature-icon.green  { background: linear-gradient(135deg, #10B981, #34D399); box-shadow: 0 4px 16px rgba(16,185,129,0.3); }
.feature-icon.purple { background: linear-gradient(135deg, #8B5CF6, #A78BFA); box-shadow: 0 4px 16px rgba(139,92,246,0.3); }
.feature-icon.rose   { background: linear-gradient(135deg, #F43F5E, #FB7185); box-shadow: 0 4px 16px rgba(244,63,94,0.3); }
.feature-icon.teal   { background: linear-gradient(135deg, #0EA5E9, #38BDF8); box-shadow: 0 4px 16px rgba(14,165,233,0.3); }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.08);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
}

/* ════════════════════════════════════════════════════════════
   15. WHY CHOOSE US — COMPARISON
   ════════════════════════════════════════════════════════════ */
.why-section { background: var(--bg-base); }

.comparison-table {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-light);
}

.comparison-col-header {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.comparison-col-header.highlight {
  background: var(--brand-primary);
  color: white;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.comparison-row:last-child { border-bottom: none; }
.comparison-row:hover { background: var(--bg-surface-2); }

.comparison-cell {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.comparison-cell:last-child { border-right: none; }
.comparison-cell.feature-name { justify-content: flex-start; color: var(--text-primary); font-weight: 500; }
.comparison-cell .check { color: #10B981; font-size: 1.1rem; }
.comparison-cell .cross { color: #EF4444; font-size: 1.1rem; }
.comparison-cell.highlight { background: rgba(var(--brand-primary-rgb), 0.04); }

/* ════════════════════════════════════════════════════════════
   16. HOW IT WORKS
   ════════════════════════════════════════════════════════════ */
.how-section { background: var(--bg-surface); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--brand-primary), #4F80FF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-brand);
  position: relative;
  transition: all var(--transition-bounce);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(var(--brand-primary-rgb), 0.4);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════
   16b. INSTITUTION TYPES
   ════════════════════════════════════════════════════════════ */
.institution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.institution-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition-base);
}

.institution-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.institution-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.875rem;
}

.institution-name {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.institution-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════
   17. TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--bg-base); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #4F80FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.author-title { font-size: 0.8rem; color: var(--text-muted); }

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--brand-accent);
  font-size: 0.875rem;
}

/* ════════════════════════════════════════════════════════════
   18. PRICING SECTION
   ════════════════════════════════════════════════════════════ */
.pricing-section { background: var(--bg-surface); }

.currency-switcher {
  display: inline-flex;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  gap: 0.25rem;
  margin-bottom: 3rem;
}

.currency-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.currency-btn.active {
  background: var(--brand-primary);
  color: white;
  box-shadow: var(--shadow-brand);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-base);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.pricing-card.popular {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  transform: scale(1.02);
  box-shadow: var(--shadow-brand);
}

.pricing-card.popular:hover { transform: scale(1.02) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card.popular .pricing-plan-name { color: rgba(255,255,255,0.85); }

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card.popular .pricing-currency { color: rgba(255,255,255,0.7); }

.pricing-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card.popular .pricing-number { color: white; }

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card.popular .pricing-period { color: rgba(255,255,255,0.6); }

.pricing-divider {
  height: 1px;
  background: var(--border-light);
  margin-block: 1.5rem;
}

.pricing-card.popular .pricing-divider { background: rgba(255,255,255,0.15); }

.pricing-features { margin-bottom: 2rem; }

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.pricing-card.popular .pricing-feature { color: rgba(255,255,255,0.8); }

.pricing-feature-check {
  width: 18px;
  height: 18px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #10B981;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.popular .pricing-feature-check {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* ════════════════════════════════════════════════════════════
   19. FAQ SECTION
   ════════════════════════════════════════════════════════════ */
.faq-section { background: var(--bg-base); }

.faq-list { max-width: 780px; margin-inline: auto; }

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover { border-color: var(--border-medium); }
.faq-item.open { border-color: rgba(var(--brand-primary-rgb), 0.2); box-shadow: var(--shadow-sm); }

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  gap: 1rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--brand-primary);
  transition: all var(--transition-base);
}

.faq-item.open .faq-icon { background: var(--brand-primary); color: white; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ════════════════════════════════════════════════════════════
   20. CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--bg-dark-hero);
  position: relative;
  overflow: hidden;
  padding-block: 6rem;
}

.cta-bg-glow-1 {
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(27,79,216,0.3) 0%, transparent 60%);
  filter: blur(80px);
}

.cta-bg-glow-2 {
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(245,158,11,0.2) 0%, transparent 60%);
  filter: blur(80px);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-inline: auto;
}

.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.cta-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}


/* ════════════════════════════════════════════════════════════
   21. FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: #030812;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding-block: 4rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}
.footer-contact-item:hover { color: rgba(255,255,255,0.9); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.625rem;
  transition: color var(--transition-fast);
}
.footer-link:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom-text { font-size: 0.8rem; color: rgba(255,255,255,0.8); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.social-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}
.social-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.1);
}
.wahab-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding-bottom: 1rem;
}
.wahab-credit a { color: rgba(255,255,255,0.55); transition: color var(--transition-fast); }
.wahab-credit a:hover { color: rgba(255,255,255,0.8); }


/* ════════════════════════════════════════════════════════════
   22. FLOATING WHATSAPP BUTTON
   ════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-bounce);
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-icon { font-size: 1.5rem; }

.whatsapp-float-text { display: none; }

/* whatsapp-pulse hidden site-wide — red dot removed */
.whatsapp-pulse { display: none !important; }

/* ════════════════════════════════════════════════════════════
   23. MOBILE NAV MENU
   ════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1.25rem 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  max-height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

[data-theme="dark"] .mobile-menu {
  background: #0f172a;
  border-bottom-color: rgba(255,255,255,0.08);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  padding: 0.9rem 0.5rem;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.18s ease, padding-left 0.18s ease;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .mobile-nav-link {
  border-bottom-color: rgba(255,255,255,0.05);
}

.mobile-nav-link:last-of-type { border-bottom: none; }

.mobile-nav-link:hover {
  color: var(--brand-primary);
  padding-left: 0.75rem;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-light);
  margin-block: 0.625rem;
}

.mobile-nav-toggles {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.mobile-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle-btn:hover {
  background: var(--bg-surface-3);
  color: var(--text-primary);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.mobile-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #d1d5db;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  background: transparent;
}

[data-theme="dark"] .mobile-signin-btn {
  border-color: rgba(255,255,255,0.15);
  color: #e2e8f0;
}

.mobile-signin-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.05);
}

.mobile-trial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #4f80ff 100%);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(var(--brand-primary-rgb), 0.35);
  position: relative;
  overflow: hidden;
}

.mobile-trial-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.mobile-trial-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.45);
}

.mobile-trial-btn:hover::after {
  left: 150%;
}

/* ════════════════════════════════════════════════════════════
   24. SCROLL ANIMATIONS (AOS-like)
   ════════════════════════════════════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="zoom-in"] { transform: scale(0.92); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* Delay utility classes */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }

/* ════════════════════════════════════════════════════════════
   25. KEYFRAME ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes floatCardSm {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

@keyframes barGrow {
  from { height: 5%; opacity: 0.3; }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ════════════════════════════════════════════════════════════
   25b. ACCESSIBILITY
   ════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--brand-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus { top: 1rem; }

*:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   26. RESPONSIVE — TABLET
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-subtitle { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 600px; margin-inline: auto; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid  { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-inline: auto; }
  .pricing-card.popular { transform: scale(1); }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
}

/* ════════════════════════════════════════════════════════════
   27. RESPONSIVE — MOBILE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAVBAR FIX: remove blur on mobile to fix clipping bug ── */
  .navbar {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  [data-theme="dark"] .navbar {
    background: #060D1E !important;
  }
  /* ── end navbar fix ── */

  .nav-links, .nav-actions { display: none; }
  .mobile-nav-right { display: flex !important; align-items: center; gap: 0.5rem; }
  .hamburger { display: flex; }

  .features-grid,
  .problem-grid,
  .testimonials-grid,
  .steps-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }

  .comparison-table { overflow-x: auto; }
  .comparison-header,
  .comparison-row { grid-template-columns: 1.5fr 1fr 1fr; min-width: 500px; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mockup-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .hero-stats { gap: 1rem; }
  .hero-stat-number { font-size: 1.2rem; }
}

/* ════════════════════════════════════════════════════════════
   28. DEMO VIDEO MODAL (index.html)
   ════════════════════════════════════════════════════════════ */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.video-modal-overlay.open { display: flex; }
.video-modal {
  background: var(--bg-surface);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.video-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}
.video-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.video-modal-body {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.video-modal-body iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}