﻿/* ============================================================
   GLOBAL STYLES — VisionForge Technologies
   Site-wide layout and structural styles.
   Homepage sections are NOT defined here.
   ============================================================ */

/* ─────────────────────────────────────────────
   DOCUMENT
───────────────────────────────────────────── */
html {
  background-color: var(--color-bg-base);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-content {
  flex: 1;
}

/* ─────────────────────────────────────────────
   SITE HEADER
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-header);
  background: transparent;
  border-bottom: 1px solid transparent;
  /* spring easing — feels physical, not mechanical */
  transition: background 300ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 300ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Container: precise 32px desktop padding, matches the page's 1280px
   design-system max-width (was 1360px — unintentional drift). */
.site-header .container {
  max-width: 1280px;
  padding-inline: max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right));
}

/* Scrolled: deep glass — richer than a flat color, not harsh */
.site-header--scrolled {
  background: rgba(4, 9, 20, 0.86);
  backdrop-filter: blur(32px) saturate(220%);
  -webkit-backdrop-filter: blur(32px) saturate(220%);
  border-bottom-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045),
              0 4px 16px rgba(0, 0, 0, 0.24),
              0 20px 48px rgba(0, 0, 0, 0.18);
}

/* Inner flex — precisely 86px, gap tuned for 1360px container */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 40px;
}

/* ─── Logo ─── */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  /* 1px optical nudge — PNG logos sit slightly high */
  margin-top: 1px;
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header__logo:hover {
  opacity: 0.76;
  filter: brightness(1.10);
}

.header__logo img {
  width: 196px;
  height: auto;
  display: block;
}

/* ─── Desktop Navigation ─── */
.header__nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  /* 2px so items feel distinct but not gapped */
  gap: 2px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  /* horizontal: 15px for text room / vertical: asymmetric for optical balance */
  padding: 9px 15px 11px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.014em;
  /* Slightly dimmer than pure white → cleaner active contrast */
  color: rgba(152, 165, 183, 1);
  text-decoration: none;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color  180ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              transform  200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active / hover underline — 2px gradient line, scaleX from left */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: linear-gradient(90deg, #1B8EF8 0%, #60B8FF 100%);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity  200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active: full underline, full opacity */
.nav__link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Active: white text, semibold */
.nav__link.is-active {
  color: rgba(238, 244, 252, 1);
  font-weight: 600;
}

/* Hover: near-white, subtle pill, 1px lift */
.nav__link:hover {
  color: rgba(228, 237, 250, 1);
  background: rgba(255, 255, 255, 0.048);
  transform: translateY(-1px);
}

/* Hover ghost underline (non-active) — partial, dim */
.nav__link:not(.is-active):hover::after {
  transform: scaleX(0.42);
  opacity: 0.26;
}

/* Keyboard focus — visible ring, no default outline */
.nav__link:focus-visible {
  outline: none;
  color: var(--color-text-primary);
  background: rgba(27, 142, 248, 0.09);
  box-shadow: 0 0 0 2px rgba(27, 142, 248, 0.60);
}

/* ─── Header Actions ─── */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ─── CTA Button — Pixel-perfect premium ─── */
.header__actions .btn--primary {
  height: 42px;
  padding: 0 22px;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  /* Deep, directional gradient — not flat, not garish */
  background: linear-gradient(
    148deg,
    #2B9DFF 0%,
    #1480E8 45%,
    #0B63C4 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  /* 4-layer shadow: focus ring + near + glow + inner highlight */
  box-shadow: 0 0 0 1px rgba(27, 142, 248, 0.32),
              0 1px 3px rgba(0, 0, 0, 0.28),
              0 4px 18px rgba(27, 142, 248, 0.28),
              0 1px 0 rgba(255, 255, 255, 0.16) inset;
  transition: transform    220ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow   220ms cubic-bezier(0.22, 1, 0.36, 1),
              background   220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header__actions .btn--primary:hover {
  background: linear-gradient(
    148deg,
    #40AAFF 0%,
    #1E91F8 45%,
    #1279E0 100%
  );
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 0 1px rgba(27, 142, 248, 0.52),
              0 2px 6px rgba(0, 0, 0, 0.22),
              0 10px 32px rgba(27, 142, 248, 0.44),
              0 1px 0 rgba(255, 255, 255, 0.20) inset;
  transform: translateY(-2px);
}

.header__actions .btn--primary:active {
  transform: translateY(0px);
  box-shadow: 0 0 0 1px rgba(27, 142, 248, 0.28),
              0 1px 3px rgba(0, 0, 0, 0.22),
              0 2px 8px rgba(27, 142, 248, 0.20),
              0 1px 0 rgba(255, 255, 255, 0.10) inset;
  /* Snap back fast */
  transition-duration: 90ms;
}

.header__actions .btn--primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 142, 248, 0.58),
              0 4px 18px rgba(27, 142, 248, 0.30),
              0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

/* Arrow moves right 3px on hover — confirms the direction */
.header__actions .btn--primary svg {
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header__actions .btn--primary:hover svg {
  transform: translateX(3px);
}

/* ─── Mobile Menu Toggle ─── */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 160ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.header__menu-toggle:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.16);
}

.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(196, 210, 228, 0.88);
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity  180ms cubic-bezier(0.16, 1, 0.3, 1),
              width    180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* X state — clean 45° cross */
.header__menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.header__menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Mobile Nav Overlay ───
   z-index sits above .scroll-progress (--z-header + 1) so the drawer and
   its backdrop are never outranked by the progress bar while open.
   touch-action:none stops the backdrop itself from forwarding drag
   gestures into a background scroll on touch browsers. */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) + 2);
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  touch-action: none;
  transition: opacity 280ms var(--ease-out),
              visibility 280ms var(--ease-out);
}

.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ─── Mobile Nav Drawer ─── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  padding-right: env(safe-area-inset-right);
  width: min(380px, 100vw);
  height: 100dvh;
  height: 100vh;
  z-index: calc(var(--z-header) + 2);
  background: var(--color-bg-base);
  border-left: 1px solid var(--color-border-subtle);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 280ms;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

/* Mobile nav header row */
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

.mobile-nav__logo img {
  /* Source PNG has a large transparent margin baked into its canvas, so
     constraining by height (like the desktop header used to) shrinks the
     actual visible logotype to near-illegibility. Width-based sizing
     (matching the header's approach) keeps it legible. */
  width: 130px;
  height: auto;
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background var(--duration-quick) var(--ease-out),
              color var(--duration-quick) var(--ease-out);
}

.mobile-nav__close:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--color-text-primary);
}

/* Mobile nav links */
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-4);
  gap: 2px;
  overflow-y: auto;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-2) var(--space-2-5);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border: none;
  background: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  min-height: 52px;
  text-align: left;
  transition: background var(--duration-quick) var(--ease-out),
              color var(--duration-quick) var(--ease-out),
              border-color var(--duration-quick) var(--ease-out);
  border-left: 2px solid transparent;
}

.mobile-nav__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
}

.mobile-nav__link.is-active {
  color: var(--color-text-primary);
  border-left-color: var(--color-brand-primary);
  background: var(--color-brand-faint);
}

/* Mobile nav CTA */
.mobile-nav__cta {
  padding: var(--space-4) var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   SITE FOOTER
───────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--color-bg-surface);
  /* gradient top border replaces plain 1px border */
  border-top: none;
}

/* Blue gradient top border — premium Vercel-style separator */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent  0%,
    rgba(27, 142, 248, 0.20) 15%,
    rgba(27, 142, 248, 0.55) 40%,
    rgba(77,  170, 255, 0.70) 50%,
    rgba(27, 142, 248, 0.55) 60%,
    rgba(27, 142, 248, 0.20) 85%,
    transparent 100%
  );
}

/* Soft ambient glow behind the gradient line */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: 560px;
  height: 160px;
  background: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    rgba(27, 142, 248, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.footer-main {
  padding-block: var(--space-9) var(--space-10);
}

.footer-grid {
  display: grid;
  /* minmax floors keep the Services column (longest labels, e.g.
     "Custom Web Development") from getting squeezed at the low end of
     the laptop breakpoint (1024px), where the fr-only split ran tight. */
  grid-template-columns: minmax(240px, 1.7fr) minmax(110px, 0.75fr) minmax(170px, 1.15fr) minmax(200px, 1.4fr);
  gap: var(--space-6);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-brand__logo {
  display: block;
  margin-top: -20px;
  transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out);
}

.footer-brand__logo img {
  width: 176px;
  height: auto;
  display: block;
}

.footer-brand__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  line-height: var(--leading-relaxed);
  max-width: 272px;
}

.footer-brand__cta {
  /* spacing handled by .footer-brand flex gap */
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-style: normal;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1-5);
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--color-brand-faint);
  border: 1px solid var(--color-border-brand);
  border-radius: var(--radius-sm);
  color: var(--color-brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
  transition: background var(--duration-quick) var(--ease-out),
              border-color var(--duration-quick) var(--ease-out);
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(27, 142, 248, 0.12);
  border-color: rgba(27, 142, 248, 0.35);
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  line-height: 1;
}

.footer-contact-value,
.footer-contact-phone {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--duration-quick) var(--ease-out);
}

.footer-contact-value:hover,
.footer-contact-phone:hover {
  color: var(--color-brand-light);
}

/* Footer columns */
.footer-col__title {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col__link {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
  display: inline-block;
  position: relative;
  /* Padding + negative margin expands the tap target without shifting
     the visible text position or the list's gap-based spacing. */
  padding-block: 5px;
  margin-block: -5px;
}

/* sliding underline */
.footer-col__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--color-brand-primary);
  transition: width 250ms var(--ease-out);
}

.footer-col__link:hover {
  color: var(--color-text-primary);
}

.footer-col__link:hover::after {
  width: 100%;
}

.footer-col__link:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Footer bottom bar */
.footer-bottom {
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-normal);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-1-5);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  /* Padding + negative margin expands the tap target without shifting
     the visible text position or the row's overall layout. */
  padding-block: 6px;
  margin-block: -6px;
  transition: color var(--duration-quick) var(--ease-out);
}

.footer-legal a:hover {
  color: var(--color-text-secondary);
}

/* Footer social links */
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: background 220ms var(--ease-out),
              border-color 220ms var(--ease-out),
              color 220ms var(--ease-out),
              transform 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out);
}

.footer-social__link:hover {
  border-color: rgba(27, 142, 248, 0.40);
  color: var(--color-brand-light);
  background: rgba(27, 142, 248, 0.10);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20),
              0 0 0 1px rgba(27, 142, 248, 0.15),
              0 0 18px rgba(27, 142, 248, 0.18);
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 3px;
}

/* ── Footer brand logo hover ── */
.footer-brand__logo:hover {
  opacity: 0.80;
  filter: brightness(1.10);
}

.footer-brand__logo:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* ── Working hours secondary line ── */
.footer-contact-hours {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  /* leading-snug (not leading-none) — this line wraps to 2 lines in the
     narrower mobile contact column, and line-height:1 read as cramped there. */
  line-height: var(--leading-snug);
  margin-top: 1px;
}

/* ── Legal separator dots ── */
.footer-legal__sep {
  color: var(--color-text-muted);
  opacity: 0.45;
  user-select: none;
  font-size: var(--text-xs);
}

/* ── Legal links focus ── */
.footer-legal a:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────
   PAGE HERO (generic — for inner pages)
───────────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--header-height) + var(--header-top-offset) + var(--space-12));
  padding-bottom: var(--space-12);
  text-align: center;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-4);
}

.page-hero__heading {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  max-width: 800px;
  margin-inline: auto;
}

.page-hero__body {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ─────────────────────────────────────────────
   SECTION DIVIDERS / BACKGROUNDS
───────────────────────────────────────────── */
.section-bg--surface {
  background: var(--color-bg-surface);
}

.section-bg--gradient {
  background: var(--gradient-surface);
}

.section-bg--glow {
  position: relative;
  isolation: isolate;
}

.section-bg--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-bg);
  pointer-events: none;
  z-index: var(--z-below);
}

/* ─────────────────────────────────────────────
   CTA SECTION (shared)
───────────────────────────────────────────── */
.cta-section {
  padding-block: var(--section-pad-y);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: var(--z-below);
}

.cta-section__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-4);
}

.cta-section__heading {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.cta-section__body {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   INLINE CODE / MONO
───────────────────────────────────────────── */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--color-brand-light);
  background: var(--color-brand-faint);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border-brand);
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

/* ─────────────────────────────────────────────
   SCROLL PROGRESS BAR
───────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-brand);
  z-index: calc(var(--z-header) + 1);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform var(--duration-fast) var(--ease-out);
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   BODY LOCK (when mobile menu / modal is open)
───────────────────────────────────────────── */
/* html also locked (not just body) — iOS Safari can still background-scroll
   past a fixed drawer when only body has overflow:hidden. */
html.is-locked,
body.is-locked {
  overflow: hidden;
}

/* ─────────────────────────────────────────────
   PAGE TRANSITIONS
───────────────────────────────────────────── */
.page-transition-enter {
  animation: fadeIn var(--duration-moderate) var(--ease-out) both;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Homepage only
   Two-column: 55% content / 45% CSS illustration
═══════════════════════════════════════════════════════════ */

/* ── Section layout ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Header clearance + vertical rhythm is owned entirely by
     .hero__container's own responsive padding-block (redeclared at
     every breakpoint below) — do not also pad here, or the two stack. */
}

.hero__container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-6);
  width: 100%;
  position: relative;
  z-index: var(--z-raised);
}

/* ── Background layers ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
  pointer-events: none;
  overflow: hidden;
}

/* Centre-bottom depth glow — adds atmospheric base */
.hero__bg::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 400px;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(27, 142, 248, 0.09) 0%,
    transparent 65%
  );
  filter: blur(64px);
  pointer-events: none;
}

/* Very subtle noise texture for surface depth */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__glow--primary {
  width: 800px;
  height: 640px;
  top: -200px;
  right: -40px;
  background: radial-gradient(ellipse at center,
    rgba(27, 142, 248, 0.22) 0%,
    rgba(27, 142, 248, 0.07) 42%,
    transparent 68%
  );
  filter: blur(72px);
}

.hero__glow--accent {
  width: 480px;
  height: 380px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(ellipse at center,
    var(--color-accent-violet-glow) 0%,
    transparent 65%
  );
  filter: blur(80px);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  /* Mask biased toward right column — grid breathes around illustration */
  mask-image: radial-gradient(ellipse 85% 75% at 55% 40%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 55% 40%, black 20%, transparent 72%);
}

/* ── Left column: content ── */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Trust badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  background: var(--color-brand-faint);
  border: 1px solid var(--color-border-brand);
  border-radius: var(--radius-full);
  color: var(--color-brand-light);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  box-shadow: 0 0 8px rgba(27, 142, 248, 0.90);
  flex-shrink: 0;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

/* Headline */
.hero__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin: 0;
  margin-top: 20px;
}

.hero__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Supporting text */
.hero__subtext {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0;
  margin-top: 12px;
}

/* CTA group */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: var(--space-3);
}

.hero__btn-icon {
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.hero__btn-primary:hover .hero__btn-icon {
  transform: translateX(4px);
}

.hero__proof {
  font-size: var(--text-sm);
  /* rgba(255,255,255,0.58), not --color-text-tertiary (0.45) — 0.45 fails WCAG AA
     4.5:1 on small viewports (measured 4.49:1); bumped locally rather than raising
     the shared variable, to avoid changing contrast elsewhere. */
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  margin-top: var(--space-3);
}

.hero__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero__btn-secondary:hover .hero__btn-icon {
  transform: translateX(4px);
}

/* Hero-specific button sizing — slightly taller + wider than default --lg */
.hero__btn-primary,
.hero__btn-secondary {
  height: 56px;
  padding-inline: 36px;
}

/* Tech chips */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.hero__chips-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-right: 4px;
  flex-shrink: 0;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--color-brand-faint);
  border: 1px solid rgba(27, 142, 248, 0.18);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  letter-spacing: 0.01em;
  transition:
    background var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
  cursor: default;
  user-select: none;
}

.tech-chip:hover {
  background: var(--color-brand-subtle);
  border-color: var(--color-border-brand-strong);
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-xs);
}

/* Scroll indicator */
.hero__scroll {
  display: flex;
  align-items: center;
  gap: var(--space-1-5);
  margin-top: var(--space-3);
}

.hero__scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
}

.hero__scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--color-brand-light);
  border-radius: var(--radius-full);
}

.hero__scroll-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
}

/* ── Right column: illustration scene ── */
.hero__visual {
  position: relative;
  height: 400px;
}

.hero__visual-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Ambient glow orb */
.hv-glow-orb {
  position: absolute;
  width: 440px;
  height: 440px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(27, 142, 248, 0.24) 0%,
    rgba(27, 142, 248, 0.09) 35%,
    transparent 65%
  );
  border-radius: 50%;
  filter: blur(52px);
  pointer-events: none;
  z-index: 0;
}

/* ── Laptop frame ── */
.hv-laptop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 340px;
}

.hv-laptop__lid {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #1C3050 0%, #102038 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(27, 142, 248, 0.09),
    0 10px 48px rgba(0, 0, 0, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.30);
}

.hv-laptop__lid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 40%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.18) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
}

.hv-laptop__camera {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A1525;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hv-laptop__camera::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #162640;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hv-laptop__screen {
  width: 100%;
  height: 220px;
  background: var(--color-bg-base);
  overflow: hidden;
}

.hv-laptop__base {
  width: 100%;
  height: 18px;
  background: linear-gradient(180deg, #1C3050 0%, #142540 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 0 3px 3px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hv-laptop__stand {
  width: 88px;
  height: 11px;
  background: linear-gradient(180deg, #142540 0%, #0D1E34 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  border-radius: 0 0 4px 4px;
}

/* ── Dashboard inside laptop screen ── */
.hv-dashboard {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: var(--font-sans);
}

.hv-dashboard__topbar {
  display: flex;
  align-items: center;
  gap: var(--space-1-5);
  height: 30px;
  padding-inline: 12px;
  background: #0A1525;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.hv-topbar__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hv-dot--red    { background: #FF5F57; }
.hv-dot--yellow { background: #FEBC2E; }
.hv-dot--green  { background: #28C840; }

.hv-topbar__url {
  font-size: 9px;
  /* 0.58, not 0.25 — 0.25 fails WCAG AA 4.5:1 at this font size (measured 2.24:1) */
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.01em;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hv-dashboard__body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Stats row */
.hv-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.hv-stat {
  background: rgba(27, 142, 248, 0.06);
  border: 1px solid rgba(27, 142, 248, 0.12);
  border-radius: 6px;
  padding: 7px 12px;
  text-align: center;
}

.hv-stat__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.hv-stat__unit {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-brand-light);
  margin-left: 1px;
}

.hv-stat__label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* Bar chart */
.hv-chart {
  flex-shrink: 0;
}

.hv-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 46px;
}

.hv-bar {
  flex: 1;
  background: rgba(27, 142, 248, 0.25);
  border-radius: 3px 3px 0 0;
}

.hv-bar--accent {
  background: var(--color-brand-primary);
  box-shadow: 0 0 10px rgba(27, 142, 248, 0.55);
}

/* Bar heights */
.hv-bar--h55 { height: 55%; }
.hv-bar--h72 { height: 72%; }
.hv-bar--h48 { height: 48%; }
.hv-bar--h88 { height: 88%; }
.hv-bar--h65 { height: 65%; }
.hv-bar--h82 { height: 82%; }
.hv-bar--h60 { height: 60%; }
.hv-bar--h76 { height: 76%; }

/* Status table */
.hv-status-table {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hv-status-table__row {
  display: grid;
  grid-template-columns: 1fr auto 40px;
  align-items: center;
  gap: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 9px;
}

.hv-status-table__row--head {
  /* 0.60, not 0.28 — 0.28 fails WCAG AA 4.5:1 at this font size (measured 2.42:1) */
  color: rgba(255, 255, 255, 0.60);
  font-weight: var(--font-semibold);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hv-status-table__row:not(.hv-status-table__row--head) {
  color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.025);
}

.hv-status-table__row span:last-child {
  text-align: right;
  color: rgba(255, 255, 255, 0.35);
}

.hv-badge--online {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: var(--color-success-bg);
  color: var(--color-success);
  border-radius: 3px;
  font-size: 8px;
  font-weight: var(--font-semibold);
}

.hv-badge--online::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── Floating pills ── */
.hv-pill {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(10, 21, 37, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 11px;
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.50),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.hv-pill--deploy {
  bottom: 16px;
  left: -14px;
  animation-name: float-sm;
  animation-duration: 5.2s;
  animation-delay: 0.5s;
}

.hv-pill--build {
  top: 16px;
  right: -14px;
  animation-name: float-sm;
  animation-duration: 3.3s;
  animation-delay: 1.9s;
}


/* ═══════════════════════════════════════════════════════════
   ABOUT PREVIEW SECTION
   Two-column: 52% content / 48% CSS illustration
═══════════════════════════════════════════════════════════ */

.about-preview {
  position: relative;
  padding-block: var(--space-6) var(--space-12);
  overflow: hidden;
  background: var(--color-bg-base);
}

/* Top edge: hairline + soft glow halo that bleeds upward */
.about-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 720px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(27, 142, 248, 0.18) 25%,
    rgba(96, 60, 220, 0.18) 75%,
    transparent
  );
}

/* Glow halo that sits just above the hairline — bleeds upward */
.about-preview::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 80px;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(27, 142, 248, 0.08) 0%,
    rgba(96, 60, 220, 0.06) 40%,
    transparent 70%
  );
  filter: blur(12px);
  pointer-events: none;
}

/* ── Background depth ── */
.about-preview__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-preview__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-preview__glow--left {
  width: 560px;
  height: 480px;
  top: -60px;
  left: -100px;
  background: radial-gradient(ellipse at center,
    var(--color-accent-violet-glow) 0%,
    transparent 65%
  );
  filter: blur(80px);
}

.about-preview__glow--right {
  width: 500px;
  height: 440px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(ellipse at center,
    rgba(27, 142, 248, 0.10) 0%,
    transparent 65%
  );
  filter: blur(72px);
}

/* ── Grid ── */
.about-preview__container {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Left column: content ── */
.about-preview__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Section label */
.about-preview__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-brand-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.about-preview__label-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Heading */
.about-preview__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin: 0;
  margin-top: 16px;
}

.about-preview__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Description */
.about-preview__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 440px;
  margin: 0;
  margin-top: 12px;
}

/* ── Stats row ── */
.about-stats {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  min-width: 0;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-stat__value {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  line-height: 1;
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.about-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ── Highlight cards: 2×2 grid ── */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1-5);
  margin-top: var(--space-3);
  width: 100%;
}

.about-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition:
    background var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
  cursor: default;
}

.about-card:hover {
  background: rgba(27, 142, 248, 0.05);
  border-color: rgba(27, 142, 248, 0.24);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22),
              0 0 0 1px rgba(27, 142, 248, 0.10);
}

.about-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-brand-faint);
  border: 1px solid rgba(27, 142, 248, 0.14);
  border-radius: var(--radius-lg);
  color: var(--color-brand-primary);
  flex-shrink: 0;
  transition:
    background var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.about-card:hover .about-card__icon {
  background: rgba(27, 142, 248, 0.10);
  box-shadow: 0 0 14px rgba(27, 142, 248, 0.18);
}

.about-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.about-card__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
}

.about-card__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-tertiary);
  margin: 0;
}

/* CTA */
.about-preview__cta {
  margin-top: var(--space-5);
  border-color: rgba(27, 142, 248, 0.35);
  color: var(--color-brand-light);
}

.about-preview__cta:hover {
  border-color: rgba(27, 142, 248, 0.65);
  background: rgba(27, 142, 248, 0.06);
  color: #fff;
}

.about-preview__cta-icon {
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.about-preview__cta:hover .about-preview__cta-icon {
  transform: translateX(4px);
}

/* ── Right column: illustration ── */
.about-preview__visual {
  position: relative;
  height: 520px;
  /* Aligns visual top with the h2 heading: label line box (--space-2-5)
     + heading's own margin-top (--space-2), expressed in tokens rather
     than a bare pixel value so it tracks the spacing scale. */
  margin-top: calc(var(--space-2-5) + var(--space-2));
  overflow: visible;
}

.about-preview__scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Ambient glow behind the panel */
.ap-glow-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(27, 142, 248, 0.16) 0%,
    rgba(27, 142, 248, 0.05) 45%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

/* ── Main panel ── */
.ap-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-12px);
  width: 300px;
  background: linear-gradient(160deg, #0F2035 0%, #09111D 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(27, 142, 248, 0.07),
    0 24px 64px rgba(0, 0, 0, 0.62),
    0 4px 12px rgba(0, 0, 0, 0.30);
  z-index: 2;
}

/* Top specular highlight */
.ap-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16) 40%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.16) 60%,
    transparent
  );
  z-index: 1;
}

/* Panel topbar */
.ap-panel__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding-inline: 12px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.ap-panel__title {
  flex: 1;
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ap-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: var(--font-semibold);
  color: var(--color-success);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.ap-panel__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 5px rgba(34, 197, 94, 0.70);
  flex-shrink: 0;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

/* Panel body */
.ap-panel__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Reusable section label inside panel */
.ap-section-label {
  font-size: 9px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.26);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 9px;
}

/* ── Phase tracker ── */
.ap-phases__dots {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.ap-phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.ap-phase-dot--done {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
}

.ap-phase-dot--active {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 10px rgba(27, 142, 248, 0.70);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

.ap-phase-line {
  flex: 1;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.10);
}

.ap-phase-line--done {
  background: var(--color-brand-primary);
}

.ap-phase-line--active {
  background: linear-gradient(90deg, var(--color-brand-primary), rgba(27, 142, 248, 0.35));
}

.ap-phases__labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.28);
}

.ap-phase-label--active {
  color: var(--color-brand-light);
  font-weight: var(--font-semibold);
}

/* Divider */
.ap-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin-inline: -16px;
}

/* ── Task list ── */
.ap-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.ap-task:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ap-task--done  { color: rgba(255, 255, 255, 0.52); }
.ap-task--active { color: rgba(255, 255, 255, 0.88); }

.ap-task__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ap-task__status--done {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: var(--color-success);
}

.ap-task__status--active {
  border: 1.5px solid var(--color-brand-primary);
  background: rgba(27, 142, 248, 0.12);
  animation: pulse 2s var(--ease-in-out) infinite;
}

.ap-task__status--pending {
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}

.ap-task__text {
  line-height: 1.3;
}

/* ── Progress bar ── */
.ap-progress__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 7px;
}

.ap-progress__value {
  color: var(--color-brand-light);
  font-weight: var(--font-semibold);
  font-size: 11px;
}

.ap-progress__track {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ap-progress__fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--color-brand-primary) 0%, #60CDFF 100%);
  border-radius: var(--radius-full);
}

/* ── Floating: Team card (top-left) ── */
.ap-team-card {
  position: absolute;
  top: 6%;
  left: -4%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: rgba(13, 25, 44, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: float-sm 4s var(--ease-in-out) infinite;
  animation-delay: 0.7s;
}

.ap-team__avatars {
  display: flex;
  align-items: center;
}

.ap-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #09111D;
  flex-shrink: 0;
}

.ap-avatar + .ap-avatar { margin-left: -7px; }

.ap-avatar--blue   { background: linear-gradient(135deg, #60CDFF 0%, #1B8EF8 100%); }
.ap-avatar--purple { background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%); }
.ap-avatar--green  { background: linear-gradient(135deg, #34D399 0%, #059669 100%); }

.ap-avatar--more {
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.55);
}

.ap-team__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ap-team__name {
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.86);
}

.ap-team__online {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
}

.ap-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.65);
  flex-shrink: 0;
}

/* ── Floating: Milestone card (bottom-right) ── */
.ap-milestone-card {
  position: absolute;
  bottom: 9%;
  right: -4%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: rgba(13, 25, 44, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  animation-delay: 1.8s;
}

.ap-milestone__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  flex-shrink: 0;
}

.ap-milestone__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ap-milestone__title {
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.86);
}

.ap-milestone__sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.36);
}

/* ── Status pill (right, mid-height) ── */
.ap-status-pill {
  position: absolute;
  top: 44%;
  right: -3%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(13, 25, 44, 0.88);
  border: 1px solid rgba(34, 197, 94, 0.20);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: var(--color-success);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(34, 197, 94, 0.08);
  white-space: nowrap;
}

.ap-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 7px rgba(34, 197, 94, 0.75);
  flex-shrink: 0;
  animation: pulse 2s var(--ease-in-out) infinite;
}


/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   Centered header + 3×2 card grid + bottom CTA block
═══════════════════════════════════════════════════════════ */

.services {
  position: relative;
  padding-block: var(--space-6) var(--space-12);
  overflow: hidden;
  background: var(--color-bg-base);
}

/* Top hairline separator */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 720px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 60, 220, 0.18) 25%,
    rgba(27, 142, 248, 0.18) 75%,
    transparent
  );
}

/* ── Background glows ── */
.services__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.services__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.services__glow--left {
  width: 640px;
  height: 520px;
  top: 5%;
  left: -140px;
  background: radial-gradient(ellipse at center,
    var(--color-brand-faint) 0%,
    transparent 65%
  );
  filter: blur(88px);
}

.services__glow--right {
  width: 560px;
  height: 480px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(ellipse at center,
    var(--color-accent-violet-glow) 0%,
    transparent 65%
  );
  filter: blur(88px);
}

/* ── Section header: centered, max 700px ── */
.services__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-brand-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.services__label-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-brand-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.services__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2);
}

/* Two candidate line breaks so the heading reads well at both sizes:
   mobile breaks after "Software Solutions" (avoids "For" wrapping onto
   its own orphan line), desktop breaks after "Designed" (the original,
   wider-screen split). Only one is active at a time — see responsive.css. */
.services__heading-break--mobile {
  display: none;
}

.services__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.services__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 600px;
}

/* ── Services grid: 3 columns desktop ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* ── Service card ── */
.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    transform     var(--duration-moderate) var(--ease-out),
    border-color  var(--duration-moderate) var(--ease-out),
    background    var(--duration-moderate) var(--ease-out),
    box-shadow    var(--duration-moderate) var(--ease-out);
}

/* Top specular highlight */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.07) 50%,
    transparent
  );
  transition: background var(--duration-moderate) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-brand);
  background: var(--color-bg-elevated);
  box-shadow:
    0 0 0 1px rgba(27, 142, 248, 0.10),
    0 20px 50px rgba(0, 0, 0, 0.40),
    0 0 40px rgba(27, 142, 248, 0.07);
}

.service-card:hover::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(27, 142, 248, 0.20) 50%,
    transparent
  );
}

/* Icon container */
.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-brand-faint);
  border: 1px solid rgba(27, 142, 248, 0.14);
  border-radius: var(--radius-xl);
  color: var(--color-brand-primary);
  margin-bottom: var(--space-3);
  flex-shrink: 0;
  transition:
    background   var(--duration-moderate) var(--ease-out),
    border-color var(--duration-moderate) var(--ease-out),
    transform    var(--duration-moderate) var(--ease-bounce),
    box-shadow   var(--duration-moderate) var(--ease-out);
}

.service-card:hover .service-card__icon {
  background: rgba(27, 142, 248, 0.12);
  border-color: rgba(27, 142, 248, 0.30);
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(27, 142, 248, 0.22);
}

/* Card title */
.service-card__title {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-1-5);
}

/* Card description — flex: 1 pushes footer to bottom */
.service-card__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
  flex: 1;
}

/* Card footer: benefit tag */
.service-card__footer {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card__benefit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-text-secondary);
  transition: color var(--duration-moderate) var(--ease-out);
}

.service-card__benefit-icon {
  color: var(--color-brand-primary);
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity var(--duration-moderate) var(--ease-out);
}

.service-card:hover .service-card__benefit {
  color: var(--color-brand-light);
}

.service-card:hover .service-card__benefit-icon {
  opacity: 1;
}

/* ── Bottom CTA block ── */
.services-cta {
  position: relative;
  padding: var(--space-8) var(--space-8);
  background: var(--color-bg-surface);
  border: 1px solid rgba(27, 142, 248, 0.12);
  border-radius: var(--radius-3xl);
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(27, 142, 248, 0.05),
    0 0 60px rgba(27, 142, 248, 0.05),
    0 32px 72px rgba(0, 0, 0, 0.32);
}

/* Top-center ambient glow orb */
.services-cta__glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  height: 220px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(27, 142, 248, 0.14) 0%,
    transparent 70%
  );
  filter: blur(24px);
  pointer-events: none;
}

/* Top hairline on CTA block */
.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  max-width: 380px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(27, 142, 248, 0.32) 50%,
    transparent
  );
}

.services-cta__inner {
  position: relative;
  z-index: 1;
}

/* Status badge */
.services-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-success);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.services-cta__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.70);
  flex-shrink: 0;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

.services-cta__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2);
}

.services-cta__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-6);
}

.services-cta__secondary {
  border-color: rgba(27, 142, 248, 0.35);
  color: var(--color-brand-light);
}

.services-cta__secondary:hover {
  border-color: rgba(27, 142, 248, 0.65);
  background: rgba(27, 142, 248, 0.06);
  color: var(--color-text-primary);
}


/* ══════════════════════════════════════════════════════════
   FEATURED PORTFOLIO SECTION
══════════════════════════════════════════════════════════ */

.portfolio {
  position: relative;
  padding-block: var(--space-6) var(--space-12);
  overflow: hidden;
  background: var(--color-bg-base);
}

/* hairline separator */
.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(640px, 80%);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.06) 70%,
    transparent 100%);
}

/* ── Ambient glows ── */
.portfolio__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.portfolio__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.portfolio__glow--left {
  width: 600px;
  height: 500px;
  top: 10%;
  left: -10%;
  background: radial-gradient(ellipse at center,
    var(--color-brand-faint) 0%,
    transparent 65%
  );
  filter: blur(90px);
}

.portfolio__glow--right {
  width: 600px;
  height: 500px;
  bottom: 5%;
  right: -10%;
  background: radial-gradient(ellipse at center,
    var(--color-accent-violet-glow) 0%,
    transparent 65%
  );
  filter: blur(90px);
}

/* ── Section Header ── */
.portfolio__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.portfolio__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
}

.portfolio__label-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-brand-primary);
  opacity: 0.7;
}

.portfolio__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  max-width: 640px;
}

.portfolio__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio__desc {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 520px;
}

/* ── Portfolio Grid ── */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* ══════════════════════════════════════════════════════════
   PF-CARD — Portfolio Case Study Card
══════════════════════════════════════════════════════════ */

.pf-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform 250ms var(--ease-out),
    border-color 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out);
  cursor: pointer;
}

.pf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 142, 248, 0.35);
  box-shadow:
    0 0 0 1px rgba(27, 142, 248, 0.10),
    0 20px 60px rgba(0, 0, 0, 0.30),
    0 0 40px rgba(27, 142, 248, 0.06);
}

.pf-card:focus-within {
  outline: 2px solid var(--color-brand-primary, #1B8EF8);
  outline-offset: 2px;
}

/* ── Mockup container ── */
.pf-card__mockup {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #08101a;
  height: 240px;
  transition: height 250ms var(--ease-out);
}

.pf-card:hover .pf-card__mockup .pfm {
  transform: scale(1.015);
}

/* ── Card body ── */
.pf-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  flex: 1;
}

/* ── Meta row: badge + arrow ── */
.pf-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Industry badges ── */
.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-2xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.pf-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.pf-badge--fintech {
  background: rgba(27, 142, 248, 0.12);
  color: #1B8EF8;
  border: 1px solid rgba(27, 142, 248, 0.20);
}

.pf-badge--healthcare {
  background: rgba(6, 182, 212, 0.12);
  color: #06B6D4;
  border: 1px solid rgba(6, 182, 212, 0.20);
}

.pf-badge--manufacturing {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.20);
}

.pf-badge--ecommerce {
  background: rgba(139, 92, 246, 0.12);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.20);
}

/* ── Arrow icon ── */
.pf-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--color-text-muted);
  transition:
    background 250ms var(--ease-out),
    border-color 250ms var(--ease-out),
    color 250ms var(--ease-out),
    transform 250ms var(--ease-out);
  position: relative;
  z-index: 2;
}

.pf-card:hover .pf-card__arrow {
  background: rgba(27, 142, 248, 0.12);
  border-color: rgba(27, 142, 248, 0.30);
  color: #1B8EF8;
  transform: translate(2px, -2px);
}

/* ── Stretched link ── */
.pf-card__link {
  font-family: 'Manrope', var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 250ms var(--ease-out);
}

.pf-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.pf-card:hover .pf-card__link {
  color: #1B8EF8;
}

.pf-card__link:focus-visible {
  outline: none;
}

/* ── Card description ── */
.pf-card__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
}

/* ── Tech stack tags ── */
.pf-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pf-tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: 0.04em;
  /* rgba(255,255,255,0.58), not --color-text-tertiary (0.45) — 0.45 fails WCAG AA
     4.5:1 against this component's background (measured 4.34:1); bumped locally
     rather than raising the shared variable, to avoid changing contrast elsewhere. */
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

/* ── Outcome strip ── */
.pf-card__outcome {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  /* rgba(255,255,255,0.58), not --color-text-tertiary (0.45) — 0.45 fails WCAG AA
     4.5:1 against this component's background (measured 4.47:1); bumped locally
     rather than raising the shared variable, to avoid changing contrast elsewhere. */
  color: rgba(255, 255, 255, 0.58);
}

.pf-outcome__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #22c55e;
}

/* ══════════════════════════════════════════════════════════
   BROWSER MOCKUP SYSTEM  (pfm = portfolio frame mockup)
══════════════════════════════════════════════════════════ */

.pfm {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: transform 350ms var(--ease-out);
  transform-origin: top center;
}

/* Per-project background tones */
.pfm--fintech      { background: #070f1a; }
.pfm--healthcare   { background: #070d14; }
.pfm--manufacturing { background: #0b0e14; }
.pfm--ecommerce    { background: #0a0714; }

/* ── Top bar (browser chrome) ── */
.pfm__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.pfm__dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.pfm__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pfm__dot--red    { background: #ff5f57; }
.pfm__dot--yellow { background: #febc2e; }
.pfm__dot--green  { background: #28c840; }

.pfm__url {
  flex: 1;
  font-size: 0.6rem;
  /* 0.62, not 0.30 — 0.30 fails WCAG AA 4.5:1 at this font size (measured ~2.7:1) */
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfm__badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  color: #22c55e;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.pfm__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 4px #22c55e;
}

/* ── Screen area ── */
.pfm__screen {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

/* ── Dashboard header row ── */
.pfm__dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pfm__dash-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.pfm__dash-btns {
  display: flex;
  gap: 4px;
}

.pfm__btn {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.pfm__btn--blue   { background: rgba(27,142,248,0.18); border-color: rgba(27,142,248,0.35); color: #1B8EF8; }
.pfm__btn--cyan   { background: rgba(6,182,212,0.18);  border-color: rgba(6,182,212,0.35);  color: #06B6D4; }
.pfm__btn--amber  { background: rgba(245,158,11,0.18); border-color: rgba(245,158,11,0.35); color: #F59E0B; }
/* color: #A78BFA, not #8B5CF6 — #8B5CF6 fails WCAG AA 4.5:1 on this background (measured 3.97:1) */
.pfm__btn--violet { background: rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.35); color: #A78BFA; }

/* ── Stat row ── */
.pfm__stats {
  display: flex;
  gap: 8px;
}

.pfm__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.pfm__stat-val {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pfm__stat-val--primary { color: #1B8EF8; }
.pfm__stat-val--green   { color: #22c55e; }
.pfm__stat-val--cyan    { color: #06B6D4; }
.pfm__stat-val--amber   { color: #F59E0B; }
.pfm__stat-val--red     { color: #ef4444; }
.pfm__stat-val--violet  { color: #8B5CF6; }

.pfm__stat-lbl {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.30);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Section label ── */
.pfm__section-lbl {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* 0.62, not 0.25 — 0.25 fails WCAG AA 4.5:1 at this font size (measured ~2.17:1) */
  color: rgba(255, 255, 255, 0.62);
}

/* ══════════════════════════════════════
   FINTECH — Area chart
══════════════════════════════════════ */
.pfm__chart-area {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-height: 0;
}

.pfm__chart-lbl {
  font-size: 0.53rem;
  /* 0.62, not 0.25 — 0.25 fails WCAG AA 4.5:1 at this font size (measured ~2.18:1) */
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.04em;
}

.pfm__area {
  position: relative;
  flex: 1;
  min-height: 40px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(34, 197, 94, 0.04);
}

.pfm__area-fill--green {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(34, 197, 94, 0.22) 0%,
    rgba(34, 197, 94, 0.06) 60%,
    transparent 100%
  );
  clip-path: polygon(
    0% 100%,
    0% 75%,
    5% 60%,
    12% 65%,
    20% 45%,
    30% 35%,
    40% 50%,
    52% 28%,
    62% 20%,
    72% 32%,
    82% 15%,
    92% 22%,
    100% 10%,
    100% 100%
  );
}

.pfm__area-line--green {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  clip-path: polygon(
    0% 75%,
    5% 60%,
    12% 65%,
    20% 45%,
    30% 35%,
    40% 50%,
    52% 28%,
    62% 20%,
    72% 32%,
    82% 15%,
    92% 22%,
    100% 10%,
    100% 11.5%,
    92% 23.5%,
    82% 16.5%,
    72% 33.5%,
    62% 21.5%,
    52% 29.5%,
    40% 51.5%,
    30% 36.5%,
    20% 46.5%,
    12% 66.5%,
    5% 61.5%,
    0% 76.5%
  );
  background: #22c55e;
  opacity: 0.8;
}

.pfm__alloc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pfm__alloc-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pfm__alloc-lbl {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
  width: 30px;
  flex-shrink: 0;
}

.pfm__alloc-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.pfm__alloc-bar {
  height: 100%;
  border-radius: 2px;
}

.pfm__alloc-bar--green { background: #22c55e; }
.pfm__alloc-bar--blue  { background: #1B8EF8; }

.pfm__alloc-val {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.40);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   HEALTHCARE — Appointment list
══════════════════════════════════════ */
.pfm__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pfm__list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}

.pfm__list-row--active {
  background: rgba(6, 182, 212, 0.07);
  border-color: rgba(6, 182, 212, 0.15);
}

.pfm__list-time {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255,255,255,0.50);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.pfm__list-name {
  flex: 1;
  font-size: 0.60rem;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfm__appt-chip {
  font-size: 0.53rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.30);
  flex-shrink: 0;
}

.pfm__appt-chip--in {
  background: rgba(6,182,212,0.15);
  color: #06B6D4;
}

/* ══════════════════════════════════════
   MANUFACTURING — Horizontal bars
══════════════════════════════════════ */
.pfm__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pfm__bar-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pfm__bar-lbl {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
  width: 32px;
  flex-shrink: 0;
}

.pfm__bar-track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.pfm__bar {
  height: 100%;
  border-radius: 3px;
}

.pfm__bar--amber { background: #F59E0B; }
.pfm__bar--red   { background: #ef4444; }

.pfm__bar-val {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
  width: 26px;
  text-align: right;
  flex-shrink: 0;
}

.pfm__bar-val--alert { color: #ef4444; }

/* ══════════════════════════════════════
   E-COMMERCE — Vertical bar chart
══════════════════════════════════════ */
.pfm__vchart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  flex: 1;
  min-height: 50px;
  padding-top: 6px;
}

.pfm__vc-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  height: 100%;
  gap: 4px;
}

.pfm__vc-bar {
  width: 100%;
  max-width: 20px;
  border-radius: 3px 3px 0 0;
  background: rgba(139,92,246,0.30);
  border: 1px solid rgba(139,92,246,0.25);
  transition: background 250ms;
}

.pfm__vc-bar--active { background: rgba(139,92,246,0.80); }

.pfm__vc-col--active .pfm__vc-lbl { color: #8B5CF6; font-weight: 700; }

.pfm__vc-lbl {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO BOTTOM CTA
══════════════════════════════════════════════════════════ */

.portfolio-cta {
  position: relative;
  margin-top: var(--space-10);
  padding: var(--space-6);
  background: var(--color-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-3xl);
  text-align: center;
  overflow: hidden;
}

.portfolio-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(27,142,248,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-cta__glow {
  position: absolute;
  top: -40px;
  left: 50%;
  translate: -50% 0;
  width: 320px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(27,142,248,0.12) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.portfolio-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 560px;
  margin-inline: auto;
}

.portfolio-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
  background: var(--color-brand-faint);
  border: 1px solid var(--color-border-brand);
  border-radius: var(--radius-full);
}

.portfolio-cta__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  box-shadow: 0 0 6px var(--color-brand-glow);
}

.portfolio-cta__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.portfolio-cta__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.portfolio-cta__actions {
  padding-top: var(--space-2);
}

.portfolio-cta__secondary {
  border-color: rgba(255,255,255,0.10);
  color: var(--color-text-secondary);
}

.portfolio-cta__secondary:hover {
  border-color: rgba(27, 142, 248, 0.50);
  color: var(--color-text-primary);
  background: rgba(27,142,248,0.06);
}


/* ══════════════════════════════════════════════════════════
   FINAL CALL TO ACTION SECTION
══════════════════════════════════════════════════════════ */

.cta-final {
  position: relative;
  padding-block: var(--space-6) var(--space-12);
  overflow: hidden;
  background: var(--color-bg-base);
}

/* Hairline separator at top */
.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(640px, 80%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 70%,
    transparent 100%
  );
}

/* ── Layered background ── */
.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Subtle grid texture */
.cta-final__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse 80% 75% at 50% 50%,
    black 10%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 75% at 50% 50%,
    black 10%,
    transparent 75%
  );
}

/* Glows */
.cta-final__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-final__glow--main {
  width: 800px;
  height: 600px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: radial-gradient(
    ellipse at center,
    rgba(27, 142, 248, 0.14) 0%,
    rgba(27, 142, 248, 0.06) 45%,
    transparent 70%
  );
  animation: ctaGlowPulse 5s ease-in-out infinite;
}

.cta-final__glow--left {
  width: 420px;
  height: 360px;
  bottom: 0;
  left: -8%;
  background: radial-gradient(circle, rgba(14, 114, 212, 0.09) 0%, transparent 70%);
  filter: blur(100px);
}

.cta-final__glow--right {
  width: 380px;
  height: 320px;
  top: 10%;
  right: -6%;
  background: radial-gradient(circle, rgba(77, 170, 255, 0.06) 0%, transparent 70%);
  filter: blur(100px);
}

@keyframes ctaGlowPulse {
  0%, 100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.10);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-final__glow--main {
    animation: none;
  }
}

/* ── Inner content: 800px max, centered ── */
.cta-final__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  max-width: 800px;
  margin-inline: auto;
}

/* ── Label with bilateral lines ── */
.cta-final__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-brand-light);
}

.cta-final__label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brand-primary)
  );
  opacity: 0.55;
  flex-shrink: 0;
}

/* Right-side line reversed */
.cta-final__label .cta-final__label-line:last-child {
  background: linear-gradient(
    90deg,
    var(--color-brand-primary),
    transparent
  );
}

.cta-final__label-text {
  white-space: nowrap;
}

/* ── Main heading ── */
.cta-final__heading {
  font-family: 'Manrope', var(--font-sans);
  font-size: clamp(2.25rem, 4.5vw, 3.375rem);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  max-width: 760px;
  text-wrap: balance;
}

.cta-final__heading-accent {
  background: var(--gradient-text-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ── Supporting description ── */
.cta-final__desc {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 620px;
}

/* Primary: inherits btn--primary styles, magnetic effect */
.cta-final__btn-primary {
  min-width: 192px;
  padding-inline: var(--space-5);
}

/* Secondary: shares .btn--outline's visual language, same accent used by
   services-cta__secondary / portfolio-cta__secondary */
.cta-final__btn-secondary {
  min-width: 228px;
  padding-inline: var(--space-5);
  border-color: rgba(27, 142, 248, 0.35);
  color: var(--color-brand-light);
}

.cta-final__btn-secondary:hover {
  border-color: rgba(27, 142, 248, 0.65);
  background: rgba(27, 142, 248, 0.06);
  color: var(--color-text-primary);
}

/* ── Trust message ── */
.cta-final__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

.cta-final__trust-icon {
  flex-shrink: 0;
  opacity: 0.45;
  color: var(--color-brand-primary);
}
