/* ==========================================================================
   GooDesign — Core Stylesheet
   Design system: Premium Digital Growth Studio
   Palette: Midnight Navy / Electric Blue / Warm Coral / Off-white
   Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (code/eyebrow)
   ========================================================================== */

/* -------------------- Design Tokens -------------------- */
:root {
  /* Color — sampled directly from the GooDesign logo */
  --color-primary: #004AAD;        /* navy blue (logo arrows / D / n) */
  --color-primary-soft: #0056D2;
  --color-secondary: #5271FF;      /* periwinkle blue (logo G / o) */
  --color-secondary-dim: #EAF0FF;
  --color-accent: #FF1717;         /* red (logo s) */
  --color-accent-dim: #FDEAE8;
  --color-success: #7ED956;        /* green (logo e) */
  --color-brand-green: #7ED956;    /* true logo green */
  --color-brand-yellow: #FFDE59;   /* true logo yellow */
  --color-bg: #F8F8F6;             /* off-white canvas */
  --color-surface: #FFFFFF;
  --color-text: #12141C;           /* deep charcoal */
  --color-text-muted: #5B6072;
  --color-border: #E4E5EA;
  --color-border-dark: rgba(255,255,255,0.12);

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 120px;

  /* Layout */
  --container: 1280px;
  --container-narrow: 780px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 8px 30px rgba(11, 29, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 29, 58, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 700ms;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------- Typography -------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.1;
}
.h1, h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1.05; }
.h2, h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.h3, h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.h4, h4 { font-size: 1.15rem; }

p { color: var(--color-text-muted); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--color-text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
}
.eyebrow::before { content: "<"; opacity: 0.6; }
.eyebrow::after { content: ">"; opacity: 0.6; }
.eyebrow-dark { color: #8FB3FF; }

/* -------------------- Layout Helpers -------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
section { padding: var(--space-9) 0; position: relative; }
@media (max-width: 768px) {
  section { padding: var(--space-7) 0; }
}
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-6);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.dark-section {
  background: var(--color-primary);
  color: #fff;
}
.dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }
.dark-section p { color: rgba(255,255,255,0.68); }

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 23, 23, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 23, 23, 0.36); }
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-secondary:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.btn-on-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.24);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-block { width: 100%; }

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--t-med) var(--ease), background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(248, 248, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 70px; width: auto;  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
.brand span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-muted); }

.main-nav { display: flex; align-items: center; gap: var(--space-6); }
.main-nav ul { display: flex; gap: var(--space-5); }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-primary); transition: all var(--t-fast) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-4); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; color:#333 }
.mobile-nav .btn { margin-top: var(--space-5); align-self: flex-start; }

/* -------------------- Hero -------------------- */
.hero {
  padding: 180px 0 var(--space-9);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(0, 74, 173,0.14), transparent 60%),
    radial-gradient(500px 360px at 100% 60%, rgba(255, 23, 23,0.10), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
}
.hero-copy h1 { margin-bottom: var(--space-4); font-size:50px }
.hero-copy h1 em { font-style: normal; color: var(--color-secondary); }
.hero-copy .lede { margin-bottom: var(--space-5); max-width: 520px; }
.hero-ctas { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

.hero-visual { position: relative; }
.wireframe-drawing {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.wireframe-drawing svg.animated-layout {
  width: 100%;
  height: 100%;
  display: block;
}
.wf-path {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  animation: drawLine 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.wf-fill {
  opacity: 0;
  animation: fadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.wf-window { stroke: var(--color-border); animation-delay: 0.1s; }
.wf-chrome { stroke: var(--color-border); animation-delay: 0.3s; }
.wf-dot-1 { fill: #FF5F57; animation-delay: 0.6s; }
.wf-dot-2 { fill: #FEBC2E; animation-delay: 0.7s; }
.wf-dot-3 { fill: #28C840; animation-delay: 0.8s; }

.wf-hero { stroke: var(--color-primary); animation-delay: 1.0s; }
.wf-hero-img { stroke: var(--color-secondary); animation-delay: 1.2s; }
.wf-sun { stroke: var(--color-brand-yellow); animation-delay: 1.5s; }

.wf-line-1 { fill: var(--color-text); animation-delay: 1.8s; }
.wf-line-2 { fill: var(--color-border); animation-delay: 2.0s; }
.wf-line-3 { fill: var(--color-border); animation-delay: 2.1s; }
.wf-line-4 { fill: var(--color-border); animation-delay: 2.2s; }

.wf-btn-1 { stroke: var(--color-accent); animation-delay: 2.5s; }
.wf-btn-2 { stroke: var(--color-border); animation-delay: 2.7s; }

.floating-card {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-card .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }
.card-1 { top: -8%; left: -10%; animation: floatY 5.5s ease-in-out infinite; }
.card-2 { bottom: 6%; left: -12%; animation: floatY 6.5s ease-in-out infinite 0.6s; }
.card-3 { top: 40%; right: -12%; animation: floatY 6s ease-in-out infinite 1.1s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-card { animation: none !important; }
}

/* -------------------- Trust bar -------------------- */
.trust-bar {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  animation: scrollMarquee 20s linear infinite;
  width: max-content;
}
.marquee-content {
  display: flex;
  gap: var(--space-7);
  padding-right: var(--space-7);
}
.trust-item {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}

/* -------------------- About / Intro -------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-7);
  align-items: start;
}
.about-points { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-5); }
.about-point { display: flex; gap: var(--space-3); }
.about-point .num {
  font-family: var(--font-mono);
  color: var(--color-secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
  padding-top: 2px;
}

/* -------------------- Services -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}
.service-card.featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card.featured h3, .service-card.featured p { color: #fff; }
.service-card.featured p { opacity: 0.72; }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-secondary-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-secondary);
}
.service-card.featured .service-icon { background: rgba(255,255,255,0.1); color: #fff; }
.service-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.service-card p { font-size: 0.94rem; margin-bottom: var(--space-3); }
.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card.featured .service-link { color: #fff; }
.service-link .arrow { transition: transform var(--t-fast) var(--ease); }
.service-card:hover .service-link .arrow { transform: translateX(4px); }

/* -------------------- What we build -------------------- */
.build-scroller {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-3);
  scrollbar-width: thin;
}
.build-card {
  flex: 0 0 260px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.build-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-secondary);
  background: var(--color-secondary-dim);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: var(--space-3);
}
.build-card h4 { margin-bottom: 6px; }
.build-card p { font-size: 0.88rem; }

/* -------------------- Process -------------------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.process-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.process-num { font-family: var(--font-mono); font-size: 1.6rem; color: #7ed95a; }
.process-item h4 { margin-bottom: 6px; }

/* -------------------- Portfolio -------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,29,58,0.85) 0%, rgba(11,29,58,0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
  opacity: 0.8;
  display: block;
  margin-bottom: 4px;
}
.portfolio-overlay h4 { color: #fff; }
.portfolio-filters { display: flex; gap: var(--space-2); margin-bottom: var(--space-5); flex-wrap: wrap; }
.filter-btn {
  font-size: 0.86rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--t-fast) var(--ease);
}
.filter-btn.is-active, .filter-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* -------------------- Stats -------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--color-accent);
  font-weight: 700;
}
.stat-label { font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* -------------------- Industries -------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.industry-chip {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-3);
  transition: all var(--t-fast) var(--ease);
  background: var(--color-surface);
}
.industry-chip:hover { border-color: var(--color-secondary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.industry-chip h4 { font-size: 1rem; margin-bottom: 4px; }
.industry-chip p { font-size: 0.82rem; margin: 0; }

/* -------------------- Testimonials -------------------- */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.testimonial-card p.quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-secondary-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--color-secondary);
}
.author-meta strong { display: block; font-size: 0.92rem; color: var(--color-primary); }
.author-meta span { font-size: 0.82rem; color: var(--color-text-muted); }
.placeholder-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-accent);
  background: var(--color-accent-dim);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-top: var(--space-3);
}

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-primary);
}
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  transition: transform var(--t-fast) var(--ease);
}
.faq-icon::before { width: 100%; height: 2px; top: 9px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; left: 9px; top: 0; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.faq-answer p { padding-bottom: var(--space-4); max-width: 700px; }

/* -------------------- Final CTA -------------------- */
@keyframes ctaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatSvg1 {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  50% { transform: translateY(-15px) rotate(5deg); opacity: 0.3; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
}

@keyframes spinSvg2 {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
  50% { transform: translateY(15px) rotate(90deg); opacity: 0.25; }
  100% { transform: translateY(0) rotate(180deg); opacity: 0.1; }
}

.final-cta {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.final-cta.dark-section {
  background: linear-gradient(-45deg, var(--color-primary), var(--color-primary-soft), var(--color-secondary), #0a2540);
  background-size: 300% 300%;
  animation: ctaGradient 10s ease infinite;
}

/* Floating SVG Shapes */
.final-cta.dark-section::before,
.final-cta.dark-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.final-cta.dark-section::before {
  width: 200px;
  height: 200px;
  top: -20px;
  left: -20px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-rule='evenodd'%3E%3Ccircle cx='5' cy='5' r='3'/%3E%3Ccircle cx='25' cy='5' r='3'/%3E%3Ccircle cx='45' cy='5' r='3'/%3E%3Ccircle cx='5' cy='25' r='3'/%3E%3Ccircle cx='25' cy='25' r='3'/%3E%3Ccircle cx='45' cy='25' r='3'/%3E%3Ccircle cx='5' cy='45' r='3'/%3E%3Ccircle cx='25' cy='45' r='3'/%3E%3Ccircle cx='45' cy='45' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
  animation: floatSvg1 8s ease-in-out infinite;
  mask-image: radial-gradient(circle, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

.final-cta.dark-section::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -50px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' stroke='%23ffffff' stroke-width='1.5' stroke-dasharray='10 15' fill='none'/%3E%3Ccircle cx='50' cy='50' r='35' stroke='%23ffffff' stroke-width='1' stroke-dasharray='5 10' fill='none'/%3E%3Cpath d='M50 15 L50 25 M50 75 L50 85 M15 50 L25 50 M75 50 L85 50' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: spinSvg2 16s linear infinite;
}

.final-cta > * {
  position: relative;
  z-index: 2;
}

.final-cta h2 { max-width: 720px; margin: 0 auto var(--space-4); }
.final-cta .lede { max-width: 560px; margin: 0 auto var(--space-5); }
.final-cta-actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

/* -------------------- Forms -------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); }
.form-field .req { color: var(--color-accent); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color var(--t-fast) var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: var(--space-2); }
.form-status { font-size: 0.9rem; margin-top: var(--space-3); display: none; }
.form-status.is-success { color: var(--color-success); display: block; }
.form-status.is-error { color: var(--color-accent); display: block; }

/* -------------------- Footer -------------------- */
@keyframes slidePattern {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: var(--space-8) 0 var(--space-5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.site-footer::before {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  animation: slidePattern 30s linear infinite;
  mask-image: radial-gradient(circle at top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at top, black 0%, transparent 70%);
}

.site-footer::after {
  width: 350px;
  height: 350px;
  bottom: -150px;
  left: -100px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' stroke='%23ffffff' stroke-width='1.5' stroke-dasharray='4 8' fill='none' opacity='0.15'/%3E%3Ccircle cx='50' cy='50' r='30' stroke='%23ffffff' stroke-width='1' stroke-dasharray='8 4' fill='none' opacity='0.1'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: spinSvg2 25s linear infinite;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-7);
}
.footer-brand .brand span { color: rgba(255,255,255,0.5); }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-brand p { margin-top: var(--space-3); max-width: 280px; font-size: 0.9rem; color:#fff }
.footer-social { display: flex; gap: 10px; margin-top: var(--space-4); }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: var(--space-3); font-family: var(--font-mono); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.82rem;
}
.footer-legal { display: flex; gap: var(--space-4); }

/* -------------------- Floating contact -------------------- */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.floating-contact .fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #7dd95a;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast) var(--ease);
}
.floating-contact .fab:hover { transform: scale(1.06); }

/* -------------------- Reveal on scroll -------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------- Mega Menu -------------------- */
.main-nav { position: relative; }
.main-nav > ul { display: flex; align-items: center; gap: var(--space-5); }
.nav-item { position: relative; }
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
}
.nav-trigger .chev {
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
  margin-top: -3px;
}
.nav-item.is-open .nav-trigger .chev { transform: rotate(-135deg); margin-top: 3px; }
.nav-item.is-open .nav-trigger { color: var(--color-secondary); }

.mega-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 76px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
  z-index: 95;
}
.mega-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.site-header.is-scrolled ~ .mega-panel { top: 62px; }

/* -------------------- Brand dots (signature motif, from logo palette) -------------------- */
.brand-dots { display: inline-flex; gap: 5px; align-items: center; }
.brand-dots span {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.brand-dots span:nth-child(1) { background: var(--color-secondary); }
.brand-dots span:nth-child(2) { background: var(--color-accent); }
.brand-dots span:nth-child(3) { background: var(--color-brand-yellow); }
.brand-dots span:nth-child(4) { background: var(--color-brand-green); }

/* -------------------- Image placeholder (clearly marked, upload-ready) -------------------- */
.image-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background: repeating-linear-gradient(135deg, #F1F2F6, #F1F2F6 10px, #EAEBF0 10px, #EAEBF0 20px);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  min-height: 220px;
  padding: var(--space-4);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.image-placeholder:hover { border-color: var(--color-secondary); }
.image-placeholder .ph-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary);
}
.image-placeholder .ph-label { font-weight: 600; font-size: 0.92rem; color: var(--color-primary); }
.image-placeholder .ph-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-muted); }
.image-placeholder.ph-tall { min-height: 340px; }
.image-placeholder.ph-square { aspect-ratio: 1/1; min-height: 0; }
.image-placeholder.ph-wide { aspect-ratio: 16/9; min-height: 0; }
.image-placeholder.ph-avatar { min-height: 0; aspect-ratio: 1/1; width: 64px; height: 64px; border-radius: 50%; padding: 0; }
.image-placeholder.ph-avatar .ph-icon { width: 28px; height: 28px; }
.image-placeholder.ph-avatar .ph-label, .image-placeholder.ph-avatar .ph-note { display: none; }
.featured-image-slot { margin-bottom: var(--space-6); }
.featured-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-6);
  display: block;
}

.mega-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.mega-inner.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}
.mega-col ul { display: flex; flex-direction: column; gap: 9px; }
.mega-col a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.mega-col a:hover { color: var(--color-primary); padding-left: 4px; }
.mega-col a.view-all { color: var(--color-accent); font-weight: 600; }
.mega-featured {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-featured h5 { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.16); }
.mega-featured p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin: 8px 0 var(--space-4); }
.mega-featured .btn { align-self: flex-start; }

/* Mobile mega menu (accordion) */
.mobile-nav-scroll { overflow-y: auto; max-height: 100%; padding-right: 4px; }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.14); }
.mobile-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #333;
}
.mobile-nav-trigger .chev {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
}
.mobile-nav-item.is-open .mobile-nav-trigger .chev { transform: rotate(-135deg); }
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.mobile-submenu-inner { padding: 4px 0 var(--space-3) var(--space-2); display: grid; gap: var(--space-3); }
.mobile-submenu-inner h6 { font-family: var(--font-mono); font-size: 0.7rem; color: #8FB3FF; margin-bottom: 8px; }
.mobile-submenu-inner ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-submenu-inner a { font-size: 0.92rem; }
.mobile-nav.is-open { overflow-y: auto; padding-top: 110px; padding-bottom: var(--space-6); justify-content: flex-start; align-items: stretch; }
.mobile-nav > .btn { margin-top: var(--space-5); }

/* -------------------- Prose (auto-generated content pages) -------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--space-6); margin-bottom: var(--space-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); }
.prose p { margin-bottom: var(--space-3); font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0 0 var(--space-4); padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--color-text-muted); }
.prose strong { color: var(--color-primary); }
.prose a:not(.btn) { color: var(--color-secondary); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: none; border-top: 1px solid var(--color-border); margin: var(--space-6) 0; }
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-7); align-items: start; }
.page-sidebar { position: sticky; top: 110px; align-self: start; height: max-content; display: flex; flex-direction: column; gap: var(--space-4); }
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: var(--space-3); }
.sidebar-card ul { display: flex; flex-direction: column; gap: 10px; }

.sidebar-card.dark { background: #7dd95a; color: #fff; }
.sidebar-card.dark h4 { color: #fff; }
.sidebar-card.dark p { color: rgba(255,255,255,1); font-size: 0.9rem; margin-bottom: var(--space-4); }

/* -------------------- Breadcrumb / Page header (inner pages) -------------------- */
.page-header {
  padding: 160px 0 var(--space-6);
  background: linear-gradient(135deg, #fcfdfd 0%, #edf1f6 100%);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-header .container {
  position: relative;
  z-index: 10;
}
.page-header h1 { 
  color: var(--color-primary); 
  margin-bottom: var(--space-3);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
  position: relative;
}
.breadcrumb { 
  font-family: var(--font-mono); 
  font-size: 0.8rem; 
  color: var(--color-text-muted);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb a:hover { color: var(--color-primary); }

/* Injected Animated SVG Background */
.ph-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
.ph-anim-path {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 1.5;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: phDraw 12s linear infinite;
}
.ph-anim-path.accent { stroke: var(--color-accent); }
.ph-anim-path.primary { stroke: var(--color-primary); }
.ph-anim-path.yellow { stroke: var(--color-brand-yellow); }

@keyframes phDraw {
  0% { stroke-dashoffset: 2000; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -2000; }
}

/* -------------------- Custom Cursor -------------------- */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-active,
  body.custom-cursor-active * {
    cursor: none !important;
  }
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.2s ease;
  will-change: transform, opacity;
}

.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  will-change: transform, opacity;
}

body.custom-cursor-active .custom-cursor-dot,
body.custom-cursor-active .custom-cursor-outline {
  opacity: 1;
}

/* Hover effects */
.custom-cursor-dot.cursor-hover {
  background-color: var(--color-accent);
}

.custom-cursor-outline.cursor-hover {
  width: 60px;
  height: 60px;
  border-color: var(--color-accent);
  background-color: rgba(255, 23, 23, 0.05); /* accent light */
}
.footer-bottom p
{color: #fff}
.sidebar-cardbtn .btn-primary
{
color: #fff!important;
}/* ---- Back to Top Button ---- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-med) var(--ease);
  z-index: 90;
  border: none;
  cursor: pointer;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.back-to-top svg {
  transition: transform var(--t-fast) var(--ease);
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}
/* =========================================================
   GOODESIGN — PREMIUM HERO
   Designed specifically around your existing design system
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      700px 500px at 78% 42%,
      rgba(82, 113, 255, 0.13),
      transparent 68%
    ),
    radial-gradient(
      520px 420px at 8% 15%,
      rgba(0, 74, 173, 0.07),
      transparent 68%
    ),
    var(--color-bg);

  color: var(--color-text);
}


/* =========================================================
   BRAND GRID
   Very subtle — should be discovered, not noticed
   ========================================================= */

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 74, 173, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(0, 74, 173, 0.045) 1px,
      transparent 1px
    );

  background-size: 80px 80px;

  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%
    );

  opacity: 0.7;

  z-index: -3;

  pointer-events: none;
}


/* =========================================================
   LARGE BRAND SHAPE
   Uses GooDesign blue/periwinkle
   ========================================================= */

.hero::after {
  content: "";

  position: absolute;

  width: 620px;
  height: 620px;

  right: -180px;
  top: 50%;

  transform: translateY(-50%);

  border-radius: 50%;

  border: 1px solid rgba(82, 113, 255, 0.14);

  box-shadow:
    0 0 0 60px rgba(82, 113, 255, 0.025),
    0 0 0 120px rgba(0, 74, 173, 0.018),
    0 0 0 190px rgba(82, 113, 255, 0.012);

  z-index: -2;

  pointer-events: none;
}


/* =========================================================
   HERO GRID
   ========================================================= */

.hero-grid {
  position: relative;
  z-index: 2;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--color-primary);

  font-family: var(--font-mono);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.hero .eyebrow::before {
  content: "";

  width: 26px;
  height: 2px;

  border-radius: var(--radius-pill);

  background:
    linear-gradient(
      90deg,
      var(--color-primary),
      var(--color-secondary)
    );
}


/* =========================================================
   HEADING
   ========================================================= */

.hero h1 {
  color: var(--color-text);

  font-family: var(--font-display);

  letter-spacing: -0.045em;
}


/* Brand emphasis */

.hero h1 em {
  position: relative;

  color: var(--color-primary);

  font-style: normal;

  white-space: nowrap;
}


/* Subtle underline */

.hero h1 em::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: -4px;

  height: 3px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      var(--color-secondary),
      var(--color-primary)
    );

  opacity: 0.25;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.hero .lede {
  color: var(--color-text-muted);

  max-width: 620px;

  line-height: 1.8;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
  position: relative;

  z-index: 3;

  perspective: 1400px;
}


/* =========================================================
   VISUAL GLOW
   ========================================================= */

.hero-visual::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(82, 113, 255, 0.16) 0%,
      rgba(82, 113, 255, 0.07) 35%,
      transparent 70%
    );

  filter: blur(20px);

  z-index: -1;

  pointer-events: none;
}


/* =========================================================
   WIREFRAME
   ========================================================= */

.wireframe-drawing {
  position: relative;

  padding: 18px;

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.96),
      rgba(255,255,255,0.78)
    );

  border: 1px solid rgba(0, 74, 173, 0.10);

  box-shadow:
    0 30px 70px rgba(11, 29, 58, 0.12),
    0 8px 25px rgba(82, 113, 255, 0.07);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transform:
    rotateY(-4deg)
    rotateX(2deg);

  transition:
    transform var(--t-slow) var(--ease),
    box-shadow var(--t-med) var(--ease);
}


.hero-visual:hover .wireframe-drawing {
  transform:
    rotateY(0deg)
    rotateX(0deg)
    translateY(-6px);

  box-shadow:
    0 40px 90px rgba(11, 29, 58, 0.16),
    0 12px 35px rgba(82, 113, 255, 0.10);
}


/* =========================================================
   SVG COLORS
   ========================================================= */

.wf-window {
  fill: rgba(255,255,255,0.75);

  stroke: rgba(0,74,173,0.20);

  stroke-width: 1.2;
}

.wf-chrome {
  stroke: rgba(0,74,173,0.10);
}

.wf-hero {
  fill: rgba(82,113,255,0.045);

  stroke: rgba(0,74,173,0.13);
}

.wf-path {
  fill: none;

  stroke: rgba(0,74,173,0.26);
}

.wf-fill {
  fill: rgba(0,74,173,0.13);
}

.wf-hero-img {
  stroke: var(--color-secondary);

  opacity: 0.65;
}

.wf-sun {
  fill: rgba(255,222,89,0.18);

  stroke: rgba(255,222,89,0.75);
}


/* =========================================================
   BROWSER DOTS
   ========================================================= */

.wf-dot-1 {
  fill: var(--color-accent);
}

.wf-dot-2 {
  fill: var(--color-brand-yellow);
}

.wf-dot-3 {
  fill: var(--color-brand-green);
}


/* =========================================================
   FLOATING CARDS
   ========================================================= */

.floating-card {
  position: absolute;

  display: flex;
  align-items: center;

  padding: 10px 14px;

  border-radius: var(--radius-sm);

  background: rgba(255,255,255,0.92);

  border: 1px solid var(--color-border);

  color: var(--color-text);

  font-family: var(--font-body);

  font-size: 10px;
  font-weight: 700;

  box-shadow: var(--shadow-md);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  z-index: 10;

  transition:
    transform var(--t-med) var(--ease);
}


/* Status indicator */

.floating-card .dot {
  width: 7px;
  height: 7px;

  margin-right: 8px;

  border-radius: 50%;

  background: var(--color-success);

  box-shadow:
    0 0 0 4px rgba(126,217,86,0.12);
}


/* Individual brand accents */

.card-1 {
  top: 10%;
}



/* Different status colors */

.card-2 .dot {
  background: var(--color-secondary);

  box-shadow:
    0 0 0 4px rgba(82,113,255,0.12);
}

.card-3 .dot {
  background: var(--color-primary);

  box-shadow:
    0 0 0 4px rgba(0,74,173,0.12);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.hero .btn-primary {
  background: var(--color-primary);

  color: #fff;

  border: 1px solid var(--color-primary);

  box-shadow:
    0 10px 25px rgba(0,74,173,0.20);

  transition:
    transform var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.hero .btn-primary:hover {
  background: var(--color-primary-soft);

  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(0,74,173,0.25);
}


.hero .btn-secondary {
  background: var(--color-surface);

  color: var(--color-primary);

  border: 1px solid var(--color-border);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.hero .btn-secondary:hover {
  border-color: rgba(0,74,173,0.25);

  transform: translateY(-2px);

  box-shadow: var(--shadow-md);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

  .hero {
    min-height: auto;

    padding: var(--space-9) 0 var(--space-8);
  }

  .hero-copy::before {
    display: none;
  }

  .hero-visual {
    margin-top: var(--space-7);
  }

  .wireframe-drawing {
    transform: none;
  }

  .hero::after {
    width: 450px;
    height: 450px;

    right: -220px;
  }

  .card-1 {
    right: 0;
  }

  .card-2 {
    left: 0;
  }
}


@media (max-width: 575px) {

  .hero {
    padding:
      var(--space-8)
      0
      var(--space-7);
  }

  .hero::before {
    background-size: 55px 55px;
  }

  .hero-visual::before {
    width: 350px;
    height: 350px;
  }

  .wireframe-drawing {
    padding: 10px;

    border-radius: var(--radius-md);
  }

  .floating-card {
    padding: 7px 9px;

    font-size: 8px;
  }

  .card-1 {
    top: 5%;
    right: -2px;
  }

  .card-2 {
    left: -2px;
  }

  .card-3 {
    right: 0;
  }
}
/* =========================================================
   GOO DESIGN — ART-DIRECTED MARQUEE
   ========================================================= */

.marquee {
  position: relative;
  isolation: isolate;

  overflow: hidden;

  height: 80px;

  display: flex;
  align-items: center;

  background: #003f94;

  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);

  box-shadow:
    0 18px 50px rgba(0,74,173,.16);
}


/* =========================================================
   BACKGROUND — DIAGONAL ARCHITECTURAL LINES
   ========================================================= */

.marquee::before {
  content: "";

  position: absolute;
  inset: -100%;

  background:
    repeating-linear-gradient(
      115deg,
      transparent 0,
      transparent 48px,
      rgba(255,255,255,.045) 49px,
      transparent 50px
    );

  transform: rotate(-5deg);

  opacity: .8;

  z-index: -3;

  pointer-events: none;
}


/* =========================================================
   LARGE ABSTRACT BLUEPRINT SHAPE
   ========================================================= */

.marquee::after {
  content: "";

  position: absolute;

  width: 720px;
  height: 720px;

  right: -160px;
  top: 50%;

  transform:
    translateY(-50%)
    rotate(24deg);

  border: 1px solid rgba(255,255,255,.10);

  border-radius: 46% 54% 48% 52%;

  box-shadow:
    0 0 0 45px rgba(255,255,255,.018),
    0 0 0 90px rgba(255,255,255,.012);

  z-index: -2;

  pointer-events: none;
}


/* =========================================================
   GHOST BRAND TYPOGRAPHY
   ========================================================= */

.marquee .marquee-content {
  position: relative;
}

.marquee .marquee-content::before {
  content: "DIGITAL • CREATIVE • DEVELOPMENT";

  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(-3deg);

  white-space: nowrap;

  font-family: var(--font-display);

  font-size: 92px;

  font-weight: 700;

  letter-spacing: -.07em;

  color: rgba(255,255,255,.035);

  pointer-events: none;

  z-index: -1;
}


/* =========================================================
   MARQUEE CONTENT
   ========================================================= */

.marquee-content {
  display: flex;
  align-items: center;

  width: max-content;

  white-space: nowrap;

  padding: 0px 0;

  animation:
    goo-marquee 30s linear infinite;

  will-change: transform;

  z-index: 5;
}


/* =========================================================
   ITEMS
   ========================================================= */

.trust-item {
  display: inline-flex;
  align-items: center;

  gap: 18px;

  margin-right: 58px;

  color: #fff;

  font-family: var(--font-display);

  font-size: 28px;

  font-weight: 600;

  letter-spacing: -.015em;
}


/* =========================================================
   DOT — CLEAN BRAND MARK
   ========================================================= */

.trust-item .dot {
  position: relative;

  width: 9px;
  height: 9px;

  flex: 0 0 9px;

  border-radius: 50%;

  background: var(--color-brand-yellow);
}


/* ring */

.trust-item .dot::after {
  content: "";

  position: absolute;

  inset: -5px;

  border: 1px solid rgba(255,255,255,.18);

  border-radius: 50%;
}


/* =========================================================
   BRAND COLOR ROTATION
   ========================================================= */

.trust-item:nth-child(2n) .dot {
  background: var(--color-secondary);
}

.trust-item:nth-child(3n) .dot {
  background: var(--color-brand-green);
}

.trust-item:nth-child(4n) .dot {
  background: var(--color-accent);
}


/* =========================================================
   THIN CENTER LINE
   ========================================================= */

.marquee .marquee-content::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  top: 50%;

  height: 1px;

  background: rgba(255,255,255,.08);

  z-index: -1;
}


/* =========================================================
   EDGE MASK
   ========================================================= */

.marquee {
  
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes goo-marquee {

  from {
    transform: translate3d(0,0,0);
  }

  to {
    transform: translate3d(-50%,0,0);
  }

}


/* =========================================================
   HOVER
   ========================================================= */

.marquee:hover .marquee-content {
  animation-play-state: paused;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

  .marquee {
    height: 82px;
  }

  .marquee-content {
    padding: 20px 0;

    animation-duration: 24s;
  }

  .trust-item {
    gap: 14px;

    margin-right: 38px;

    font-size: 12px;
  }

  .trust-item .dot {
    width: 7px;
    height: 7px;

    flex-basis: 7px;
  }

  .marquee .marquee-content::before {
    font-size: 58px;
  }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .marquee-content {
    animation: none;
  }
}

/* =========================================================
   GOO DESIGN — EXPERIENCE / STATS
   Modern Digital / Premium Tech
   ========================================================= */

.dark-section:has(.stats-grid) {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: 100px 0;

  background:
    radial-gradient(
      500px 400px at 50% 0%,
      rgba(125,217,90,0.64),
      transparent 70%
    ),
    radial-gradient(
      500px 500px at 100% 100%,
      rgba(0,74,173,0.18),
      transparent 70%
    ),
    #0b1628;

  color: #fff;
}


/* =========================================================
   TECH GRID
   ========================================================= */

.dark-section:has(.stats-grid)::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    );

  background-size: 64px 64px;

  mask-image:
    radial-gradient(
      ellipse at center,
      black 20%,
      transparent 80%
    );

  -webkit-mask-image:
    radial-gradient(
      ellipse at center,
      black 20%,
      transparent 80%
    );

  z-index: -3;
}


/* =========================================================
   SOFT CENTRAL LIGHT
   ========================================================= */

.dark-section:has(.stats-grid)::after {
  content: "";

  position: absolute;

  width: 700px;
  height: 250px;

  left: 50%;
  top: 45%;

  transform: translate(-50%, -50%);

  background:
    radial-gradient(
      ellipse,
      rgba(82,113,255,0.12),
      transparent 70%
    );

  filter: blur(20px);

  z-index: -2;

  pointer-events: none;
}


/* =========================================================
   HEADING
   ========================================================= */

.dark-section:has(.stats-grid) .section-head {
  position: relative;

  max-width: 700px;

  margin: 0 auto 60px;

  text-align: center;
}


.dark-section:has(.stats-grid) .eyebrow-dark {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  padding: 7px 11px;

  border: 1px solid rgba(82,113,255,0.25);

  border-radius: var(--radius-pill);

  background: rgba(82,113,255,0.07);

  color: #9eafff;

  font-family: var(--font-mono);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: .13em;

  text-transform: uppercase;
}


.dark-section:has(.stats-grid) .eyebrow-dark::before {
  content: "";

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--color-secondary);

  box-shadow:
    0 0 10px rgba(82,113,255,.7);
}


.dark-section:has(.stats-grid) .section-head h2 {
  margin-top: 18px;

  color: #fff;

  letter-spacing: -.035em;
}


/* =========================================================
   STATS CONTAINER
   ========================================================= */

.stats-grid {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;

  max-width: 1100px;

  margin: 0 auto;

  padding: 14px;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 22px;

  background:
    rgba(255,255,255,0.025);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.25);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   STAT CARD
   ========================================================= */

.stats-grid > div {
  position: relative;

  min-height: 210px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 32px;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.07);

  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.055),
      rgba(255,255,255,0.018)
    );

  transition:
    transform var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    background var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}


/* =========================================================
   CARD LIGHT
   ========================================================= */

.stats-grid > div::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -100px;
  top: -100px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(82,113,255,0.16),
      transparent 70%
    );

  opacity: .5;

  transition:
    opacity var(--t-med) var(--ease);
}


/* =========================================================
   STAT NUMBER
   ========================================================= */

.stats-grid .stat-num {
  position: relative;
  z-index: 2;

  color: #fff;

  font-family: var(--font-display);

  font-size: clamp(46px, 5vw, 68px);

  font-weight: 600;

  line-height: 1;

  letter-spacing: -.055em;

  text-shadow:
    0 8px 30px rgba(0,0,0,.25);
}


/* Individual brand accents */

.stats-grid > div:nth-child(1) .stat-num {
  color: var(--color-secondary);
}

.stats-grid > div:nth-child(2) .stat-num {
  color: #fff;
}

.stats-grid > div:nth-child(3) .stat-num {
  color: var(--color-brand-yellow);
}

.stats-grid > div:nth-child(4) .stat-num {
  color: var(--color-brand-green);
}


/* =========================================================
   LABEL
   ========================================================= */

.stats-grid .stat-label {
  position: relative;
  z-index: 2;

  margin-top: 16px;

  color: rgba(255,255,255,0.90);

  font-size: 22px;

  font-weight: 500;

  line-height: 1.5;
}


/* =========================================================
   TOP STATUS DOT
   ========================================================= */

.stats-grid > div::after {
  content: "";

  position: absolute;

  top: 22px;
  right: 22px;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--color-secondary);

  box-shadow:
    0 0 12px rgba(82,113,255,.55);
}


.stats-grid > div:nth-child(3)::after {
  background: var(--color-brand-yellow);

  box-shadow:
    0 0 12px rgba(255,222,89,.45);
}


.stats-grid > div:nth-child(4)::after {
  background: var(--color-brand-green);

  box-shadow:
    0 0 12px rgba(126,217,86,.45);
}


/* =========================================================
   HOVER
   ========================================================= */

.stats-grid > div:hover {
  transform: translateY(-6px);

  border-color:
    rgba(82,113,255,0.30);

  background:
    linear-gradient(
      145deg,
      rgba(82,113,255,0.10),
      rgba(255,255,255,0.025)
    );

  box-shadow:
    0 20px 45px rgba(0,0,0,0.25),
    0 0 30px rgba(82,113,255,0.05);
}


.stats-grid > div:hover::before {
  opacity: 1;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

  .stats-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 575px) {

  .dark-section:has(.stats-grid) {
    padding: 75px 0;
  }

  .dark-section:has(.stats-grid) .section-head {
    margin-bottom: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;

    gap: 10px;

    padding: 10px;

    border-radius: 17px;
  }

  .stats-grid > div {
    min-height: 155px;

    padding: 26px;
  }

  .stats-grid .stat-num {
    font-size: 50px;
  }
}
.page-header::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(0,74,173,0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(0,74,173,0.035) 1px,
      transparent 1px
    );

  background-size: 72px 72px;

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );

  opacity: .65;

  z-index: -3;

  pointer-events: none;
}

.page-header::after {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  right: -170px;
  top: -270px;

  border-radius: 50%;

  border: 1px solid rgba(82,113,255,0.12);

  box-shadow:
    0 0 0 45px rgba(82,113,255,0.018),
    0 0 0 90px rgba(0,74,173,0.012);

  z-index: -2;

  pointer-events: none;
}

/* =========================================================
   GOO DESIGN — FLOWING DIGITAL PATH
   ========================================================= */

.page-header .ph-anim {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;

  pointer-events: none;

  z-index: -1;

  opacity: .85;
}


/* =========================================================
   MAIN PATHS
   ========================================================= */

.page-header .ph-orbit {
  fill: none;

  stroke-linecap: round;

  stroke-linejoin: round;

  vector-effect: non-scaling-stroke;
}


/* Primary */

.page-header .ph-orbit-main {
  stroke: rgba(0,74,173,.20);

  stroke-width: 2;

  stroke-dasharray: 900 1800;

  animation:
    ph-flow 12s var(--ease) infinite;
}


/* Secondary */

.page-header .ph-orbit-secondary {
  stroke: rgba(82,113,255,.14);

  stroke-width: 1.5;

  stroke-dasharray: 600 1900;

  animation:
    ph-flow 16s var(--ease) infinite reverse;
}


/* Soft background path */

.page-header .ph-orbit-soft {
  stroke: rgba(0,74,173,.07);

  stroke-width: 1;

  stroke-dasharray: 500 2100;

  animation:
    ph-flow 20s linear infinite;
}


/* =========================================================
   ACCENT PATH
   ========================================================= */

.page-header .ph-orbit-accent {
  stroke: rgba(82,113,255,.22);

  stroke-width: 1.5;

  stroke-dasharray: 180 1600;

  animation:
    ph-flow-accent 9s linear infinite;
}


/* =========================================================
   FLOW ANIMATION
   ========================================================= */

@keyframes ph-flow {

  0% {
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dashoffset: -700;
  }

  100% {
    stroke-dashoffset: -1400;
  }

}


@keyframes ph-flow-accent {

  0% {
    stroke-dashoffset: 0;

    opacity: .15;
  }

  40% {
    opacity: .5;
  }

  100% {
    stroke-dashoffset: -1800;

    opacity: .05;
  }

}


/* =========================================================
   NODES
   ========================================================= */

.page-header .ph-node {
  stroke-width: 1;

  animation:
    ph-node-pulse 3s ease-in-out infinite;
}


.ph-node-blue {
  fill: var(--color-primary);

  stroke: rgba(0,74,173,.18);
}


.ph-node-yellow {
  fill: var(--color-brand-yellow);

  stroke: rgba(255,222,89,.25);

  animation-delay: .8s;
}


.ph-node-red {
  fill: var(--color-accent);

  stroke: rgba(255,23,23,.20);

  animation-delay: 1.5s;
}


@keyframes ph-node-pulse {

  0%,
  100% {
    opacity: .5;

    transform:
      scale(.8);

    transform-box: fill-box;

    transform-origin: center;
  }

  50% {
    opacity: 1;

    transform:
      scale(1.35);
  }

}


/* =========================================================
   CONNECTORS
   ========================================================= */

.page-header .ph-connector {
  stroke: rgba(0,74,173,.10);

  stroke-width: 1;

  stroke-dasharray: 3 5;

  animation:
    ph-connector-flow 4s linear infinite;
}


@keyframes ph-connector-flow {

  to {
    stroke-dashoffset: -16;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

  .page-header .ph-anim {
    width: 150%;
    left: -25%;

    opacity: .55;
  }

  .page-header .ph-orbit-main {
    stroke-width: 1.5;
  }

  .page-header .ph-node {
    transform-box: fill-box;
    transform-origin: center;
  }

}

/* =========================================================
   GOO DESIGN — PREMIUM PAGE HEADER
   Soft 3D Brand Atmosphere
   ========================================================= */

.page-header {
  position: relative;
  isolation: isolate;

  min-height: 390px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  padding-bottom: 78px;

  background:
    radial-gradient(
      circle at 78% 40%,
      rgba(82,113,255,.11),
      transparent 35%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(0,74,173,.06),
      transparent 35%
    ),
    var(--color-bg);

  border-bottom: 1px solid var(--color-border);
}


/* =========================================================
   SUBTLE GRID
   ========================================================= */

.page-header::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(0,74,173,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(0,74,173,.025) 1px,
      transparent 1px
    );

  background-size: 80px 80px;

  mask-image:
    radial-gradient(
      ellipse at 75% 45%,
      black,
      transparent 68%
    );

  -webkit-mask-image:
    radial-gradient(
      ellipse at 75% 45%,
      black,
      transparent 68%
    );

  z-index: -3;
}


/* =========================================================
   ART CONTAINER
   ========================================================= */

.page-header-art {
  position: absolute;

  width: 650px;
  height: 650px;

  right: -90px;
  top: -170px;

  z-index: -1;

  transform:
    rotate(-12deg);

  pointer-events: none;
}


/* =========================================================
   MAIN ORB
   ========================================================= */

.orb {
  position: absolute;

  display: block;

  border-radius: 50%;

  filter: blur(1px);

  will-change: transform;
}


/* Large soft base */

.orb-main {
  width: 500px;
  height: 500px;

  left: 70px;
  top: 70px;

  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.72) 16%,
      rgba(82,113,255,.20) 38%,
      rgba(0,74,173,.10) 58%,
      transparent 72%
    );

  box-shadow:
    inset -35px -40px 90px rgba(0,74,173,.10),
    0 30px 100px rgba(0,74,173,.08);

  animation:
    orb-float 9s ease-in-out infinite;
}


/* =========================================================
   BLUE LIGHT
   ========================================================= */

.orb-blue {
  width: 230px;
  height: 230px;

  left: 30px;
  top: 210px;

  background:
    radial-gradient(
      circle,
      rgba(82,113,255,.30),
      rgba(82,113,255,.08) 48%,
      transparent 72%
    );

  filter: blur(20px);

  animation:
    orb-blue-float 11s ease-in-out infinite;
}


/* =========================================================
   YELLOW BRAND LIGHT
   ========================================================= */

.orb-yellow {
  width: 100px;
  height: 100px;

  right: 100px;
  top: 80px;

  background:
    radial-gradient(
      circle,
      rgba(255,222,89,.34),
      rgba(255,222,89,.08) 55%,
      transparent 75%
    );

  filter: blur(15px);

  animation:
    orb-small-float 7s ease-in-out infinite;
}


/* =========================================================
   RED BRAND LIGHT
   ========================================================= */

.orb-red {
  width: 75px;
  height: 75px;

  right: 80px;
  bottom: 90px;

  background:
    radial-gradient(
      circle,
      rgba(255,23,23,.18),
      transparent 70%
    );

  filter: blur(16px);

  animation:
    orb-small-float 8s ease-in-out infinite reverse;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes orb-float {

  0%,
  100% {
    transform:
      translate3d(0,0,0)
      scale(1);
  }

  50% {
    transform:
      translate3d(12px,-10px,0)
      scale(1.025);
  }

}


@keyframes orb-blue-float {

  0%,
  100% {
    transform:
      translate3d(0,0,0);
  }

  50% {
    transform:
      translate3d(-18px,14px,0);
  }

}


@keyframes orb-small-float {

  0%,
  100% {
    transform:
      translate3d(0,0,0);
  }

  50% {
    transform:
      translate3d(8px,-12px,0);
  }

}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

  .page-header {
    min-height: 340px;

    padding-bottom: 60px;
  }

  .page-header-art {
    right: -230px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

  .page-header {
    min-height: 300px;

    padding-bottom: 45px;
  }

  .page-header-art {
    width: 450px;
    height: 450px;

    right: -220px;
    top: -100px;

    opacity: .75;
  }

  .orb-main {
    width: 350px;
    height: 350px;
  }

  .orb-blue {
    width: 160px;
    height: 160px;
  }

  .orb-yellow {
    width: 65px;
    height: 65px;
  }

  .orb-red {
    width: 50px;
    height: 50px;
  }

.header-actions .btn-secondary
{display: none;}
}
.mobile-nav .btn-primary
{color: #fff!important;}

/* =========================================================
   PROCESS — BLUE TIMELINE
   ========================================================= */

.process-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0;
  background: var(--color-primary);
  color: #fff;
}

/* subtle background depth */
.process-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -260px;
  right: -180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.process-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  bottom: -240px;
  left: -180px;
  border-radius: 50%;
  background: rgba(126, 217, 86, 0.08);
  pointer-events: none;
}

.process-section .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   HEADING
   ========================================================= */

.process-heading {
  max-width: 780px;
  margin-bottom: var(--space-8);
}

.process-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--space-3);
  color: var(--color-brand-yellow);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.process-heading .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.process-heading h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.process-timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0;
}

/* vertical connecting line */

.process-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 114px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,.30) 5%,
    rgba(255,255,255,.30) 95%,
    transparent
  );
}


/* =========================================================
   STEP
   ========================================================= */

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: var(--space-6);
}

.process-step:last-child {
  min-height: auto;
}


/* =========================================================
   MARKER
   ========================================================= */

.process-marker {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 8px;
  padding-right: 46px;
}

.process-number {
  position: absolute;
  left: 0;
  top: 13px;
  color: rgba(255,255,255,.55);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.process-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-size: 21px;
  box-shadow: 0 8px 25px rgba(0,0,0,.14);

  transition:
    transform var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    background var(--t-med) var(--ease),
    color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.process-step:hover .process-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
}


/* =========================================================
   CONTENT
   ========================================================= */

.process-content {
  position: relative;
  padding: 3px 0 var(--space-7);
}

.process-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 1px;
  background: rgba(255,255,255,.14);
}

.process-step:last-child .process-content::after {
  display: none;
}

.process-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-brand-yellow);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.process-content h4 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.process-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
}


/* =========================================================
   ICON COLORS
   ========================================================= */

.process-step:nth-child(1) .process-icon,
.process-step:nth-child(4) .process-icon {
  color: var(--color-primary);
}

.process-step:nth-child(2) .process-icon,
.process-step:nth-child(5) .process-icon {
  color: var(--color-secondary);
}

.process-step:nth-child(3) .process-icon,
.process-step:nth-child(6) .process-icon {
  color: var(--color-accent);
}

.process-step:nth-child(7) .process-icon {
  color: var(--color-success);
}


/* =========================================================
   HOVER
   ========================================================= */

.process-step:nth-child(1):hover .process-icon,
.process-step:nth-child(4):hover .process-icon {
  background: var(--color-primary-soft);
  border-color: #fff;
  color: #fff;
}

.process-step:nth-child(2):hover .process-icon,
.process-step:nth-child(5):hover .process-icon {
  background: var(--color-secondary);
  border-color: #fff;
  color: #fff;
}

.process-step:nth-child(3):hover .process-icon,
.process-step:nth-child(6):hover .process-icon {
  background: var(--color-accent);
  border-color: #fff;
  color: #fff;
}

.process-step:nth-child(7):hover .process-icon {
  background: var(--color-success);
  border-color: #fff;
  color: #fff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  .process-section {
    padding: var(--space-8) 0;
  }

  .process-heading {
    margin-bottom: var(--space-6);
  }

  .process-timeline::before {
    left: 29px;
    top: 25px;
    bottom: 25px;
  }

  .process-step {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: var(--space-3);
    min-height: 165px;
  }

  .process-marker {
    display: block;
    padding: 0;
  }

  .process-number {
    display: none;
  }

  .process-icon {
    width: 58px;
    height: 58px;
    font-size: 19px;
  }

  .process-content {
    padding-top: 2px;
    padding-bottom: var(--space-6);
  }

  .process-content h4 {
    font-size: 1.35rem;
  }

  .process-content p {
    font-size: 14px;
    line-height: 1.7;
  }
}