/* ========================================
   MNTP Studios SRL - Corporate Landing Page
   Optimized CSS - Mobile-First, Accessible
   Version 2.0
   ======================================== */

/* === CSS VARIABLES === */
:root {
  /* Colors */
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --bg-dark: #0a0a0b;
  --bg-dark-alt: #121214;
  --text: #1a1a1b;
  --text-light: #fafafa;
  --muted: #6b6b6f;
  --muted-light: #9a9a9f;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-active: #1e40af;
  --primary-light: rgba(37, 99, 235, 0.1);
  --primary-lighter: rgba(37, 99, 235, 0.05);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --border-light: rgba(255, 255, 255, 0.1);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
  --shadow-glow-lg: 0 0 60px rgba(37, 99, 235, 0.25);
  
  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  
  /* Typography - Mobile First (SF Pro prioritized) */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Consolas', monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;
  
  /* Borders */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 250ms var(--ease-out);
  --transition-slow: 400ms var(--ease-out);
  --transition-slower: 600ms var(--ease-out);
  
  /* Layout */
  --header-height: 64px;
  --container-max: 1200px;
  --container-narrow: 800px;
  
  /* Touch targets - minimum 44px for accessibility */
  --touch-target: 44px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-lg));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

strong {
  font-weight: 600;
}

/* === SKIP LINK - Accessibility === */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(0);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* === FOCUS STATES === */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Better focus for dark backgrounds */
.section--dark :focus-visible,
.contact-cta :focus-visible {
  outline-color: white;
}

/* === SELECTION === */
::selection {
  background: var(--primary);
  color: white;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm); /* 16px on mobile — wider layout */
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

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

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  gap: var(--space-sm);
}

/* Right-side group: lang switcher + CTA (desktop) */
.header__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header__logo {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: opacity var(--transition-fast);
  min-height: var(--touch-target);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo:hover {
  opacity: 0.7;
}

.header__logo:active {
  opacity: 0.5;
}

/* === LANGUAGE SWITCHER — Pill Dropdown === */
/* ═══════════════════════════════════════════════
   LANGUAGE SWITCHER — Premium Dropdown
   Pill toggle + animated dropdown with flags
   ═══════════════════════════════════════════════ */

.lang-switcher {
  display: block;
  position: relative;
  z-index: 10001;
}

/* ── Toggle Button (pill shape) ── */
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 980px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: inherit;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.lang-switcher__toggle:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lang-switcher__toggle:active {
  transform: scale(0.97);
}

.lang-switcher.is-open .lang-switcher__toggle {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Globe icon */
.lang-switcher__toggle svg.lang-switcher__globe {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.lang-switcher__toggle:hover svg.lang-switcher__globe,
.lang-switcher.is-open .lang-switcher__toggle svg.lang-switcher__globe {
  opacity: 1;
}

/* Language code (RO / EN) */
.lang-switcher__code {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* Chevron arrow */
.lang-switcher__chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-left: -1px;
  opacity: 0.5;
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* ── Dropdown Panel ── */
.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 8px;
  min-width: 200px;
  color: var(--text);
  mix-blend-mode: normal;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.95);
  transform-origin: top right;
  transition:
    opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0.2s,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10002;
}

.lang-switcher.is-open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── Language Options ── */
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.lang-switcher__option:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Active language - blue highlight */
.lang-switcher__option--active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.08);
}

.lang-switcher__option--active:hover {
  background: rgba(37, 99, 235, 0.12);
}

/* Flag emoji */
.lang-switcher__flag {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Dark Mode ── */
@media (prefers-color-scheme: dark) {
  .lang-switcher__toggle {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
  }
  .lang-switcher__toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  .lang-switcher.is-open .lang-switcher__toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  .lang-switcher__code {
    color: var(--text-light);
  }
  .lang-switcher__dropdown {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.06),
      0 12px 40px rgba(0, 0, 0, 0.1),
      0 0 0 1px rgba(0, 0, 0, 0.02);
  }
  .lang-switcher__option {
    color: var(--text);
  }
  .lang-switcher__option:hover {
    background: rgba(0, 0, 0, 0.04);
  }
  .lang-switcher__option--active {
    background: rgba(37, 99, 235, 0.08);
  }
  .lang-switcher__option--active:hover {
    background: rgba(37, 99, 235, 0.12);
  }
}

/* ── Mobile Adjustments ── */
@media (max-width: 768px) {
  .lang-switcher__toggle {
    height: 40px;
    padding: 0 12px;
    gap: 5px;
  }
  .lang-switcher__code {
    font-size: 13px;
  }
  .lang-switcher__dropdown {
    min-width: 170px;
    max-width: calc(100vw - 16px);
    right: 0;
    left: auto;
    top: calc(100% + 8px);
    transform-origin: top right;
  }
  .lang-switcher__option {
    font-size: 15px;
    padding: 11px 14px;
  }
  .lang-switcher {
    z-index: 1000001;
  }
  .lang-switcher__dropdown {
    z-index: 1000002;
  }
  .mobile-menu-toggle:checked ~ .header__container .lang-switcher {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ── Lang-switcher always visible (mobile + desktop) ── */
.lang-switcher {
  display: block !important;
}

/* Hide lang section from mobile overlay menu */
.mobile-menu__lang {
  display: none !important;
}

/* Mobile: show lang-switcher in header, hide CTA button */
@media (max-width: 768px) {
  .header__right {
    display: flex !important;
    align-items: center;
    min-width: auto;
    gap: 8px;
  }
  .header__right .btn--header {
    display: none !important;
  }
}

/* Legacy mobile-menu__lang styles (kept for reference but hidden) */
.mobile-menu__lang--legacy {
  display: flex;
  gap: 8px;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__lang-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}

.mobile-menu__lang-link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu__lang-link:not(.mobile-menu__lang-link--active):hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

/* === DESKTOP NAVIGATION === */
.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-xs);
}

.header__nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  padding: var(--space-xs) var(--space-sm);
  min-height: var(--touch-target);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  gap: 0;
  line-height: 1.2;
}

/* Navigation subtitles for division links */
.header__nav-sub {
  display: none !important;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-light);
  letter-spacing: 0.03em;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.header__nav-link:hover .header__nav-sub {
  opacity: 1;
}

/* Mobile menu subtitles */
.mobile-menu__nav-sub {
  display: none !important;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: var(--space-sm);
  right: var(--space-sm);
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base) var(--ease-spring);
}

.header__nav-link:hover {
  color: var(--text);
  background: var(--primary-lighter);
}

.header__nav-link:hover::after {
  transform: scaleX(1);
}

.header__nav-link:active {
  background: var(--primary-light);
}

/* === MOBILE MENU - CSS Only === */
/* ============================================
   MOBILE MENU - Apple Style
   ============================================ */

/* Hidden checkbox for CSS-only toggle */
.mobile-menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger button - visible on mobile */
.header__mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  position: relative;
  z-index: 1001;
}

.header__mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Hamburger lines — BLACK on white page background */
.header__mobile-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #1a1a1b;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* When menu is open, toggle becomes fixed close (X) button */
.mobile-menu-toggle:checked ~ .header__container .header__mobile-toggle {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  background: transparent;
}

/* X lines — WHITE on dark overlay */
.mobile-menu-toggle:checked ~ .header__container .header__mobile-toggle span {
  background: #ffffff !important;
}

.mobile-menu-toggle:checked ~ .header__container .header__mobile-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle:checked ~ .header__container .header__mobile-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle:checked ~ .header__container .header__mobile-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ─── Mobile Menu Panel - Apple Style Dark Overlay ─── */
.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.97) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 100px 40px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* Menu Open State */
.mobile-menu-toggle:checked ~ .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Navigation List - Apple Style */
.mobile-menu__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Items start hidden for stagger animation */
.mobile-menu__nav-list li {
  opacity: 0;
  transform: translateY(20px);
}

/* Staggered fade-in when menu opens */
.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li {
  animation: menuSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li:nth-child(2) { animation-delay: 0.13s; }
.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li:nth-child(3) { animation-delay: 0.18s; }
.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li:nth-child(4) { animation-delay: 0.23s; }
.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li:nth-child(5) { animation-delay: 0.28s; }
.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__nav-list li:nth-child(6) { animation-delay: 0.33s; }

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* When menu is NOT checked, reset items instantly */
.mobile-menu-toggle:not(:checked) ~ .mobile-menu .mobile-menu__nav-list li {
  animation: none;
  opacity: 0;
  transform: translateY(20px);
}

/* Menu Links — white on dark overlay */
.mobile-menu__nav-link {
  display: block;
  padding: 14px 0;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__nav-list li:first-child .mobile-menu__nav-link {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__nav-link:hover,
.mobile-menu__nav-link:active {
  color: var(--primary);
  opacity: 0.9;
}

/* CTA and Lang - start hidden for stagger */
.mobile-menu__cta,
.mobile-menu__lang {
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__cta {
  animation: menuSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.35s;
}

.mobile-menu-toggle:checked ~ .mobile-menu .mobile-menu__lang {
  animation: menuSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.40s;
}

/* Reset when menu closes */
.mobile-menu-toggle:not(:checked) ~ .mobile-menu .mobile-menu__cta,
.mobile-menu-toggle:not(:checked) ~ .mobile-menu .mobile-menu__lang {
  animation: none;
  opacity: 0;
  transform: translateY(20px);
}

/* CTA Button in Mobile Menu */
.mobile-menu__cta {
  margin-top: 40px;
}

.mobile-menu__cta .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 17px;
}

/* Language Switcher in Mobile Menu — hidden, pill is in header now */
.mobile-menu__lang {
  display: none !important;
}

.mobile-menu__lang-link {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu__lang-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.mobile-menu__lang-link--active {
  background: #ffffff;
  color: #0a0a0b;
  border-color: #ffffff;
}

/* Header CTA Button */
.btn--header {
  display: none;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  min-height: var(--touch-target);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25),
              0 1px 2px rgba(37, 99, 235, 0.2);
}

.btn--primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35),
              0 2px 4px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.btn--primary:active {
  background: var(--primary-active);
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn--secondary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--large {
  padding: 1rem 1.75rem;
  font-size: var(--text-base);
  min-height: 52px;
}

.btn--full {
  width: 100%;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  min-height: 36px;
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* Shimmer effect */
.btn--shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-sm) var(--space-xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  filter: blur(40px);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: blobFloat 25s ease-in-out infinite;
  will-change: transform;
}

.hero__blob--1 {
  top: 5%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(147, 51, 234, 0.15));
  animation-delay: 0s;
}

.hero__blob--2 {
  bottom: 5%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: linear-gradient(225deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.1));
  animation-delay: -12s;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(20px, -25px) scale(1.05) rotate(5deg);
  }
  50% {
    transform: translate(-15px, 15px) scale(0.95) rotate(-5deg);
  }
  75% {
    transform: translate(15px, 10px) scale(1.02) rotate(3deg);
  }
}

.hero__container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.hero__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  line-height: var(--leading-snug);
}

.hero__description {
  font-size: var(--text-base);
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-icon {
  width: 24px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.hero__scroll-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

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

@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 14px; }
}

/* === SECTIONS === */
.section {
  padding: var(--space-2xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: var(--leading-tight);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-top: var(--space-sm);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark section variant */
.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section--dark .section__title {
  color: var(--text-light);
}

.section--dark .section__tag {
  color: rgba(96, 165, 250, 1);
}

/* === DESPRE - APPLE STYLE CARDS === */

/* Featured Card (Big Card) */
.apple-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.apple-card--featured {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
  padding: var(--space-2xl) var(--space-sm);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.apple-card--featured:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.apple-card__content {
  position: relative;
  z-index: 1;
}

.apple-card__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.apple-card__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: white;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.apple-card__description {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-relaxed);
}

.apple-card__quote {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.apple-card__quote p {
  font-size: var(--text-lg);
  font-style: italic;
  color: white;
  margin-bottom: var(--space-xs);
  line-height: var(--leading-relaxed);
}

.apple-card__quote cite {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
  font-weight: 500;
}

/* Mini Cards Grid */
.apple-cards-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

/* Mini Card */
.apple-card--mini {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  cursor: default;
}

.apple-card--mini:hover {
  transform: translateY(-8px) scale(1.02);
}

.apple-card--mini .apple-card__eyebrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
}

.apple-card--mini .apple-card__name {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.apple-card--mini .apple-card__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-normal);
}

/* Card Colors */
.apple-card--aasco {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.25);
}

.apple-card--aasco:hover {
  box-shadow: 0 16px 50px rgba(249, 115, 22, 0.35);
}

.apple-card--mdn {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
}

.apple-card--mdn:hover {
  box-shadow: 0 16px 50px rgba(139, 92, 246, 0.35);
}

.apple-card--mhost {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
}

.apple-card--mhost:hover {
  box-shadow: 0 16px 50px rgba(16, 185, 129, 0.35);
}

/* Responsive */
@media (min-width: 480px) {
  .apple-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .apple-card--mini {
    padding: var(--space-lg);
  }
  
  .apple-card--mini .apple-card__name {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 768px) {
  .apple-card--featured {
    padding: var(--space-3xl) var(--space-2xl);
  }
  
  .apple-card__title {
    font-size: var(--text-5xl);
  }
  
  .apple-card__description {
    font-size: var(--text-lg);
  }
  
  .apple-card--mini {
    padding: var(--space-xl);
  }
  
  .apple-card--mini .apple-card__name {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1024px) {
  .apple-card--featured {
    padding: var(--space-4xl) var(--space-3xl);
  }
  
  .apple-card__title {
    font-size: var(--text-6xl);
  }
  
  .apple-card--mini {
    padding: var(--space-2xl);
  }
}

/* Legacy despre styles (for legal pages) */
.despre__content {
  display: grid;
  gap: var(--space-lg);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.despre__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text);
}

.despre__lead strong {
  color: var(--primary);
  font-weight: 600;
}

.despre__paragraph {
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

.despre__quote {
  position: relative;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--primary-light), transparent);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-top: var(--space-sm);
}

.despre__quote p {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text);
  margin-bottom: var(--space-xs);
  line-height: var(--leading-relaxed);
}

.despre__quote cite {
  font-size: var(--text-sm);
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

/* === PROJECTS === */
.projects__grid {
  display: grid;
  gap: var(--space-md);
}

.project-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.project-card:active {
  transform: translateY(-2px);
}

.project-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(147, 51, 234, 0.04));
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.project-card:hover .project-card__glow {
  opacity: 1;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1.5px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background var(--transition-base);
  pointer-events: none;
}

.project-card:hover::before {
  background: linear-gradient(135deg, var(--primary), rgba(147, 51, 234, 0.6));
}

.project-card__content {
  position: relative;
  z-index: 1;
}

.project-card__pill {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.project-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
  line-height: var(--leading-snug);
}

.project-card__description {
  color: var(--muted);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

/* === SERVICES === */
.services__grid {
  display: grid;
  gap: var(--space-md);
}

.service-card {
  padding: var(--space-lg);
  background: var(--bg-dark-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.service-card:active {
  transform: translateY(-1px);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: rgb(96, 165, 250);
}

.service-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-light);
  line-height: var(--leading-snug);
}

.service-card__text {
  color: var(--muted-light);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.services__statement {
  max-width: 550px;
  margin: var(--space-xl) auto 0;
  text-align: center;
  font-size: var(--text-base);
  color: var(--muted-light);
  line-height: var(--leading-relaxed);
  padding: 0 var(--space-sm);
}

/* === PRINCIPLES === */
.principles__grid {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.principle-card {
  padding: var(--space-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

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

.principle-card:active {
  transform: translateY(-1px);
}

.principle-card__number {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.principle-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: var(--leading-snug);
}

.principle-card__text {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.viziune__quotes {
  display: grid;
  gap: var(--space-md);
  max-width: 550px;
  margin: 0 auto;
}

.viziune__quote {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.viziune__quote:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.viziune__quote p {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--text);
  line-height: var(--leading-relaxed);
}

/* === CONTACT CTA === */
.section--contact {
  padding-bottom: var(--space-3xl);
}

.contact-cta {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-sm);
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.contact-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-cta__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
  line-height: var(--leading-snug);
}

.contact-cta__text {
  font-size: var(--text-base);
  color: var(--muted-light);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-normal);
}

.contact-cta__info {
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.contact-info__item {
  text-align: center;
}

.contact-info__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  margin-bottom: var(--space-2xs);
}

.contact-info__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition-fast);
  padding: var(--space-xs);
  margin: calc(-1 * var(--space-xs));
  border-radius: var(--radius-sm);
}

.contact-info__value:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

.contact-info__value:active {
  background: rgba(37, 99, 235, 0.2);
}

.contact-cta__glow {
  position: absolute;
  top: -40%;
  right: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* === BREADCRUMBS === */
.breadcrumb {
  padding: calc(var(--header-height) + var(--space-md)) 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb__link {
  color: var(--muted);
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: var(--primary);
}

.breadcrumb__separator {
  color: var(--muted-light);
  font-size: 0.7em;
}

.breadcrumb__current {
  color: var(--text);
  font-weight: 500;
}

/* === FOOTER === */
.footer {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-lg);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer__gradient-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--primary) 0%, 
    rgba(147, 51, 234, 0.8) 25%,
    rgba(236, 72, 153, 0.7) 50%,
    rgba(147, 51, 234, 0.8) 75%,
    var(--primary) 100%
  );
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

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

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__nav-link {
  font-size: var(--text-sm);
  color: var(--muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer__nav-link:hover {
  color: var(--primary);
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

.footer__address a {
  color: var(--muted);
  transition: color var(--transition-fast);
}

.footer__address a:hover {
  color: var(--primary);
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}

.footer__link {
  font-size: var(--text-xs);
  color: var(--muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--muted-light);
}

/* Footer responsive — Apple-style compact mobile */
@media (max-width: 768px) {
  .footer {
    padding: var(--space-xl) 0 var(--space-sm);
  }

  .footer__grid {
    display: block !important;
    margin-bottom: var(--space-md);
  }

  /* Brand row: logo left + social right, one line */
  .footer__brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: var(--space-sm);
    text-align: left !important;
    padding-bottom: 14px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
  }

  .footer__tagline {
    display: none !important;
  }

  .footer__logo {
    font-size: var(--text-xl) !important;
  }

  .footer__social {
    margin-top: 0 !important;
  }

  .footer__social-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .footer__social-link svg {
    width: 16px;
    height: 16px;
  }

  /* Columns side by side */
  .footer__col {
    text-align: left !important;
  }

  .footer__grid > .footer__col {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    box-sizing: border-box;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .footer__grid > .footer__col:first-of-type {
    padding-right: var(--space-md);
  }

  .footer__heading {
    font-size: 10px;
    margin-bottom: 8px;
    color: var(--muted-light);
  }

  .footer__nav-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
  }

  .footer__nav-link {
    font-size: 13px !important;
    padding: 3px 0 !important;
    display: inline-block;
  }

  .footer__address {
    align-items: flex-start !important;
    gap: 2px !important;
    font-size: 13px;
  }

  .footer__address p br {
    display: none;
  }

  /* Bottom bar */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: 14px;
  }

  .footer__links {
    justify-content: center;
    gap: 4px 16px;
  }

  .footer__link {
    font-size: 11px;
  }

  .footer__copyright {
    font-size: 11px;
  }
}

/* Legacy footer support (content-only) */
.footer__content {
  text-align: center;
}

.footer__brands {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-lg);
}

/* === ANIMATIONS === */
/* Hero entrance - controlled by JS via .is-visible */
.slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Noscript / JS-fail safety: show everything */
.no-js .slide-up,
.no-js .scroll-fade,
.no-js .scroll-fade-in,
.no-js .scroll-slide-up,
.no-js .scroll-animate,
.no-js .scroll-scale {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Scroll-triggered animation classes */
.fade-in-scroll,
.slide-up-scroll {
  opacity: 0;
  transform: translateY(16px);
  animation: scrollReveal 0.7s var(--ease-out) forwards;
  animation-delay: 0.15s;
}

@keyframes scrollReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE DESIGN === */

/* Extra Small (360px+) - Small phones */
@media (min-width: 360px) {
  .hero__actions {
    gap: var(--space-sm);
  }
  
  .btn--large {
    padding: 1rem 2rem;
  }
}

/* Small devices (480px+) - Large phones */
@media (min-width: 480px) {
  :root {
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
  }
  
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info {
    flex-direction: row;
    gap: var(--space-2xl);
  }
  
  .contact-cta__title {
    font-size: var(--text-3xl);
  }
}

/* Medium devices (768px+) - Tablets */
@media (min-width: 768px) {
  :root {
    --header-height: 72px;
    --text-3xl: 2.25rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4rem;
  }
  
  .header__nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }
  
  .header__mobile-toggle,
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
  
  .btn--header {
    display: inline-flex;
  }
  
  .lang-switcher {
    display: block; /* Show on desktop */
  }

  /* Symmetric header: Logo (left) | Nav (center) | Right group (right) */
  .header__container {
    padding: 0 var(--space-lg);
    gap: var(--space-md);
  }

  .header__logo {
    min-width: 60px;
  }

  .header__right {
    min-width: 180px;
    justify-content: flex-end;
  }

  .container {
    padding: 0 var(--space-md);
  }
  
  .hero {
    min-height: 100vh;
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  }
  
  .hero__title {
    font-size: var(--text-5xl);
  }
  
  .hero__glow {
    max-width: 600px;
    height: 400px;
  }
  
  .hero__blob--1 {
    width: 400px;
    height: 400px;
    right: 0;
  }
  
  .hero__blob--2 {
    width: 350px;
    height: 350px;
    left: 0;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .despre__content {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: var(--space-xl);
  }
  
  .despre__lead {
    font-size: var(--text-xl);
  }
  
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .principles__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-cta {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    padding: var(--space-2xl);
    gap: var(--space-xl);
  }
  
  .contact-cta__content {
    text-align: left;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-info__item {
    text-align: left;
  }
  
  .viziune__quote p {
    font-size: var(--text-lg);
  }
  
  .footer__logo {
    font-size: var(--text-4xl);
  }

  .hero-icloud {
    padding: 120px var(--space-xl) var(--space-3xl);
  }

  .section-statement {
    padding: var(--space-3xl) var(--space-xl);
  }

  .section--stats {
    padding: var(--space-3xl) var(--space-xl);
  }

  .cta-apple {
    padding: 6rem 3rem;
  }
}

@media (min-width: 768px) and (max-width: 1120px) {
  .header__container {
    gap: var(--space-xs);
    padding: 0 var(--space-sm);
  }
  .header__nav-list {
    gap: 2px;
  }
  .header__nav-link {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 40px;
  }
  .header__right {
    min-width: auto;
    gap: 8px;
  }
  .btn--header {
    padding: 0.65rem 1rem;
    font-size: 13px;
  }
}

/* Large devices (1024px+) - Small laptops */
@media (min-width: 1024px) {
  :root {
    --text-5xl: 4rem;
    --text-6xl: 4.5rem;
  }
  
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .project-card {
    padding: var(--space-xl);
  }
  
  .project-card__description {
    font-size: var(--text-base);
  }
}

/* Extra Large devices (1200px+) - Desktops */
@media (min-width: 1200px) {
  :root {
    --text-5xl: 4.25rem;
    --text-6xl: 5rem;
  }
  
  .hero__title {
    font-size: var(--text-6xl);
  }
  
  .hero__glow {
    max-width: 800px;
    height: 500px;
  }
  
  .hero__blob--1 {
    width: 500px;
    height: 500px;
  }
  
  .hero__blob--2 {
    width: 400px;
    height: 400px;
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .contact-cta {
    padding: var(--space-2xl);
  }
}

/* Ultra Wide (1440px+) */
@media (min-width: 1440px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* === REDUCED MOTION === */
@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;
  }
  
  .hero__blob,
  .hero__glow,
  .footer__gradient-line,
  .btn--shimmer::before,
  .hero__scroll {
    animation: none !important;
  }
  
  .fade-in,
  .slide-up,
  .fade-in-scroll,
  .slide-up-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .header,
  .hero__bg,
  .hero__scroll,
  .footer__gradient-line,
  .contact-cta__glow,
  .project-card__glow {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }
  
  .btn {
    border: 1px solid black;
    color: black;
    background: white;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
  
  .project-card,
  .service-card,
  .principle-card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

/* === LEGAL PAGES === */
.legal-page {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
}

.legal-page__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.legal-page__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.legal-page__meta {
  font-size: var(--text-sm);
  color: var(--muted);
}

.legal-page__content {
  line-height: var(--leading-relaxed);
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.legal-section p {
  margin-bottom: var(--space-md);
  color: var(--text);
}

.legal-section ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-section li {
  margin-bottom: var(--space-xs);
  color: var(--text);
  list-style-type: disc;
}

.legal-section li::marker {
  color: var(--primary);
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--primary-hover);
}

.legal-contact {
  padding: var(--space-lg);
  background: var(--primary-lighter);
  border-radius: var(--radius-lg);
  font-style: normal;
}

.legal-contact p {
  margin-bottom: var(--space-xs);
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-table {
  width: 100%;
  margin: var(--space-md) 0;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.legal-table th,
.legal-table td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  font-weight: 600;
  background: var(--primary-lighter);
  color: var(--text);
}

.legal-table td {
  color: var(--muted);
}

.legal-table tr:hover td {
  background: var(--primary-lighter);
}

.legal-nav {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .legal-page {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
  }
  
  .legal-page__title {
    font-size: var(--text-4xl);
  }
  
  .legal-section h2 {
    font-size: var(--text-2xl);
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  display: none; /* Hidden by default, shown by JS */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: var(--space-md);
}

.cookie-banner--hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner__content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--muted-light);
  line-height: var(--leading-normal);
}

.cookie-banner__text a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.cookie-banner__text a:hover {
  color: var(--primary);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cookie-banner__content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .cookie-banner__text {
    max-width: 70%;
  }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(0, 0, 0, 0.3);
    --muted: #4a4a4a;
  }
  
  .btn--primary {
    border: 2px solid white;
  }
  
  .btn--secondary {
    border-width: 2px;
  }
}

/* ============================================
   SCROLL ANIMATIONS - Apple Style
   ============================================ */

/* Base state - elements start invisible */
.scroll-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animated state - when in viewport */
.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In */
.scroll-fade,
.scroll-fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease-out,
              transform 0.5s ease-out;
}

.scroll-fade.is-visible,
.scroll-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Up */
.scroll-slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide In Left */
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In Right */
.scroll-slide-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Up */
.scroll-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid items */
.scroll-stagger > *:nth-child(1) { transition-delay: 0s; }
.scroll-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.scroll-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.scroll-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.scroll-stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-fade,
  .scroll-fade-in,
  .scroll-slide-up,
  .scroll-slide-left,
  .scroll-slide-right,
  .scroll-scale,
  .slide-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   NEW HOMEPAGE STYLES - Apple Inspired
   ============================================ */

/* Hero Centered Style */
.hero--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: var(--space-4xl) var(--space-md);
}

.hero--centered .hero__container {
  max-width: 900px;
}

.hero__title--large {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero__title-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

/* Section Header Centered */
.section__header--center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section__title--large {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
  margin-top: var(--space-md);
  line-height: var(--leading-relaxed);
}

/* Divizii Section */
.section--divizii {
  padding: var(--space-3xl) 0;
}

/* Division Cards Grid */
.divisions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .divisions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* Division Card */
.division-card {
  position: relative;
  display: block;
  padding: var(--space-xl);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  min-height: 400px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.division-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-card:hover .division-card__bg {
  transform: scale(1.05);
}

/* AASCO Card - Purple */
.division-card--aasco .division-card__bg {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* MDN Card - Green */
.division-card--mdn .division-card__bg {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* MHOST Card - Cyan */
.division-card--mhost .division-card__bg {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.division-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.division-card__eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: var(--space-sm);
}

.division-card__name {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.division-card__description {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  opacity: 0.9;
  flex-grow: 1;
}

.division-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.division-card__cta svg {
  transition: transform 0.3s ease;
}

.division-card:hover .division-card__cta svg {
  transform: translateX(4px);
}

/* Why Section */
.section--why {
  padding: var(--space-3xl) 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* Feature Card */
.feature-card {
  text-align: center;
  padding: var(--space-xl);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.section--dark .feature-card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.section--dark .feature-card__title {
  color: white;
}

.feature-card__text {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

.section--dark .feature-card__text {
  color: var(--muted-light);
}

/* ═══════════════════════════════════════════════
   SERVICE PAGE — Bento Grid + Tabs (Apple style)
   ═══════════════════════════════════════════════ */

/* ── Tabs Navigation ── */
.svc-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-2xl);
  background: rgba(0,0,0,0.04);
  border-radius: 14px;
  padding: 4px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .svc-tabs {
  background: rgba(255,255,255,0.06);
}

.svc-tab {
  flex: 1;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  white-space: nowrap;
}

.svc-tab:hover {
  color: var(--text);
}

.svc-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

.section--dark .svc-tab:hover {
  color: #fff;
}

.section--dark .svc-tab.is-active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ── Tab Panels ── */
.svc-tab-panel {
  display: none;
  animation: svcFadeIn 0.4s ease;
}

.svc-tab-panel.is-active {
  display: block;
}

@keyframes svcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Bento Grid ── */
.svc-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .svc-bento {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }
  .svc-bento__card:nth-child(1) { grid-column: span 7; }
  .svc-bento__card:nth-child(2) { grid-column: span 5; }
  .svc-bento__card:nth-child(3) { grid-column: span 5; }
  .svc-bento__card:nth-child(4) { grid-column: span 7; }
  .svc-bento__card:nth-child(5) { grid-column: span 6; }
  .svc-bento__card:nth-child(6) { grid-column: span 6; }
}

.svc-bento__card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-bento__card:hover {
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.section--dark .svc-bento__card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}

.section--dark .svc-bento__card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.svc-bento__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.svc-bento__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.section--dark .svc-bento__title {
  color: #fff;
}

.svc-bento__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.section--dark .svc-bento__text {
  color: var(--muted-light);
}

/* Bento card accent line */
.svc-bento__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent, var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-bento__card:hover::before {
  opacity: 1;
}

/* ── Advantages as horizontal scroll chips ── */
.svc-advantages {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.svc-advantages::-webkit-scrollbar {
  display: none;
}

.svc-advantage {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}

.svc-advantage:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.svc-advantage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

.svc-advantage__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.svc-advantage__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-light);
  margin: 0;
}

@media (min-width: 768px) {
  .svc-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
  .svc-advantage {
    flex: none;
  }
}

@media (max-width: 767px) {
  .svc-bento__card {
    padding: 24px;
  }
  .svc-tabs {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .svc-tabs::-webkit-scrollbar {
    display: none;
  }
  .svc-advantage {
    flex: 0 0 260px;
  }
}

/* ============================================
   DIVISION PAGE STYLES
   ============================================ */

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/* AASCO Purple */
.page-hero--aasco .page-hero__bg {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4c1d95 100%);
}

/* MDN Green */
.page-hero--mdn .page-hero__bg {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

/* MHost Cyan */
.page-hero--mhost .page-hero__bg {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 700px;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
  transition: color 0.2s ease;
}

.page-hero__back:hover {
  color: white;
}

.page-hero__eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: var(--space-sm);
}

.page-hero__title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* White Button */
.btn--white {
  background: white;
  color: #1a1a1b;
  border: none;
}

.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Services List */
.services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-item__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.service-item__icon--purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%);
  color: #8b5cf6;
}

.service-item__icon--green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: #10b981;
}

.service-item__icon--cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
  color: #06b6d4;
}

.service-item__content {
  flex: 1;
}

.service-item__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.service-item__text {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

@media (max-width: 600px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Process Steps — old duplicate removed, see SECTION 4 below */

/* Form Container */
.form-container {
  padding: var(--space-lg) 0;
}

/* Header active link */
.header__nav-link--active {
  color: var(--primary);
}

/* ============================================
   BENTO GRID - Advanced Layout System
   ============================================ */

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: var(--space-lg);
  }
}

/* Bento Item Base */
.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Grid Spans */
@media (min-width: 768px) {
  .bento-item--span-4 { grid-column: span 4; }
  .bento-item--span-6 { grid-column: span 6; }
  .bento-item--span-8 { grid-column: span 8; }
  .bento-item--span-12 { grid-column: span 12; }
  .bento-item--row-2 { grid-row: span 2; }
}

/* Bento Card Content */
.bento-card {
  height: 100%;
  min-height: 200px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Bento Card Backgrounds */
.bento-item--gradient-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
}

.bento-item--gradient-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.bento-item--gradient-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}

.bento-item--gradient-orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.bento-item--gradient-pink {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: white;
}

.bento-item--gradient-dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0b 100%);
  color: white;
}

.bento-item--glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.bento-item--light {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
}

/* Bento Typography */
.bento-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.bento-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.bento-title--large {
  font-size: clamp(2rem, 5vw, 3rem);
}

.bento-text {
  font-size: var(--text-base);
  opacity: 0.85;
  line-height: var(--leading-relaxed);
}

/* Bento Stats */
.bento-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: var(--space-xl);
}

.bento-stat__number {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xs);
}

.bento-stat__label {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* Bento Icon */
.bento-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-md);
}

.bento-item--light .bento-icon {
  background: var(--primary-light);
  color: var(--primary);
}

/* Bento Image */
.bento-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.bento-image + .bento-card {
  justify-content: flex-end;
}

/* Bento Decorative Elements */
.bento-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.1;
  background-image: 
    radial-gradient(circle at 25% 25%, white 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, white 2px, transparent 2px);
  background-size: 40px 40px;
}

.bento-glow {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-item:hover .bento-glow {
  opacity: 1;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */

.section--community {
  position: relative;
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.section--community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Community Grid */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .community-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

/* Community Avatar */
.community-avatar {
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--border);
}

.community-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.community-avatar--filled {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: white;
  border: none;
}

.community-avatar--green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
}

.community-avatar--orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border: none;
}

/* Community Statement */
.community-statement {
  text-align: center;
  max-width: 700px;
  margin: var(--space-3xl) auto 0;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
  border-radius: 24px;
  color: white;
}

.community-statement__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: var(--leading-tight);
}

.community-statement__text {
  font-size: var(--text-lg);
  opacity: 0.8;
  line-height: var(--leading-relaxed);
}

/* ============================================
   NETWORK VISUALIZATION
   ============================================ */

.network-visual {
  position: relative;
  padding: var(--space-3xl) 0;
  text-align: center;
}

.network-nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.network-node {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--primary);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.network-node:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.network-node::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  border: 1px dashed var(--border);
  border-radius: 50%;
  animation: networkPulse 3s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes networkPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.2; }
  50% { transform: scale(1); opacity: 0.5; }
}

/* ============================================
   MARQUEE ANIMATION
   ============================================ */

.marquee-container {
  overflow: hidden;
  padding: var(--space-xl) 0;
  background: var(--bg-dark);
}

.marquee {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee__content {
  display: flex;
  gap: var(--space-2xl);
  padding-right: var(--space-2xl);
}

.marquee__item {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   DOMAIN SHOWCASE
   ============================================ */

.domains-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .domains-showcase {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.domain-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.domain-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.domain-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.domain-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-2xs);
}

.domain-card__type {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   ANIMATED GRADIENT BORDER
   ============================================ */

.gradient-border {
  position: relative;
  background: var(--bg-dark);
  border-radius: 24px;
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(90deg, #8b5cf6, #10b981, #06b6d4, #f97316, #8b5cf6);
  background-size: 300% 100%;
  animation: gradientBorder 4s linear infinite;
  border-radius: 24px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.floating {
  animation: floating 6s ease-in-out infinite;
}

.floating--slow {
  animation-duration: 8s;
}

.floating--fast {
  animation-duration: 4s;
}

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

/* Floating decoration dots */
.floating-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.2;
}

.floating-dot:nth-child(1) { top: 10%; left: 20%; animation: floating 5s ease-in-out infinite; }
.floating-dot:nth-child(2) { top: 20%; right: 15%; animation: floating 7s ease-in-out infinite 1s; }
.floating-dot:nth-child(3) { bottom: 30%; left: 10%; animation: floating 6s ease-in-out infinite 2s; }
.floating-dot:nth-child(4) { bottom: 15%; right: 25%; animation: floating 8s ease-in-out infinite 0.5s; }
.floating-dot:nth-child(5) { top: 50%; left: 50%; animation: floating 5.5s ease-in-out infinite 1.5s; }

/* ============================================
   APPLE-STYLE HIGHLIGHTS CAROUSEL
   ============================================ */

.highlights-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.highlights-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: 0 var(--space-sm);
  max-width: 1400px;
  margin: 0 auto var(--space-2xl);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .highlights-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.highlights-header__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.highlights-header__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.highlights-header__link:hover {
  background: var(--primary-dark, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.highlights-header__link svg {
  width: 18px;
  height: 18px;
}

/* Carousel Container */
.highlights-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.highlights-track {
  display: flex;
  gap: var(--space-lg);
  padding: 0 var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--space-sm);
}

.highlights-track::-webkit-scrollbar {
  display: none;
}

/* Highlight Card */
.highlight-card {
  flex: 0 0 min(85vw, 900px);
  scroll-snap-align: center;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  transition: transform 0.4s ease;
}

.highlight-card:hover {
  transform: scale(1.02);
}

/* Card with gradient background */
.highlight-card--gradient {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2xl);
}

.highlight-card--purple {
  background: linear-gradient(135deg, #4c1d95 0%, #1a1a2e 100%);
}

.highlight-card--orange {
  background: linear-gradient(135deg, #9a3412 0%, #1a1a2e 100%);
}

.highlight-card--blue {
  background: linear-gradient(135deg, #1e40af 0%, #1a1a2e 100%);
}

.highlight-card--green {
  background: linear-gradient(135deg, #065f46 0%, #1a1a2e 100%);
}

.highlight-card--cyan {
  background: linear-gradient(135deg, #0e7490 0%, #1a1a2e 100%);
}

.highlight-card--pink {
  background: linear-gradient(135deg, #9d174d 0%, #1a1a2e 100%);
}

/* Card with pattern background */
.highlight-card__pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: 
    linear-gradient(30deg, transparent 40%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.1) 60%, transparent 60%),
    linear-gradient(-30deg, transparent 40%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.05) 60%, transparent 60%);
  background-size: 60px 100px;
}

/* Visual element - SVG/Icon */
.highlight-card__visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 200px;
  height: 200px;
  opacity: 0.15;
}

.highlight-card__visual svg {
  width: 100%;
  height: 100%;
}

/* Card Content */
.highlight-card__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.highlight-card__text {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: white;
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

.highlight-card__text strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Carousel Controls */
.highlights-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding: 0 var(--space-sm);
}

/* Dots/Indicators */
.highlights-dots {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.highlights-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.highlights-dot--active {
  width: 32px;
  border-radius: 4px;
  background: white;
}

.highlights-dot:hover:not(.highlights-dot--active) {
  background: rgba(255, 255, 255, 0.5);
}

/* Pause Button */
.highlights-pause {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.highlights-pause:hover {
  background: rgba(255, 255, 255, 0.2);
}

.highlights-pause svg {
  width: 18px;
  height: 18px;
}

/* Arrow Buttons */
.highlights-arrows {
  display: none;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .highlights-arrows {
    display: flex;
    position: absolute;
    left: var(--space-md);
    bottom: var(--space-md);
    z-index: 10;
  }

  .highlights-header {
    padding: 0 max(var(--space-xl), calc((100vw - 1400px) / 2 + var(--space-xl)));
  }

  .highlights-track {
    padding: 0 max(var(--space-xl), calc((100vw - 1400px) / 2 + var(--space-xl)));
    scroll-padding-left: max(var(--space-xl), calc((100vw - 1400px) / 2 + var(--space-xl)));
  }

  .highlights-controls {
    padding: 0 max(var(--space-xl), calc((100vw - 1400px) / 2 + var(--space-xl)));
  }
}

.highlights-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.highlights-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.highlights-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- Highlight Card "+" Detail Button --- */
.highlight-card__detail-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
}

.highlight-card__detail-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.highlight-card__detail-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.highlight-card__detail-btn:hover svg {
  transform: rotate(90deg);
}

/* --- Highlight Card Icon --- */
.highlight-card__icon {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.highlight-card__icon svg {
  width: 24px;
  height: 24px;
}

/* --- Highlight Card Tag --- */
.highlight-card__tag {
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Highlight Detail Modal --- */
.highlight-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-modal-overlay.is-visible {
  display: flex;
  opacity: 1;
}

.highlight-modal {
  background: #1c1c1e;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-modal-overlay.is-visible .highlight-modal {
  transform: translateY(0);
}

.highlight-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.highlight-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.highlight-modal__close svg {
  width: 18px;
  height: 18px;
}

.highlight-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: white;
}

.highlight-modal__icon svg {
  width: 28px;
  height: 28px;
}

.highlight-modal__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.highlight-modal__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.highlight-modal__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.highlight-modal__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.highlight-modal__feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.highlight-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: opacity 0.2s;
}

.highlight-modal__cta:hover {
  opacity: 0.8;
}

/* Mobile: Taller cards, adjusted layout */
@media (max-width: 600px) {
  .highlight-card {
    flex: 0 0 calc(100vw - 48px);
    aspect-ratio: auto;
    min-height: 420px;
  }

  .highlight-card__content {
    padding-bottom: 80px;
  }

  .highlight-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .highlight-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .highlight-card__tag {
    top: 24px;
    right: 20px;
    font-size: 0.65rem;
  }

  .highlight-card__detail-btn {
    bottom: 20px;
    right: 20px;
  }

  .highlight-modal {
    padding: var(--space-xl) var(--space-md);
    border-radius: 16px;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .highlight-card {
    flex: 0 0 min(85vw, 700px);
    aspect-ratio: auto;
    min-height: 380px;
  }
}

/* ============================================
   BENTO GRID VARIATIONS
   ============================================ */

/* AASCO Orange theme */
.bento-item--gradient-aasco {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  color: white;
}

.bento-item--gradient-aasco-dark {
  background: linear-gradient(135deg, #7c2d12 0%, #1a1a2e 100%);
  color: white;
}

/* MHost Cyan theme */
.bento-item--gradient-mhost {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}

.bento-item--gradient-mhost-dark {
  background: linear-gradient(135deg, #0e7490 0%, #1a1a2e 100%);
  color: white;
}

/* Additional gradient themes */
.bento-item--gradient-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
  color: white;
}

.bento-item--gradient-orange {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  color: white;
}

/* Bento with number highlight */
.bento-number {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: var(--space-sm);
}

.bento-number--gradient {
  background: linear-gradient(135deg, white 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bento with list */
.bento-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bento-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-base);
}

.bento-list__item:last-child {
  border-bottom: none;
}

.bento-list__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.7;
}

.bento-item--light .bento-list__item {
  border-bottom-color: var(--border);
}

/* Bento with tags */
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.bento-tag {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

.bento-item--light .bento-tag {
  background: var(--primary-light);
  color: var(--primary);
}

/* Bento with quote */
.bento-quote {
  font-size: var(--text-xl);
  font-style: italic;
  line-height: var(--leading-relaxed);
  opacity: 0.9;
}

.bento-quote-author {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-style: normal;
  opacity: 0.6;
}

/* Bento hover animations */
.bento-item--interactive {
  cursor: pointer;
}

.bento-item--interactive::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item--interactive:hover::after {
  opacity: 1;
}

/* Bento with progress bar */
.bento-progress {
  margin-top: var(--space-md);
}

.bento-progress__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.bento-progress__fill {
  height: 100%;
  background: white;
  border-radius: 3px;
  transition: width 1s ease;
}

.bento-progress__label {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  opacity: 0.7;
}

/* Bento animated counter */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.bento-counter {
  animation: countUp 0.6s ease-out forwards;
}

/* Responsive adjustments for Bento */
@media (max-width: 767px) {
  .bento-grid {
    gap: var(--space-md);
  }
  
  .bento-item {
    border-radius: 20px;
  }
  
  .bento-card {
    padding: var(--space-lg);
    min-height: 180px;
  }
  
  .bento-title {
    font-size: var(--text-xl);
  }
  
  .bento-title--large {
    font-size: var(--text-2xl);
  }
  
  .bento-number {
    font-size: 3rem;
  }
  
  .highlight-card {
    flex: 0 0 85vw;
    aspect-ratio: 4 / 3;
  }
  
  .highlight-card__text {
    font-size: 1.1rem;
  }
}

/* ============================================
   HOMEPAGE - iCLOUD+ STYLE
   ============================================ */

/* Hero iCloud Style */
.hero-icloud {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px var(--space-sm) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-icloud__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-icloud__gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
}

.hero-icloud__content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-icloud__title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-xl);
  color: var(--text);
}

.hero-icloud__title-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-icloud__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

/* Statement Block */
.section-statement {
  padding: var(--space-3xl) var(--space-sm);
  background: var(--bg);
}

.statement-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.statement-block__text {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--space-lg);
}

.statement-block__text em {
  font-style: normal;
  color: var(--muted);
}

.statement-block__text strong {
  color: var(--primary);
}

.statement-block__subtext {
  font-size: var(--text-lg);
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Services Bento Grid - iCloud+ Style */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.service-bento {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-bento:hover {
  transform: translateY(-8px);
}

.service-bento--large {
  grid-column: span 12;
  min-height: 500px;
}

.service-bento--mdn,
.service-bento--mhost {
  grid-column: span 6;
  min-height: 400px;
}

@media (max-width: 768px) {
  .service-bento--large,
  .service-bento--mdn,
  .service-bento--mhost {
    grid-column: span 12;
    min-height: 350px;
  }
}

.service-bento__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.service-bento:hover .service-bento__bg {
  transform: scale(1.05);
}

.service-bento--aasco .service-bento__bg {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 50%, #7c2d12 100%);
}

.service-bento--mdn .service-bento__bg {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #4c1d95 100%);
}

.service-bento--mhost .service-bento__bg {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
}

.service-bento__content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-bento__icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.service-bento__icon svg {
  color: white;
}

.service-bento__header {
  margin-bottom: var(--space-md);
}

.service-bento__eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  display: block;
  margin-bottom: var(--space-xs);
}

.service-bento__name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.service-bento__description {
  font-size: var(--text-lg);
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 var(--space-lg);
  max-width: 500px;
}

.service-bento__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: auto;
}

.service-bento__feature {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
}

.service-bento__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--space-xl);
  opacity: 0.9;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service-bento:hover .service-bento__cta {
  opacity: 1;
  gap: var(--space-sm);
}

/* Ownership Grid */
.ownership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .ownership-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.ownership-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.ownership-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.ownership-card__number {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.ownership-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: white;
  margin: 0 0 var(--space-sm);
}

.ownership-card__text {
  font-size: var(--text-base);
  color: var(--muted-light);
  line-height: 1.6;
  margin: 0;
}

/* Stats Section */
.section--stats {
  padding: var(--space-3xl) var(--space-sm);
  background: var(--bg);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

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

.stat-item__number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════
   CTA Apple Style — Clean, full-width, no card
   ══════════════════════════════════════════════ */
.cta-apple {
  background: var(--bg-dark);
  padding: 4.5rem 1rem;
  text-align: center;
}

.cta-apple__inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-apple__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.cta-apple__text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-apple__cta {
  margin-bottom: 3rem;
}

.cta-apple__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-apple__btn:hover {
  background: #3b82f6;
  transform: scale(1.04);
}

.cta-apple__btn:active {
  transform: scale(0.98);
}

.cta-apple__btn svg {
  transition: transform 0.3s ease;
}

.cta-apple__btn:hover svg {
  transform: translateX(3px);
}

.cta-apple__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 2rem;
}

.cta-apple__contact {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-apple__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-apple__link:hover {
  color: var(--primary);
}

.cta-apple__link-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* CTA Apple — Tablet */
@media (max-width: 768px) {
  .cta-apple {
    padding: 4rem 1rem;
  }

  .cta-apple__title br {
    display: none;
  }

  .cta-apple__text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-apple__cta {
    margin-bottom: 2.5rem;
  }

  .cta-apple__contact {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    max-width: 100%; /* Full width on mobile */
    margin: 0 auto;
  }

  .cta-apple__link {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    -webkit-tap-highlight-color: transparent;
  }

  .cta-apple__link:active {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
  }

  .cta-apple__link-label {
    font-size: 0.7rem;
    order: -1;
  }
}

/* CTA Apple — Small phones */
@media (max-width: 400px) {
  .cta-apple {
    padding: 3rem 1rem;
  }

  .cta-apple__title {
    font-size: 1.75rem;
  }

  .cta-apple__btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .cta-apple__contact {
    max-width: 100%;
  }
}

/* Section title huge */
.section__title--huge {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY - Focus States & Interactions
   ═══════════════════════════════════════════ */

/* Visible focus ring for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove default outline for mouse clicks */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Enhanced focus for buttons */
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: var(--shadow-glow);
}

/* Focus for nav links */
.header__nav-link:focus-visible,
.mobile-menu__nav-link:focus-visible,
.footer__link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Focus for lang switcher */
.lang-switcher__toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lang-switcher__option:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: 10px;
}

/* Focus for cards and interactive elements */
.service-bento:focus-visible,
.bento-item:focus-visible,
.ownership-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 16px;
}

/* High contrast mode support */
@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }
  
  .header {
    border-bottom: 1px solid ButtonText;
  }
  
  .bento-item,
  .service-bento,
  .ownership-card {
    border: 1px solid ButtonText;
  }
}

/* Reduced motion - disable all animations */
@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;
  }
  
  .scroll-fade,
  .scroll-slide-up,
  .scroll-slide-left,
  .scroll-slide-right,
  .scroll-scale,
  .scroll-animate {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print styles */
@media print {
  .header,
  .mobile-menu,
  .cookie-banner,
  .footer__gradient-line,
  .bento-glow,
  .bento-pattern {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
  }
  
  .section--dark,
  .cta-apple {
    background: white !important;
    color: black !important;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
  
  .btn {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
  }
}

/* ══════════════════════════════════════════════
   Apple-Style Contact Form
   ══════════════════════════════════════════════ */
.form-apple {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.form-apple__group {
  margin-bottom: 1.25rem;
}

.form-apple__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.form-apple__input,
.form-apple__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-apple__input::placeholder,
.form-apple__textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-apple__input:focus,
.form-apple__textarea:focus {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-apple__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

/* Honeypot - hidden from humans */
.form-apple__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Row: 2 columns on desktop */
.form-apple__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Submit button */
.form-apple__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-tap-highlight-color: transparent;
}

.form-apple__submit:hover {
  background: #3b82f6;
  transform: scale(1.02);
}

.form-apple__submit:active {
  transform: scale(0.98);
}

.form-apple__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-apple__submit svg {
  transition: transform 0.3s ease;
}

.form-apple__submit:hover svg {
  transform: translateX(3px);
}

/* Loading spinner */
.form-apple__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: formSpin 0.6s linear infinite;
}

.form-apple__submit--loading .form-apple__spinner {
  display: inline-block;
}

.form-apple__submit--loading .form-apple__btn-text,
.form-apple__submit--loading svg {
  display: none;
}

@keyframes formSpin {
  to { transform: rotate(360deg); }
}

/* Real-time validation states */
.form-apple__error {
  display: none;
  font-size: var(--text-xs, 0.75rem);
  color: #ef4444;
  margin-top: 4px;
  padding-left: 2px;
  animation: formFadeIn 0.3s ease;
}

.form-apple__input--error,
.form-apple__textarea--error {
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.form-apple__input--valid,
.form-apple__textarea--valid {
  border-color: rgba(34, 197, 94, 0.4) !important;
}

/* Success/Error messages */
.form-apple__message {
  display: none;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  animation: formFadeIn 0.4s ease;
}

.form-apple__message--success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.form-apple__message--error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

@keyframes formFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Success state - hide form */
.form-apple--success .form-apple__group,
.form-apple--success .form-apple__row,
.form-apple--success .form-apple__submit,
.form-apple--success .form-apple__hp {
  display: none;
}

/* Light mode support */
@media (prefers-color-scheme: light) {
  .section--dark .form-apple__input,
  .section--dark .form-apple__textarea {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

/* Validation error state */
.form-apple__input--error,
.form-apple__textarea--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .form-apple__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-apple__input,
  .form-apple__textarea,
  .form-apple__select {
    padding: 0.9rem 1rem;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
  
  .form-apple__submit {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}

/* ============================================
   SELECT / DROPDOWN - Apple Style
   ============================================ */

.form-apple__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-apple__select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.form-apple__select option {
  background: #1a1a2e;
  color: #fff;
  padding: 0.5rem;
}

/* Light mode select on contact page */
.contact-form-card .form-apple__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.contact-form-card .form-apple__select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Form Status Messages */
.form-apple__status {
  text-align: center;
  padding: 0;
  margin-top: 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.form-apple__status--success {
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
  animation: formFadeIn 0.4s ease;
}

.form-apple__status--error {
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  animation: formFadeIn 0.4s ease;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Hero */
.contact-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--bg);
  text-align: center;
}

.contact-hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.contact-hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Grid: Form + Sidebar */
.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
}

/* Contact Form Card (Light background) */
.contact-form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: var(--space-2xl);
  }
}

.contact-form-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.contact-form-card__subtitle {
  font-size: var(--text-base);
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

/* Light-mode form inputs (on contact page) */
.contact-form-card .form-apple__input,
.contact-form-card .form-apple__textarea,
.contact-form-card .form-apple__select {
  color: var(--text);
  background: var(--bg);
  border-color: var(--border);
}

.contact-form-card .form-apple__input::placeholder,
.contact-form-card .form-apple__textarea::placeholder {
  color: var(--muted-light);
}

.contact-form-card .form-apple__input:focus,
.contact-form-card .form-apple__textarea:focus,
.contact-form-card .form-apple__select:focus {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.03);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form-card .form-apple__label {
  color: var(--muted);
}

.contact-form-card .form-apple__select option {
  background: var(--bg-alt);
  color: var(--text);
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-sidebar__card {
  padding: var(--space-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.contact-sidebar__card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.contact-sidebar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.contact-sidebar__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--space-2xs);
}

.contact-sidebar__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.contact-sidebar__value:hover {
  color: var(--primary);
}

.contact-sidebar__value--text {
  font-weight: 400;
  margin: 0;
}

.contact-sidebar__note {
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--primary-light), transparent);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.contact-sidebar__note p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  line-height: var(--leading-relaxed);
}

.contact-sidebar__note strong {
  color: var(--primary);
}

/* ============================================
   CLIENTS / TRUSTED BY SECTION
   ============================================ */

.section--clients {
  padding: var(--space-2xl) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

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

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
  height: 80px;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

/* ============================================
   BLOG LISTING
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

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

.blog-card__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2.5rem;
}

.blog-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-normal);
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--muted-light);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

/* Blog Article Page */
.blog-article {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
}

.blog-article__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.blog-article__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.blog-article__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

.blog-article__meta {
  font-size: var(--text-sm);
  color: var(--muted);
}

.blog-article__content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

.blog-article__content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin: var(--space-xl) 0 var(--space-md);
  letter-spacing: -0.02em;
}

.blog-article__content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.blog-article__content p {
  margin-bottom: var(--space-md);
  color: var(--text);
}

.blog-article__content ul,
.blog-article__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.blog-article__content li {
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.blog-article__content strong {
  color: var(--text);
  font-weight: 600;
}

.blog-article__content blockquote {
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, var(--primary-light), transparent);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-style: italic;
}

/* ============================================
   SERVICES PAGE (SEO)
   ============================================ */

.services-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}

.services-hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.services-hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.service-detail {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__header {
  margin-bottom: var(--space-xl);
}

.service-detail__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.service-detail__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.service-detail__subtitle {
  font-size: var(--text-lg);
  color: var(--muted);
}

.service-detail__body {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .service-detail__body {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.service-detail__text {
  line-height: var(--leading-relaxed);
  color: var(--text);
}

.service-detail__text p {
  margin-bottom: var(--space-md);
}

.service-detail__features {
  list-style: none;
  padding: 0;
}

.service-detail__features li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-base);
  color: var(--text);
}

.service-detail__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.service-detail__features li:last-child {
  border-bottom: none;
}

/* Location Tags for SEO */
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.location-tag {
  display: inline-block;
  padding: var(--space-2xs) var(--space-sm);
  background: var(--primary-lighter);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--primary);
}

/* ============================================
   SERVICES PAGE — TABS + CAROUSEL + MODALS
   (Apple style: horizontal scroll cards, popup details)
   ============================================ */

/* --- Tab Navigation --- */
.svc-tabs {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.svc-tab {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}

.svc-tab:hover {
  color: var(--text);
  border-color: var(--text);
}

.svc-tab--active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* --- Carousel Container --- */
.svc-carousel {
  position: relative;
}

.svc-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) max(20px, calc((100vw - var(--container-max)) / 2));
  padding-bottom: var(--space-lg);
  scroll-padding-left: max(20px, calc((100vw - var(--container-max)) / 2));
}

.svc-carousel__track::-webkit-scrollbar {
  display: none;
}

/* --- Carousel Navigation Arrows --- */
.svc-carousel__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.svc-carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}

.svc-carousel__arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* --- Service Cards (Apple style) --- */
.svc-card {
  flex: 0 0 340px;
  min-height: 440px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .4s cubic-bezier(.25, .46, .45, .94), box-shadow .4s ease;
}

.svc-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.svc-card__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Card background gradients (distinct per service) */
.svc-card__bg--ads {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

.svc-card__bg--seo {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #2d4a5e 100%);
}

.svc-card__bg--meta {
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 40%, #4a2c8a 100%);
}

.svc-card__bg--web {
  background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 40%, #d2d2d7 100%);
}

.svc-card__bg--brand {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f5 40%, #e5e5ea 100%);
}

.svc-card__bg--host {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 40%, #90caf9 100%);
}

/* Light card text colors */
.svc-card__bg--ads + .svc-card__content,
.svc-card__bg--seo + .svc-card__content,
.svc-card__bg--meta + .svc-card__content {
  color: #fff;
}

.svc-card__bg--ads + .svc-card__content .svc-card__tag,
.svc-card__bg--seo + .svc-card__content .svc-card__tag,
.svc-card__bg--meta + .svc-card__content .svc-card__tag {
  color: rgba(255, 255, 255, 0.7);
}

.svc-card__bg--ads + .svc-card__content .svc-card__desc,
.svc-card__bg--seo + .svc-card__content .svc-card__desc,
.svc-card__bg--meta + .svc-card__content .svc-card__desc {
  color: rgba(255, 255, 255, 0.75);
}

.svc-card__bg--ads + .svc-card__content .svc-card__btn,
.svc-card__bg--seo + .svc-card__content .svc-card__btn,
.svc-card__bg--meta + .svc-card__content .svc-card__btn {
  color: rgba(255, 255, 255, 0.8);
}

/* Dark card text colors */
.svc-card__bg--web + .svc-card__content,
.svc-card__bg--brand + .svc-card__content,
.svc-card__bg--host + .svc-card__content {
  color: #1d1d1f;
}

.svc-card__bg--web + .svc-card__content .svc-card__tag,
.svc-card__bg--brand + .svc-card__content .svc-card__tag,
.svc-card__bg--host + .svc-card__content .svc-card__tag {
  color: rgba(29, 29, 31, 0.6);
}

.svc-card__bg--web + .svc-card__content .svc-card__desc,
.svc-card__bg--brand + .svc-card__content .svc-card__desc,
.svc-card__bg--host + .svc-card__content .svc-card__desc {
  color: rgba(29, 29, 31, 0.7);
}

.svc-card__bg--web + .svc-card__content .svc-card__btn,
.svc-card__bg--brand + .svc-card__content .svc-card__btn,
.svc-card__bg--host + .svc-card__content .svc-card__btn {
  color: rgba(29, 29, 31, 0.6);
}

.svc-card__content {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
}

.svc-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.svc-card__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.svc-card__desc {
  font-size: var(--text-base);
  line-height: 1.5;
  flex: 1;
}

.svc-card__btn {
  align-self: flex-end;
  margin-top: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: transform .2s ease, opacity .2s ease;
  opacity: 0.7;
}

.svc-card:hover .svc-card__btn {
  opacity: 1;
  transform: scale(1.15);
}

/* --- Modal Popup (Apple overlay style) --- */
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.svc-modal--open {
  visibility: visible;
  pointer-events: auto;
}

.svc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .35s ease;
}

.svc-modal--open .svc-modal__overlay {
  opacity: 1;
}

.svc-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  outline: none;
}

.svc-modal--open .svc-modal__panel {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .svc-modal {
    align-items: center;
  }
  .svc-modal__panel {
    border-radius: 20px;
    max-height: 85vh;
    margin: 40px;
  }
}

.svc-modal__close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  z-index: 2;
}

.svc-modal__close:hover {
  background: var(--text);
  color: var(--bg);
}

.svc-modal__content {
  padding: 48px 40px 40px;
}

@media (max-width: 768px) {
  .svc-modal__content {
    padding: 32px 20px 32px;
  }
}

.svc-modal__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.svc-modal__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.svc-modal__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.svc-modal__lead strong {
  color: var(--text);
}

.svc-modal__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.svc-modal__body p {
  margin-bottom: var(--space-md);
}

.svc-modal__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: grid;
  gap: 0;
}

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

.svc-modal__features li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) 28px;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text);
}

.svc-modal__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.svc-modal__cta {
  margin-bottom: var(--space-lg);
}

.svc-modal__cta .btn {
  padding: var(--space-sm) var(--space-xl);
}

/* Tablet card sizing */
@media (max-width: 900px) {
  .svc-card {
    flex: 0 0 300px;
    min-height: 400px;
  }
  .svc-carousel__track {
    gap: 20px;
    padding: var(--space-sm) 32px;
    padding-bottom: var(--space-md);
  }
}

/* Mobile card sizing */
@media (max-width: 600px) {
  .svc-card {
    flex: 0 0 calc(100vw - 48px);
    min-height: 400px;
  }
  .svc-card__content {
    padding: 28px 24px;
    min-height: 400px;
  }
  .svc-carousel__track {
    gap: 24px;
    padding: var(--space-sm) 24px;
    padding-bottom: var(--space-md);
    scroll-padding-left: 24px;
  }
  .svc-card:first-child {
    margin-left: 0;
  }
}

/* ============================================
   HOMEPAGE FUNNEL SECTIONS
   ============================================ */

/* --- Hero Actions (CTA buttons in hero) --- */
.hero-icloud__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.btn--large {
  padding: 1rem 2rem;
  font-size: var(--text-base);
  border-radius: 980px;
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: 980px;
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(107, 114, 128, .3);
  transition: all .2s;
  cursor: pointer;
}

.btn--ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

/* --- SECTION 2: Problem → Solution --- */
.funnel-problem {
  padding: var(--space-3xl) 0;
}

.problem-solution-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Problem Cards */
.ps-card {
  padding: var(--space-xl);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ps-card--problem {
  background: var(--bg-alt, rgba(0, 0, 0, 0.02));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  .ps-card--problem {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
  }
}

.ps-card--problem:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ps-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  margin-bottom: var(--space-md);
}

.ps-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.ps-card__text {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}

/* Divider between problem and solution */
.ps-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.ps-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.ps-divider__label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Solution Card */
.ps-card--solution {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  text-align: center;
  padding: var(--space-2xl);
}

@media (prefers-color-scheme: dark) {
  .ps-card--solution {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-color: rgba(37, 99, 235, 0.2);
  }
}

.ps-card__title--solution {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.ps-card__text--solution {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-relaxed);
}

.ps-card__highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.ps-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  padding: var(--space-xs) var(--space-md);
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-full);
}

/* --- SECTION 4: Process Steps (Apple-style redesign) --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: var(--space-2xl);
  position: relative;
}

/* Horizontal connector line spanning behind all steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 10%,
    rgba(255, 255, 255, 0.08) 90%,
    transparent 100%
  );
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  z-index: 1;
}

/* Icon wrapper — contains badge + icon circle */
.process-step__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

/* Number badge — small pill top-right */
.process-step__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  z-index: 2;
  line-height: 1.4;
}

/* Icon circle — glassmorphism */
.process-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .process-step__icon {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-color: rgba(37, 99, 235, 0.4);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.2);
}

.process-step:hover .process-step__badge {
  background: rgba(37, 99, 235, 0.3);
  color: #fff;
}

.process-step__icon svg {
  flex-shrink: 0;
}

/* Legacy fallback if __number used directly */
.process-step__number {
  display: none;
}

.process-step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.process-step__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--leading-relaxed);
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .process-steps::before {
    display: none;
  }
}

/* Stats row inside trust section */
.stats-row--trust {
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Clients strip */
.clients-strip {
  text-align: center;
}

.clients-strip__label {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: var(--space-xl);
}

/* ─── Infinite Loop Marquee ─── */
.clients-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clients-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl, 3rem);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.clients-marquee:hover .clients-marquee__track {
  animation-play-state: paused;
}

.clients-marquee .client-logo {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.clients-marquee .client-logo:hover {
  opacity: 1;
}

.clients-marquee .client-logo img {
  max-width: 270px;
  height: 95px;
  object-fit: contain;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .clients-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* CTA Apple tag */
.cta-apple__tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* --- Mobile Responsiveness for funnel sections --- */
@media (max-width: 768px) {
  .hero-icloud__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .btn--large,
  .btn--ghost {
    width: 100%;
    justify-content: center;
    padding: .875rem 1.5rem;
    font-size: var(--text-sm);
  }

  .problem-solution-grid {
    gap: var(--space-md);
  }

  .ps-card {
    padding: var(--space-lg);
  }

  .ps-card--solution {
    padding: var(--space-lg);
  }

  .ps-card__highlights {
    flex-direction: column;
    align-items: center;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    text-align: left;
    padding: var(--space-md) var(--space-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 var(--space-md);
    align-items: start;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
  }

  .process-step:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  
  .process-step__icon-wrap {
    grid-row: 1 / 3;
    align-self: center;
    margin-bottom: 0;
  }

  .process-step__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .process-step__icon svg {
    width: 22px;
    height: 22px;
  }

  .process-step__badge {
    top: -4px;
    right: -6px;
    font-size: 0.625rem;
    padding: 1px 6px;
  }
  
  .process-step__title {
    margin-bottom: var(--space-2xs);
  }

  .process-step__text {
    max-width: none;
    margin: 0;
  }

  .clients-marquee .client-logo img {
    max-width: 180px;
    height: 72px;
  }
  
  .clients-marquee__track {
    gap: var(--space-xl, 2rem);
    animation-duration: 20s;
  }

  .stats-row--trust {
    flex-wrap: wrap;
  }
  
  .stats-row--trust .stat-item {
    flex: 1 1 40%;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .ps-card__title--solution {
    font-size: 1.25rem;
  }
  
  .ps-card__text--solution {
    font-size: var(--text-base);
  }
}

/* ============================================
   GROWTH PACKAGES — AASCO
   ============================================ */

.section--packages {
  background: var(--bg);
  padding: var(--space-4xl) 0;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: var(--space-2xl);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.pkg-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s ease;
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.pkg-card--popular {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 40px rgba(59,130,246,0.12);
}

.pkg-card--dark {
  background: linear-gradient(160deg, #1a1a2e 0%, #0a0a0b 100%);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

.pkg-card--dark .pkg-card__desc,
.pkg-card--dark .pkg-card__features li {
  color: rgba(255,255,255,0.7);
}

.pkg-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(0,0,0,0.04);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-md);
  width: fit-content;
}

.pkg-card__badge--popular {
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pkg-card__badge--popular.btn--shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: shimmer 2.5s ease-in-out infinite;
}

.pkg-card__badge--enterprise {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}

.pkg-card--dark .pkg-card__badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

.pkg-card__header {
  margin-bottom: var(--space-md);
}

.pkg-card__tier {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.pkg-card--dark .pkg-card__tier {
  color: #f97316;
}

.pkg-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.pkg-card__price {
  font-size: var(--text-base);
  color: var(--muted);
}

.pkg-card__price strong {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
}

.pkg-card--dark .pkg-card__price strong {
  color: #fff;
}

.pkg-card__desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.pkg-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-card__features li {
  font-size: var(--text-sm);
  color: var(--text-secondary, #444);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}

.pkg-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.pkg-card--dark .pkg-card__features li::before {
  background: #f97316;
}

.pkg-card__actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn--pkg {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--pkg.btn--outline {
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  color: var(--text);
}

.btn--pkg.btn--outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.pkg-card__compare-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.pkg-card__compare-btn:hover {
  color: var(--primary-dark, #2563eb);
}

.pkg-card--dark .pkg-card__compare-btn {
  color: #f97316;
}

.pkg-card--dark .pkg-card__compare-btn:hover {
  color: #fb923c;
}

.pkg-card--dark .btn--outline {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.pkg-card--dark .btn--outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pkg-compare-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.btn--compare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--compare:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

/* Package grid responsive */
@media (max-width: 1100px) {
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .pkg-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
  }
  .pkg-card {
    padding: 28px 24px;
  }
}

/* ============================================
   PACKAGE CONTACT FORM POPUP
   ============================================ */

.pkg-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pkg-form-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.pkg-form-modal {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-2xl);
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pkg-form-overlay.is-active .pkg-form-modal {
  transform: translateY(0) scale(1);
}

.pkg-form-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.pkg-form-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pkg-form-modal__header {
  margin-bottom: var(--space-xl);
}

.pkg-form-modal__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pkg-form-modal__title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.pkg-form .pkg-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pkg-form .pkg-form__group {
  margin-bottom: 14px;
}

.pkg-form .pkg-form__group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.pkg-form .pkg-form__group input,
.pkg-form .pkg-form__group textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: var(--text-base);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.pkg-form .pkg-form__group input::placeholder,
.pkg-form .pkg-form__group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.pkg-form .pkg-form__group input:focus,
.pkg-form .pkg-form__group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.pkg-form .pkg-form__group textarea {
  resize: vertical;
  min-height: 72px;
}

.btn--pkg-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  margin-top: 8px;
}

.btn--pkg-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pkg-form__status {
  text-align: center;
  margin-top: 12px;
  font-size: var(--text-sm);
  min-height: 20px;
}

.pkg-form__status--success {
  color: #22c55e;
}

.pkg-form__status--error {
  color: #ef4444;
}

.form-apple__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

@media (max-width: 600px) {
  .pkg-form-modal {
    padding: var(--space-lg);
    border-radius: 20px;
    max-height: 95vh;
  }
  .pkg-form .pkg-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================
   COMPARISON MODAL (Apple iPhone-style)
   ============================================ */

.compare-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.compare-modal {
  width: 100%;
  max-width: 520px;
  height: min(85vh, 820px);
  background: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.compare-overlay--active .compare-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.compare-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 28px 16px;
}

.compare-modal__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.compare-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.compare-modal__close:hover {
  background: #e5e5e7;
}

.compare-modal__body {
  flex: 1;
  overflow: hidden;
  padding: 0 8px;
}

.compare-packages {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 20px 16px;
}

.compare-packages::-webkit-scrollbar {
  display: none;
}

.compare-pkg {
  flex: 0 0 calc(50% - 8px);
  min-width: 240px;
  background: #f5f5f7;
  border-radius: 16px;
  padding: 20px;
  scroll-snap-align: start;
  transition: transform 0.2s;
}

.compare-pkg--highlighted {
  background: linear-gradient(160deg, #1a1a2e, #0f172a);
  color: #fff;
}

.compare-pkg__name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 2px;
}

.compare-pkg__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.compare-pkg__tagline {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.compare-pkg--highlighted .compare-pkg__tagline {
  color: rgba(255,255,255,0.5);
}

.compare-pkg__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-pkg__list li {
  font-size: 13px;
  line-height: 1.4;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary, #555);
}

.compare-pkg--highlighted .compare-pkg__list li {
  color: rgba(255,255,255,0.8);
}

.compare-pkg__list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}

.compare-pkg--highlighted .compare-pkg__list li::before {
  color: #60a5fa;
}

.compare-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 12px;
}

.compare-carousel-nav__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.compare-carousel-nav__btn:hover {
  background: var(--primary);
  color: white;
}

/* Comparison Tabs (Bottom) */
.compare-tabs {
  display: flex;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 8px 12px;
  gap: 4px;
  background: #fafafa;
}

.compare-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
}

.compare-tab span {
  font-size: 10px;
  font-weight: 600;
}

.compare-tab svg {
  width: 20px;
  height: 20px;
}

.compare-tab--active {
  background: var(--text);
  color: #fff;
}

.compare-tab:hover:not(.compare-tab--active) {
  background: rgba(0,0,0,0.05);
}

/* Comparison modal mobile */
@media (max-width: 600px) {
  .compare-modal {
    max-width: 100%;
    height: min(90vh, 820px);
    border-radius: 20px;
  }
  .compare-modal__header {
    padding: 24px 20px 12px;
  }
  .compare-modal__title {
    font-size: var(--text-xl);
  }
  .compare-pkg {
    flex: 0 0 calc(75vw - 32px);
    min-width: 200px;
    padding: 16px;
  }
  .compare-packages {
    padding: 8px 16px 12px;
    gap: 12px;
  }
  .compare-tabs {
    padding: 6px 8px;
    gap: 2px;
  }
  .compare-tab {
    padding: 8px 2px;
  }
  .compare-tab span {
    font-size: 9px;
  }
}

/* ============================================
   HOMEPAGE DIVISION CAROUSEL (Apple-style)
   ============================================ */

.section--compare {
  background: linear-gradient(180deg, #0a0a0b 0%, #1a1a2e 50%, #0a0a0b 100%);
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.section--compare .section__tag {
  color: rgba(255,255,255,0.5);
}

.section--compare .section__title {
  color: #fff;
}

.division-carousel {
  position: relative;
  margin-top: var(--space-2xl);
}

.division-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) max(20px, calc((100vw - var(--container-max)) / 2 + 20px));
  padding-bottom: var(--space-lg);
}

.division-carousel__track::-webkit-scrollbar {
  display: none;
}

.division-card {
  flex: 0 0 360px;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.division-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.division-card__visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.division-card__gradient {
  position: absolute;
  inset: 0;
}

.division-card--aasco .division-card__gradient {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.division-card--mdn .division-card__gradient {
  background: linear-gradient(135deg, #1a2e3b 0%, #0f172a 100%);
}

.division-card--mhost .division-card__gradient {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.division-card__logo {
  position: relative;
  z-index: 1;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.division-card__content {
  padding: 28px 24px 16px;
  flex: 1;
}

.division-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.division-card__text {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.division-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.division-card__tags span {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f5f5f7;
  color: var(--muted);
}

.division-card__footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.division-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s;
}

.division-card__btn:hover {
  gap: 10px;
}

.division-carousel__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-md);
}

.division-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.division-carousel__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════════
   STICKY BOTTOM CTA BAR (Nike-style)
   ═══════════════════════════════════════════════ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  overflow: hidden;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.sticky-cta__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sticky-cta__service {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta__hint {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.sticky-cta__btn:hover {
  background: var(--primary);
  transform: scale(1.02);
}

.sticky-cta__btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.sticky-cta__btn:hover svg {
  transform: translateX(2px);
}

@media (prefers-color-scheme: dark) {
  .sticky-cta {
    background: rgba(255,255,255,0.92);
    border-top-color: rgba(0,0,0,0.08);
  }
  .sticky-cta__service {
    color: var(--text);
  }
  .sticky-cta__hint {
    color: var(--muted);
  }
  .sticky-cta__btn {
    background: var(--text);
    color: #fff;
  }
  .sticky-cta__btn:hover {
    background: var(--primary);
    color: #fff;
  }
}

@media (max-width: 768px) {
  .sticky-cta__inner {
    padding: 0 16px;
  }
  .sticky-cta__hint {
    display: none;
  }
  .sticky-cta__btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* ── Sticky CTA Popup Overlay ── */

.sticky-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sticky-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.sticky-popup__panel {
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  padding: 0;
}

.sticky-popup.is-open .sticky-popup__panel {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .sticky-popup {
    align-items: center;
  }
  .sticky-popup__panel {
    border-radius: 20px;
    max-height: 85vh;
    margin: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__panel {
    background: #1c1c1e;
  }
}

.sticky-popup__handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
}

.sticky-popup__handle span {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,0.15);
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__handle span {
    background: rgba(255,255,255,0.2);
  }
}

@media (min-width: 769px) {
  .sticky-popup__handle {
    display: none;
  }
}

.sticky-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__header {
    border-bottom-color: rgba(255,255,255,0.08);
  }
}

.sticky-popup__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.sticky-popup__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
  flex-shrink: 0;
}

.sticky-popup__close:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__close {
    background: rgba(255,255,255,0.1);
  }
  .sticky-popup__close:hover {
    background: rgba(255,255,255,0.15);
  }
}

.sticky-popup__body {
  padding: 20px 24px 24px;
}

/* ── Service Badge in popup ── */
.sticky-popup__service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(0,0,0,0.04);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__service-badge {
    background: rgba(255,255,255,0.06);
  }
}

.sticky-popup__service-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* ── Package Selector in popup ── */
.sticky-popup__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 10px;
}

.sticky-popup__packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.sticky-popup__pkg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.08);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.sticky-popup__pkg:hover {
  border-color: rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.02);
}

.sticky-popup__pkg.is-selected {
  border-color: var(--primary);
  background: rgba(37,99,235,0.04);
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__pkg {
    border-color: rgba(255,255,255,0.1);
  }
  .sticky-popup__pkg:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
  }
  .sticky-popup__pkg.is-selected {
    border-color: var(--primary);
    background: rgba(37,99,235,0.1);
  }
}

.sticky-popup__pkg-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.sticky-popup__pkg-price {
  font-size: 12px;
  color: var(--muted);
}

.sticky-popup__pkg.is-selected .sticky-popup__pkg-name {
  color: var(--primary);
}

/* ── Popup Form Fields ── */
.sticky-popup__field {
  margin-bottom: 14px;
}

.sticky-popup__field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.sticky-popup__field input,
.sticky-popup__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.02);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.sticky-popup__field input:focus,
.sticky-popup__field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

@media (prefers-color-scheme: dark) {
  .sticky-popup__field input,
  .sticky-popup__field textarea {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
  }
  .sticky-popup__field input:focus,
  .sticky-popup__field textarea:focus {
    border-color: var(--primary);
  }
}

.sticky-popup__field textarea {
  min-height: 80px;
  resize: vertical;
}

.sticky-popup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .sticky-popup__row {
    grid-template-columns: 1fr;
  }
}

.sticky-popup__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
}

.sticky-popup__submit:hover {
  background: var(--primary);
  transform: scale(1.01);
}

.sticky-popup__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.sticky-popup__submit svg {
  width: 18px;
  height: 18px;
}

.sticky-popup__msg {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 12px;
  display: none;
}

.sticky-popup__msg--success {
  display: block;
  background: rgba(34,197,94,0.1);
  color: #16a34a;
}

.sticky-popup__msg--error {
  display: block;
  background: rgba(239,68,68,0.1);
  color: #dc2626;
}

/* Hide sticky bar when contact form is in view */
.sticky-cta.is-hidden {
  transform: translateY(100%) !important;
}

/* Division carousel responsive */
@media (max-width: 900px) {
  .division-card {
    flex: 0 0 320px;
  }
  .division-carousel__track {
    padding: var(--space-sm) 32px;
    padding-bottom: var(--space-md);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .division-card {
    flex: 0 0 calc(100vw - 56px);
  }
  .division-carousel__track {
    padding: var(--space-sm) 20px;
    padding-bottom: var(--space-md);
    gap: 16px;
    scroll-padding-left: 20px;
  }
  .division-card__visual {
    height: 160px;
  }
  .division-card__logo {
    font-size: 36px;
  }
}
