/* =========================================================
   WAVE GLOBAL — Brand 2026
   Design system: Minimalista · Premium · Alta Performance
   ========================================================= */

:root {
  /* Brand palette */
  --black: #000000;
  --black-deep: #060708;
  --surface: #0c0d0f;
  --surface-2: #131418;
  --surface-3: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.66);
  --text-faint: rgba(255, 255, 255, 0.42);
  --accent: #0cbaf4;
  --accent-soft: rgba(12, 186, 244, 0.16);
  --accent-glow: rgba(12, 186, 244, 0.35);

  /* Typography */
  --display: "Orbitron", "Pirulen", "Saira Stencil One", system-ui, sans-serif;
  --body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease), opacity 0.25s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 41px;
  height: 28px;
  fill: var(--white);
  flex: 0 0 auto;
}
.logo-word {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 18px;
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}
.nav a:hover { color: var(--white); }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(12, 186, 244, 0.08);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 18px 32px; font-size: 14px; }

.btn-primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 8px 28px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.04);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 120px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(12,186,244,0.18) 0%, transparent 55%),
    linear-gradient(180deg, #050608 0%, #000 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  left: 50%; top: 0;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(12,186,244,0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-mark {
  position: absolute;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 1015px;
  height: 700px;
  fill: rgba(255,255,255,0.025);
}

.hero-inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: 0.02em;
}
.hero-title .display { display: block; }
.hero-title .accent {
  background: linear-gradient(180deg, #ffffff 0%, #79b8d6 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 40px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 72px;
}

.metrics {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  padding: 26px 8px;
  max-width: 760px;
  backdrop-filter: blur(8px);
}
.metric {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.metric-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #fff 0%, #b9d8e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.metric-divider {
  width: 1px;
  height: 56px;
  background: var(--line);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 120px 0;
  position: relative;
}
.section-alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)) ,
    var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 800px;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.section-lead {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
  margin: 0;
}

/* =========================================================
   CARDS / GRIDS
   ========================================================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(12,186,244,0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.card:hover::before { opacity: 1; }

.card-feature .card-badge {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 24px;
  font-family: var(--display);
}
.card-title {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   FOUNDERS
   ========================================================= */
.founders { gap: 24px; }

.founder {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.founder:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.founder-portrait {
  position: relative;
  width: 180px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(12,186,244,0.25), transparent 60%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
}
.founder-mark {
  position: absolute;
  width: 290px;
  height: 200px;
  fill: rgba(255,255,255,0.04);
  bottom: 0;
  right: -50px;
}
.initial {
  position: relative;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff, #6fb8d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  z-index: 1;
}

.founder-role {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
}
.founder-name {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 8px 0 12px;
}
.founder-bio {
  margin: 0;
  color: var(--text-muted);
}

/* =========================================================
   VERTICAIS
   ========================================================= */
.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vertical {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.vertical::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, var(--accent-soft) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.vertical .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
  font-size: 16px;
}
.vertical:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.vertical:hover::after { opacity: 1; }
.vertical:hover .arrow {
  transform: translate(2px, -2px);
  background: var(--accent);
  color: var(--black);
}
.vertical-more {
  border-style: dashed;
  color: var(--text-muted);
}
.vertical-more:hover { color: var(--white); }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.service:hover::before { width: 100%; }

.service-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.24em;
  display: block;
  margin-bottom: 14px;
}
.service-title {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.2;
}
.service p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   CTA
   ========================================================= */
.section-cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(12,186,244,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-wrap {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  overflow: hidden;
}
.cta-title {
  font-size: clamp(40px, 6vw, 80px);
  margin: 14px 0 24px;
  line-height: 1;
}
.cta-lead {
  color: var(--text-muted);
  font-size: clamp(15px, 1.3vw, 17px);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}

.cta-marks {
  display: flex;
  justify-content: center;
  gap: 28px;
  opacity: 0.18;
}
.cta-marks .cta-mark {
  width: 50px; height: 35px;
  fill: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--black);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--accent); }
.dot-sep { color: var(--text-faint); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .grid-2,
  .services,
  .verticals { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .nav.is-open a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open a:last-child { border-bottom: none; }
  .nav.is-open .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .section { padding: 80px 0; }
  .section-cta { padding: 80px 0; }
  .cta-wrap { padding: 60px 24px; }

  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero-cta { margin-bottom: 56px; }

  .metrics {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }
  .metric-divider { width: 100%; height: 1px; }

  .grid-2,
  .services,
  .verticals { grid-template-columns: 1fr; }

  .founder {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px;
  }
  .founder-portrait {
    width: 100%;
    height: 200px;
  }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .hero-title { font-size: clamp(48px, 18vw, 96px); }
  .btn { padding: 12px 20px; font-size: 12px; }
  .btn-lg { padding: 16px 24px; }
  .cta-actions .btn-lg { width: 100%; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
