/* ============================================================
   CoRevo - Global Stylesheet
   Design: Tactical Interface / Dark Tech
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ----------------------------------------
   Design Tokens
---------------------------------------- */
:root {
  --bg-0:         #010308;
  --bg-1:         #060d1c;
  --bg-2:         #0a1530;
  --bg-card:      rgba(8, 16, 36, 0.85);
  --bg-glass:     rgba(0, 232, 255, 0.04);

  --cyan:         #00e8ff;
  --cyan-bright:  #4df5ff;
  --cyan-glow:    rgba(0, 232, 255, 0.35);
  --cyan-dim:     rgba(0, 232, 255, 0.08);

  --purple:       #8b5cf6;
  --purple-bright:#a78bfa;
  --purple-glow:  rgba(139, 92, 246, 0.35);
  --purple-dim:   rgba(139, 92, 246, 0.08);

  --text:         #d8eaf8;
  --text-dim:     #8aabcc;
  --text-muted:   #4a6a8a;

  --border:       rgba(0, 232, 255, 0.12);
  --border-mid:   rgba(0, 232, 255, 0.28);
  --border-hot:   rgba(0, 232, 255, 0.6);

  --gradient:     linear-gradient(135deg, #00e8ff 0%, #8b5cf6 100%);
  --gradient-r:   linear-gradient(135deg, #8b5cf6 0%, #00e8ff 100%);

  --font-display: 'Orbitron', monospace;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;

  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------
   Reset & Base
---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 232, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-bright); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

p { max-width: 72ch; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--cyan-bright); }

img { display: block; max-width: 100%; }

/* ----------------------------------------
   Layout Utilities
---------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 7rem 0;
}

.section--sm {
  padding: 4rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

/* ----------------------------------------
   Section Labels
---------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 56ch;
}

/* ----------------------------------------
   Buttons
---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.btn--primary {
  background: var(--cyan);
  color: var(--bg-0);
}
.btn--primary:hover {
  background: var(--cyan-bright);
  color: var(--bg-0);
  box-shadow: 0 0 28px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--border-mid);
}
.btn--outline:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-mid);
}

.btn--purple {
  background: var(--purple);
  color: #fff;
}
.btn--purple:hover {
  background: var(--purple-bright);
  color: #fff;
  box-shadow: 0 0 28px var(--purple-glow);
  transform: translateY(-2px);
}

/* ----------------------------------------
   Cards
---------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--cyan-dim);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.card:hover .card__icon {
  background: var(--cyan);
  color: var(--bg-0);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.card__desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ----------------------------------------
   Header / Navigation
---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.header--scrolled {
  background: rgba(1, 3, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo__mark {
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text);
  transition: color var(--transition);
}

.logo__text span {
  color: var(--cyan);
}

.logo:hover .logo__text {
  color: var(--cyan);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
}

.nav__link::before {
  content: attr(data-index);
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 0.55rem;
  color: var(--cyan);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link:hover::before,
.nav__link.active::before {
  opacity: 1;
}

.nav__link.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 232, 255, 0.04);
}

.lang-switch__btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-mid);
}

.lang-switch--mobile {
  display: none;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cyan);
  transition: all var(--transition);
}

.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: rgba(1, 3, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav__link {
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid transparent;
}

.nav-mobile .nav__link:hover {
  border-color: var(--border);
  background: var(--cyan-dim);
}

/* ----------------------------------------
   Hero
---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 232, 255, 0.12) 0%, transparent 70%);
  top: -100px;
  left: -200px;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  bottom: -100px;
  right: -150px;
  animation-delay: -5s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 232, 255, 0.08) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.95); }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hero__title-line2 {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__terminal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.hero__terminal-prompt {
  color: var(--purple-bright);
  font-size: 0.85rem;
}

.hero__terminal-text {
  color: var(--cyan);
}

.hero__terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--cyan);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 3rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero visual (right side - optional) */
.hero__visual {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  display: none;
}

/* ----------------------------------------
   Section Divider
---------------------------------------- */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  margin: 0;
}

/* ----------------------------------------
   Tag / Badge
---------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.tag--purple {
  background: var(--purple-dim);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--purple-bright);
}

/* ----------------------------------------
   Number / Step
---------------------------------------- */
.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

/* ----------------------------------------
   Footer
---------------------------------------- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .logo__text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: block;
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 30ch;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ----------------------------------------
   Scroll Reveal Animations
---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------
   Page Hero (inner pages)
---------------------------------------- */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.page-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 232, 255, 0.1) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.page-hero__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  bottom: -50px;
  right: 10%;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1rem;
}

.page-hero__title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 52ch;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { color: var(--border-mid); }
.breadcrumb-current { color: var(--cyan); }

/* ----------------------------------------
   Form Elements
---------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
  background: rgba(8, 16, 36, 0.95);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }

  .header__inner {
    height: 64px;
    padding: 0 1rem;
  }

  .logo__mark {
    width: 32px;
    height: 32px;
  }

  .logo__text {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .nav, .header__cta { display: none; }
  .header .lang-switch { display: none; }
  .menu-btn { display: flex; }
  .lang-switch--mobile {
    display: inline-flex;
    margin: 0 1.5rem 1rem;
    align-self: flex-start;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-mobile {
    inset: 64px 0 0 0;
    padding: 1rem 1rem 2rem;
  }

  .nav-mobile .nav__link {
    font-size: 0.92rem;
    padding: 0.9rem 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .section-desc,
  .page-hero__desc {
    font-size: 0.98rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero__content { padding: 2.5rem 0 3.5rem; }
  .hero__title {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }
  .hero__terminal {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1.75rem;
    font-size: 0.78rem;
  }
  .hero__desc {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }
  .hero__actions {
    flex-direction: column;
    margin-bottom: 2.5rem;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    padding-top: 2rem;
  }
  .stat__number {
    font-size: 1.6rem;
  }
  .stat__label {
    font-size: 0.6rem;
  }

  .page-hero {
    padding: 7.5rem 0 3.5rem;
  }

  .page-hero__title {
    font-size: clamp(2rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header__inner {
    padding: 0 0.9rem;
  }

  .logo__text {
    font-size: 0.92rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .btn {
    font-size: 0.68rem;
  }
}

/* ----------------------------------------
   Utility Classes
---------------------------------------- */
.text-cyan   { color: var(--cyan); }
.text-purple { color: var(--purple-bright); }
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }
.mono        { font-family: var(--font-mono); font-size: 0.88em; }
.display     { font-family: var(--font-display); }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, rgba(0, 232, 255, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 232, 255, 0.05) 0%, transparent 70%);
}

.cta-strip > * { position: relative; z-index: 1; }

.cta-strip__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.cta-strip__desc {
  font-size: 1rem;
  color: var(--text-dim);
  margin: 0 auto 2.5rem;
  max-width: 48ch;
}

.cta-strip__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
