/* ============================================================
   HEXLIFY v2 — B2B Poker Platform
   Aesthetic: Dark navy, poker green, product-catalog density
   Inspired by EvenBet Gaming's industry-standard B2B iGaming look
   ============================================================ */

:root {
  /* Backgrounds */
  --bg: #0a1020;
  --bg-elev: #0f1729;
  --bg-card: #141c33;
  --bg-card-hover: #1a2440;
  --felt: #0d1f1a;

  /* Greens — the poker felt & brand */
  --green: #00c37a;
  --green-bright: #00e88c;
  --green-glow: rgba(0, 195, 122, 0.25);
  --green-deep: #006b43;

  /* Accents */
  --gold: #f4c542;
  --red: #e63946;

  /* Text */
  --white: #ffffff;
  --text: #e5ebf5;
  --text-dim: #a0aec0;
  --text-muted: #6b7691;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Ambient green glow on page load */
body::before {
  content: '';
  position: fixed;
  top: -300px;
  right: -300px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

body::after {
  content: '';
  position: fixed;
  bottom: -400px;
  left: -400px;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 195, 122, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

.eyebrow {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: inline-block;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 2.5rem;
  backdrop-filter: blur(20px);
  background: rgba(10, 16, 32, 0.85);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-bright);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  border-radius: 4px;
  white-space: nowrap;
}

.btn-primary,
.nav-links a.btn-primary {
  background: var(--green);
  color: var(--bg);
  border: 1px solid var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
}

.btn-primary:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px var(--green-glow);
}

.btn-ghost,
.nav-links a.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-bright);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  z-index: 1;
  padding-top: 5rem;
}

.hero-grid {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 195, 122, 0.1);
  border: 1px solid rgba(0, 195, 122, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green-bright);
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.25);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(0, 195, 122, 0.05); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-trust-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-trust-items {
  display: flex;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Poker chip + cards composition */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chip-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.chip-stack svg {
  width: 100%;
  height: 100%;
}

.chip-float {
  animation: chip-float 6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.card-float {
  animation: card-float 5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.delay-1 { animation-delay: -1.2s; }
.delay-2 { animation-delay: -2.4s; }
.delay-3 { animation-delay: -0.8s; }
.delay-4 { animation-delay: -1.6s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .chip-float, .card-float {
    animation: none;
  }
}

/* ============ STATS BAR ============ */
.stats {
  position: relative;
  z-index: 1;
  padding: 4rem 2.5rem;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--line);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-num .plus {
  color: var(--green);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ============ SECTIONS ============ */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2.5rem;
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 720px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-title .accent {
  color: var(--green-bright);
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* ============ PRODUCT GRID ============ */
.products {
  background: var(--bg);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 195, 122, 0.3);
  transform: translateY(-3px);
}

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

.product-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(0, 195, 122, 0.1);
  border: 1px solid rgba(0, 195, 122, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-bright);
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-content {
  flex: 1;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.product-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product-link {
  color: var(--green-bright);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s ease;
}

.product-link:hover {
  gap: 0.6rem;
}

/* ============ SOLUTIONS ============ */
.solutions {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.solution-svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: var(--green-bright);
}

.solution-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.solution-card p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============ LOGO WALL ============ */
.trust-section {
  background: var(--bg);
  padding: 5rem 2.5rem;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-wall-item {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-right: 1px solid var(--line);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logo-wall-item:nth-child(6n) {
  border-right: none;
}

.logo-wall-item:hover {
  opacity: 1;
  color: var(--text);
}

/* ============ CERTIFICATIONS ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cert-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.25s ease;
}

.cert-item:hover {
  border-color: var(--line-strong);
}

.cert-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cert-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============ FEATURES TABLE ============ */
.features-split {
  background: var(--bg);
}

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

.feature-row {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.feature-row:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--green-bright);
}

.feature-row h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-row p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ============ CTA BAND ============ */
.cta-band {
  padding: 6rem 2.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(0, 195, 122, 0.12) 0%, transparent 60%),
    var(--felt);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '♠';
  position: absolute;
  top: 20%;
  left: 8%;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.cta-band::after {
  content: '♣';
  position: absolute;
  bottom: 15%;
  right: 10%;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.cta-band > .section-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.cta-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 11rem 2.5rem 5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 60%);
  pointer-events: none;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-title .accent {
  color: var(--green-bright);
}

.page-sub {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============ ABOUT PAGE ============ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 7rem;
}

.about-aside h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.about-aside-list {
  list-style: none;
}

.about-aside-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.about-aside-list li strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.prose {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.prose p {
  margin-bottom: 1.5rem;
  color: var(--text-dim);
}

.prose p:first-of-type::first-letter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  float: left;
  line-height: 0.9;
  margin-right: 0.6rem;
  margin-top: 0.4rem;
  color: var(--green-bright);
  font-weight: 700;
}

.prose h3 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-weight: 600;
}

.prose blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--green);
  background: var(--bg-card);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem;
}

.value-card-icon {
  width: 36px;
  height: 36px;
  color: var(--green-bright);
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.value-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============ CONTACT PAGE ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.7rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.contact-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child { border-bottom: none; }

.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.6rem;
}

.contact-value {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-value a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s ease;
}

.contact-value a:hover {
  border-color: var(--green);
  color: var(--green-bright);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.5rem;
}

.form-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(0, 195, 122, 0.12);
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
  font-family: 'Inter', sans-serif;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============ FOOTER ============ */
footer {
  background: #060a15;
  border-top: 1px solid var(--line);
  padding: 5rem 2.5rem 2rem;
  z-index: 1;
  position: relative;
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.65;
}

.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.7rem; }

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--green-bright); }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav { padding: 0.9rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links li:nth-child(-n+3) { display: none; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2rem; }
  .hero-visual { height: 360px; order: -1; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  section { padding: 4rem 1.25rem; }
  .stats { padding: 3rem 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stat:nth-child(2)::after { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; gap: 1.25rem; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall-item:nth-child(3n) { border-right: none; }
  .logo-wall-item:nth-child(6n) { border-right: 1px solid var(--line); }
  .logo-wall-item:nth-child(3n) { border-right: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .features-split-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-aside { position: static; }
  .values-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-card { padding: 1.75rem 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .page-header { padding: 8rem 1.25rem 3rem; }
  .cta-band { padding: 4rem 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
