/* KYNTRAX — landing piloto (identidade original, azul tech) */
:root {
  --bg: #070d18;
  --bg-2: #0b1524;
  --panel: #0e1a2c;
  --line: #1b2c44;
  --text: #e8eff7;
  --muted: #97aac2;
  --blue: #4fa3ff;
  --blue-2: #2f7de1;
  --cyan: #6fd6ff;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue));
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

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

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.lead { color: var(--muted); font-size: 1.08rem; max-width: 46rem; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem clamp(1rem, 5vw, 3rem);
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.nav-k {
  width: 2.2rem; height: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--blue-2);
  background: radial-gradient(circle at 35% 30%, rgba(111, 214, 255, 0.18), rgba(47, 125, 225, 0.10));
  box-shadow: 0 0 14px rgba(79, 163, 255, 0.35), inset 0 0 10px rgba(79, 163, 255, 0.15);
  perspective: 300px;
}
.nav-k-spin {
  display: inline-block;
  font-size: 1.15rem; font-weight: 800; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: kspin 8s linear infinite;
  transform-style: preserve-3d;
}
@keyframes kspin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.nav-word {
  font-weight: 700; letter-spacing: 0.12em; font-size: 0.95rem;
  perspective: 300px;
  display: inline-flex;
}
.nav-word span {
  display: inline-block;
  transform-style: preserve-3d;
  animation: kspin 8s linear infinite;
  animation-delay: calc(var(--i) * -1.14s);
}
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: #04121f !important;
  background: var(--grad);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

/* HERO */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem) clamp(3rem, 8vw, 6rem);
  text-align: center;
  background:
    radial-gradient(ellipse 55% 45% at 50% -5%, rgba(47, 125, 225, 0.20), transparent 70%),
    radial-gradient(ellipse 45% 35% at 85% 40%, rgba(111, 214, 255, 0.08), transparent 70%),
    var(--bg);
}
.hero-inner { position: relative; z-index: 2; max-width: 62rem; margin: 0 auto; }
.hero-logo {
  width: min(620px, 90vw);
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 0 50px rgba(47, 125, 225, 0.25);
}
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); margin-top: 2.2rem; }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 42rem; margin: 1.2rem auto 2rem; }
.hero-sub strong { color: var(--cyan); font-weight: 700; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.8rem 1.8rem; border-radius: 999px; font-size: 0.98rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: #04121f;
  box-shadow: 0 0 24px rgba(79, 163, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(79, 163, 255, 0.6); transform: translateY(-1px); }
.btn-ghost {
  color: var(--text); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-big { font-size: 1.05rem; padding: 0.95rem 2.4rem; }

/* SECTIONS */
.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 5vw, 3rem);
  max-width: 72rem; margin: 0 auto;
}
.section-alt {
  max-width: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: 72rem; margin-left: auto; margin-right: auto; }

/* STATS */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2.4rem;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.stat-num {
  font-size: 1.8rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.6rem;
}
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* CARDS */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2.4rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--blue-2); transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 0.94rem; }
.card-ico {
  font-size: 1.2rem; margin-bottom: 0.9rem;
  width: 2.6rem; height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(79, 163, 255, 0.12);
  color: var(--blue);
}

/* STEPS */
.steps { list-style: none; margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
}
.step-n {
  font-size: 1rem; font-weight: 800;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.9rem;
}
.step p { color: var(--muted); font-size: 0.94rem; }

/* CTA */
.cta-box { text-align: center; padding: 1rem 0 0.5rem; }
.cta-box .lead { margin: 0 auto 2rem; }

/* FOOTER */
.footer {
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-brand { font-weight: 700; letter-spacing: 0.14em; color: var(--text); margin-bottom: 0.4rem; }
.footer-brand span { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.footer-note { font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .stats, .cards, .steps { grid-template-columns: 1fr; }
  .hero-logo { width: min(460px, 92vw); }
  .stat { padding: 1.1rem; }
}
