/* ============================================
   ROOT — root-mg.com · Multi-page · Dense content
   ============================================ */

:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --bg-card: #0c0c0c;
  --green: #00ff41;
  --green-dim: #00cc33;
  --green-glow: rgba(0, 255, 65, 0.25);
  --green-soft: rgba(0, 255, 65, 0.08);
  --text: #e8e8e8;
  --text-muted: #8a8a8a;
  --border: #1a1a1a;
  --font-mono: 'JetBrains Mono', 'Share Tech Mono', ui-monospace, monospace;
  --radius: 2px;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

#matrix {
  position: fixed; inset: 0; z-index: 0; opacity: 0.18; pointer-events: none;
}
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px);
  opacity: 0.35;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.45) 100%);
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100;
  background: rgba(5,5,5,0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s, background 0.4s;
}
.header.scrolled {
  border-bottom-color: rgba(0,255,65,0.28);
  background: rgba(5,5,5,0.95);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo {
  display: inline-flex; align-items: center; gap: 1px;
  text-decoration: none; color: var(--text); font-weight: 700;
  font-size: 1.15rem; letter-spacing: 0.12em;
}
.logo-bracket { color: var(--green); text-shadow: 0 0 12px var(--green-glow); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav-link {
  color: var(--text-muted); text-decoration: none; font-size: 0.76rem;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.25s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  padding: 0.45rem 0.9rem; border: 1px solid rgba(0,255,65,0.4);
  color: var(--green) !important; border-radius: var(--radius); font-size: 0.74rem;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-soft); box-shadow: 0 0 15px var(--green-soft); }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--green); transition: 0.3s; }

/* Hero */
.hero {
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h); position: relative; overflow: hidden;
}
.hero-content { padding-block: 3.5rem 5.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem;
  color: var(--green); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1.4rem; text-shadow: 0 0 10px var(--green-glow);
}
.cursor-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 1.3rem;
}
.hero-title .line { display: block; }
.green { color: var(--green); text-shadow: 0 0 20px var(--green-glow); }

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.7;
}
.glitch::before { color: #0ff; z-index: -1; animation: glitch-1 2.8s infinite linear alternate-reverse; }
.glitch::after { color: #f0f; z-index: -2; animation: glitch-2 3.2s infinite linear alternate-reverse; }
@keyframes glitch-1 {
  0% { clip-path: inset(20% 0 60% 0); transform: translate(-2px,1px); }
  20% { clip-path: inset(50% 0 20% 0); transform: translate(2px,-1px); }
  40% { clip-path: inset(10% 0 70% 0); transform: translate(-1px,2px); }
  60% { clip-path: inset(70% 0 10% 0); transform: translate(1px,-2px); }
  80% { clip-path: inset(30% 0 40% 0); transform: translate(-2px,1px); }
  100% { clip-path: inset(5% 0 80% 0); transform: translate(2px,1px); }
}
@keyframes glitch-2 {
  0% { clip-path: inset(60% 0 10% 0); transform: translate(2px,-1px); }
  25% { clip-path: inset(15% 0 55% 0); transform: translate(-2px,2px); }
  50% { clip-path: inset(80% 0 5% 0); transform: translate(1px,-2px); }
  75% { clip-path: inset(40% 0 30% 0); transform: translate(-1px,1px); }
  100% { clip-path: inset(25% 0 50% 0); transform: translate(2px,-1px); }
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.9vw, 1.15rem); color: var(--text-muted); max-width: 560px;
  margin-bottom: 2rem; line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.5rem;
  font-family: var(--font-mono); font-size: 0.84rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1); border: 1px solid transparent; background: none; color: inherit;
}
.btn-primary {
  background: var(--green); color: #000; border-color: var(--green); box-shadow: 0 0 16px var(--green-glow);
}
.btn-primary:hover {
  background: transparent; color: var(--green);
  box-shadow: 0 0 26px var(--green-glow), inset 0 0 16px var(--green-soft); transform: translateY(-2px);
}
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--green); border-color: var(--green); box-shadow: 0 0 12px var(--green-soft); }
.btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-full { width: 100%; justify-content: center; }

.marquee {
  position: absolute; left: 0; right: 0; overflow: hidden; white-space: nowrap;
  pointer-events: none; z-index: 2; font-size: 0.74rem; color: rgba(0,255,65,0.3); letter-spacing: 0.04em;
}
.marquee-top {
  bottom: 72px; border-top: 1px solid rgba(0,255,65,0.1); border-bottom: 1px solid rgba(0,255,65,0.1);
  padding: 0.45rem 0; background: rgba(0,0,0,0.4);
}
.marquee-bottom { bottom: 32px; padding: 0.3rem 0; color: rgba(0,255,65,0.18); font-size: 0.66rem; }
.marquee-track { display: inline-flex; gap: 2.5rem; animation: marquee 28s linear infinite; }
.marquee-track.reverse { animation: marquee-reverse 36s linear infinite; }
.marquee-track span { flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Sections — denser */
.section { padding: 4.5rem 0; position: relative; z-index: 2; }
.section-header { margin-bottom: 2.2rem; }
.section-tag {
  display: block; font-size: 0.7rem; color: var(--green); letter-spacing: 0.15em;
  margin-bottom: 0.7rem; text-shadow: 0 0 8px var(--green-glow);
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.18;
  margin-bottom: 0.85rem; letter-spacing: -0.02em;
}
.section-desc { color: var(--text-muted); max-width: 580px; font-size: 0.95rem; line-height: 1.7; }

.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-top: 2.5rem;
}
.trust-item {
  text-align: center; padding: 1.25rem 0.9rem; border: 1px solid var(--border);
  background: var(--bg-elevated); border-radius: var(--radius);
}
.trust-item .num {
  display: block; font-size: 1.55rem; font-weight: 700; color: var(--green);
  text-shadow: 0 0 12px var(--green-glow); margin-bottom: 0.3rem;
}
.trust-item .label { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.15rem;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.55rem 1.35rem; transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.card:hover {
  border-color: rgba(0,255,65,0.4);
  box-shadow: 0 0 32px var(--green-soft), inset 0 0 24px rgba(0,255,65,0.03);
  transform: translateY(-3px);
}
.card-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,255,65,0.3); border-radius: var(--radius); color: var(--green);
  font-size: 1rem; margin-bottom: 1rem; background: var(--green-soft); text-shadow: 0 0 10px var(--green-glow);
}
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.55rem; }
.card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; margin-bottom: 0.9rem; }
.card ul { list-style: none; }
.card ul li {
  font-size: 0.78rem; color: var(--text-muted); padding: 0.22rem 0; padding-left: 1rem; position: relative;
}
.card ul li::before { content: '>'; position: absolute; left: 0; color: var(--green); font-weight: 600; }

.code-band {
  overflow: hidden; background: #030303;
  border-top: 1px solid rgba(0,255,65,0.12); border-bottom: 1px solid rgba(0,255,65,0.12);
  padding: 0.75rem 0; position: relative; z-index: 2;
}
.code-band-track { display: flex; gap: 3rem; animation: marquee 40s linear infinite; white-space: nowrap; }
.code-band-track pre {
  font-family: var(--font-mono); font-size: 0.74rem; color: rgba(0,255,65,0.48); margin: 0; flex-shrink: 0;
}

.timeline { display: grid; gap: 1.1rem; max-width: 800px; }
.timeline-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 1.35rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elevated); transition: border-color 0.3s, box-shadow 0.3s;
}
.timeline-step:hover { border-color: rgba(0,255,65,0.35); box-shadow: 0 0 20px var(--green-soft); }
.step-num {
  font-size: 1.25rem; font-weight: 700; color: var(--green); text-shadow: 0 0 12px var(--green-glow);
  min-width: 2rem; line-height: 1.2;
}
.step-body h3 { font-size: 1rem; margin-bottom: 0.3rem; font-weight: 600; }
.step-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.8rem; align-items: start; }
.split-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.94rem; line-height: 1.7; }
.split-text p strong { color: var(--text); font-weight: 500; }

.terminal {
  background: #080808; border: 1px solid rgba(0,255,65,0.22); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 0 40px rgba(0,255,65,0.07), inset 0 0 30px rgba(0,0,0,0.5);
}
.terminal-header {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.95rem;
  background: #0d0d0d; border-bottom: 1px solid rgba(0,255,65,0.1);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title { margin-left: 0.45rem; font-size: 0.7rem; color: var(--text-muted); }
.terminal-body { padding: 1.1rem 1.05rem; min-height: 180px; font-size: 0.8rem; line-height: 1.75; }
.terminal-line { margin-bottom: 0.1rem; }
.terminal-line .prompt { color: var(--green); margin-right: 0.4rem; }
.terminal-line.output { color: var(--text-muted); padding-left: 0.95rem; }
.terminal-line .cursor { color: var(--green); animation: blink 1s step-end infinite; }

.principles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.8rem;
}
.principle {
  padding: 1.35rem 1.2rem; border-left: 2px solid var(--green); background: var(--bg-elevated);
}
.principle h4 { font-size: 0.9rem; margin-bottom: 0.45rem; color: var(--green); }
.principle p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.cta-block {
  text-align: center; padding: 3rem 1.8rem; border: 1px solid rgba(0,255,65,0.2);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, transparent 100%);
  border-radius: var(--radius); margin-top: 1.5rem;
}
.cta-block h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin-bottom: 0.7rem; }
.cta-block p { color: var(--text-muted); max-width: 460px; margin: 0 auto 1.5rem; font-size: 0.92rem; }

.contact-form { max-width: 620px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.35rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.8rem 0.95rem; font-family: var(--font-mono);
  font-size: 0.88rem; color: var(--text); transition: border-color 0.3s, box-shadow 0.3s;
  outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 16px var(--green-soft);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #444; }

/* Page hero — compact, not full viewport empty */
.page-hero {
  padding: calc(var(--header-h) + 2.8rem) 0 2rem;
  position: relative; z-index: 2;
  border-bottom: 1px solid rgba(0,255,65,0.08);
  background: linear-gradient(180deg, rgba(0,255,65,0.03) 0%, transparent 100%);
}
.page-hero .section-title { margin-bottom: 0.7rem; }
.page-hero .section-desc { margin-bottom: 0; }

.content-block {
  margin-bottom: 2.2rem; padding: 1.6rem 1.5rem;
  border: 1px solid var(--border); background: var(--bg-elevated); border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.content-block:hover {
  border-color: rgba(0,255,65,0.28);
  box-shadow: 0 0 24px var(--green-soft);
}
.content-block h3 {
  font-size: 1.08rem; margin-bottom: 0.65rem; color: var(--green);
  display: flex; align-items: center; gap: 0.6rem;
}
.content-block p { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.9rem; line-height: 1.7; }
.content-block p:last-of-type { margin-bottom: 0.6rem; }
.content-block ul { list-style: none; margin: 0.7rem 0 0; display: grid; gap: 0.35rem; }
.content-block ul li {
  position: relative; padding-left: 1.15rem; color: var(--text-muted); font-size: 0.86rem;
}
.content-block ul li::before { content: '›'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Feature list home */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.5rem;
}
.feature-item {
  padding: 1.3rem 1.2rem; border: 1px solid var(--border); background: var(--bg-card); border-radius: var(--radius);
}
.feature-item h4 {
  font-size: 0.92rem; color: var(--green); margin-bottom: 0.4rem;
}
.feature-item p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

.footer {
  border-top: 1px solid var(--border); padding: 2.2rem 0; position: relative; z-index: 2; background: #030303;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
}
.footer-brand p { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.3rem; }
.footer-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.76rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--green); }
.footer-copy p { font-size: 0.7rem; color: #555; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(5,5,5,0.97); flex-direction: column; padding: 1.3rem; gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero-content { padding-block: 2.8rem 5rem; }
  .section { padding: 3.5rem 0; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .marquee-top { bottom: 58px; }
  .marquee-bottom { bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .marquee-track.reverse, .code-band-track { animation: none !important; }
  .glitch::before, .glitch::after { animation: none !important; }
  .cursor-blink, .terminal-line .cursor { animation: none !important; }
  #matrix { display: none; }
}

/* ========== Mobile menu fix ========== */
.header { z-index: 200; }
.menu-toggle {
  z-index: 210;
  position: relative;
}
@media (max-width: 900px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: rgba(5, 5, 5, 0.98);
    flex-direction: column;
    padding: 1.5rem 1.4rem 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    z-index: 199;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  }
  .nav.open {
    display: flex !important;
  }
  .nav .nav-link {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    width: 100%;
  }
  .nav .nav-link::after { display: none; }
  .nav .nav-cta {
    margin-top: 1rem;
    text-align: center;
    border: 1px solid rgba(0,255,65,0.4);
    padding: 0.85rem 1rem;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  body.menu-open {
    overflow: hidden;
  }
}

/* ========== Images matrix filter ========== */
.img-matrix {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0a0a0a;
}
.img-matrix img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.55) contrast(1.15) sepia(100%) hue-rotate(70deg) saturate(3.2);
  transition: filter 0.45s, transform 0.5s;
}
.img-matrix:hover img {
  filter: grayscale(80%) brightness(0.65) contrast(1.2) sepia(100%) hue-rotate(70deg) saturate(3.5);
  transform: scale(1.03);
}
.img-matrix::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.75) 100%);
  pointer-events: none;
}
.img-matrix .img-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  font-size: 0.78rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* Visual grid */
.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
}
.visual-grid .img-matrix:first-child {
  min-height: 280px;
}
.visual-grid .img-matrix {
  min-height: 180px;
}
.visual-stack {
  display: grid;
  gap: 1.2rem;
}

/* Slick overrides */
.slick-slider {
  margin: 1.5rem 0 0.5rem;
}
.slick-slide {
  padding: 0 0.5rem;
  outline: none;
}
.slick-slide .img-matrix {
  min-height: 220px;
  height: 240px;
}
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}
.slick-dots li button {
  font-size: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--green);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.slick-dots li.slick-active button {
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
}
.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,255,65,0.35);
  background: rgba(5,5,5,0.85);
  color: var(--green);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.slick-prev { left: 8px; }
.slick-next { right: 8px; }
.slick-prev:hover, .slick-next:hover {
  background: var(--green-soft);
  border-color: var(--green);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.audience-card {
  padding: 1.35rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.audience-card:hover {
  border-color: rgba(0,255,65,0.35);
  box-shadow: 0 0 22px var(--green-soft);
}
.audience-card h4 {
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 0.45rem;
}
.audience-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 700px) {
  .visual-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(0,255,65,0.25);
  background: var(--bg-elevated);
  border-radius: var(--radius);
}
.contact-card h3 {
  font-size: 0.95rem;
  color: var(--green);
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.contact-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.contact-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}
.contact-list a:hover {
  color: var(--green);
}
.contact-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-alert {
  padding: 1rem 1.15rem;
  margin-bottom: 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-alert-success {
  border: 1px solid rgba(0,255,65,0.4);
  background: rgba(0,255,65,0.08);
  color: var(--green);
}
.form-alert-error {
  border: 1px solid rgba(255,80,80,0.4);
  background: rgba(255,80,80,0.08);
  color: #ff8a8a;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.footer-inner-rich {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.25s;
}
.footer-contact a:hover {
  color: var(--green);
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-inner-rich {
    grid-template-columns: 1fr;
  }
}

/* Logo image */
.logo-img {
  display: block;
  height: 32px;
  width: auto;
}
.footer .logo-img {
  height: 28px;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 250;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}
@media (max-width: 600px) {
  .wa-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}

/* Footer links — vert */
.footer-links a,
.footer-contact a {
  color: var(--green) !important;
  text-decoration: none;
  transition: opacity 0.25s, text-shadow 0.25s;
}
.footer-links a:hover,
.footer-contact a:hover {
  opacity: 0.85;
  text-shadow: 0 0 10px var(--green-glow);
}
.footer-brand p {
  color: var(--text-muted);
}
.footer-copy p {
  color: #555;
}

/* Contact page — CTA WhatsApp / Email */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  max-width: 720px;
}
.contact-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(0, 255, 65, 0.3);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}
.contact-action:hover {
  border-color: var(--green);
  box-shadow: 0 0 28px var(--green-soft);
  transform: translateY(-2px);
  color: var(--text);
}
.contact-action-wa {
  border-color: rgba(37, 211, 102, 0.45);
}
.contact-action-wa:hover {
  border-color: #25d366;
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.2);
}
.contact-action-wa .contact-action-icon {
  color: #25d366;
}
.contact-action-mail .contact-action-icon {
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 700;
  width: 28px;
  text-align: center;
}
.contact-action-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.contact-action-body strong {
  font-size: 1rem;
  color: var(--green);
}
.contact-action-body span {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.contact-action-arrow {
  color: var(--green);
  font-size: 1.1rem;
}
.contact-secondary {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  max-width: 560px;
}
.contact-secondary .contact-label {
  display: inline-block;
  min-width: 5.5rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 0.5rem;
}
.contact-secondary a {
  color: var(--green);
  text-decoration: none;
}
.contact-secondary a:hover {
  text-shadow: 0 0 8px var(--green-glow);
}
.contact-secondary span:not(.contact-label) {
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}

/* ===== FORCE green links (override browser blue) ===== */
.footer a,
.footer a:link,
.footer a:visited,
.footer a:active,
.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-contact a,
.footer-contact a:link,
.footer-contact a:visited {
  color: #00ff41 !important;
  text-decoration: none !important;
}
.footer a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: #00ff41 !important;
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.45);
  opacity: 0.9;
}

.footer-inner-rich {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
.footer-contact a {
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Contact page cards */
.contact-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 760px;
  margin-bottom: 2rem;
}
.contact-action {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.35rem;
  border: 1px solid rgba(0, 255, 65, 0.35);
  background: #0a0a0a;
  border-radius: 2px;
  text-decoration: none !important;
  color: #e8e8e8 !important;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  min-height: 88px;
}
.contact-action:link,
.contact-action:visited,
.contact-action:hover,
.contact-action:active {
  color: #e8e8e8 !important;
  text-decoration: none !important;
}
.contact-action:hover {
  border-color: #00ff41;
  box-shadow: 0 0 28px rgba(0, 255, 65, 0.12);
  transform: translateY(-2px);
}
.contact-action-wa {
  border-color: rgba(37, 211, 102, 0.5);
}
.contact-action-wa:hover {
  border-color: #25d366;
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.18);
}
.contact-action-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.contact-action-wa .contact-action-icon {
  color: #25d366;
}
.contact-action-mail .contact-action-icon {
  color: #00ff41;
  font-size: 1.5rem;
  font-weight: 700;
}
.contact-action-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}
.contact-action-body strong {
  font-size: 1rem;
  color: #00ff41 !important;
  font-weight: 600;
}
.contact-action-body span {
  font-size: 0.82rem;
  color: #8a8a8a !important;
  word-break: break-all;
}
.contact-action-arrow {
  color: #00ff41 !important;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-secondary {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.9rem;
  max-width: 600px;
}
.contact-secondary p {
  margin: 0;
  font-size: 0.9rem;
  color: #8a8a8a;
  line-height: 1.6;
}
.contact-secondary .contact-label {
  display: inline-block;
  min-width: 6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-right: 0.6rem;
}
.contact-secondary a,
.contact-secondary a:link,
.contact-secondary a:visited {
  color: #00ff41 !important;
  text-decoration: none !important;
}
.contact-secondary a:hover {
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

@media (max-width: 640px) {
  .contact-actions {
    grid-template-columns: 1fr !important;
  }
  .footer-inner-rich {
    flex-direction: column;
  }
}
