/* ==========================================================
   AIsthetic — Portfolio One-Pager
   Stil: dunkles, modernes Tech/SaaS-Design mit Blau-Verlauf
   ========================================================== */

:root {
  --bg: #07050f;
  --bg-elevated: #0c091a;
  --surface: #130f24;
  --surface-2: #18132c;
  --border: rgba(255,255,255,0.09);
  --blue: #2f7bf6;
  --blue-light: #7ec8ff;
  --blue-dark: #155fc9;
  --cyan: #38e0ff;
  --text: #f3f1fb;
  --text-muted: #a79fc2;
  --text-faint: #6f6690;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0,0,0,0.5);
  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Ambient hexagon-grid page background ---------- */
#hex-grid-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}
#page-content {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 84px 0; position: relative; }

.section-tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 52px;
}

.title-nowrap {
  white-space: nowrap;
  font-size: clamp(0.95rem, 4vw, 2.2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: var(--sans);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 10px 30px rgba(47,123,246,0.4);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(47,123,246,0.55); }

.btn-outline {
  background: rgba(255,255,255,0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue-light); background: rgba(126,200,255,0.06); }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
}

.logo { display: flex; align-items: center; justify-self: start; }
.logo-wordmark {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(47,123,246,0.45));
}

.nav-links { display: flex; align-items: center; justify-self: center; gap: 28px; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 76px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 0%, rgba(7,5,15,0.75) 40%, rgba(7,5,15,0.55) 70%, rgba(7,5,15,0.8) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}
.glow-1 {
  width: 480px; height: 480px;
  background: var(--blue);
  top: -120px; left: -100px;
}
.glow-2 {
  width: 420px; height: 420px;
  background: var(--cyan);
  bottom: -140px; right: -80px;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-eyebrow {
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text);
}
.grad-text {
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-stats { position: relative; padding-top: 28px; }
.hero-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
}
.stat-cycle-wrap { position: relative; height: 64px; }
.stat-cycle-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.stat-cycle-item.active {
  opacity: 1;
  pointer-events: auto;
}
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.stat-num-accent {
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 0.84rem; color: var(--text-faint); line-height: 1.3; }

.stat-cycle-progress {
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
  margin-top: 4px;
}
.stat-cycle-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.stat-cycle-progress-bar.filling {
  animation: statCycleFill 2.8s linear;
}
@keyframes statCycleFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Hero visual: live stats panel */
.hero-visual { position: relative; display: flex; justify-content: center; }

.stat-panel {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  box-shadow: 0 25px 60px rgba(47,123,246,0.18), var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56,224,255,0.16), transparent 70%);
  pointer-events: none;
}
.stat-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}
.stat-panel-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-weight: 700;
}
.stat-panel-live {
  font-size: 0.66rem;
  color: var(--blue-light);
  white-space: nowrap;
}
.stat-panel-hero {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.stat-panel-bignum {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}
.stat-panel-bigtext {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.35;
}
.stat-panel-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}
.stat-bar-label {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.3;
}
.stat-bar-value { color: var(--text); font-weight: 700; flex-shrink: 0; }
.stat-bar-track {
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.stat-panel-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  position: relative;
}
.stat-panel-ms {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}
.stat-panel-footer span:last-child { font-size: 0.75rem; color: var(--text-faint); }

.ai-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* Floating stat badges over the hero mockup */
.float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.float-badge .stat-num { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.float-badge .stat-label { font-size: 0.72rem; color: var(--text-faint); }
.stat-highlight-text {
  font-weight: 800;
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.float-badge-1 { top: -22px; left: -28px; }

/* ---------- Showcase (Vorher/Nachher) ---------- */
.showcase .section-tag,
.showcase .section-title,
.showcase .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.showcase-tag {
  font-family: var(--display);
  letter-spacing: 5px;
}
.showcase-tag::before { content: "[ "; color: var(--cyan); }
.showcase-tag::after { content: " ]"; color: var(--cyan); }

.showcase-frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 14px;
}
.frame-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--cyan);
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(56,224,255,0.5));
}
.frame-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.showcase-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(47,123,246,0.15), var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--surface);
}
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  pointer-events: none;
  animation: scanMove 4.5s ease-in-out infinite;
}
@keyframes scanMove {
  0% { top: 0%; opacity: 0; }
  8% { opacity: 0.6; }
  50% { top: 100%; opacity: 0.6; }
  58% { opacity: 0; }
  100% { top: 0%; opacity: 0; }
}
.showcase-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.showcase-item { display: flex; flex-direction: column; align-items: center; }
.showcase-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47,123,246,0.18), rgba(56,224,255,0.12));
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.showcase-icon svg { width: 22px; height: 22px; }
.showcase-item h3 { font-family: var(--display); font-size: 1.02rem; margin-bottom: 6px; color: var(--text); }
.showcase-item p { color: var(--text-muted); font-size: 0.87rem; max-width: 240px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 0 0 40px;
}
.trust-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(19,15,36,0.94), rgba(19,15,36,0.94)),
    url("https://d8j0ntlcm91z4.cloudfront.net/user_3HmRDT260M0SJIOlzzM81ZJarxr/hf_20260813_152436_4a69a790-ba8b-42fb-a3bd-6776ac6f2c6d.png") center/cover;
}
.trust-item {
  padding: 32px 26px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47,123,246,0.2), rgba(56,224,255,0.15));
  border: 1px solid rgba(126,200,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item h3 { font-family: var(--display); font-size: 1.02rem; margin-bottom: 8px; }
.trust-item p { color: var(--text-muted); font-size: 0.87rem; }

/* ---------- Style spread (fanned card collage) ---------- */
.style-spread { padding-bottom: 40px; }
.style-spread .section-tag,
.style-spread .section-title,
.style-spread .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.style-spread .section-tag { margin-bottom: 4px; }
.style-spread .section-title { margin-bottom: 6px; }
.style-spread .section-intro { margin-bottom: 0; }
.card-spread {
  position: relative;
  height: 400px;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 0;
}
.spread-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 380px;
  aspect-ratio: 4 / 3;
  z-index: var(--z);
  transform-origin: top center;
  transform: translateX(-50%) rotate(var(--angle)) translateY(clamp(70px, 8vw, 150px));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.spread-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.spread-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(to top, rgba(5,4,10,0.9), transparent);
  color: var(--text);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.spread-card:hover {
  z-index: 20;
  transform: translateX(-50%) rotate(var(--angle)) translateY(calc(50px + clamp(70px, 8vw, 150px))) scale(1.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(126,200,255,0.35);
}
.spread-card:hover .spread-card-label {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text);
}
.check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(47,123,246,0.15);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-icon svg { width: 14px; height: 14px; }

.services-visual { position: relative; padding: 30px 10px 10px 30px; }
.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stack-back {
  position: absolute;
  top: 0; left: 0;
  width: 82%;
  aspect-ratio: 4 / 3;
  opacity: 0.55;
  transform: rotate(-4deg);
  background:
    radial-gradient(circle at 25% 30%, rgba(47,123,246,0.4), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(56,224,255,0.32), transparent 55%),
    var(--surface-2);
}
.stack-front {
  position: relative;
  width: 88%;
  margin-left: auto;
  transform: rotate(3deg);
}
.stack-front img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Process ---------- */
.process {
  background:
    linear-gradient(rgba(12,9,26,0.92), rgba(12,9,26,0.92)),
    url("https://d8j0ntlcm91z4.cloudfront.net/user_3HmRDT260M0SJIOlzzM81ZJarxr/hf_20260813_152350_5be990cd-a379-4456-af0d-4e33e3769b18.png") center/cover;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { position: relative; padding-left: 4px; }
.process-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
  margin-bottom: 12px;
}
.process-step h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(47,123,246,0.08), var(--surface) 40%);
  box-shadow: 0 0 0 1px rgba(47,123,246,0.25), var(--shadow);
}
.price-badge {
  position: absolute;
  top: -14px; left: 28px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.price-card h3 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 6px; }
.price-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 22px; min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.price .amount { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--text); }
.amount-onrequest { font-size: 1.35rem; white-space: nowrap; }
.price .currency { font-size: 0.95rem; color: var(--text-muted); }
.price .period { font-size: 0.85rem; color: var(--text-faint); width: 100%; }
.price-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 60px;
  align-items: center;
}
.avatar-ring {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 4px;
  margin: 0 auto;
}
.avatar-circle {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; }
.about-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.about-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about-badge svg { width: 15px; height: 15px; color: var(--blue-light); flex-shrink: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 0 0 110px; }
.cta-box {
  background:
    linear-gradient(135deg, rgba(47,123,246,0.22), rgba(56,224,255,0.16)),
    linear-gradient(rgba(19,15,36,0.75), rgba(19,15,36,0.75)),
    url("https://d8j0ntlcm91z4.cloudfront.net/user_3HmRDT260M0SJIOlzzM81ZJarxr/hf_20260813_152350_3f856b29-6a28-409c-bf00-808d7f72063f.png") center/cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-left { display: flex; align-items: center; gap: 22px; }
.cta-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(47,123,246,0.4);
}
.cta-icon svg { width: 26px; height: 26px; color: #fff; }
.cta-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 6px; }
.cta-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--text); }
.cta-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cta-right p { color: var(--text-muted); font-size: 0.92rem; max-width: 260px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-elevated); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-text p { color: var(--text-muted); margin-bottom: 26px; max-width: 420px; }
.contact-email { display: flex; align-items: center; gap: 14px; }
.info-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
}
.info-icon svg { width: 19px; height: 19px; }
.contact-email a { color: var(--text); font-weight: 600; font-size: 1.02rem; }
.contact-email a:hover { color: var(--blue-light); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; color: var(--text-faint); }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.92rem;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ec8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.form-group select option { background: var(--surface); color: var(--text); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue-light);
}

/* ---------- Footer ---------- */
footer {
  padding: 44px 0 28px;
  text-align: center;
  border-top: 1px solid var(--border);
}
footer .footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
footer .footer-logo { display: flex; justify-content: center; }
footer .footer-logo .logo-wordmark { height: 22px; }
footer p { color: var(--text-muted); font-size: 0.88rem; }
footer .footer-note { margin-top: 6px; color: var(--text-faint); font-size: 0.82rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header gets a bit more solid once you've scrolled past the hero */
header.scrolled {
  background: rgba(5, 7, 13, 0.92);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Hero glows drift slightly with scroll (set via JS custom property) */
.glow-1, .glow-2 {
  transform: translateY(calc(var(--parallax, 0px)));
}
.glow-2 { transform: translateY(calc(var(--parallax, 0px) * -1)); }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .glow-1, .glow-2 { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 70px; }
  .float-badge { display: none; }
  .trust-box { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .services-grid { grid-template-columns: 1fr; }
  .services-visual { order: -1; margin-bottom: 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .cta-box { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-right { align-items: flex-start; text-align: left; }
}

@media (max-width: 760px) {
  .navbar { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .nav-links { justify-content: center; gap: 14px 20px; }
  .trust-box, .process-grid, .showcase-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 56px; }
  section { padding: 56px 0; }
  .card-spread {
    height: auto;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 8px 4px 20px;
    scroll-snap-type: x mandatory;
    margin-top: 32px;
  }
  .spread-card {
    position: static;
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    transform: none !important;
  }
  .spread-card-label { opacity: 1; transform: none; }
}
