/* NNC Corporate — Chargeblast-inspired corporate one-pager */

:root {
  --bg: #fafbfc;
  --bg-soft: #f6f9fc;
  --surface: #ffffff;
  --text: #101828;
  --text-muted: #475467;
  --text-soft: #667085;
  --border: #eaecf0;
  --border-strong: #d0d5dd;
  --accent: #775bf3;
  --accent-hover: #6546e8;
  --accent-soft: rgba(119, 91, 243, 0.12);
  --accent-wash: rgba(173, 110, 253, 0.1);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1140px;
  --header-h: 68px;
  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-body: Inter, "Inter Fallback", -apple-system, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 0.62rem 1.1rem;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 0.95rem 1.4rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(119, 91, 243, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #98a2b3;
  background: #fcfcfd;
}

.link-quiet {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.link-quiet:hover {
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link:hover {
  color: var(--accent-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 24px;
  width: auto;
  max-width: min(200px, 52vw);
}

.brand-logo--footer {
  height: 24px;
  max-width: 200px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-desktop a {
  position: relative;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.15rem 0;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-image: radial-gradient(
    circle closest-side,
    currentColor 1px,
    transparent 1.15px
  );
  background-size: 5px 3px;
  background-repeat: repeat-x;
  background-position: left center;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.72;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--text);
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions .link-quiet {
  position: relative;
  padding: 0.15rem 0;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-actions .link-quiet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-image: radial-gradient(
    circle closest-side,
    currentColor 1px,
    transparent 1.15px
  );
  background-size: 5px 3px;
  background-repeat: repeat-x;
  background-position: left center;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.72;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.header-actions .link-quiet:hover::after,
.header-actions .link-quiet:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.25rem;
  border-top: 1px solid transparent;
  background: #fff;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition:
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    padding 0.35s ease,
    border-color 0.3s ease,
    visibility 0.35s;
}

.mobile-nav.is-open {
  max-height: 360px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 0.65rem 1.25rem 1.25rem;
  border-top-color: var(--border);
}

.mobile-nav a {
  padding: 0.85rem 0.4rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: none;
}

.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.04s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.08s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.12s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.16s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.2s; }

.mobile-nav .btn {
  margin-top: 0.5rem;
  justify-content: center;
}

.mobile-nav .btn-primary {
  color: #fff;
}

/* Vertical grid — custom dotted guides */
.vertical-grid {
  position: absolute;
  inset: 0;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  pointer-events: none;
  z-index: 1;
}

.vertical-grid .grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background-image: radial-gradient(
    circle closest-side,
    rgba(116, 98, 246, 0.28) 0%,
    rgba(116, 98, 246, 0.28) 72%,
    transparent 73%
  );
  background-size: 3px 10px;
  background-repeat: repeat-y;
  background-position: center top;
  opacity: 0.35;
}

.vertical-grid .grid-line:nth-child(1) { left: 0; }
.vertical-grid .grid-line:nth-child(2) { left: 25%; }
.vertical-grid .grid-line:nth-child(3) { left: 50%; }
.vertical-grid .grid-line:nth-child(4) { left: 75%; }
.vertical-grid .grid-line:nth-child(5) { left: 100%; }

.vertical-grid.soft .grid-line {
  background-image: radial-gradient(
    circle closest-side,
    rgba(92, 179, 237, 0.22) 0%,
    rgba(116, 98, 246, 0.2) 55%,
    transparent 73%
  );
  opacity: 0.28;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 82vh, 760px);
  padding: 4.5rem 0 3rem;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(173, 110, 253, 0.16) 0%,
      rgba(119, 91, 243, 0.08) 16%,
      rgba(119, 91, 243, 0) 38%,
      rgba(119, 91, 243, 0) 62%,
      rgba(119, 91, 243, 0.08) 84%,
      rgba(173, 110, 253, 0.16) 100%
    ),
    radial-gradient(50% 70% at 0% 100%, rgba(119, 91, 243, 0.1) 0%, rgba(119, 91, 243, 0) 55%),
    radial-gradient(50% 70% at 100% 100%, rgba(119, 91, 243, 0.1) 0%, rgba(119, 91, 243, 0) 55%);
  pointer-events: none;
}

.hero-sphere {
  position: absolute;
  right: max(-4%, calc(50% - 580px));
  top: 42%;
  transform: translateY(-50%);
  width: min(48vw, 560px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.96;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 480px;
}

.hero-copy {
  max-width: 560px;
  padding-block: 3.5rem 2rem;
  position: relative;
  z-index: 4;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero h1 .accent {
  background: linear-gradient(105deg, #775bf3 0%, #6d76ff 45%, #57c5e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Trust */
.trust {
  padding: 1rem 0 3.5rem;
  text-align: center;
}

.section-kicker {
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}

.trust-icons li {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 8px 18px rgba(16, 24, 40, 0.04);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.trust-icons img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Sections shared */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.section-title.centered {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* Services */
.services {
  position: relative;
  padding: 2rem 0 5rem;
  overflow: hidden;
}

.services .section-title {
  margin-bottom: 2.75rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.service-dots {
  display: none;
}

.pcard {
  border-radius: var(--radius-xl);
  padding: 0.7rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    linear-gradient(180deg, var(--g1) 0%, var(--g2) 100%);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.pcard-visual {
  flex: 1;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.glass-shape {
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(40, 20, 90, 0.15);
  position: relative;
  grid-area: 1 / 1;
  animation: glass-float 14s ease-in-out infinite;
  will-change: translate;
}

.glass-shape::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
}

.glass-a { transform: rotate(-8deg); border-radius: 50%; }
.glass-a::after { border-radius: 50%; inset: 22%; }
.glass-b {
  transform: rotate(12deg) skewX(-6deg);
  animation-duration: 16s;
  animation-delay: -5s;
}
.glass-c {
  transform: rotate(-4deg);
  border-radius: 28% 40% 32% 48%;
  animation-duration: 15s;
  animation-delay: -9s;
}

.pcard-visual-art {
  width: min(100%, 168px);
  height: auto;
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 24px rgba(40, 20, 90, 0.22));
  transform: translateY(-10px);
  animation: art-float 11s ease-in-out infinite;
  will-change: transform;
}

.pcard:nth-child(2) .pcard-visual-art {
  animation-duration: 12.5s;
  animation-delay: -3.5s;
}

.pcard:nth-child(3) .pcard-visual-art {
  animation-duration: 10.5s;
  animation-delay: -6s;
}

@keyframes glass-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 2px -4px;
  }
}

@keyframes art-float {
  0%,
  100% {
    transform: translate(0, -10px);
  }
  50% {
    transform: translate(-2px, -14px);
  }
}

.pcard-panel {
  background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
  border-radius: 22px;
  padding: 1.35rem 1.3rem 1.45rem;
}

.pcard-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  display: block;
}

.pcard h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.pcard p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pcard ul {
  display: grid;
  gap: 0.55rem;
}

.pcard li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(92, 179, 237, 0.18);
  box-shadow: inset 0 0 0 3px #7462f6;
}

/* Intelligent */
.intelligent {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.intelligent-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.intelligent-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.feature-block + .feature-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.feature-block h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.feature-block p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 42ch;
}

.intelligent-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.globe-video-box {
  width: min(100%, 520px);
  position: relative;
  z-index: 1;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: #07070c;
}

.globe-video {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}

.table-card {
  position: relative;
  z-index: 2;
  margin: -1.1rem auto 0;
  width: min(92%, 480px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 16px 40px rgba(16, 24, 40, 0.1);
}

.table-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats */
.stats {
  padding: 2rem 0 4.5rem;
}

.stats .section-title {
  margin-bottom: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Banner */
.banner {
  padding: 1rem 0 4rem;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 120% at 0% 50%, rgba(173, 110, 253, 0.18), transparent 55%),
    linear-gradient(120deg, #1a1333 0%, #2a1f55 45%, #1d2748 100%);
  color: #fff;
}

.banner-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 18ch;
  line-height: 1.2;
}

.banner-inner .btn-primary {
  flex-shrink: 0;
}

/* Capabilities */
.capabilities {
  padding: 2rem 0 5rem;
}

.capabilities-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.capabilities-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.capabilities-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  transition:
    opacity 0.65s ease,
    border-color 0.85s cubic-bezier(0.33, 0, 0.2, 1),
    box-shadow 0.85s cubic-bezier(0.33, 0, 0.2, 1),
    transform 0.85s cubic-bezier(0.33, 0, 0.2, 1);
}

.cap-card.reveal.is-visible:hover {
  border-color: #e6e2f5;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.045);
  transform: translateY(-1px);
}

.cap-card img,
.cap-card .cap-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: block;
}

.cap-card h3 {
  font-size: 1.08rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.cap-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  padding: 1rem 0 5rem;
  background: linear-gradient(180deg, transparent, #f4f2fb 40%, transparent);
}

.testimonials-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.testimonials-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.testimonials-intro p {
  color: var(--text-muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.t-card {
  --g1: #5cb3ed;
  --g2: #7462f6;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--g1) 32%, #eaecf0);
  border-radius: 20px;
  padding: 1.55rem 1.5rem 1.5rem;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--g1) 22%, transparent), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, color-mix(in srgb, var(--g2) 20%, transparent), transparent 50%),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--g1) 10%, #ffffff) 0%,
      #ffffff 42%,
      color-mix(in srgb, var(--g2) 12%, #ffffff) 100%
    );
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.03),
    0 12px 32px color-mix(in srgb, var(--g2) 10%, transparent);
  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.33, 0, 0.2, 1),
    box-shadow 0.85s cubic-bezier(0.33, 0, 0.2, 1),
    border-color 0.85s cubic-bezier(0.33, 0, 0.2, 1);
}

.t-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  opacity: 0.9;
}

.t-card::after {
  content: "“";
  position: absolute;
  top: 0.85rem;
  right: 1.15rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 600;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Beat .reveal.is-visible { transform: none } so hover can ease smoothly */
.t-card.reveal.is-visible:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--g2) 22%, #d0d5dd);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.03),
    0 12px 30px color-mix(in srgb, var(--g2) 12%, transparent);
}

.t-card > * {
  position: relative;
  z-index: 1;
}

.t-card p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.t-card footer {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--g2) 18%, #eaecf0);
}

.t-card strong {
  font-size: 0.95rem;
  background: linear-gradient(90deg, var(--g2), color-mix(in srgb, var(--g1) 70%, var(--g2)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.t-card span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

/* FAQ */
.faq {
  padding: 2rem 0 5rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.faq-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.faq-intro p {
  color: var(--text-muted);
  max-width: 34ch;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.15rem 1.1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.75rem 1rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.faq-item.is-open summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}

.faq-answer p {
  color: var(--text-muted);
  padding: 0 0 1.1rem;
  font-size: 0.98rem;
  max-width: 62ch;
}

/* Final CTA */
.final-cta {
  padding: 0 0 4rem;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 2.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(119, 91, 243, 0.1), transparent 50%),
    #fff;
}

.final-stat {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.final-stat span {
  color: var(--accent);
  font-weight: 700;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.final-lead {
  color: var(--text-muted);
  max-width: 48ch;
}

.contact-details {
  margin-top: 1.35rem;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-details strong {
  color: var(--text);
  font-weight: 600;
}

.contact-details a {
  color: var(--accent);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--accent-hover);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 34ch;
}

.site-footer h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer li a:hover {
  color: var(--accent);
}

.footer-legal {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.footer-legal p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 92ch;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  margin: 0;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Legal pages */
.legal-page {
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(92, 179, 237, 0.08), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(116, 98, 246, 0.08), transparent 55%),
    var(--bg);
}

.legal-content {
  max-width: 720px;
}

.legal-kicker {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  margin: 2rem 0 0.7rem;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-content ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-content a {
  color: var(--accent);
}

.legal-content a:hover {
  color: var(--accent-hover);
}

.legal-back {
  margin-top: 2.5rem;
  font-weight: 600;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.t-card.reveal,
.cap-card.reveal {
  transition:
    opacity 0.65s ease,
    transform 0.85s cubic-bezier(0.33, 0, 0.2, 1),
    box-shadow 0.85s cubic-bezier(0.33, 0, 0.2, 1),
    border-color 0.85s cubic-bezier(0.33, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-sphere {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(78vw, 420px);
    margin: 0 auto -1rem;
    order: -1;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-copy {
    max-width: 640px;
    padding-block: 1rem 2rem;
  }

  .services {
    overflow: visible;
  }

  .services .container {
    overflow: visible;
  }

  .service-carousel {
    position: relative;
    z-index: 2;
  }

  .service-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    padding-inline: 1.25rem;
    margin-inline: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service-grid .pcard {
    flex: 0 0 min(82vw, 420px);
    min-height: 0;
    scroll-snap-align: center;
  }

  .service-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
  }

  .service-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(116, 98, 246, 0.22);
    cursor: pointer;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
  }

  .service-dot.is-active {
    width: 22px;
    background: var(--accent);
  }

  .cap-grid,
  .testimonial-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intelligent-grid,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-inner,
  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-desktop,
  .header-actions .link-quiet,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .service-grid .pcard {
    flex-basis: min(86vw, 380px);
  }

  .cap-grid,
  .testimonial-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pcard,
  .cap-card,
  .t-card,
  .trust-icons li,
  .btn,
  .mobile-nav,
  .mobile-nav a,
  .nav-toggle span,
  .nav-desktop a,
  .nav-desktop a::after,
  .header-actions .link-quiet,
  .header-actions .link-quiet::after,
  .faq-answer,
  .faq-item summary::after,
  .service-dot {
    transition: none;
  }

  .glass-shape,
  .pcard-visual-art {
    animation: none;
  }
}
