/* =============================================================================================
   SofttechIA — styles.css
   Single stylesheet, organized by section. See main.js for behavior.
   ============================================================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --angle      { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* palette */
  --bg:        #0A0F1D;
  --bg-2:      #0E1424;
  --bg-3:      #131A2C;
  --panel:     #10182B;
  --ink:       #F1F4FA;
  --ink-soft:  #C7CEDE;
  --ink-mute:  #8590A8;
  --accent:    #2F6FFF;
  --accent-2:  #00D9FF;
  --gold:      #C5A059;
  --gold-soft: #E4C98A;
  --danger:    #ff6b6b;
  --line:      rgba(241,244,250,0.12);
  --line-soft: rgba(241,244,250,0.07);
  --glass:     rgba(255,255,255,0.055);
  --glass-2:   rgba(255,255,255,0.09);
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-gold:   linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);

  /* type */
  --display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: var(--grad-gold);
}

.section-title { font-size: clamp(1.9rem, 3.6vw, 2.85rem); margin-bottom: .9rem; }
.section-sub { font-size: 1.05rem; color: var(--ink-mute); max-width: 56ch; }
.section-head.is-centered .section-sub { margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* =============================================================
   4. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem;
  font-family: var(--display);
  font-weight: 600; font-size: .96rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn-primary {
  color: #04101f;
  background: var(--grad-accent);
  box-shadow: 0 12px 32px -10px rgba(47,111,255,.55), 0 2px 10px rgba(0,217,255,.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -12px rgba(47,111,255,.65), 0 6px 18px rgba(0,217,255,.3); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@supports not (backdrop-filter: blur(1px)) { .btn-ghost { background: rgba(20,26,44,0.86); } }
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(0,217,255,.45); background: rgba(255,255,255,.09); }

.btn-gold {
  color: #241a08;
  background: var(--grad-gold);
  box-shadow: 0 12px 30px -12px rgba(197,160,89,.5);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(197,160,89,.6); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Magnetic wrapper */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* Glass card */
.glass-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
  transition: transform .6s var(--ease-soft), border-color .5s var(--ease-out), box-shadow .6s var(--ease-soft);
}
@supports not (backdrop-filter: blur(1px)) {
  .glass-card { background: rgba(16,22,40,0.92); }
}
.glass-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .5s var(--ease-out);
  background: radial-gradient(280px circle at var(--mx,50%) var(--my,50%), rgba(0,217,255,.16), transparent 62%);
}
.glass-card:hover { border-color: rgba(0,217,255,.4); box-shadow: 0 30px 60px -24px rgba(0,10,30,.65); }
.glass-card:hover::before { opacity: 1; }

.badge-dot {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--ink-mute);
}
.badge-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0,217,255,.16);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .badge-dot::before { animation: none; } }

/* Nav link underline */
.nav-link {
  position: relative;
  font-size: .95rem; font-weight: 500;
  color: var(--ink-soft);
  padding-block: .3rem;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--grad-accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Form fields */
.field { position: relative; }
.field label {
  display: block; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-2);
  background: rgba(0,217,255,.05);
  outline: none;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238590A8'><path d='M5 7l5 5 5-5z'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row.is-2col { grid-template-columns: 1fr 1fr; } }

/* Icon tiles */
.icon-tile {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,111,255,.18), rgba(0,217,255,.1));
  border: 1px solid rgba(0,217,255,.25);
  color: var(--accent-2);
  flex: none;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.is-gold {
  background: linear-gradient(135deg, rgba(197,160,89,.22), rgba(228,201,138,.08));
  border-color: rgba(197,160,89,.35);
  color: var(--gold-soft);
}

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,15,29,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand em { font-style: normal; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-actions .btn { padding: .75rem 1.35rem; font-size: .88rem; display: none; }
@media (min-width: 720px) { .nav-actions .btn { display: inline-flex; } }

.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 10px; background: var(--glass); border: 1px solid var(--line);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger svg { width: 20px; height: 20px; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 220;
  background: rgba(9,13,24,0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.1rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.nav-mobile .btn { margin-top: .8rem; }
.nav-mobile-close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line);
}
.nav-mobile-close svg { width: 20px; height: 20px; }
body.nav-open { overflow: hidden; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,9,18,0.72) 0%, rgba(8,11,21,0.62) 38%, rgba(9,13,23,0.88) 78%, var(--bg) 100%),
    linear-gradient(100deg, rgba(6,9,18,0.55) 0%, rgba(6,9,18,0.15) 55%, rgba(6,9,18,0.55) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.hero-content { position: relative; max-width: 760px; padding-block: 2rem; }
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.hero-trust-item { display: flex; align-items: baseline; gap: .5rem; }
.hero-trust-item strong { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.hero-trust-item span { font-size: .85rem; color: var(--ink-mute); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--ink-mute); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
}
@media (min-width: 720px) { .scroll-cue { display: flex; } }
.scroll-cue-line { width: 1px; height: 34px; background: linear-gradient(var(--accent-2), transparent); animation: scrollCue 2.2s ease-in-out infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); transform-origin: top; opacity: 1; } 60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue-line { animation: none; } }

/* =============================================================
   7. Ambient mesh (used behind non-hero sections)
   ============================================================= */
.mesh-section { position: relative; isolation: isolate; }
.mesh-section::before {
  content: ""; position: absolute; inset: -15% -10%; z-index: -1;
  background:
    radial-gradient(38% 34% at var(--mesh-x) var(--mesh-y), rgba(47,111,255,.22), transparent 65%),
    conic-gradient(from var(--mesh-angle), rgba(0,217,255,.10), rgba(197,160,89,.07), rgba(47,111,255,.14), rgba(0,217,255,.10));
  filter: blur(90px) saturate(130%);
  opacity: .8;
  animation: meshShift 26s linear infinite;
  pointer-events: none;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 20%; --mesh-y: 30%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 78%; --mesh-y: 55%; }
  100% { --mesh-angle: 360deg; --mesh-x: 20%; --mesh-y: 30%; }
}
@media (prefers-reduced-motion: reduce) { .mesh-section::before { animation-duration: 60s; } }

/* =============================================================
   8. Services
   ============================================================= */
.services-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card { padding: 2.1rem 1.9rem; }
.service-card .icon-tile { margin-bottom: 1.4rem; }
.service-card h3 { font-size: 1.24rem; margin-bottom: .7rem; }
.service-card p { font-size: .96rem; color: var(--ink-mute); }
.service-card .card-index {
  position: absolute; top: 1.6rem; right: 1.8rem;
  font-family: var(--display); font-weight: 700; font-size: .8rem;
  color: var(--ink-mute); opacity: .5; letter-spacing: .05em;
}

/* =============================================================
   9. About / stats
   ============================================================= */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: 4.5rem; } }
.about-text p + p { margin-top: 1.1rem; }
.about-text p { font-size: 1.03rem; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.stat-card { padding: 1.7rem 1.5rem; text-align: left; }
.stat-value { font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--ink); display: flex; align-items: baseline; gap: .15rem; }
.stat-value .text-gradient { font-size: inherit; }
.stat-label { font-size: .84rem; color: var(--ink-mute); margin-top: .35rem; }

/* =============================================================
   10. Benefits
   ============================================================= */
.benefits-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card { padding: 2.1rem 1.8rem; }
.benefit-card .icon-tile { margin-bottom: 1.3rem; }
.benefit-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.benefit-card p { font-size: .93rem; color: var(--ink-mute); }

/* =============================================================
   11. Contact
   ============================================================= */
.contact-wrap {
  display: grid; gap: 0;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
@supports not (backdrop-filter: blur(1px)) { .contact-wrap { background: rgba(16,22,40,0.94); } }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 1fr 1fr; } }

.contact-form-col { padding: clamp(2rem, 4vw, 3.2rem); position: relative; }
.contact-info-col {
  padding: clamp(2rem, 4vw, 3.2rem);
  background: linear-gradient(165deg, rgba(47,111,255,.16), rgba(197,160,89,.07) 60%, transparent 100%);
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 960px) { .contact-info-col { border-top: 0; border-left: 1px solid var(--line-soft); } }

.contact-info-col h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.contact-info-col > p { color: var(--ink-mute); margin-bottom: 2rem; }
.contact-line { display: flex; align-items: center; gap: .9rem; padding-block: .85rem; border-top: 1px solid var(--line-soft); }
.contact-line:first-of-type { border-top: 0; }
.contact-line .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.contact-line .icon-tile svg { width: 19px; height: 19px; }
.contact-line strong { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; }
.contact-line span { font-size: .82rem; color: var(--ink-mute); }

.contact-social { display: flex; gap: .7rem; margin-top: 2rem; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--line);
  transition: transform .4s var(--ease-soft), border-color .35s;
}
.contact-social a:hover { transform: translateY(-3px); border-color: rgba(0,217,255,.4); }
.contact-social svg { width: 18px; height: 18px; color: var(--ink-soft); }

.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.6rem; }
.form-note { font-size: .8rem; color: var(--ink-mute); }

.form-success {
  position: absolute; inset: clamp(2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-soft);
}
.form-success.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.form-success .icon-tile { margin-bottom: 1.2rem; width: 52px; height: 52px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.form-success p { color: var(--ink-mute); margin-bottom: 1.4rem; }

.cta-form.is-sent { opacity: 0; pointer-events: none; }
.cta-form { transition: opacity .5s var(--ease-out); }
.btn-submit { position: relative; }
.btn-submit .btn-label { transition: opacity .25s; }
.btn-submit.is-sending .btn-label { opacity: 0; }
.btn-submit-spinner {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none;
}
.btn-submit.is-sending .btn-submit-spinner { opacity: 1; }
.btn-submit-spinner::after {
  content: ""; width: 18px; height: 18px;
  border: 2px solid rgba(4,16,31,.35); border-top-color: #04101f;
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   12. Final CTA band
   ============================================================= */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.6rem, 6vw, 4.4rem);
  text-align: center;
  background: linear-gradient(135deg, #0c1730 0%, #0a0f1d 55%, #14100a 130%);
  border: 1px solid var(--line);
}
.cta-band::before {
  content: ""; position: absolute; inset: -30% -10%; z-index: -1;
  background: radial-gradient(45% 45% at 50% 20%, rgba(0,217,255,.22), transparent 70%);
  filter: blur(60px);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 22ch; margin-inline: auto; margin-bottom: 1rem; }
.cta-band p { color: var(--ink-mute); max-width: 48ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { padding-block: 3.5rem 2.2rem; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; gap: 2.4rem; margin-bottom: 2.6rem; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand p { margin-top: 1rem; font-size: .92rem; color: var(--ink-mute); max-width: 32ch; }
.footer-col h4 { font-family: var(--display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.1rem; }
.footer-col ul li + li { margin-top: .7rem; }
.footer-col a { font-size: .92rem; color: var(--ink-soft); transition: color .3s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--ink-mute);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-legal a { color: var(--ink-mute); transition: color .3s; }
.footer-legal a:hover { color: var(--ink); }

/* =============================================================
   14. Reveal / tilt / scroll-progress (shared behavior classes)
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; } /* defensive: split-text handles its own reveal */

.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft);
}
.has-tilt:hover { transition-duration: .15s; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: var(--grad-accent);
  transform-origin: 0 0; transform: scaleX(0);
}

.split-word, .split-char { display: inline-block; will-change: transform, opacity; }

/* =============================================================
   15. Responsive helpers
   ============================================================= */
@media (max-width: 719px) {
  .hero-trust { gap: 1.2rem 1.6rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =============================================================
   16. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-media video { animation-play-state: paused; }
  .scroll-cue-line { animation: none; }
  .badge-dot::before { animation: none; }
  /* Do NOT disable: tilt, hover, fades, mesh, count-ups, buttons */
}
