/* ===== KPM Technologies — light theme, navy + sky blue ===== */
:root {
  --navy: #1B3A5C;
  --navy-deep: #122A44;
  --blue: #56B8E6;
  --blue-dark: #2E9AD6;
  --blue-soft: #EAF6FC;
  --violet: #7B6CE8;
  --violet-deep: #35306E;
  --bg: #FFFFFF;
  --bg-alt: #F5FAFD;
  --text: #33475B;
  --muted: #64798D;
  --border: #E1ECF4;
  --red: #E15B5B;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 58, 92, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html { background: var(--bg); }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: transparent; /* the space canvas shows through; html paints the ground */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#spaceCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.accent {
  color: var(--blue-dark);
  background: linear-gradient(95deg, var(--blue-dark) 30%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--blue-soft), #F0EDFD);
  border: 1px solid rgba(86, 184, 230, 0.4);
  padding: 10px 22px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(86, 184, 230, 0.15);
}
.eyebrow {
  color: var(--blue-dark);
  background-clip: padding-box;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--violet));
  box-shadow: 0 0 8px rgba(86, 184, 230, 0.7);
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 58, 92, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(115deg, var(--navy-deep) 55%, var(--violet-deep));
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--navy);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(27, 58, 92, 0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 40px; width: auto; }
.brand-name { font-size: 1.08rem; font-weight: 500; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.brand-name b { font-weight: 800; }
.brand-name-light { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 0.94rem; color: var(--text); transition: color 0.15s; }
.nav-links a:hover { color: var(--blue-dark); }
.nav-links .nav-cta { color: #fff; margin-left: 6px; padding: 10px 20px; }
.nav-links .nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 15%, rgba(86, 184, 230, 0.16), transparent 65%),
    radial-gradient(500px 350px at 8% 90%, rgba(123, 108, 232, 0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero .lead { font-size: 1.13rem; color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
  margin-top: 34px;
}
.hero-points li {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-points li::before {
  content: "\2713";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--violet));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(86, 184, 230, 0.4);
}

.hero-visual { position: relative; display: flex; justify-content: center; }

.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark {
  width: 62%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(27, 58, 92, 0.18));
  transition: filter 0.4s ease;
}
/* after the crash, the logo keeps the meteor's power: a breathing glow */
.hero-mark.mark-powered { animation: markPower 3.2s ease-in-out infinite; }
@keyframes markPower {
  0%, 100% { filter: drop-shadow(0 24px 40px rgba(27, 58, 92, 0.18)) drop-shadow(0 0 14px rgba(86, 184, 230, 0.55)); }
  50% { filter: drop-shadow(0 24px 40px rgba(27, 58, 92, 0.18)) drop-shadow(0 0 30px rgba(86, 184, 230, 0.9)); }
}
.orbit-stage.powered::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -52%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 184, 230, 0.34), rgba(139, 124, 240, 0.12) 55%, transparent 72%);
  z-index: 1;
  animation: powerIn 0.8s ease-out, glowBreath 4s ease-in-out 0.8s infinite;
}
@keyframes powerIn {
  from { opacity: 0; transform: translate(-50%, -52%) scale(0.4); }
  to { opacity: 1; transform: translate(-50%, -52%) scale(1); }
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-mark { animation: floaty 6s ease-in-out infinite; }

.aura-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-wordmark {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1.8vw, 1.3rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
  background: linear-gradient(100deg, #2E9AD6, #56B8E6 30%, #7B6CE8 62%, #2E9AD6 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(86, 184, 230, 0.3));
  animation: wordShimmer 3.5s linear infinite;
}
.hero-wordmark b { font-weight: 800; }
.hero-wordmark::before,
.hero-wordmark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 54px;
  height: 2px;
}
.hero-wordmark::before { right: 103%; background: linear-gradient(90deg, transparent, var(--blue)); }
.hero-wordmark::after { left: 103%; background: linear-gradient(270deg, transparent, var(--blue)); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt {
  /* translucent tint that fades in and out so no seam line appears
     between sections; the space layer still shows through */
  background: linear-gradient(180deg,
    rgba(240, 248, 252, 0) 0,
    rgba(240, 248, 252, 0.65) 130px,
    rgba(240, 248, 252, 0.65) calc(100% - 130px),
    rgba(240, 248, 252, 0) 100%);
}
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(96, 82, 200, 0.13);
  border-color: var(--blue);
}
.card h3 { margin: 18px 0 10px; }
.card p { font-size: 0.93rem; color: var(--muted); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }

.live-chip {
  position: absolute;
  top: 22px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1E9E63;
  background: #E6F8EF;
  padding: 5px 11px;
  border-radius: 999px;
}
.live-chip .live-dot { width: 8px; height: 8px; margin-top: 0; }
.live-dot {
  flex-shrink: 0;
  margin-top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3CC98A;
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 201, 138, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(60, 201, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 201, 138, 0); }
}

/* ===== Split sections ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-flip .split-visual { order: -1; }
.split-copy p { color: var(--muted); margin-top: 18px; max-width: 520px; }
.split-copy .btn { margin-top: 28px; }

.check-list { list-style: none; margin-top: 22px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 0.97rem;
  color: var(--text);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 1px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.steps {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px 28px;
  max-width: 420px;
  margin: 0 auto;
}
.steps-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}
.step {
  position: relative;
  display: flex;
  gap: 15px;
  padding-bottom: 22px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  background: var(--border);
}
.step:last-child::before { display: none; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-dark), var(--violet));
  transform-origin: top;
  transform: scaleY(0);
}
.step.done::after { transform: scaleY(1); transition: transform 0.4s ease; }
.step.active::after { transform: scaleY(1); transition: transform 1.3s linear; }
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #AFC4D6;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.step.done .step-num { background: var(--navy); }
.step.active .step-num {
  background: linear-gradient(135deg, var(--blue-dark), var(--violet));
  transform: scale(1.12);
  box-shadow: 0 0 0 5px rgba(86, 184, 230, 0.22), 0 0 16px rgba(86, 184, 230, 0.55);
}
.step strong { display: block; font-size: 0.94rem; color: var(--navy); }
.step small { font-size: 0.85rem; color: var(--muted); }

.trace-stage {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.trace-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ===== Advertisers section atmosphere ===== */
#advertisers {
  position: relative;
  overflow: hidden;
}
#advertisers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 440px at 12% 18%, rgba(86, 184, 230, 0.16), transparent 65%),
    radial-gradient(540px 400px at 88% 80%, rgba(139, 124, 240, 0.14), transparent 65%),
    radial-gradient(rgba(27, 58, 92, 0.09) 1px, transparent 1.5px);
  background-size: auto, auto, 26px 26px;
  animation: mistDrift 14s ease-in-out infinite alternate;
  /* fade the grid and mist at the section edges so no line shows */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 150px, #000 calc(100% - 150px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 150px, #000 calc(100% - 150px), transparent);
}
@keyframes mistDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 44px 28px, -38px -22px, 0 0; }
}
#advertisers .container { position: relative; z-index: 1; }

/* ===== Interactive showcase (click a card, the phone screen changes) ===== */
.showcase { margin-top: 84px; }
.showcase-head { margin-bottom: 40px; }
.showcase-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: center;
}
.showcase-col { display: flex; flex-direction: column; gap: 18px; }
.showcase-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.hint-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--violet));
  animation: hintPulse 2s ease-out infinite;
}
@keyframes hintPulse {
  0% { box-shadow: 0 0 0 0 rgba(86, 184, 230, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(86, 184, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(86, 184, 230, 0); }
}

.showcase-card {
  position: relative;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 46px 22px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.showcase-card::after {
  content: "\2192";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-dark);
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.showcase-card:hover::after { transform: translateY(-50%) translateX(5px); opacity: 1; }
.showcase-card h4 { color: var(--navy); font-size: 1.02rem; margin-bottom: 6px; }
.showcase-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }
.showcase-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.showcase-card:not(.active) { animation: cardInvite 3.4s ease-in-out infinite; }
.showcase-card:nth-child(2):not(.active) { animation-delay: 1.2s; }
@keyframes cardInvite {
  0%, 100% { border-color: var(--border); box-shadow: 0 0 0 rgba(86, 184, 230, 0); }
  50% { border-color: rgba(86, 184, 230, 0.65); box-shadow: 0 8px 20px rgba(86, 184, 230, 0.18); }
}
.showcase-card.active {
  border-color: var(--blue-dark);
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(86, 184, 230, 0.2), 0 14px 34px rgba(96, 82, 200, 0.14);
}
.showcase-card.active::after { content: "\2713"; color: #1E9E63; opacity: 1; }
.showcase-card.active h4 {
  background: linear-gradient(95deg, var(--blue-dark), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.phone2 {
  position: relative;
  width: 270px;
  background: var(--navy-deep);
  border-radius: 40px;
  padding: 11px;
  box-shadow: 0 30px 60px rgba(18, 42, 68, 0.28);
}
.phone2-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: var(--navy-deep);
  border-radius: 0 0 13px 13px;
  z-index: 2;
}
.phone2-screen {
  position: relative;
  height: 480px;
  border-radius: 30px;
  background: linear-gradient(180deg, #F7FBFE, #E8F5FC);
  overflow: hidden;
}
.p-screen {
  position: absolute;
  inset: 0;
  padding: 46px 20px 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.p-screen.active { opacity: 1; transform: none; pointer-events: auto; }

.ps-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.ps-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin: 14px 0 6px;
}
.ps-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.ps-chip.ok { background: #E6F8EF; color: #1E9E63; }
.ps-chip.bad { background: #FDEEEE; color: var(--red); }
.ps-bar { height: 8px; border-radius: 999px; background: rgba(27, 58, 92, 0.08); overflow: hidden; }
.ps-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.ps-foot {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 20px;
}
.ps-score {
  width: 84px;
  height: 84px;
  margin: 6px auto 8px;
  border-radius: 50%;
  border: 4px solid var(--blue);
  box-shadow: 0 0 22px rgba(86, 184, 230, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
}
.ps-score-label { text-align: center; font-size: 0.74rem; color: var(--muted); margin-bottom: 10px; }
.ps-canvas { display: block; width: 100%; height: 280px; }
.ps-foot b { color: var(--navy); }

.kpi-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 8px;
}
.kpi-item {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 16px rgba(27, 58, 92, 0.08);
}
.k-name { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.k-hit {
  font-size: 0.66rem;
  font-weight: 800;
  color: #1E9E63;
  background: #E6F8EF;
  padding: 3px 9px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.kpi-item.done .k-hit { opacity: 1; transform: scale(1); }
.k-track {
  grid-column: 1 / 3;
  height: 7px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
}
.k-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 8px rgba(86, 184, 230, 0.6);
  transition: width 1s ease;
}
.kpi-item.fill .k-track i { width: 100%; }

.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 22px 0 10px;
}
.f-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 6px;
}
.f-stage .f-val { display: flex; align-items: center; gap: 6px; }
.f-stage b { font-size: 1.02rem; font-weight: 800; }
.f-stage i {
  font-style: normal;
  font-weight: 800;
  color: #B9F3D3;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.f-stage.done i { opacity: 1; }
.f1 { width: 100%; background: linear-gradient(90deg, #2E9AD6, #56B8E6); clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%); }
.f2 { width: 82%; background: linear-gradient(90deg, #4B8FD9, #7B6CE8); clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%); }
.f3 { width: 64%; background: linear-gradient(90deg, #5F7FD9, #8B7CF0); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }

.deals { position: relative; height: 252px; margin-top: 12px; }
.deal-card {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 82%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(27, 58, 92, 0.14);
  transition: transform 0.55s ease, opacity 0.55s ease;
}
.deal-card b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(95deg, var(--blue-dark), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.deal-card span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.deal-card.pos0 { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; }
.deal-card.pos1 { transform: translate(-50%, calc(-50% - 32px)) scale(0.92); opacity: 0.55; z-index: 2; }
.deal-card.pos2 { transform: translate(-50%, calc(-50% - 58px)) scale(0.85); opacity: 0.3; z-index: 1; }

.dial-wrap { position: relative; height: 280px; }
.dial-wrap .dial { height: 100%; }
.dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.dial-center b { font-size: 1.02rem; font-weight: 800; color: var(--navy); }
.dial-center small {
  color: var(--blue-dark);
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 4px;
  font-size: 0.78rem;
}
.ps-more { font-weight: 700; color: var(--blue-dark); }
.ps-avatar {
  width: 78px;
  height: 78px;
  margin: 10px auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--violet-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(27, 58, 92, 0.3);
}
.ps-avatar svg { width: 40px; height: 40px; }
.ps-online {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E9E63;
  margin-bottom: 14px;
}
.ps-online .live-dot { width: 9px; height: 9px; margin: 0; }

@media (max-width: 980px) {
  .showcase-grid { grid-template-columns: 1fr; justify-items: center; }
  .showcase-phone { order: -1; }
  .showcase-col { width: 100%; max-width: 440px; }
}

.geo-reach {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.globe-wrap { display: flex; justify-content: center; }
#globeCanvas { width: min(340px, 90%); aspect-ratio: 1 / 1; }
.geo-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.geo-copy p:last-child { color: var(--muted); margin-top: 14px; max-width: 480px; }

@media (max-width: 980px) {
  .geo-reach { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .geo-copy p:last-child { margin-left: auto; margin-right: auto; }
}

.btn-glow {
  background: linear-gradient(120deg, var(--navy) 45%, var(--violet-deep));
  animation: ctaGlow 2.8s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 6px 18px rgba(27, 58, 92, 0.25), 0 0 14px rgba(86, 184, 230, 0.25); }
  50% { box-shadow: 0 6px 18px rgba(27, 58, 92, 0.25), 0 0 30px rgba(86, 184, 230, 0.55), 0 0 44px rgba(139, 124, 240, 0.3); }
}

/* ===== Verticals: light section with the Earth scene flowing past its edge ===== */
#verticals {
  position: relative;
  overflow: visible;
}
#verticalsSpace {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 260px); /* the Earth continues into the next section */
  pointer-events: none;
  z-index: 1;
}
#verticals .container { position: relative; z-index: 2; }
#contact .container { position: relative; z-index: 2; }

/* ===== Verticals: calm floating tiles, no press affordance ===== */
.v-card {
  cursor: default;
  animation: floaty 6s ease-in-out infinite;
}
.v-card:nth-child(3n + 2) { animation-delay: -2.1s; }
.v-card:nth-child(3n) { animation-delay: -4.2s; }
.v-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

/* ===== Verticals logo tile ===== */
.v-logo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: default;
  background: radial-gradient(circle at 50% 40%, rgba(86, 184, 230, 0.16), rgba(240, 248, 252, 0.55) 72%);
  border-color: rgba(86, 184, 230, 0.45);
  animation: floaty 6s ease-in-out infinite;
}
/* the logo tile is decoration, not a button: no press affordance on hover */
.v-logo:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(86, 184, 230, 0.45);
}
.v-logo::before {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 184, 230, 0.3), transparent 70%);
  animation: logoHalo 4s ease-in-out infinite;
}
@keyframes logoHalo {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.v-logo img {
  position: relative;
  z-index: 1;
  width: 148px;
  filter: drop-shadow(0 12px 22px rgba(27, 58, 92, 0.24)) drop-shadow(0 0 16px rgba(86, 184, 230, 0.4));
}
.v-logo-name { position: relative; z-index: 1; }
.v-logo-name {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(100deg, #2E9AD6, #56B8E6 30%, #7B6CE8 62%, #2E9AD6 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wordShimmer 3.5s linear infinite;
}
.v-logo-name b { font-weight: 800; }

/* ===== Contact ===== */
.contact-split { align-items: start; }
.contact-line { margin-top: 30px; }
.contact-label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.contact-mail { font-size: 1.25rem; font-weight: 700; color: var(--blue-dark); }
.contact-mail:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
}
.contact-form label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--blue); background: #fff; }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-align: center; min-height: 1.2em; }

/* ===== Footer ===== */
.footer {
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 110'%3E%3Cg fill='none' stroke='%238B7CF0' stroke-opacity='.09' stroke-width='14'%3E%3Cpolyline points='10 12 60 58 110 12'/%3E%3Cpolyline points='10 52 60 98 110 52'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -90px center;
  background-size: 380px auto;
  color: #B9CBDC;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 48px 24px 28px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { height: 46px; background: #fff; border-radius: 10px; padding: 5px; }
.footer-brand p { font-size: 0.85rem; margin-top: 3px; color: #8FA8BF; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px;
  font-size: 0.82rem;
  color: #7A93AB;
}

/* ===== Intro overlay ===== */
#intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #04080f;
  transition: opacity 0.75s ease;
}
#intro canvas { display: block; width: 100%; height: 100%; }
#intro.intro-hide { opacity: 0; pointer-events: none; }
body.intro-lock { overflow: hidden; }

.intro-wordmark {
  position: absolute;
  left: 50%;
  top: 76%;
  transform: translateX(-50%);
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: clamp(1.2rem, 3.2vw, 2.4rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.55em;
  white-space: nowrap;
  background: linear-gradient(100deg, #2E9AD6, #56B8E6 25%, #EAF9FF 48%, #8B7CF0 66%, #2E9AD6 88%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  filter: blur(10px) drop-shadow(0 0 18px rgba(86, 184, 230, 0.5));
  transition: opacity 1.1s ease, letter-spacing 1.1s ease, filter 1.1s ease;
}
.intro-wordmark b { font-weight: 800; }
.intro-wordmark::before,
.intro-wordmark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 74px;
  height: 2px;
}
.intro-wordmark::before {
  right: 102%;
  background: linear-gradient(90deg, transparent, #56B8E6);
}
.intro-wordmark::after {
  left: 102%;
  background: linear-gradient(270deg, transparent, #56B8E6);
}
.intro-wordmark.show {
  opacity: 1;
  letter-spacing: 0.18em;
  filter: blur(0) drop-shadow(0 0 18px rgba(86, 184, 230, 0.5));
  animation: wordShimmer 3s linear infinite;
}
@keyframes wordShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

#introSkip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
}
#introSkip:hover { color: #fff; background: rgba(86, 184, 230, 0.18); }

/* ===== Contact chat links (Telegram + Teams) ===== */
.chat-links {
  display: flex;
  gap: 34px;
  margin-top: 30px;
}
.chat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}
.chat-link:hover .chat-bubble { transform: scale(1.09); }
.chat-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transition: transform 0.15s ease;
  animation: floaty 4.5s ease-in-out infinite;
}
.chat-bubble svg { width: 32px; height: 32px; fill: #fff; }
.bubble-tg {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  animation: tgPulse 2.6s ease-out infinite, floaty 4.5s ease-in-out infinite;
}
.bubble-tg svg { margin: 2px 2px 0 0; }
.bubble-teams {
  background: linear-gradient(135deg, #7B83EB, #4B53BC);
  animation: teamsPulse 2.6s ease-out infinite, floaty 4.5s ease-in-out infinite;
  animation-delay: 1.3s;
}
@keyframes tgPulse {
  0% { box-shadow: 0 10px 26px rgba(34, 158, 217, 0.45), 0 0 0 0 rgba(42, 171, 238, 0.4); }
  70% { box-shadow: 0 10px 26px rgba(34, 158, 217, 0.45), 0 0 0 16px rgba(42, 171, 238, 0); }
  100% { box-shadow: 0 10px 26px rgba(34, 158, 217, 0.45), 0 0 0 0 rgba(42, 171, 238, 0); }
}
@keyframes teamsPulse {
  0% { box-shadow: 0 10px 26px rgba(75, 83, 188, 0.45), 0 0 0 0 rgba(123, 131, 235, 0.4); }
  70% { box-shadow: 0 10px 26px rgba(75, 83, 188, 0.45), 0 0 0 16px rgba(123, 131, 235, 0); }
  100% { box-shadow: 0 10px 26px rgba(75, 83, 188, 0.45), 0 0 0 0 rgba(123, 131, 235, 0); }
}

/* ===== Cookie consent ===== */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 950;
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy-deep);
  color: #C7D6E4;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 18px 44px rgba(18, 42, 68, 0.4);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: 0.88rem; line-height: 1.5; margin: 0; }
.cookie-bar strong { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 9px 18px; font-size: 0.85rem; }
.cookie-actions .btn-ghost { background: transparent; color: #C7D6E4; border-color: rgba(255, 255, 255, 0.25); }
.cookie-actions .btn-ghost:hover { color: #fff; border-color: var(--blue); }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .cookie-actions { justify-content: center; }
}

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 30px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-flip .split-visual { order: 0; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(27, 58, 92, 0.1);
    padding: 10px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-links .nav-cta { margin: 14px 0 0; text-align: center; border-bottom: none; }
}

@media (max-width: 720px) {
  .hero { padding: 60px 0 80px; }
  .orbit-stage { max-width: 330px; }
  .section { padding: 68px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fc-1 { left: -2%; }
  .fc-2 { right: -2%; }
}
