/* ============================================================
   NEXA COMPANY — style.css
   Futuristic Landing Page — Command Center Tech Aesthetic
   ============================================================ */

/* === CSS Custom Properties === */
:root {
  /* ── Brand Palette ── */
  --bg:            #000102;       /* Absolute Black */
  --purple-deep:   #3A1855;       /* Deep Purple (radial accent) */
  --blue-violet:   #5449AB;       /* Primary Blue-Violet */
  --magenta:       #C03FB5;       /* Vibrant Magenta/Pink */

  /* ── Surfaces & Borders ── */
  --surface:        rgba(58, 24, 85, 0.14);
  --surface-hover:  rgba(84, 73, 171, 0.18);
  --border:         rgba(84, 73, 171, 0.22);
  --border-bright:  rgba(192, 63, 181, 0.42);

  /* ── Text ── */
  --text-primary:   #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted:     rgba(255, 255, 255, 0.32);

  /* ── Gradients ── */
  --grad-brand:    linear-gradient(135deg, #5449AB 0%, #C03FB5 100%);
  --grad-metal:    linear-gradient(120deg, #a78bfa 0%, #C03FB5 38%, #818cf8 68%, #e879f9 100%);
  --grad-metal-2:  linear-gradient(120deg, #C03FB5 0%, #a78bfa 50%, #C03FB5 100%);

  /* ── Glass ── */
  --glass:      rgba(4, 2, 12, 0.62);
  --blur:       blur(22px);
  --blur-heavy: blur(32px);

  /* ── Spacing ── */
  --section-pad:    clamp(5rem, 9vw, 8rem);
  --container-max:  1320px;
  --container-pad:  clamp(1.25rem, 5vw, 3rem);

  /* ── Type ── */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* ── Easing ── */
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:   cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Radii ── */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
}


/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; display: block; }
button { font-family: var(--font); }


/* ============================================================
   LAYOUT UTILS
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
  position: relative;
  z-index: 1;
}


/* ============================================================
   AMBIENT BACKGROUND
   Fixed radial glow layers behind everything
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%,  rgba(58, 24, 85, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 92% 80%,  rgba(84, 73, 171, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 30% at 8%  65%,  rgba(192, 63, 181, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}


/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.gradient-text {
  background: var(--grad-metal);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.gradient-text-2 {
  background: var(--grad-metal-2);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite reverse;
}

@keyframes shimmer {
  0%   { background-position:   0% center; }
  100% { background-position: 250% center; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--magenta);
  flex-shrink: 0;
}

.section-label.center {
  display: flex;
  justify-content: center;
}

.section-label.center::before { display: none; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}

.section-title.center { text-align: center; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.section-desc.center {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke-width: 2.2;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover svg { transform: translateX(3px); }

/* Primary */
.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow:
    0 0  28px rgba(192, 63, 181, 0.40),
    0 0  60px rgba(84, 73, 171, 0.22),
    0  4px 16px rgba(0,0,0,0.35);
  animation: pulse-glow 2.8s ease-in-out infinite;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0  48px rgba(192, 63, 181, 0.60),
    0 0 100px rgba(84, 73, 171, 0.35),
    0  8px 24px rgba(0,0,0,0.4);
}

.btn--primary:hover::after { opacity: 1; }

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 28px rgba(192,63,181,0.40), 0 0 60px rgba(84,73,171,0.22), 0 4px 16px rgba(0,0,0,0.35);
  }
  50% {
    box-shadow: 0 0 45px rgba(192,63,181,0.60), 0 0 90px rgba(84,73,171,0.35), 0 4px 16px rgba(0,0,0,0.35);
  }
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--border-bright);
  background: var(--surface-hover);
  transform: translateY(-2px);
}


/* ============================================================
   LOGO FALLBACK (text-based if image missing)
   ============================================================ */
.logo-fallback {
  display: none;          /* shown via onerror */
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.logo-fallback span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

.logo-fallback--sm { font-size: 0.95rem; }


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.3rem;
  transition: padding 0.35s var(--ease-out), background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding-block: 0.8rem;
  background: rgba(0, 1, 2, 0.88);
  backdrop-filter: var(--blur-heavy);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img  { height: 150px; width: auto; object-fit: contain; }
.logo-img--sm { height: 38px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover           { color: var(--text-primary); }
.nav__links a:hover::after    { width: 100%; }

.nav__cta {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.35rem;
  border-radius: 100px;
  background: var(--grad-brand);
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 20px rgba(192,63,181,0.30);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(192,63,181,0.52);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  margin-left: auto;
}

.nav__hamburger span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   MOBILE OVERLAY
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 1, 2, 0.97);
  backdrop-filter: var(--blur-heavy);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(105%);
  transition: transform 0.45s var(--ease-expo);
}

.mobile-overlay.open { transform: translateX(0); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--text-primary); }

.mobile-nav .btn--primary {
  font-size: 1rem;
  margin-top: 0.5rem;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(80px + clamp(5rem, 10vw, 8rem)) clamp(5rem, 8vw, 7rem);
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(84, 73, 171, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 73, 171, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
  mask-image:         radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.hero__content {
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Hero entrance states */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 1rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--magenta); }
  50%       { opacity: 0.25; box-shadow: 0 0 2px var(--magenta); }
}

/* Title */
.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.title-line { display: block; }

/* Subtitle */
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 660px;
  line-height: 1.72;
  margin-bottom: 2.25rem;
}

.hero__subtitle strong { color: var(--text-primary); font-weight: 700; }

/* Action row */
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats Bar */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.35rem 2.75rem;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  max-width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding-inline: 2.25rem;
}

.stat__number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-metal);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat__suffix {
  font-size: 1.1rem;
}

.stat__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.stat__divider {
  width: 1px;
  height: 38px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1;   }
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s var(--ease-expo), transform 0.75s var(--ease-expo);
  will-change: opacity, transform;
}

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


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding-block: var(--section-pad);
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}

/* Placement */
.card--ia       { grid-column: 1 / 8;  }
.card--hardware { grid-column: 8 / 13; }
.card--ti       { grid-column: 1 / 6;  }
.card--dev      { grid-column: 6 / 13; }

/* ── Card Base ── */
.card {
  position: relative;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    transform    0.35s var(--ease-out),
    box-shadow   0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow:
    0  24px 64px rgba(0,0,0,0.45),
    0  0   44px rgba(84, 73, 171, 0.14);
}

/* Large cards go side-by-side with icon */
.card--large {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.85rem;
}

.card--large .card__icon-wrap { flex-shrink: 0; }

/* Mouse-tracking glow overlay */
.card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(84,73,171,0.10) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* ── Icon Box ── */
.card__icon-wrap {
  position: relative;
  z-index: 1;
}

.icon-box {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.icon-brain {
  background: linear-gradient(135deg, rgba(192,63,181,0.20), rgba(84,73,171,0.20));
  border: 1px solid rgba(192,63,181,0.30);
  color: #D06DD0;
  box-shadow: 0 0 28px rgba(192,63,181,0.22), inset 0 1px 0 rgba(255,255,255,0.09);
}

.icon-chip {
  background: linear-gradient(135deg, rgba(84,73,171,0.22), rgba(58,24,85,0.30));
  border: 1px solid rgba(84,73,171,0.30);
  color: #8B7FE8;
  box-shadow: 0 0 28px rgba(84,73,171,0.22), inset 0 1px 0 rgba(255,255,255,0.09);
}

.icon-shield {
  background: linear-gradient(135deg, rgba(58,24,85,0.35), rgba(192,63,181,0.16));
  border: 1px solid rgba(192,63,181,0.22);
  color: #CC80CC;
  box-shadow: 0 0 28px rgba(58,24,85,0.35), inset 0 1px 0 rgba(255,255,255,0.09);
}

.icon-code {
  background: linear-gradient(135deg, rgba(84,73,171,0.26), rgba(192,63,181,0.16));
  border: 1px solid rgba(84,73,171,0.32);
  color: #9F9BF0;
  box-shadow: 0 0 28px rgba(84,73,171,0.26), inset 0 1px 0 rgba(255,255,255,0.09);
}

/* ── Card Body ── */
.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.card__tag {
  align-self: flex-start;
  padding: 0.22rem 0.7rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.card--large .card__title { font-size: 1.4rem; }

.card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.card__features {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  margin-top: 0.2rem;
}

.card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.845rem;
  color: var(--text-secondary);
}

.card__features li svg {
  width: 13px;
  height: 13px;
  color: var(--magenta);
  flex-shrink: 0;
  stroke-width: 2.8;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--blue-violet);
  margin-top: auto;
  padding-top: 0.5rem;
  transition: color 0.2s, gap 0.2s;
}

.card__cta svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  transition: transform 0.2s var(--ease-out);
}

.card__cta:hover         { color: var(--magenta); }
.card__cta:hover svg     { transform: translateX(4px); }


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding-block: var(--section-pad);
  position: relative;
  z-index: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about__text p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

.about__text p strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Stats grid */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition:
    border-color 0.3s ease,
    transform    0.3s var(--ease-out);
}

.stat-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.big-num {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-metal);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.stat-card__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}


/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact-cta {
  padding-block: var(--section-pad);
  position: relative;
  z-index: 1;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 5rem);
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.cta-box__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(ellipse at center,
    rgba(84,73,171,0.14) 0%,
    rgba(192,63,181,0.07) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-box__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.cta-box__desc strong {
  color: var(--text-primary);
  font-weight: 700;
}

.cta-box__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.68;
  max-width: 270px;
}

.footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer__social a {
  width: 35px;
  height: 35px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer__social a svg { width: 15px; height: 15px; }

.footer__social a:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: var(--surface-hover);
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col ul a:hover { color: var(--text-primary); }

.footer__email {
  display: block;
  font-size: 0.85rem;
  color: var(--magenta);
  transition: color 0.2s;
  word-break: break-all;
}

.footer__email:hover { color: var(--blue-violet); }

.footer__founder { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.6rem; font-weight: 600; }
.footer__role    { font-size: 0.8rem;  color: var(--text-muted); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer__bottom strong { color: var(--text-secondary); font-weight: 600; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 1200px ── */
@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card--ia       { grid-column: 1 / 2; }
  .card--hardware { grid-column: 2 / 3; }
  .card--ti       { grid-column: 1 / 2; }
  .card--dev      { grid-column: 2 / 3; }

  .card--large {
    flex-direction: column;
    gap: 1.25rem;
  }

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

/* ── 768px ── */
@media (max-width: 768px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .bento-grid { grid-template-columns: 1fr; }
  .card--ia, .card--hardware,
  .card--ti, .card--dev { grid-column: 1 / 2; }

  .hero__stats {
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .stat { padding-inline: 0; width: 100%; }
  .stat__divider { width: 100%; height: 1px; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand p { max-width: none; }

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

/* ── 520px ── */
@media (max-width: 520px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .btn           { width: 100%; justify-content: center; }

  .cta-box__actions { flex-direction: column; width: 100%; }

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

  .hero__stats { width: 100%; }
}

/* ── Ultra-wide: cap hero grid lines ── */
@media (min-width: 1800px) {
  .hero__grid-bg { background-size: 70px 70px; }
}
