/* ============================================================
   HORIZON CUMULUS — Composants v2
   Reproduction fidele des maquettes originales
   ============================================================ */

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: var(--z-topbar);
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--green));
  width: 0%; transition: width 50ms linear;
  pointer-events: none;
}

/* ===== GRAIN TEXTURE OVERLAY ===== */
.grain { position: relative; }
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,200,233,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* ===== SECTION NUMBERING ===== */
.section-numbered { position: relative; }
.section-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(4rem, 8vw, 8rem); color: rgba(30,115,190,0.05);
  position: absolute; left: -20px; top: -20px;
  line-height: 1; pointer-events: none; user-select: none;
  z-index: 0;
}
.section-num.dark { color: rgba(30,115,190,0.04); }

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent);
  margin-bottom: 12px;
}
.section-label.light { color: var(--accent-light); }

/* ===== SECTION HEADER ===== */
.section-header { max-width: 700px; margin-bottom: 56px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--dark); margin-bottom: 14px;
}
.section-header p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.from-bottom { transform: translateY(40px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }

/* ===== HERO TEXT SPLIT REVEAL ===== */
.word {
  display: inline-block; opacity: 0;
  transform: translateY(30px);
  animation: wordReveal 0.6s ease forwards;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 14px 32px; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); min-height: 44px; min-width: 44px;
  text-decoration: none; line-height: 1.4; border-radius: 0;
}
.btn:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }

.btn-primary {
  background: var(--green); color: #fff; border-color: var(--green);
  border-radius: 60px;
}
.btn-primary:hover {
  background: var(--green-hover); border-color: var(--green-hover); color: #fff;
  box-shadow: 0 6px 20px rgba(3,168,78,0.35); transform: translateY(-1px);
}

.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
  border-radius: 60px;
}
.btn-outline:hover { background: #fff; color: var(--dark); border-color: #fff; }

.btn-outline-dark {
  background: transparent; color: var(--dark); border-color: var(--dark);
  border-radius: 60px;
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

.btn-link {
  background: none; border: none; color: var(--accent); font-family: 'Poppins', sans-serif;
  font-weight: 600; padding: 0; min-height: auto; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-link:hover { color: var(--green); }

.btn-magnetic { transition: all var(--transition), transform 0.15s ease-out; }

/* Nav button variants */
.btn-zone {
  background: var(--green); color: #fff; border-color: var(--green);
  border-radius: 60px; font-size: 0.82rem; padding: 8px 20px;
}
.btn-zone:hover {
  background: var(--green-hover); border-color: var(--green-hover); color: #fff;
  box-shadow: 0 4px 14px rgba(3,168,78,0.3);
}
.btn-nav-contact {
  background: transparent; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3);
  border-radius: 60px; font-size: 0.82rem; padding: 8px 20px;
}
.btn-nav-contact:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.6); }

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed; top: 3px; left: 0; right: 0; z-index: var(--z-topbar);
  background: var(--topbar-bg); color: var(--topbar-text); font-size: 0.75rem;
  font-family: 'Work Sans', sans-serif; transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar.hidden { transform: translateY(-100%); }
.top-bar-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 6px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 12px; }
.top-bar-sep { color: rgba(255,255,255,0.15); }
.top-bar a { color: var(--topbar-text); transition: color 0.2s; font-size: 0.75rem; }
.top-bar a:hover { color: #fff; }
.top-bar-phone { font-weight: 600; color: var(--accent-light) !important; letter-spacing: 0.02em; }
.top-bar-hours { color: var(--topbar-muted); }

/* Status indicator */
.status-link { display: inline-flex; align-items: center; gap: 6px; position: relative; cursor: pointer; }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  display: inline-block; box-shadow: 0 0 6px rgba(3,168,78,0.6);
  animation: statusPulse 2s ease-in-out infinite; flex-shrink: 0;
}
.status-dot.degraded { background: var(--orange); box-shadow: 0 0 6px rgba(245,158,11,0.6); }
.status-dot.down { background: var(--red); box-shadow: 0 0 6px rgba(239,68,68,0.6); }
@keyframes statusPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.5; }
}

/* Status dropdown */
.status-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--dark); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  padding: 16px 20px; min-width: 300px; z-index: 10;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.25s ease; pointer-events: none;
}
.status-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
}
.status-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 20px;
  width: 12px; height: 12px; background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
}
.status-dropdown h5 {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.status-group { margin-bottom: 12px; }
.status-group:last-child { margin-bottom: 0; }
.status-group-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; cursor: pointer; transition: color 0.2s;
}
.status-group-header:hover { color: #fff; }
.status-group-name {
  font-family: 'Poppins', sans-serif; font-size: 0.78rem; font-weight: 600;
  color: #cbd5e1; display: flex; align-items: center; gap: 8px;
}
.status-group-name i { width: 14px; height: 14px; color: var(--topbar-muted); }
.status-group-badge {
  font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 3px;
  font-family: 'Poppins', sans-serif; letter-spacing: 0.02em;
}
.status-group-badge.ok { background: rgba(3,168,78,0.15); color: #4ade80; }
.status-group-badge.warn { background: rgba(245,158,11,0.15); color: #fbbf24; }
.status-group-badge.err { background: rgba(239,68,68,0.15); color: #f87171; }
.status-group-subs {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding-left: 22px;
}
.status-group.expanded .status-group-subs { max-height: 300px; }
.status-group-subs .status-sub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 3px 0; font-size: 0.72rem; color: var(--topbar-muted);
}
.status-sub .status-dot { width: 5px; height: 5px; animation: none; }
.status-footer {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06); text-align: center;
}
.status-footer a {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 600; color: var(--accent-light);
}
.status-footer a:hover { color: #fff; }

@media (max-width: 700px) {
  .top-bar-left .top-bar-hours, .top-bar-right .top-bar-email, .top-bar-sep { display: none; }
  .status-dropdown { min-width: 260px; left: -10px; }
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  background: transparent; transition: all 0.4s ease;
}
.nav { top: 34px; }
.nav.scrolled {
  top: 3px;
  background: var(--nav-solid);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
/* Client area variant: always solid */
.nav.nav-solid {
  background: var(--nav-solid);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: #fff; white-space: nowrap;
}
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > button {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.78rem;
  color: rgba(255,255,255,0.75); padding: 12px 14px;
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  transition: color var(--transition); white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.12em;
  position: relative;
}
.nav-menu > li > a:hover, .nav-menu > li > button:hover { color: #fff; }
.nav-menu > li > button i { width: 14px; height: 14px; transition: transform var(--transition); }

/* Nav active section indicator */
.nav-menu > li > a.nav-active::after,
.nav-menu > li > button.nav-active::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light);
  animation: navDotIn 0.3s ease forwards;
}
@keyframes navDotIn {
  from { opacity: 0; transform: translateX(-50%) scale(0); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { font-size: 0.82rem; padding: 8px 20px; }

/* User menu (logged-in state) */
.user-menu {
  position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 4px 12px 4px 4px; border-radius: 40px; transition: background 0.2s;
}
.user-menu:hover { background: rgba(255,255,255,0.08); }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.75rem;
  flex-shrink: 0;
}
.user-menu-name {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.82rem;
  color: rgba(255,255,255,0.85); white-space: nowrap;
}
.user-menu-chevron { color: rgba(255,255,255,0.4); width: 14px; height: 14px; transition: transform 0.2s; }
.user-menu.open .user-menu-chevron { transform: rotate(180deg); }

.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--dark); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  padding: 8px 0; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.25s ease; z-index: 1100;
}
.user-menu.open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: 0.85rem; color: rgba(255,255,255,0.7);
  transition: all 0.2s; font-family: 'Poppins', sans-serif; font-weight: 500;
}
.user-dropdown a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.user-dropdown a i { width: 16px; height: 16px; opacity: 0.6; }
.user-dropdown .separator { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }
.user-dropdown .logout { color: #f87171; }
.user-dropdown .logout:hover { background: rgba(239,68,68,0.1); }

@media (max-width: 1023px) {
  .user-menu-name { display: none; }
}

/* Mega Menu — Dark Premium */
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--mega-bg); border: 1px solid var(--mega-border);
  border-radius: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  padding: 28px 32px; min-width: 520px;
  display: none; opacity: 0; transition: opacity var(--transition);
}
.mega-menu.mega-wide { min-width: 640px; }
.mega-menu.mega-narrow { min-width: 280px; }
.nav-menu > li:hover > .mega-menu,
.nav-menu > li:focus-within > .mega-menu { display: grid; opacity: 1; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mega-menu-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-col h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--mega-heading);
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--mega-border);
}
.mega-col a {
  display: block; padding: 5px 0; font-size: 0.88rem; color: var(--mega-text);
  transition: color var(--transition);
}
.mega-col a:hover { color: #fff; }
.mega-col .new-badge {
  display: inline-block; background: var(--green); color: #fff; font-size: 0.6rem;
  padding: 2px 7px; border-radius: 3px; margin-left: 6px; font-weight: 600;
  vertical-align: middle; box-shadow: 0 0 10px rgba(3,168,78,0.4);
}

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: all var(--transition); position: relative;
}
.hamburger span::before, .hamburger span::after {
  content: ''; position: absolute; width: 24px; height: 2px; background: #fff;
  transition: all var(--transition); left: 0;
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger.active span { background: transparent; }
.hamburger.active span::before { top: 0; transform: rotate(45deg); }
.hamburger.active span::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1023px) {
  .nav-menu {
    position: fixed; top: 75px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); padding: 16px 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform var(--transition);
  }
  .nav-menu.open { transform: translateX(0); }
  .hamburger { display: flex; }
  .nav-menu > li > a, .nav-menu > li > button {
    padding: 14px 0; font-size: 0.9rem; width: 100%; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.8);
  }
  .mega-menu {
    position: static; transform: none; min-width: 100%; border: none;
    box-shadow: none; padding: 0 0 0 16px; border-radius: 0;
    display: none; opacity: 1;
  }
  .mega-menu.mobile-open { display: block; }
  .mega-menu-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-menu-grid.cols-3 { grid-template-columns: 1fr; }
  .nav-actions { display: none; }
  .nav-menu .mobile-actions {
    display: flex; flex-direction: column; gap: 10px; padding-top: 16px;
  }
}
@media (min-width: 1024px) {
  .mobile-actions { display: none !important; }
}

/* ===== CLIENT SUB-NAV ===== */
.client-subnav {
  position: fixed; top: 106px; left: 0; right: 0; z-index: 900;
  background: #fff;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-teal), var(--green)) 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: top 0.3s ease;
}
.client-subnav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 0;
}

@media (max-width: 1023px) {
  .client-subnav { overflow: visible; }
  .client-subnav-inner {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .client-subnav-inner::-webkit-scrollbar { display: none; }
}
.subnav-tab {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); padding: 14px 20px;
  border: none; background: none; cursor: pointer;
  white-space: nowrap; position: relative;
  transition: color 200ms ease-out;
  border-bottom: 3px solid transparent;
  display: flex; align-items: center; gap: 6px;
}
.subnav-tab:hover { color: var(--accent); }
.subnav-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.subnav-tab i { width: 16px; height: 16px; }

.subnav-dropdown { position: relative; }
.subnav-dropdown-menu {
  position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  min-width: 240px; padding: 8px 0; z-index: 1000;
  display: none;
}
.subnav-dropdown.open .subnav-dropdown-menu { display: block; }
.subnav-dropdown-menu a {
  display: block; padding: 8px 20px;
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--text); transition: all 0.15s;
}
.subnav-dropdown-menu a:hover { background: var(--bg); color: var(--accent); }
.subnav-dropdown-menu a.active { color: var(--accent); font-weight: 600; }
.subnav-dropdown-menu a.nav-divider { display: none; }
.subnav-separator { height: 1px; background: var(--border); margin: 4px 0; }
.subnav-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  padding: 2px 8px; border-radius: 3px;
  background: rgba(30,115,190,0.1); color: var(--accent);
  margin-left: 6px;
}

@media (max-width: 1023px) {
  .client-subnav-inner { gap: 0; padding: 0 8px; }
  .subnav-tab { padding: 12px 14px; font-size: 0.75rem; }
}

/* ===== HERO ===== */
.hero {
  background: var(--dark); position: relative;
  overflow: hidden;
}
/* Animated gradient mesh background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(30,115,190,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(77,200,233,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 60% 80%, rgba(3,168,78,0.08) 0%, transparent 60%);
  animation: meshShift 12s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes meshShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(3deg); }
}

/* Homepage hero (split layout with SVG) */
.hero-content {
  display: flex; align-items: center;
  padding: 180px 0 80px; position: relative; z-index: 3;
  min-height: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 0.5fr;
  gap: 40px; align-items: center; max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--gutter); width: 100%;
}
.hero-text { max-width: 700px; }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); color: #fff;
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero h1 .highlight { color: var(--accent-light); }
.hero .subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: #94a3b8;
  max-width: 550px; line-height: 1.75; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}

/* Service page hero (single column) */
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--container-max); margin: 0 auto; padding: 140px var(--gutter) 60px;
}
.hero-label {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent-light); font-size: 0.8rem;
  margin-bottom: 16px;
}

/* Floating clouds in hero */
.float-cloud {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(1px);
}
.cloud-1 {
  width: 180px; height: 180px; top: 10%; right: 5%;
  background: radial-gradient(circle, rgba(77,200,233,0.12) 0%, transparent 70%);
  animation: drift1 14s ease-in-out infinite;
}
.cloud-2 {
  width: 130px; height: 130px; top: 50%; right: 25%;
  background: radial-gradient(circle, rgba(30,115,190,0.15) 0%, transparent 70%);
  animation: drift2 18s ease-in-out infinite 3s;
}
.cloud-3 {
  width: 120px; height: 120px; top: 25%; right: 40%;
  background: radial-gradient(circle, rgba(3,168,78,0.1) 0%, transparent 70%);
  animation: drift3 12s ease-in-out infinite 1s;
}
.cloud-4 {
  width: 90px; height: 90px; bottom: 20%; right: 15%;
  background: radial-gradient(circle, rgba(77,200,233,0.1) 0%, transparent 70%);
  animation: drift1 16s ease-in-out infinite 5s;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-20px, -25px); }
  66% { transform: translate(15px, 15px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(25px, -20px); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(-15px, 20px); }
  80% { transform: translate(10px, -10px); }
}

/* Hero SVG illustration — animated stroke draw */
.hero-svg-illustration {
  position: relative; z-index: 2;
  width: 100%; max-width: 320px; height: auto;
}
.hero-svg-cloud {
  fill: none; stroke: var(--accent-light); stroke-width: 2;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: svgDraw 2.5s ease forwards 0.5s;
}
.hero-svg-cloud-fill {
  fill: rgba(77,200,233,0.03); opacity: 0;
  animation: svgFillIn 1s ease forwards 2s;
}
.hero-svg-server {
  fill: none; stroke: var(--accent-light); stroke-width: 1.5;
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: svgDraw 1.5s ease forwards 1.5s;
}
.hero-svg-server-detail {
  fill: rgba(77,200,233,0.4); opacity: 0;
  animation: svgFillIn 0.8s ease forwards 2.5s;
}
.hero-svg-dot {
  fill: var(--green); opacity: 0;
  animation: svgDotPulse 2s ease-in-out infinite 3s;
}
@keyframes svgDraw { to { stroke-dashoffset: 0; } }
@keyframes svgFillIn { to { opacity: 1; } }
@keyframes svgDotPulse {
  0%, 100% { opacity: 0.4; } 50% { opacity: 1; }
}

/* Stats bar at hero bottom */
.stats-bar {
  position: relative; z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.stats-bar-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: flex-start; gap: 0; flex-wrap: wrap;
}
.stat-item {
  color: #fff; text-align: center; font-size: 0.95rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 0 40px; position: relative;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 24px;
  background: rgba(255,255,255,0.12);
}
.stat-item:first-child { padding-left: 0; }
.stat-item i { color: var(--accent-light); width: 20px; height: 20px; }

/* Enhanced stat number with gradient + animated underline */
.stat-number {
  font-size: 1.6rem; font-family: 'Archivo Black', sans-serif;
  background: linear-gradient(135deg, var(--accent-light), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.stat-number::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-light), transparent);
  animation: statUnderline 1.5s ease forwards 1s;
}
@keyframes statUnderline { to { width: 100%; } }

/* Trust badges (service pages) */
.trust-badges {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  position: relative; z-index: 3;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif; font-size: 0.75rem;
  color: rgba(255,255,255,0.5); padding: 0 16px;
}
.trust-badge:first-child { padding-left: 0; }
.trust-badge i { width: 14px; height: 14px; }
.trust-badge:not(:last-child)::after {
  content: '\00b7'; margin-left: 16px; color: rgba(255,255,255,0.25); font-size: 1.2rem;
}

@media (max-width: 900px) {
  .hero-content { padding: 130px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero-inner { padding: 120px var(--gutter) 48px; }
  .stats-bar-inner { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-item { padding: 8px 16px; font-size: 0.85rem; }
  .stat-item::after { display: none; }
  .trust-badges { gap: 8px; }
  .trust-badge { padding: 4px 0; font-size: 0.7rem; }
  .trust-badge::after { display: none; }
  .section-num { font-size: clamp(3rem, 6vw, 5rem); left: -10px; top: -10px; }
}

/* ===== DIFFERENTIATORS — Bold Blue Block ===== */
.differentiators {
  background: var(--accent); padding: 100px 0; position: relative;
  overflow: hidden;
}
.differentiators::before {
  content: attr(data-watermark); position: absolute; top: 50%; left: -5%;
  transform: translateY(-50%); font-family: 'Archivo Black', sans-serif;
  font-size: 18vw; color: rgba(255,255,255,0.04); pointer-events: none;
  white-space: nowrap; line-height: 1;
}
.diff-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter);
  align-items: start; position: relative; z-index: 1;
}
.diff-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #fff;
  margin-bottom: 16px; max-width: 400px;
}
.diff-left p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; }
.diff-list { display: flex; flex-direction: column; gap: 0; }
.diff-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-left: 6px solid rgba(255,255,255,0.2);
  padding-left: 24px; transition: all 0.3s ease;
}
.diff-item:hover { border-left-color: #fff; }
.diff-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); }
.diff-icon {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.diff-icon i { color: #fff; width: 22px; height: 22px; }
.diff-item h3 { font-size: 1.05rem; color: #fff; margin-bottom: 6px; font-weight: 600; }
.diff-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
@media (max-width: 800px) {
  .diff-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== BENTO GRID — Services ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px; max-width: var(--container-max); margin: 0 auto;
}

/* Spotlight card mouse tracking */
.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(77,200,233,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
  left: var(--mouse-x, -200px); top: var(--mouse-y, -200px);
  transition: opacity 0.3s;
  opacity: 0; z-index: 1;
}
.spotlight-card:hover::before { opacity: 1; }

.bento-card {
  background: var(--bg); padding: 32px; display: flex; flex-direction: column;
  transition: all 0.4s ease; position: relative; overflow: hidden;
  border-top: 8px solid var(--border);
}
.bento-card:hover {
  transform: perspective(800px) rotateY(-2deg);
  box-shadow: 0 12px 40px rgba(37,46,63,0.12);
}
.bento-card.large { grid-column: span 2; }
.bento-card.large h3 { font-size: 1.3rem; }

/* Signature mixed border-radius + color borders */
.bento-card:nth-child(1) { border-top-color: var(--accent); border-radius: 0; }
.bento-card:nth-child(2) { border-top-color: var(--accent-teal); border-radius: 12px; }
.bento-card:nth-child(3) { border-top-color: var(--accent-light); border-radius: 0; }
.bento-card:nth-child(4) { border-top-color: var(--green); border-radius: 0; }
.bento-card:nth-child(5) { border-top-color: var(--accent); border-radius: 12px; }
.bento-card:nth-child(6) { border-top-color: var(--purple); border-radius: 0; }

.bento-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--border); display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
  position: relative; z-index: 2;
}
.bento-card:nth-child(1) .bento-icon { border-color: var(--accent); }
.bento-card:nth-child(1) .bento-icon i { color: var(--accent); }
.bento-card:nth-child(2) .bento-icon { border-color: var(--accent-teal); }
.bento-card:nth-child(2) .bento-icon i { color: var(--accent-teal); }
.bento-card:nth-child(3) .bento-icon { border-color: var(--accent-light); }
.bento-card:nth-child(3) .bento-icon i { color: var(--accent-light); }
.bento-card:nth-child(4) .bento-icon { border-color: var(--green); }
.bento-card:nth-child(4) .bento-icon i { color: var(--green); }
.bento-card:nth-child(5) .bento-icon { border-color: var(--accent); }
.bento-card:nth-child(5) .bento-icon i { color: var(--accent); }
.bento-card:nth-child(6) .bento-icon { border-color: var(--purple); }
.bento-card:nth-child(6) .bento-icon i { color: var(--purple); }

.bento-icon i { width: 24px; height: 24px; }
.bento-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; font-weight: 600; position: relative; z-index: 2; }
.bento-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; position: relative; z-index: 2; }
.bento-card .btn-link { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.large { grid-column: span 1; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.large { grid-column: span 2; }
}

/* ===== PROJECT CARDS ===== */
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--container-max); margin: 0 auto;
}
.project-card {
  background: #fff; border-radius: 0; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.4s ease; position: relative;
}
.project-card:nth-child(2) { border-radius: 12px; }
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(37,46,63,0.12);
}
.project-thumb {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--dark) 0%, #2a3550 100%);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.project-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(37,46,63,0.6) 100%);
}
.project-thumb-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.project-thumb-icon i { color: var(--accent-light); width: 28px; height: 28px; }
.project-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: 'Poppins', sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(37,46,63,0.85); color: var(--accent-light);
  padding: 4px 10px; border-radius: 3px; backdrop-filter: blur(4px);
}
.project-body { padding: 24px; }
.project-body h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.project-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.project-techs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.project-tech {
  font-family: 'Poppins', sans-serif; font-size: 0.68rem; font-weight: 600;
  padding: 3px 10px; border-radius: 3px; background: rgba(30,115,190,0.08);
  color: var(--accent); letter-spacing: 0.02em;
}
.project-cta { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ===== AUDIENCE BANDS ===== */
.audience-bands { max-width: var(--container-max); margin: 0 auto; }
.audience-band {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 24px;
  align-items: center; padding: 32px 28px; cursor: pointer;
  border-bottom: 1px solid rgba(30,115,190,0.1);
  transition: all 0.3s ease; position: relative;
}
.audience-band:first-child { border-top: 1px solid rgba(30,115,190,0.1); }
.audience-band:hover { background: rgba(30,115,190,0.04); }
.audience-band.active { background: rgba(30,115,190,0.06); }
.audience-band-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); transition: all 0.3s ease;
}
.audience-band.active .audience-band-icon,
.audience-band:hover .audience-band-icon {
  border-color: var(--accent); background: rgba(30,115,190,0.06);
}
.audience-band-icon i { width: 24px; height: 24px; color: var(--accent); }
.audience-band-content h3 { font-size: 1.15rem; color: var(--dark); margin-bottom: 4px; font-weight: 600; }
.audience-band-content p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.audience-band.active .audience-band-content p { -webkit-line-clamp: unset; }
.audience-band-cta { flex-shrink: 0; }
.audience-band-cta .btn { font-size: 0.85rem; padding: 10px 24px; }

.audience-detail {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  background: #fff; margin: 0;
}
.audience-detail.open { max-height: 600px; }
.audience-detail-inner { padding: 28px 28px 28px 108px; }
.audience-detail-inner p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.audience-detail-inner ul { list-style: none; margin-bottom: 24px; }
.audience-detail-inner ul li {
  padding: 6px 0 6px 28px; position: relative; font-size: 0.92rem; color: var(--muted);
}
.audience-detail-inner ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 14px; border-radius: 50%; background: rgba(30,115,190,0.1);
  border: 2px solid var(--accent);
}

@media (max-width: 700px) {
  .audience-band { grid-template-columns: 48px 1fr; gap: 16px; }
  .audience-band-cta { display: none; }
  .audience-detail-inner { padding: 20px; }
}

/* ===== GLASS CARDS — Dark Glassmorphism ===== */
.new-services {
  background: linear-gradient(160deg, #1a2332 0%, #0f172a 50%, #0c1220 100%);
  padding: 100px 0; position: relative; overflow: hidden; color: #fff;
}
.new-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px; transition: all 0.4s ease;
  border-radius: 0; position: relative; overflow: hidden;
}
.glass-card:nth-child(2) { border-radius: 16px; }
.glass-card:nth-child(3) { border-radius: 16px; }
.glass-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.glass-card .badge {
  display: inline-block; background: var(--green); color: #fff; font-size: 0.65rem;
  font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 18px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 16px rgba(3,168,78,0.4), 0 0 4px rgba(3,168,78,0.6);
  position: relative; z-index: 2;
}
.glass-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(77,200,233,0.1); display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
  position: relative; z-index: 2;
}
.pulse-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(77,200,233,0.3);
  animation: pulse-out 3s ease-out infinite;
}
@keyframes pulse-out {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.glass-icon i { color: var(--accent-light); width: 24px; height: 24px; }
.glass-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; font-weight: 600; position: relative; z-index: 2; }
.glass-card p { font-size: 0.9rem; color: #94a3b8; line-height: 1.65; margin-bottom: 16px; position: relative; z-index: 2; }
.glass-card .btn-link { color: var(--accent-light); position: relative; z-index: 2; }
.glass-card .btn-link:hover { color: var(--green); }

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

/* ===== SOCIAL PROOF — Marquee + Testimonials ===== */
.marquee {
  overflow: hidden; margin-bottom: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 48px; animation: marquee 30s linear infinite;
  width: max-content; align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-placeholder {
  width: 130px; height: 56px; background: #f0f0f0; border-radius: 0;
  filter: grayscale(100%); opacity: 0.5; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.8rem; color: var(--muted);
  flex-shrink: 0;
}
.logo-placeholder:hover { filter: grayscale(0%); opacity: 1; background: rgba(30,115,190,0.06); color: var(--accent); }

/* Single large testimonial with crossfade */
.testimonial-spotlight {
  max-width: 800px; margin: 0 auto 32px; text-align: center;
  position: relative; padding: 40px 0; min-height: 200px;
}
.testimonial-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 40px 0;
}
.testimonial-slide.active {
  position: relative; opacity: 1; transform: translateY(0);
}
.testimonial-spotlight .quote-mark {
  font-family: 'Archivo Black', sans-serif; font-size: 8rem;
  color: var(--accent-light); opacity: 0.2; line-height: 1;
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  pointer-events: none; user-select: none;
}
.testimonial-slide blockquote {
  font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--dark); line-height: 1.7;
  font-style: italic; font-weight: 400; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.testimonial-slide .author { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--dark); }
.testimonial-slide .role { font-size: 0.85rem; color: var(--muted); }

/* Testimonial dots */
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 56px; }
.testimonial-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0; min-width: 10px; min-height: 10px;
}
.testimonial-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* Massive gradient stats */
.proof-stats { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.proof-stat { text-align: center; }
.proof-stat .number {
  font-family: 'Archivo Black', sans-serif; font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400; display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1;
}
.proof-stat .label { font-size: 0.88rem; color: var(--muted); max-width: 200px; }
@media (max-width: 767px) {
  .proof-stats { gap: 40px; }
  .proof-stat .number { font-size: clamp(2.4rem, 8vw, 3.5rem); }
}

/* ===== FINAL CTA — Split Design ===== */
.final-cta {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 400px; position: relative; overflow: hidden;
}
.final-cta-left {
  background: var(--dark); padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.final-cta-left h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: 16px; position: relative; z-index: 2; }
.final-cta-left p { color: #94a3b8; font-size: 1.05rem; line-height: 1.7; max-width: 480px; position: relative; z-index: 2; }
.final-cta-right {
  background: var(--accent); padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.final-cta-right .cta-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.final-cta-right .micro { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
@media (max-width: 800px) {
  .final-cta { grid-template-columns: 1fr; }
  .final-cta-left, .final-cta-right { padding: 60px var(--gutter); }
}

/* ===== STICKY SERVICE TABS ===== */
.service-tabs {
  position: sticky; top: 75px; z-index: 900;
  background: #fff;
  border-top: 2px solid;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-teal), var(--green)) 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: top 0.3s ease;
}
.service-tabs.tabs-scrolled { top: 46px; }
.service-tabs-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.service-tabs-inner::-webkit-scrollbar { display: none; }
.service-tab {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 500;
  text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.06em;
  color: var(--muted); padding: 16px 24px;
  border: none; background: none; cursor: pointer;
  white-space: nowrap; position: relative;
  transition: color var(--transition);
  border-bottom: 3px solid transparent; min-height: 44px;
}
.service-tab:hover { color: var(--accent); }
.service-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.service-tab i { width: 18px; height: 18px; }

/* ===== PRICING — Dark Glassmorphism ===== */
.pricing-section {
  padding: 100px 0; background: var(--dark); position: relative;
}
.pricing-inner {
  position: relative; z-index: 2;
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter);
}
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-header h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.pricing-header p { color: #94a3b8; font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* Billing toggle */
.billing-toggle {
  display: inline-flex; margin-top: 24px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 60px; padding: 4px; gap: 0;
}
.billing-option {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.85rem;
  padding: 10px 28px; border-radius: 60px; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); background: transparent;
  transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
}
.billing-option:hover { color: rgba(255,255,255,0.8); }
.billing-option.active {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 14px rgba(3,168,78,0.35);
}
.save-badge {
  font-size: 0.65rem; font-weight: 700; padding: 2px 8px;
  background: rgba(255,255,255,0.15); border-radius: 10px;
  color: #fff; letter-spacing: 0.02em;
}
.billing-option.active .save-badge { background: rgba(255,255,255,0.25); }

/* Pricing cards */
.pricing-cards { display: grid; gap: 24px; }
.pricing-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pricing-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }

.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 36px 32px; border-radius: 0;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(3,168,78,0.15);
  border-top: 3px solid var(--green);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card .popular-badge {
  position: absolute; top: -1px; right: 24px;
  background: var(--green); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(3,168,78,0.3);
}
.pricing-card .plan-name {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  color: #fff; font-size: 1.1rem; margin-bottom: 8px;
}
.pricing-card .plan-price {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem; color: #fff; margin-bottom: 4px; line-height: 1.2;
}
.pricing-card.featured .plan-price {
  background: linear-gradient(135deg, var(--accent-light), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-size: 2.4rem;
}
.pricing-card .plan-period { font-size: 0.82rem; color: var(--topbar-muted); margin-bottom: 24px; }
.pricing-card .plan-features {
  list-style: none; flex: 1; margin-bottom: 28px;
}
.pricing-card .plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: rgba(255,255,255,0.7);
  padding: 6px 0; line-height: 1.5;
}
.pricing-card .plan-features li i { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .pricing-cards.cols-2, .pricing-cards.cols-3 { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

/* ===== FAQ ACCORDION ===== */
.faq-section { padding: 80px 0; background: var(--bg); }
.faq-inner { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.faq-item {
  border: 1px solid var(--border); background: #fff;
  margin-bottom: 12px; border-left: 3px solid transparent;
  transition: border-left-color 0.3s ease;
}
.faq-item.active { border-left-color: var(--accent); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; gap: 16px;
  background: none; border: none; width: 100%; text-align: left;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.95rem; color: var(--text); min-height: 44px;
}
.faq-question:focus-visible { outline: 2px solid var(--accent-light); outline-offset: -2px; }
.faq-question i { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 500px; }
.faq-answer-inner { padding: 0 24px 24px; }
.faq-answer-inner p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ===== FOOTER — Minimal Dark + Gradient top border ===== */
.footer {
  background: var(--darker); color: #94a3b8; padding: 64px var(--gutter) 36px;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-teal), var(--green)) 1;
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px; max-width: var(--container-max); margin: 0 auto 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; }
.footer-brand-logo img { height: 32px; width: auto; }
.footer-brand-logo span {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: #fff;
}
.footer-brand p { font-size: 0.88rem; color: #94a3b8; line-height: 1.65; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { color: var(--topbar-muted); transition: color var(--transition); }
.footer-socials a:hover { color: #fff; }
.footer-socials a i { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--container-max); margin: 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--topbar-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--topbar-muted); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--accent); }
.back-top i { width: 20px; height: 20px; }
