/* ═══════════════════════════════════════════════════════════════
   BAZZOTECH LABS — style.css
   Design System: Flat Premium Dark · Inter + Fira Code
═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   1. DESIGN TOKENS
────────────────────────────────────────────── */
:root {
  --bg-primary:     #0B0F19;
  --bg-secondary:   #111827;
  --bg-card:        #131d2e;
  --bg-card-hover:  #172036;
  --bg-footer:      #000000;

  --accent:         #3B82F6;
  --accent-hover:   #2563EB;
  --accent-glow:    rgba(59, 130, 246, 0.18);
  --accent-subtle:  rgba(59, 130, 246, 0.08);

  --gold:           #F59E0B;
  --gold-subtle:    rgba(245, 158, 11, 0.12);
  --green:          #10B981;
  --green-subtle:   rgba(16, 185, 129, 0.12);

  --text-primary:   #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted:     #4B5563;

  --border:         rgba(255, 255, 255, 0.06);
  --border-accent:  rgba(59, 130, 246, 0.3);

  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:  'Fira Code', 'Cascadia Code', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;

  --section-py: 96px;
  --container:  1160px;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --speed-fast: 160ms;
  --speed-mid:  240ms;
}

/* ──────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ──────────────────────────────────────────────
   3. ANIMATED CANVAS — Hero only
────────────────────────────────────────────── */
#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* No opacity reduction — handled by particle alpha */
}

/* Frosted-glass dark overlay on top of canvas, below content */
.hero__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Deep blue frosted-glass effect */
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(30, 58, 138, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(17, 24, 39, 0.6) 0%, transparent 70%),
    linear-gradient(180deg, rgba(7, 10, 22, 0.72) 0%, rgba(11, 15, 25, 0.85) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* nav, main, footer above everything */
nav, main, footer {
  position: relative;
  z-index: 10;
}

/* ──────────────────────────────────────────────
   4. UTILITIES
────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

.section { padding-block: var(--section-py); }

/* ──────────────────────────────────────────────
   5. SECTION HEADERS
────────────────────────────────────────────── */
.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ──────────────────────────────────────────────
   6. BUTTONS
────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--speed-fast) var(--ease),
    color            var(--speed-fast) var(--ease),
    box-shadow       var(--speed-mid)  var(--ease),
    transform        var(--speed-fast) var(--ease),
    border-color     var(--speed-fast) var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background-color: rgba(255,255,255,0.04);
}

.btn--lg { padding: 14px 28px; font-size: 0.97rem; }
.btn--sm { padding: 8px 18px;  font-size: 0.85rem; }

.btn__icon { flex-shrink: 0; }

/* ──────────────────────────────────────────────
   7. TAGS / BADGES
────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.tag--blue  { background: var(--accent-subtle);           color: var(--accent);          border: 1px solid var(--border-accent); }
.tag--green { background: var(--green-subtle);            color: var(--green);           border: 1px solid rgba(16,185,129,0.3); }
.tag--gold  { background: var(--gold-subtle);             color: var(--gold);            border: 1px solid rgba(245,158,11,0.3); }
.tag--dark  { background: rgba(255,255,255,0.05);         color: var(--text-secondary);  border: 1px solid var(--border); }

/* ──────────────────────────────────────────────
   8. SOCIAL ICONS
────────────────────────────────────────────── */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition:
    color        var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease),
    background   var(--speed-fast) var(--ease),
    transform    var(--speed-fast) var(--ease);
  flex-shrink: 0;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--accent);
  border-color: var(--border-accent);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.social-icon--footer {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
}

/* Social pill (founder section) */
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  transition:
    color        var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease),
    background   var(--speed-fast) var(--ease);
  word-break: break-all;
}

.social-pill:hover,
.social-pill:focus-visible {
  color: var(--accent);
  border-color: var(--border-accent);
  background: var(--accent-subtle);
}

/* Contact chips (CTA section) */
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition:
    color        var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease),
    background   var(--speed-fast) var(--ease),
    transform    var(--speed-fast) var(--ease);
  word-break: break-all;
}

.contact-chip:hover,
.contact-chip:focus-visible {
  color: var(--accent);
  border-color: var(--border-accent);
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────
   9. NAV
────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 14px;
  transition:
    background-color var(--speed-mid) var(--ease),
    box-shadow       var(--speed-mid) var(--ease),
    border-color     var(--speed-mid) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background-color: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* Prevent any overflow clipping */
  overflow: visible;
}

.nav__logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  transition: color var(--speed-fast) var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__logo:hover { color: var(--accent); }
.nav__logo-accent { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--speed-fast) var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--text-primary); }

/* Right-side cluster: CTA button + social icons */
.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   10. HERO
────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 120px 80px;
  overflow: hidden;
  /* Darker base so the frosted glass looks deep */
  background-color: #060912;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  will-change: opacity;
  z-index: 0;
}
.hero__glow--left  { background: rgba(59, 130, 246, 0.1);  top: -80px;    left: -200px; }
.hero__glow--right { background: rgba(99, 102, 241, 0.08); bottom: -160px; right: -200px; }

/* All hero content above glass overlay */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 999px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.hero__headline {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.hero__headline-accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(0.97rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__stat { text-align: left; }
.hero__stat-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}
.hero__stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   11. SOLUTIONS
────────────────────────────────────────────── */
.solutions { background-color: var(--bg-secondary); }

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

/* ──────────────────────────────────────────────
   12. CARDS
────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    border-color     var(--speed-mid) var(--ease),
    box-shadow       var(--speed-mid) var(--ease),
    transform        var(--speed-mid) var(--ease),
    background-color var(--speed-mid) var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity          0.55s var(--ease),
    transform        0.55s var(--ease),
    border-color     var(--speed-mid) var(--ease),
    box-shadow       var(--speed-mid) var(--ease),
    background-color var(--speed-mid) var(--ease);
}

.card--solution:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 8px 40px rgba(59,130,246,0.1), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

.card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, #131d2e 0%, #0e1a33 100%);
  position: relative;
}

.card__badge {
  position: absolute;
  top: -1px;
  right: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.card__icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color var(--speed-fast) var(--ease);
}

.card--solution:hover .card__icon-wrap {
  background: rgba(59, 130, 246, 0.15);
}

.card__title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.card__list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.card__tag {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ──────────────────────────────────────────────
   13. AWARD BANNER
────────────────────────────────────────────── */
.award { padding-block: 64px; background: var(--bg-primary); }

.award__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  background: linear-gradient(135deg, #18120a 0%, #111827 55%, #0a1814 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-xl);
  padding: 44px 52px;
  box-shadow:
    0 0 80px rgba(245, 158, 11, 0.07),
    0 4px 32px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.award__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG Flag */
.award__flag-wrap {
  flex-shrink: 0;
}

.award__flag-svg {
  width: 72px;
  height: 43px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  display: block;
}

.award__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.award__title {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.award__desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

.award__grant { color: var(--gold); font-weight: 700; }

.award__seal { flex-shrink: 0; }

.award__seal-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 2px solid rgba(245, 158, 11, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: seal-glow 3s ease-in-out infinite;
}

@keyframes seal-glow {
  0%, 100% { box-shadow: 0 0 0   rgba(245,158,11,0); }
  50%       { box-shadow: 0 0 24px rgba(245,158,11,0.2); }
}

.award__seal-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ──────────────────────────────────────────────
   14. FOUNDER
────────────────────────────────────────────── */
.founder { background-color: var(--bg-secondary); }

.founder__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.founder__bio {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder__avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.founder__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #6366F1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder__initials {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

.founder__avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--border-accent);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

.founder__name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.founder__role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.founder__detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.founder__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.founder__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Projects */
.founder__projects { display: flex; flex-direction: column; gap: 20px; }

.founder__projects-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition:
    border-color var(--speed-mid) var(--ease),
    box-shadow   var(--speed-mid) var(--ease),
    transform    var(--speed-mid) var(--ease);
  opacity: 0;
  transform: translateY(16px);
}

.project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity      0.55s var(--ease),
    transform    0.55s var(--ease),
    border-color var(--speed-mid) var(--ease),
    box-shadow   var(--speed-mid) var(--ease);
}

.project-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 24px rgba(59,130,246,0.1);
  transform: translateY(-2px);
}

.project-card--award {
  border-color: rgba(245, 158, 11, 0.25);
  background: linear-gradient(135deg, #1a1200 0%, #131d2e 100%);
  position: relative;
  overflow: hidden;
}

.project-card--award::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,158,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.project-card--award:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.12);
}

.project-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.project-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.project-card__dot--gold { background: var(--gold); }

.project-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  letter-spacing: -0.02em;
}

.project-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ──────────────────────────────────────────────
   15. TECH STACK
────────────────────────────────────────────── */
.stack { background-color: var(--bg-primary); }

.stack__groups {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stack__group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.stack__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  transition:
    border-color     var(--speed-fast) var(--ease),
    box-shadow       var(--speed-fast) var(--ease),
    background-color var(--speed-fast) var(--ease),
    transform        var(--speed-fast) var(--ease);
  cursor: default;
  opacity: 0;
  transform: translateY(12px);
}

.stack__item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity          0.45s var(--ease),
    transform        0.45s var(--ease),
    border-color     var(--speed-fast) var(--ease),
    box-shadow       var(--speed-fast) var(--ease),
    background-color var(--speed-fast) var(--ease);
}

.stack__item:hover {
  border-color: var(--border-accent);
  background-color: var(--accent-subtle);
  box-shadow: 0 4px 16px rgba(59,130,246,0.1);
  transform: translateY(-2px);
}

.stack__icon {
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1;
}

.stack__name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ──────────────────────────────────────────────
   16. CTA SECTION
────────────────────────────────────────────── */
.cta-section { background-color: var(--bg-secondary); }

.cta-section__card {
  position: relative;
  text-align: center;
  padding: 72px 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
  background: linear-gradient(160deg, #0e1a2e 0%, #0B0F19 50%, #0e1a33 100%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.cta-section__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.cta-section__glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.15) 0%, transparent 70%);
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 14px 0 18px;
  position: relative;
}

.cta-section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 36px;
  position: relative;
}

.cta-section__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* ──────────────────────────────────────────────
   17. FOOTER
────────────────────────────────────────────── */
.footer {
  background-color: var(--bg-footer);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 48px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
  transition: color var(--speed-fast) var(--ease);
}
.footer__logo:hover { color: var(--accent); }

.footer__tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__legal {
  text-align: right;
  max-width: 460px;
}

.footer__legal-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.footer__legal-text strong { color: var(--text-secondary); }

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  opacity: 0.55;
}

/* ──────────────────────────────────────────────
   18. RESPONSIVE — Tablet (≤ 1024px)
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solutions__grid {
    grid-template-columns: 1fr 1fr;
  }

  .founder__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .award__card {
    grid-template-columns: auto 1fr;
  }

  .nav__links { gap: 14px; }
  /* Social icons still visible on tablet */
}

/* ──────────────────────────────────────────────
   19. RESPONSIVE — Mobile (≤ 768px)
────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --container:  100%;
  }

  /* Nav: hide text links on mobile; keep logo + right (CTA + social) */
  .nav__links { display: none; }

  /* Social icons: reduce gap but keep visible */
  .nav__social { gap: 4px; }

  /* CTA button always first, then social hidden below */
  .nav__right { gap: 6px; }

  /* Hero */
  .hero { padding-block: 100px 60px; }

  .hero__stats {
    gap: 16px;
    padding: 14px 18px;
  }

  .hero__stat-divider { display: none; }

  /* Solutions: 1 column on mobile */
  .solutions__grid { grid-template-columns: 1fr; }

  /* Award: stacked */
  .award__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }

  .award__flag-svg {
    width: 56px;
    height: 34px;
    margin-inline: auto;
  }

  .award__seal { display: none; }

  /* Founder */
  .founder__bio { gap: 16px; }
  .founder__social { gap: 6px; }
  .social-pill { font-size: 0.76rem; }

  /* CTA contacts */
  .cta-section__contacts { flex-direction: column; align-items: stretch; }
  .contact-chip { justify-content: center; }
  .cta-section__card { padding: 40px 20px; }

  /* Footer */
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__legal { text-align: left; }
}

/* ──────────────────────────────────────────────
   20. RESPONSIVE — Small Mobile (≤ 480px)
────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__headline { font-size: 1.85rem; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn--lg { width: 100%; justify-content: center; }

  /* On very small screens: hide social icons in nav, keep only logo + CTA */
  .nav__social { display: none; }

  /* CTA button stays visible, full touch target */
  #nav-cta { padding: 8px 14px; font-size: 0.8rem; }
}

/* ──────────────────────────────────────────────
   21. PRINT / reduced motion
────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #bg-canvas { display: none; }
  .hero__glass {
    background: rgba(7, 10, 22, 0.8);
    backdrop-filter: none;
  }
}
