/* 
  QamarTech — Premium AI Agency Design
  Typography: DM Sans
  Theme: Premium Dark + Gold CTA accent
  Inspired by high-end SaaS / AI agency aesthetics
*/

:root {
  /* Core palette */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #7c3aed;
  --accent: #CA8A04;
  --accent-hover: #A16207;

  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-slate: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-hero: #1a1a2e;

  /* Text */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  /* Borders */
  --border-light: #e2e8f0;
  --border-glow: rgba(79, 70, 229, 0.3);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-hero: 28px;

  /* Sizing */
  --nav-height: 80px;
  --container-max: 1320px;
  --hero-padding-x: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p { color: var(--text-muted); }

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================
   UTILITIES
   ============================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 100px 0; }
.bg-slate { background-color: var(--bg-slate); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white { color: white; }
.text-muted-light { color: #94a3b8; }
.text-xl { font-size: 1.25rem; }
.text-sm { font-size: 0.875rem; }
.mb-4 { margin-bottom: 24px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 24px; }
.max-w-xl { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.font-medium { font-weight: 500; letter-spacing: 1.5px; font-size: 12px; text-transform: uppercase; }
.border-top { border-top: 1px solid var(--border-light); }

/* Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-badge-accent {
  background: rgba(202, 138, 4, 0.08);
  border-color: rgba(202, 138, 4, 0.2);
  color: var(--accent);
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

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

/* ============================
   PREMIUM NAVIGATION
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px var(--hero-padding-x);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled { padding: 10px var(--hero-padding-x); }

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  padding: 12px 16px 12px 28px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-inner {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  color: white;
  flex-shrink: 0;
}

.brand-mark-dark {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(124, 58, 237, 0.3));
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

.brand-logo-footer {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links { display: none; }

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.25s ease;
  }
  .nav-links a:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.04);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--text-main);
  color: white !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

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

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

@media (min-width: 1024px) { .mobile-toggle { display: none; } }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu-inner a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: 12px;
  transition: background 0.2s;
}

.mobile-menu-inner a:hover { background: var(--bg-slate); }

@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ============================
   HERO SECTION
   ============================ */
.hero-wrapper {
  padding: calc(var(--nav-height) + 20px) var(--hero-padding-x) 24px;
  background: var(--bg-main);
}

.hero-card {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: var(--radius-hero);
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.hero-split {
  display: flex;
  flex: 1;
  min-height: 0;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('images/web-development-scaled.webp') center / cover no-repeat;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 28px;
}

.text-highlight {
  color: var(--accent);
  position: relative;
}

.text-primary { color: var(--primary); }

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(202, 138, 4, 0.3);
  text-transform: uppercase;
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(202, 138, 4, 0.45);
}

.btn-hero-primary svg { transition: transform 0.3s ease; }
.btn-hero-primary:hover svg { transform: translateX(4px); }

/* ============================
   TRUST BAR
   ============================ */
.trust-bar { position: relative; z-index: 3; }

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-hero) var(--radius-hero) 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trust-bar-inner::-webkit-scrollbar { display: none; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-item-avatars { gap: 14px; }

.avatar-stack { display: flex; }

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  margin-left: -10px;
}

.avatar:first-child { margin-left: 0; }

.trust-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trust-text strong {
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.95rem;
}

.trust-stars { display: flex; gap: 2px; }

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* ============================
   LOGO CAROUSEL SECTION
   ============================ */
.logos-section {
  padding: 24px var(--hero-padding-x) 0;
}

.logos-card {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--bg-slate);
  border-radius: var(--radius-hero);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.logos-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 48px;
}

@media (min-width: 768px) {
  .logos-card-inner {
    grid-template-columns: 280px 1fr;
    gap: 56px;
    padding: 64px 56px;
  }
}

.logos-header { display: flex; flex-direction: column; }

.logos-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: center;
}

@media (min-width: 640px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .logos-grid { grid-template-columns: repeat(5, 1fr); }
}

.logo-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.25s ease;
  cursor: default;
}

.logo-chip:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.logo-chip svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ============================
   CHALLENGES SECTION
   ============================ */
.challenges-section {
  padding: 100px 0 0;
}

.challenges-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .challenges-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.challenges-left { max-width: 520px; }

.challenges-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.challenges-statement {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.challenges-statement strong {
  color: var(--text-main);
}

.challenges-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.challenges-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 10px;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.pain-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ============================
   FLOATING CTA BAR
   ============================ */
.floating-cta-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  width: 95%;
  max-width: 1000px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta-bar.visible-floating {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.floating-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--accent);
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(132, 204, 22, 0.3);
  flex-wrap: nowrap;
}

.floating-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.floating-cta-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.cta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.floating-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-cta-text strong {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.floating-cta-text span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.cta-white-btn {
  background: white;
  color: #0f172a;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-transform: uppercase;
}

.cta-white-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  color: #0f172a;
}

/* ============================
   BUTTONS (Global)
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: var(--bg-slate);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-text {
  color: var(--primary);
  padding: 14px 16px;
}

.btn-text:hover {
  color: var(--primary-hover);
  background-color: rgba(79, 70, 229, 0.05);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
  border-radius: 100px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================
   DUAL LAYOUTS
   ============================ */
.dual-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.dual-layout.align-start { align-items: flex-start; }

@media (min-width: 992px) {
  .dual-layout { grid-template-columns: 1fr 1fr; }
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Value Props */
.value-props {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-props li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--text-main);
  font-size: 1.05rem;
}

.vp-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 10px;
  color: #84CC16;
  flex-shrink: 0;
}

/* Solutions Image */
.solutions-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.solutions-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: block;
}

.solutions-floating-stat {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 2;
  animation: float-gentle 3s ease-in-out infinite;
}

.solutions-floating-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.solutions-floating-stat span {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solutions-floating-stat.stat-1 {
  top: 16px;
  right: -20px;
}

.solutions-floating-stat.stat-2 {
  bottom: 24px;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
  .solutions-floating-stat.stat-1 { right: 8px; }
  .solutions-floating-stat.stat-2 { left: 8px; }
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(79, 70, 229, 0.08);
  border-radius: 8px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Glass UI Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.4), transparent);
}

.glass-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(248, 250, 252, 0.5);
}

.window-controls { display: flex; gap: 6px; }

.window-controls span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.glass-title {
  font-family: 'DM Sans', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.glass-body { padding: 32px; }

.code-line {
  height: 12px;
  background-color: var(--border-light);
  border-radius: 6px;
  margin-bottom: 16px;
}
.code-line.w-75 { width: 75%; }
.code-line.w-100 { width: 100%; }
.code-line.w-50 { width: 50%; }
.code-line.w-90 { width: 90%; }
.code-line.highlight {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.8;
}

.stats-row {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
}

.stat-block span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-block strong {
  font-size: 1.5rem;
  color: var(--text-main);
}

/* ============================
   BENTO GRID
   ============================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.bento-card.primary-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
}

.bento-card.primary-gradient p { color: rgba(255, 255, 255, 0.8); }
.bento-card.col-span-2 { grid-column: 1 / -1; }
.bento-icon { margin-bottom: 24px; color: var(--primary); }
.bento-card.primary-gradient .bento-icon { color: white; }

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ============================
   PROCESS SECTION
   ============================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(79, 70, 229, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.process-step:hover .process-number {
  color: rgba(79, 70, 229, 0.25);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================
   STATS SECTION
   ============================ */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

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

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
}

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

.stat-number {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

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

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(202, 138, 4, 0.2);
}

.testimonial-stars { display: flex; gap: 3px; }

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

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

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

/* ============================
   PRICING / VALUE GRID
   ============================ */
.pricing-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .pricing-value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-value-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.pricing-value-card.pv-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
}

.pricing-value-card.pv-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-value-card.pv-dark h3 {
  color: white;
}

.pv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(132, 204, 22, 0.1);
  border-radius: 12px;
  color: #84CC16;
  margin-bottom: 24px;
}

.pricing-value-card.pv-dark .pv-icon {
  background: rgba(132, 204, 22, 0.15);
}

.pricing-value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.pricing-value-card > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.pv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.pricing-value-card.pv-dark .pv-list li {
  color: rgba(255, 255, 255, 0.85);
}

.pv-list li strong {
  color: #84CC16;
}

.pricing-bottom-cta {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--border-light);
}

.pricing-bottom-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(79, 70, 229, 0.2);
}

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

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

.faq-question span {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #312e81 100%);
  color: white;
  padding: 120px 0;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 24px;
  margin-top: 20px;
}

.cta-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background-color: #020617;
  color: white;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
  }
}

.footer-brand-col { max-width: 320px; }

.footer-tagline {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-subscribe h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-subscribe p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
}

.subscribe-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-input::placeholder {
  color: #64748b;
}

.subscribe-input:focus {
  border-color: var(--accent);
}

.subscribe-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}

.subscribe-btn:hover {
  background: var(--accent-hover);
}

.subscribe-message {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.copyright {
  color: #475569;
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: #475569;
  font-size: 0.85rem;
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* ============================
   ANIMATIONS
   ============================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.animate-hero {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-hero[data-delay="0"] { transition-delay: 0.1s; }
.animate-hero[data-delay="1"] { transition-delay: 0.2s; }
.animate-hero[data-delay="2"] { transition-delay: 0.35s; }
.animate-hero[data-delay="3"] { transition-delay: 0.5s; }
.animate-hero[data-delay="4"] { transition-delay: 0.65s; }
.animate-hero[data-delay="5"] { transition-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-hero {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .badge-dot::after { animation: none; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 480px) {
  :root { --hero-padding-x: 12px; }

  .hero-card {
    min-height: auto;
    border-radius: 20px;
  }
  .hero-split { flex-direction: column; }
  .hero-left { padding: 32px 20px 24px; }
  .hero-right { min-height: 240px; }
  .trust-bar-inner {
    padding: 16px 20px;
    gap: 16px;
  }
  .hero-title { font-size: 28px; }
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; }
  .btn-hero-primary { padding: 14px 24px; font-size: 0.8rem; }
  .nav-inner { padding: 10px 14px 10px 20px; }
  .logos-card-inner { padding: 32px 20px; }
  .floating-cta-inner { padding: 20px 20px; }
}

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .hero-cta-group { margin-bottom: 40px; }
  .hero-split { flex-direction: column; }
  .hero-right { min-height: 260px; }
}

@media (min-width: 768px) {
  .hero-card { min-height: 640px; }
  .hero-left { padding: 56px 56px 48px; }
  .trust-bar-inner { padding: 24px 56px; }
}

@media (min-width: 1024px) {
  .hero-card { min-height: 680px; }
  .hero-left { padding: 56px 64px 48px; }
  .trust-bar-inner { padding: 24px 64px; }
}

@media (min-width: 1400px) {
  .hero-card { min-height: 720px; }
}

/* ============================
   SWIPER TESTIMONIALS
   ============================ */
.premium-testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.premium-testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content blockquote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 32px;
  position: relative;
}

.testimonial-content blockquote::before {
  content: '"';
  font-size: 6rem;
  color: rgba(16, 185, 129, 0.15);
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: serif;
  z-index: -1;
  line-height: 1;
}

.testimonial-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.testimonial-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.testimonial-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.t-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
}

.swiper-navigation-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.swiper-btn-prev, .swiper-btn-next {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-btn-prev:hover, .swiper-btn-next:hover,
.swiper-btn-prev:focus-visible, .swiper-btn-next:focus-visible {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  outline: none;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 24px;
}

.swiper-pagination-bullet-active {
  background: #10b981 !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .premium-testimonial-card {
    transition: none;
  }
}

/* ============================
   CONTACT SECTION (TWO-COLUMN)
   ============================ */
.contact-card-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .contact-card-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-left {
  padding: 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 900px) {
  .contact-left {
    border-bottom: none;
    border-right: 1px solid #e5e7eb;
  }
}

.contact-bg-icon {
  position: absolute;
  bottom: -40px;
  left: -20px;
  z-index: 0;
}

.contact-subtitle {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.contact-title {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.1;
}

.contact-desc {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-features {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f2937;
}

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-right {
  padding: 48px;
  background: #ffffff;
}

.contact-progress {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 32px;
  position: relative;
}

.contact-progress .progress-bar {
  width: 30%;
  height: 100%;
  background: #84CC16;
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.opt-label {
  font-weight: 400;
  color: #9ca3af;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827; /* Explicitly dark text */
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  border-color: #84CC16;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.contact-submit-btn {
  background: #84CC16;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.contact-submit-btn:hover {
  background: #65A30D;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(132, 204, 22, 0.2);
}

/* ============================
   MODALS
   ============================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.25s ease;
}

.modal.active {
  display: flex;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--bg-slate);
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.7;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.modal-body h4 {
  color: var(--text-main);
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body a {
  color: var(--primary);
  text-decoration: underline;
}
