/* ═══════════════════════════════════════════════════════════════
   CLOUDSPILLAR — SHARED DESIGN SYSTEM
   Used across all pages for consistent premium UI/UX
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@400;500&family=Montserrat:wght@800&display=swap');

/* ── Design Tokens ── */
:root {
  --brand-sky:  #5baeff;
  --brand-blue: #1a6fd4;
  --brand-navy: #1a2a4a;

  --bg:  #f4f8ff;
  --bg2: #ffffff;
  --bg3: #edf4ff;
  --border:  rgba(26, 111, 212, 0.10);
  --border2: rgba(26, 111, 212, 0.18);
  --text:  #0f172a;
  --text2: #475569;
  --text3: #94a3b8;

  --blue:        #1a6fd4;
  --blue-dark:   #1254a8;
  --blue-light:  #5baeff;
  --blue-xlight: #d4ebff;
  --blue-dim:    rgba(26, 111, 212, 0.08);
  --blue-mid:    rgba(26, 111, 212, 0.14);

  --green: #16a34a;
  --red:   #dc2626;
  --purple: #8b5cf6;

  --font: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;

  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 16px;
  --fs-md:   17px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  48px;

  /* ── Global Typography Scale (anchored to Home Hero) ── */
  /* H1 hero reference: clamp(31px, 3.2vw, 40px) | weight 300 | spacing -2px | lh 1.12 */
  --type-h1:    clamp(31px, 3.2vw, 40px);
  --type-h2:    clamp(25px, 2.5vw, 34px);
  --type-h3:    clamp(17px, 1.6vw, 20px);
  --type-h4:    clamp(15px, 1.4vw, 17px);
  --type-body:  16px;
  --type-sm:    14px;
  --type-xs:    13px;
  --type-label: 11px;

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;

  --lh-heading: 1.12;
  --lh-subhead: 1.25;
  --lh-body:    1.80;
  --lh-tight:   1.40;

  --ls-h1:     -2px;
  --ls-h2:     -1.5px;
  --ls-h3:     -0.4px;
  --ls-h4:     -0.3px;
  --ls-body:    0;
  --ls-upper:   0.12em;

  --space-section: 100px;
  --space-gutter:  52px;
  --nav-h: 68px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 4px rgba(26,111,212,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(26,111,212,0.10), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(26,111,212,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 72px rgba(26,111,212,0.16), 0 8px 24px rgba(0,0,0,0.08);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s var(--ease-out);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  animation: pageLoad 0.5s ease both;
}

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

img { max-width: 100%; transition: opacity 0.4s ease; }
a   { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════════════
   GLOBAL TYPOGRAPHY SYSTEM
   Anchored to Home Hero Section as the canonical reference
   Hero H1: clamp(31px, 3.2vw, 40px) | weight 300 | -2px spacing | lh 1.12
   ═══════════════════════════════════════════════════════ */

/* ── Heading defaults: weight-light base + weight-bold for <strong> ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--text);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

/* ── H1: Full hero scale ── */
h1 {
  font-size: var(--type-h1);
  font-weight: var(--weight-light);
  letter-spacing: var(--ls-h1);
  line-height: var(--lh-heading);
}

/* ── H2: Section heading — proportional to H1 ── */
h2 {
  font-size: var(--type-h2);
  font-weight: var(--weight-light);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-heading);
}

/* ── H3: Card/subsection heading ── */
h3 {
  font-size: var(--type-h3);
  font-weight: var(--weight-semi);
  letter-spacing: var(--ls-h3);
  line-height: var(--lh-subhead);
}

/* ── H4: Label-level heading ── */
h4 {
  font-size: var(--type-h4);
  font-weight: var(--weight-semi);
  letter-spacing: var(--ls-h4);
  line-height: var(--lh-tight);
}

/* Bold within headings (gradient headings use .gradient-text on parent) */
h1 strong, h2 strong { font-weight: var(--weight-bold); }
h3 strong, h4 strong { font-weight: var(--weight-bold); }

/* ── Body / paragraph defaults ── */
p {
  font-size: var(--type-body);
  font-weight: var(--weight-regular);
  color: var(--text2);
  line-height: var(--lh-body);
}

/* ── Gradient text utility (for highlighted words in headings) ── */
.gradient-text {
  background: linear-gradient(118deg, var(--brand-sky) 0%, var(--brand-blue) 55%, #1a4fa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Home page section headings (used in home.css) ── */
.solutions-title {
  font-size: var(--type-h2);
  font-weight: var(--weight-light);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-heading);
  color: var(--text);
  max-width: 680px;
}

.solutions-title span {
  color: var(--text2);
}

.solutions-subtitle {
  font-size: var(--type-body);
  color: var(--text2);
  font-weight: var(--weight-regular);
  line-height: var(--lh-body);
  max-width: 600px;
}

/* ── Card typography normalization ── */
/* Card headings (service cards, value cards, diff items, etc.) */
.service-card-title,
.industry-card-title,
.process-card-title,
.solution-card-number,
.solution-card-heading {
  font-size: var(--type-h3);
  font-weight: var(--weight-semi);
  letter-spacing: var(--ls-h3);
  line-height: var(--lh-subhead);
  color: var(--text);
}

/* Card body text */
.service-card-desc,
.industry-card-text,
.process-card-desc,
.solution-card-desc,
.solution-card-text {
  font-size: var(--type-body);
  color: var(--text2);
  font-weight: var(--weight-regular);
  line-height: var(--lh-body);
}

/* ── Section eyebrow / label typography (uppercase small caps) ── */
.section-eyebrow,
.page-hero-eyebrow,
.svc-badge,
.process-step-num-label,
.svc-delivers-title,
.mission-label,
.services-sidenav-title {
  font-size: var(--type-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--ls-upper);
  text-transform: uppercase;
}

/* ── Stat / metric typography ── */
.hc-stat-val {
  font-size: var(--type-h3);
  font-weight: var(--weight-bold);
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--text);
}

.hc-stat-label {
  font-size: var(--type-xs);
  color: var(--text3);
  font-weight: var(--weight-medium);
  line-height: var(--lh-tight);
}

/* ── Footer typography normalization ── */
.footer-col h4,
.footer-newsletter h4 {
  font-size: var(--type-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--ls-upper);
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
}

.footer-tagline,
.footer-links a,
.footer-newsletter p {
  font-size: var(--type-xs);
  line-height: var(--lh-body);
}

.footer-copyright,
.footer-legal a {
  font-size: 12.5px;
}

/* ── Form / glass card typography ── */
.glass-card-title {
  font-size: var(--type-h4);
  font-weight: var(--weight-bold);
  letter-spacing: var(--ls-h4);
  line-height: var(--lh-tight);
}

.glass-card-sub {
  font-size: var(--type-xs);
  color: rgba(255,255,255,0.48);
  line-height: var(--lh-body);
}

.float-field input,
.float-field select,
.float-field textarea {
  font-size: var(--type-xs);
}

.float-field label {
  font-size: var(--type-xs);
}

/* ── Button typography is set in button rules ── */

/* ── Responsive scaling adjustments ── */
@media (max-width: 768px) {
  .page-hero h1 {
    letter-spacing: -1.2px;
  }

  h2 {
    letter-spacing: -1px;
  }

  .solutions-title {
    letter-spacing: -1px;
  }

  p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  h1 { letter-spacing: -1px; }
  h2 { letter-spacing: -0.8px; }
}
/* ──────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(26,111,212,0.14); color: var(--text); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(26,111,212,0.28); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(26,111,212,0.50); }

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-sky));
  z-index: 9999;
  width: 0%;
  transition: width 0.08s linear;
  will-change: width;
}

/* ── Cursor Glow ── */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,174,255,0.07) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: transform 0.12s ease;
  will-change: transform;
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--space-gutter);
  background: rgba(244,248,255,0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(26,111,212,0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 20px rgba(26,111,212,0.09);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 40px;
}

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111111;
  white-space: nowrap;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  list-style: none;
}

.nav-link {
  position: relative;
}

.nav-link > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link > a:hover,
.nav-link > a.active {
  color: var(--brand-blue);
  background: var(--blue-dim);
}

.nav-link > a svg { flex-shrink: 0; transition: transform 0.2s ease; }
.nav-link:hover > a svg { transform: rotate(180deg); }

/* Dropdown / Mega Menu Container */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.3s;
  z-index: 100;
}

.nav-link:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
}

/* Services Mega Menu */
.mega-menu-services {
  width: 580px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

/* Solutions Mega Menu */
.mega-menu-solutions {
  width: 600px;
}

.mega-menu-layout {
  display: flex;
  gap: 32px;
}

.mega-menu-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-menu-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-left: 12px;
}

.mega-menu-preview {
  width: 240px;
  border-radius: 12px;
  background: var(--bg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.02);
}

.preview-pattern {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  background: #e2eeff;
  border-radius: 12px;
  overflow: hidden;
}

.preview-pattern .pattern-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
}

/* Resources Dropdown */
.mega-menu-resources {
  width: 500px;
}

.mega-menu-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mm-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-dropdown a:hover {
  color: #111;
  background: rgba(0,0,0,0.03);
}

.nav-dropdown a.mm-link-accent {
  color: var(--brand-blue);
}

.nav-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.nav-dropdown a:hover .nav-dropdown-icon {
  background: #e2e8f0;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4.5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  margin-left: auto;
}

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

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--space-gutter) 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(26,111,212,0.10);
  transform: translateY(-12px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-menu a:hover { color: var(--brand-blue); background: var(--blue-dim); }

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-menu-cta {
  margin-top: 8px;
  padding: 0 4px;
}

/* ═══════════════════════════════════════
   PAGE HERO (inner pages — smaller than homepage)
   ═══════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 72px) var(--space-gutter) 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 55%, #f4f8ff 100%);
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% -10%, rgba(91,174,255,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 15% 80%, rgba(26,111,212,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 85% 75%, rgba(91,174,255,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Floating orb decorations */
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.page-hero-orb-1 {
  width: 320px; height: 220px;
  bottom: -40px; left: -60px;
  background: radial-gradient(ellipse, rgba(91,174,255,0.28) 0%, transparent 70%);
  filter: blur(30px);
  animation: orbFloat 14s ease-in-out infinite;
}

.page-hero-orb-2 {
  width: 200px; height: 160px;
  top: 20px; right: -30px;
  background: radial-gradient(ellipse, rgba(26,111,212,0.18) 0%, transparent 70%);
  filter: blur(24px);
  animation: orbFloat 10s ease-in-out infinite 3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(12px, -10px) scale(1.04); }
  66%       { transform: translate(-8px, 8px) scale(0.97); }
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--blue-dim);
  border: 1px solid var(--border2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.page-hero-eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.page-hero h1 {
  font-size: var(--type-h1);
  font-weight: var(--weight-light);
  letter-spacing: var(--ls-h1);
  line-height: var(--lh-heading);
  color: var(--text);
  margin-bottom: 20px;
}

.page-hero h1 strong {
  font-weight: var(--weight-bold);
  background: linear-gradient(118deg, var(--brand-sky) 0%, var(--brand-blue) 55%, #1a4fa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  font-size: var(--type-body);
  color: var(--text2);
  font-weight: var(--weight-regular);
  line-height: var(--lh-body);
  max-width: 600px;
  margin: 0 auto 36px;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero stagger animations */
.hero-stagger { opacity: 0; animation: heroFadeUp 0.7s var(--ease-out) both; }
.hero-stagger-1 { animation-delay: 0.1s; }
.hero-stagger-2 { animation-delay: 0.22s; }
.hero-stagger-3 { animation-delay: 0.35s; }
.hero-stagger-4 { animation-delay: 0.48s; }
.hero-stagger-5 { animation-delay: 0.60s; }

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

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-out);
  will-change: transform;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-blue) 100%);
  color: #fff !important;
  border: 1px solid var(--brand-blue);
  box-shadow: 0 2px 12px rgba(26,111,212,0.30);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6bbfff 0%, #1560c0 100%);
  box-shadow: 0 6px 22px rgba(26,111,212,0.40);
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  color: var(--brand-blue) !important;
  border: 1.5px solid rgba(26,111,212,0.28);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  background: var(--blue-dim);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text2) !important;
  border: 1px solid transparent;
}

.btn-ghost:hover { color: var(--text) !important; background: var(--blue-dim); }

.btn-large {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: -0.01em;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  transition: transform 0.25s var(--ease-out);
  line-height: 1;
}

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

.btn-magnetic {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s ease;
}

.btn-noxus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #111;
  color: #fff !important;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn-noxus:hover {
  background: #222;
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-noxus:active {
  transform: scale(0.98);
}

/* ═══════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::before { display: none; }

.section-title {
  font-size: var(--type-h2);
  font-weight: var(--weight-light);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-heading);
  color: var(--text);
  max-width: 700px;
}

.section-title strong { font-weight: var(--weight-bold); }

.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-desc {
  font-size: var(--type-body);
  color: var(--text2);
  font-weight: var(--weight-regular);
  max-width: 560px;
  margin-top: 16px;
  line-height: var(--lh-body);
}

.section-desc.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Reveal on scroll */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *       { opacity: 1; transform: translateY(0); }

/* Cards */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.card-featured {
  border-color: rgba(26,111,212,0.25);
  background: linear-gradient(135deg, #fff 0%, var(--blue-dim) 100%);
}

/* Spotlight card hover */
.card-spotlight { position: relative; overflow: hidden; }

.card-spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--x, 0) var(--y, 0), rgba(26,111,212,0.08), transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.card-spotlight:hover::after { opacity: 1; }
.card-spotlight > * { position: relative; z-index: 2; }

/* ═══════════════════════════════════════
   GLASSMORPHISM CONTACT FORM
   ═══════════════════════════════════════ */
.glass-form-section {
  padding: 96px var(--space-gutter);
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f1a35 0%, #1a2a55 40%, #0f2048 100%);
}

.glass-form-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glass-form-bg::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,174,255,0.20) 0%, transparent 65%);
  top: -100px; left: -100px;
  filter: blur(40px);
  animation: orbFloat 16s ease-in-out infinite;
}

.glass-form-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,212,0.18) 0%, transparent 65%);
  bottom: -80px; right: -80px;
  filter: blur(35px);
  animation: orbFloat 12s ease-in-out infinite 4s;
}

.glass-form-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.glass-form-orb-1 {
  width: 300px; height: 200px;
  top: 30%; left: 40%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.14) 0%, transparent 70%);
  animation: orbFloat 18s ease-in-out infinite 2s;
}

.glass-form-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left: text content */
.glass-form-left h2 {
  font-size: var(--type-h2);
  font-weight: var(--weight-light);
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-heading);
  color: #fff;
  margin-bottom: 16px;
  max-width: none;
}

.glass-form-left h2 strong {
  font-weight: var(--weight-bold);
  background: linear-gradient(118deg, #7ec8ff 0%, #5baeff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-form-left > p {
  font-size: var(--type-body);
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-body);
  margin-bottom: 28px;
}

.glass-form-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.glass-form-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

.glass-form-feature-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(91,174,255,0.4), rgba(26,111,212,0.6));
  border: 1px solid rgba(91,174,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  flex-shrink: 0;
}

.glass-form-response {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.04em;
}

.glass-form-response-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Right: glass card */
.glass-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 36px 32px 30px;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 32px 80px rgba(0,0,0,0.35),
    0 8px 24px rgba(26,111,212,0.15);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(91,174,255,0.7) 30%, rgba(139,92,246,0.7) 70%, transparent 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.glass-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.glass-card-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 26px;
  font-weight: 400;
  line-height: 1.5;
}

/* Floating label inputs */
.glass-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.float-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.float-field input,
.float-field select,
.float-field textarea {
  display: block;
  width: 100%;
  padding: 22px 14px 8px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 400;
  color: #fff;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 11px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 52px;
  line-height: 1.4;
}

.float-field select {
  padding: 13px 36px 13px 14px;
  cursor: pointer;
}

.float-field select option { background: #1a2a55; color: #fff; }

.float-field textarea {
  resize: none;
  min-height: 90px;
  padding-top: 22px;
}

.float-field input::placeholder,
.float-field textarea::placeholder { color: transparent; }

.float-field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.float-field textarea ~ label { top: 26px; transform: none; }

.float-field input:focus,
.float-field select:focus,
.float-field textarea:focus {
  border-color: rgba(91,174,255,0.55);
  box-shadow: 0 0 0 3px rgba(91,174,255,0.12), 0 0 16px rgba(91,174,255,0.08);
  background: rgba(255,255,255,0.10);
}

.float-field input:focus ~ label,
.float-field input:not(:placeholder-shown) ~ label,
.float-field select:focus ~ label,
.float-field textarea:focus ~ label,
.float-field textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: none;
  font-size: 10.5px;
  color: rgba(91,174,255,0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.float-field-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 10px; height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Submit button — animated gradient */
.glass-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn-glass-submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff !important;
  background: linear-gradient(135deg, #5baeff 0%, #1a6fd4 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  border: none !important;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26,111,212,0.40);
  transition: background-position 0.4s ease, transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  animation: gradientShift 5s ease infinite;
}

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

.btn-glass-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,111,212,0.50);
}

.btn-glass-submit:active { transform: translateY(0); }

.glass-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  text-align: center;
  line-height: 1.55;
}

.glass-privacy a { color: rgba(91,174,255,0.7); text-decoration: none; font-weight: 500; }

/* Success state */
.glass-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 12px;
}

.glass-form-success.show { display: flex; }

.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(22,163,74,0.15);
  border: 2px solid rgba(74,222,128,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  animation: successPop 0.5s var(--ease-out) both;
}

@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.success-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Calendly CTA */
.glass-calendly {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.glass-calendly:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(91,174,255,0.25);
  color: rgba(255,255,255,0.85);
}

.glass-calendly-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(26,111,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.glass-calendly-text strong {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

/* ═══════════════════════════════════════
   FOOTER (Premium SaaS Redesign)
   ═══════════════════════════════════════ */
.site-footer {
  background: #000000;
  color: rgba(255,255,255,0.70);
  padding: 80px var(--space-gutter) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

/* Ambient Glows */
.footer-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}

.footer-glow-1 {
  background: radial-gradient(circle, var(--brand-sky, #7ec8ff) 0%, transparent 70%);
  bottom: -300px;
  left: -200px;
}

.footer-glow-2 {
  background: radial-gradient(circle, var(--brand-blue, #1a6fd4) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 56px;
  padding-bottom: 64px;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 24px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 28px;
}

.footer-location-icon {
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

.footer-location-divider {
  margin: 0 4px;
  color: rgba(255,255,255,0.2);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* Footer columns */
.footer-col h4, .footer-contact-info h4, .footer-newsletter > h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* Newsletter */
.footer-newsletter p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.newsletter-form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 4px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 32px;
  max-width: 340px;
}

.newsletter-form:focus-within {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.05), inset 0 2px 4px rgba(0,0,0,0.2);
}

.newsletter-input {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter-btn {
  height: 36px;
  padding: 0 16px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.newsletter-btn:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(0.98);
}

.newsletter-btn .btn-icon {
  transition: transform 0.2s ease;
}

.newsletter-btn:hover .btn-icon {
  transform: translateX(2px);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

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

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════
   FLOATING GRADIENT ORBS (page decoration)
   ═══════════════════════════════════════ */
.floating-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.f-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.f-orb-1 {
  width: 400px; height: 300px;
  background: radial-gradient(circle, rgba(91,174,255,0.25) 0%, transparent 70%);
  top: 15%; left: -5%;
  animation: orbDrift 20s ease-in-out infinite;
}

.f-orb-2 {
  width: 300px; height: 250px;
  background: radial-gradient(circle, rgba(26,111,212,0.18) 0%, transparent 70%);
  top: 55%; right: -3%;
  animation: orbDrift 15s ease-in-out infinite 5s;
}

.f-orb-3 {
  width: 250px; height: 180px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  bottom: 20%; left: 30%;
  animation: orbDrift 25s ease-in-out infinite 10s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(20px, -15px) scale(1.05); }
  50%       { transform: translate(-10px, 20px) scale(0.96); }
  75%       { transform: translate(15px, 10px) scale(1.02); }
}

/* ═══════════════════════════════════════
   PAGE TRANSITION OVERLAY
   ═══════════════════════════════════════ */
.page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-transition.active { opacity: 1; pointer-events: all; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --space-gutter: 36px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .glass-form-layout { grid-template-columns: 1fr; gap: 40px; }
  .glass-form-left { max-width: 560px; margin: 0 auto; text-align: center; }
  .glass-form-features { align-items: center; }
}

@media (max-width: 768px) {
  :root {
    --space-gutter: 22px;
    --space-section: 68px;
  }

  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .page-hero h1 { letter-spacing: -1.2px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .glass-form-row { grid-template-columns: 1fr; }
  .glass-form-section { padding: 68px var(--space-gutter); }
}

@media (max-width: 480px) {
  :root { --space-gutter: 16px; }
  .page-hero { padding: calc(var(--nav-h) + 48px) var(--space-gutter) 60px; }
  .glass-card { padding: 26px 20px 22px; }
}

/* ═══════════════════════════════════════
   PREFERS-REDUCED-MOTION
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-stagger, .reveal-up { opacity: 1; transform: none; animation: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════
   SHARED JS HELPERS (loaded via shared.js)
   ═══════════════════════════════════════ */

