/*
 * Emerald Vault Homepage — Style Sheet
 * Version: 3.0.0
 * Mobile-first dark neomorphic / skeuomorphic design
 * Palette: #1a1d2e base · #00e5a0 emerald · #00c6ff cyan · #7f66ff violet
 */

/* =========================================================
   CSS CUSTOM PROPERTIES
========================================================= */
.evh-wrapper {
  --evh-bg:           #1a1d2e;
  --evh-bg-deep:      #13151f;
  --evh-bg-raised:    #1f2236;
  --evh-bg-card:      #1c1e30;
  --evh-shadow-dark:  #0d0f1a;
  --evh-em:           #00e5a0;
  --evh-em-dim:       rgba(0,229,160,0.12);
  --evh-em-glow:      rgba(0,229,160,0.30);
  --evh-blue:         #00c6ff;
  --evh-violet:       #7f66ff;
  --evh-text:         #e8eaf6;
  --evh-mid:          #8892b0;
  --evh-dim:          #4a5568;
  --evh-border:       rgba(255,255,255,0.06);
  --evh-inset:        inset 4px 4px 12px #0d0f1a, inset -3px -3px 8px rgba(255,255,255,0.04);
  --evh-raise:        8px 8px 20px #0d0f1a, -4px -4px 12px rgba(255,255,255,0.04);
  --evh-raise-heavy:  14px 14px 36px #0a0c14, -6px -6px 18px rgba(255,255,255,0.05);
  --evh-r-lg:         24px;
  --evh-r-md:         16px;
  --evh-r-sm:         10px;

  /* Layout spacing */
  --evh-gutter:       16px;
  --evh-section-gap:  40px;
}

/* =========================================================
   BASE RESET (scoped to wrapper)
========================================================= */
.evh-wrapper *,
.evh-wrapper *::before,
.evh-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.evh-wrapper {
  position: relative;
  background: var(--evh-bg-deep);
  color: var(--evh-text);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  /* Noise texture */
  isolation: isolate;
}
.evh-wrapper::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9998;
}
.evh-wrapper a { text-decoration: none; color: inherit; }
.evh-wrapper img { max-width: 100%; display: block; }
.evh-wrapper button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* =========================================================
   SCROLL PROGRESS LINE
========================================================= */
#evh-scroll-line {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--evh-em), var(--evh-blue));
  box-shadow: 0 0 8px var(--evh-em-glow);
  z-index: 9999;
  width: 0%;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* =========================================================
   AMBIENT BLOBS
========================================================= */
.evh-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: evhDrift 20s ease-in-out infinite alternate;
}
.evh-blob-1 { width: 400px; height: 400px; background: rgba(0,229,160,0.06);  top: -150px; left: -150px; }
.evh-blob-2 { width: 350px; height: 350px; background: rgba(127,102,255,0.07); bottom: -100px; right: -80px; animation-delay: -7s; }
.evh-blob-3 { width: 300px; height: 300px; background: rgba(0,198,255,0.05);   top: 40%;   left: 40%; animation-delay: -13s; }
@keyframes evhDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,20px) scale(1.06); }
}

/* =========================================================
   INNER MAX-WIDTH CONTAINER
========================================================= */
.evh-wrapper > *:not(.evh-blob):not(#evh-scroll-line) {
  position: relative;
  z-index: 1;
}
/* All direct block children share max-width + side padding */
.evh-header,
.evh-hero,
.evh-ticker-wrap,
.evh-section,
.evh-metrics-row,
.evh-footer {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--evh-gutter);
  padding-right: var(--evh-gutter);
}

/* =========================================================
   HEADER
========================================================= */
.evh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  margin-top: 16px;
  background: var(--evh-bg-raised);
  border-radius: var(--evh-r-lg);
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise);
  position: sticky;
  top: 12px;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.evh-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--evh-text);
  white-space: nowrap;
}
.evh-logo span { color: var(--evh-em); }
.evh-logo-gem {
  width: 28px; height: 28px;
  background: conic-gradient(from 120deg, #00e5a0, #00c6ff, #7f66ff, #00e5a0);
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px var(--evh-em-glow), var(--evh-inset);
  font-size: 0.65rem; color: #0a0c14; font-weight: 700;
  flex-shrink: 0;
  animation: evhGemSpin 8s linear infinite;
}
@keyframes evhGemSpin {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

/* Desktop nav */
.evh-nav {
  display: none; /* hidden on mobile, shown on md+ */
  align-items: center;
  gap: 4px;
}
.evh-nav a {
  padding: 7px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--evh-mid);
  transition: all 0.22s;
  border: 1px solid transparent;
}
.evh-nav a:hover {
  color: var(--evh-em);
  background: var(--evh-em-dim);
  border-color: rgba(0,229,160,0.2);
}
.evh-btn-nav {
  background: var(--evh-em-dim) !important;
  color: var(--evh-em) !important;
  border-color: rgba(0,229,160,0.22) !important;
  box-shadow: 0 0 10px rgba(0,229,160,0.12);
}
.evh-btn-nav:hover {
  background: var(--evh-em) !important;
  color: #0a0c14 !important;
  box-shadow: 0 0 20px var(--evh-em-glow), 0 4px 16px rgba(0,229,160,0.25) !important;
}

/* Mobile hamburger */
.evh-mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 8px 7px;
  background: var(--evh-bg-card);
  border-radius: var(--evh-r-sm);
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise);
}
.evh-mobile-menu-btn span {
  display: block; height: 2px;
  background: var(--evh-mid);
  border-radius: 2px;
  transition: all 0.25s;
}
.evh-mobile-menu-btn.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.evh-mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.evh-mobile-menu-btn.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.evh-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: calc(100% + 10px);
  left: var(--evh-gutter);
  right: var(--evh-gutter);
  background: var(--evh-bg-raised);
  border: 1px solid var(--evh-border);
  border-radius: var(--evh-r-lg);
  padding: 16px;
  box-shadow: var(--evh-raise-heavy);
  z-index: 300;
  gap: 4px;
  animation: evhNavIn 0.22s cubic-bezier(.16,1,.3,1);
}
@keyframes evhNavIn {
  from { opacity:0; transform: translateY(-8px); }
  to   { opacity:1; transform: none; }
}
.evh-nav.is-open a { padding: 10px 14px; width: 100%; font-size: 0.82rem; }

/* =========================================================
   BUTTONS
========================================================= */
.evh-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 40px;
  background: var(--evh-em);
  color: #0a0c14;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    0 4px 14px rgba(0,229,160,0.32),
    0 1px 0 rgba(255,255,255,0.28) inset,
    0 -2px 0 rgba(0,0,0,0.25) inset;
  transition: all 0.22s;
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.evh-btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, transparent 55%);
  border-radius: 40px;
  pointer-events: none;
}
.evh-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,229,160,0.45), 0 1px 0 rgba(255,255,255,0.28) inset;
}
.evh-btn-primary:active { transform: translateY(1px); }

.evh-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 40px;
  background: transparent;
  color: var(--evh-mid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise);
  transition: all 0.22s;
  white-space: nowrap;
}
.evh-btn-ghost:hover {
  color: var(--evh-text);
  border-color: rgba(255,255,255,0.12);
}

/* =========================================================
   HERO  — mobile-first: single column
========================================================= */
.evh-hero {
  margin-top: 28px;
  padding: 36px var(--evh-gutter) 44px;
  background: var(--evh-bg-raised);
  border-radius: 32px;
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise-heavy);
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
/* Grid-line overlay */
.evh-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,160,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.022) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.evh-hero-text { position: relative; z-index: 1; }

.evh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px;
  border-radius: 40px;
  background: var(--evh-em-dim);
  border: 1px solid rgba(0,229,160,0.22);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--evh-em);
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,229,160,0.1);
}
.evh-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--evh-em);
  box-shadow: 0 0 6px var(--evh-em);
  animation: evhPulse 2s ease-in-out infinite;
}
@keyframes evhPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.45; transform:scale(0.65); }
}
.evh-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.1rem, 8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--evh-text);
  margin-bottom: 18px;
}
.evh-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--evh-em) 0%, var(--evh-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.evh-hero-sub {
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  line-height: 1.75;
  color: var(--evh-mid);
  margin-bottom: 30px;
}
.evh-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Device frame — hidden on small mobile, shown sm+ */
.evh-hero-screen-wrap {
  display: none;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
}
.evh-hero-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: linear-gradient(135deg, var(--evh-em), var(--evh-blue));
  color: #0a0c14;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,229,160,0.35);
  animation: evhFloat 3s ease-in-out infinite;
  z-index: 10;
}
@keyframes evhFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.evh-device-frame {
  width: 100%;
  max-width: 300px;
  background: var(--evh-bg-card);
  border-radius: 32px;
  border: 1.5px solid rgba(255,255,255,0.07);
  box-shadow:
    18px 18px 44px #090b14,
    -6px -6px 20px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 16px;
}
/* LCD screen */
.evh-lcd {
  background: #080b12;
  border-radius: var(--evh-r-md);
  border: 1px solid rgba(0,229,160,0.13);
  padding: 16px 18px;
  box-shadow:
    inset 5px 5px 14px rgba(0,0,0,0.75),
    inset -2px -2px 6px rgba(255,255,255,0.02),
    0 0 16px rgba(0,229,160,0.07);
  position: relative; overflow: hidden;
}
.evh-lcd::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,229,160,0.016) 3px, rgba(0,229,160,0.016) 4px
  );
  pointer-events: none;
}
.evh-lcd-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.15em;
  color: rgba(0,229,160,0.38);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.evh-lcd-serial {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--evh-em);
  text-shadow: 0 0 8px var(--evh-em), 0 0 4px rgba(0,229,160,0.5);
  display: block;
}
.evh-lcd-sub {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 9px;
}
.evh-lcd-status {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  color: rgba(0,229,160,0.48);
  letter-spacing: 0.1em;
}
.evh-lcd-blink {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--evh-em);
  box-shadow: 0 0 7px var(--evh-em);
  animation: evhBlink 1.2s step-end infinite;
}
@keyframes evhBlink { 0%,100%{opacity:1;} 50%{opacity:0;} }
/* Stats grid */
.evh-device-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.evh-stat-pill {
  background: var(--evh-bg-deep);
  border-radius: var(--evh-r-sm);
  border: 1px solid var(--evh-border);
  padding: 10px 12px;
  box-shadow: var(--evh-inset);
  display: flex; flex-direction: column; gap: 3px;
}
.evh-stat-label { font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--evh-dim); }
.evh-stat-val { font-family: 'Share Tech Mono', monospace; font-size: 0.95rem; color: var(--evh-text); }
.evh-green { color: var(--evh-em) !important; text-shadow: 0 0 7px var(--evh-em-glow); }
.evh-blue  { color: var(--evh-blue) !important; text-shadow: 0 0 7px rgba(0,198,255,0.35); }
/* Device buttons */
.evh-device-btns { display: flex; gap: 8px; justify-content: center; }
.evh-d-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--evh-bg-deep);
  border: 1px solid var(--evh-border);
  box-shadow: 5px 5px 12px #0a0c14, -2px -2px 7px rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: var(--evh-mid);
  font-size: 0.9rem;
  transition: all 0.18s;
}
.evh-d-btn:hover, .evh-d-active {
  box-shadow: inset 3px 3px 8px #090b13, inset -2px -2px 5px rgba(255,255,255,0.03), 0 0 9px var(--evh-em-glow);
  background: var(--evh-bg-card);
  color: var(--evh-em);
  border-color: rgba(0,229,160,0.18);
}

/* =========================================================
   TICKER
========================================================= */
.evh-ticker-wrap {
  margin-top: 20px;
  background: var(--evh-bg-card);
  border-radius: 100px;
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise);
  overflow: hidden;
  height: 40px;
  display: flex; align-items: center;
  position: relative;
}
.evh-ticker-wrap::before, .evh-ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
}
.evh-ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--evh-bg-card), transparent); }
.evh-ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--evh-bg-card), transparent); }
.evh-ticker-label {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--evh-em);
  border-right: 1px solid var(--evh-border);
  height: 100%; display: flex; align-items: center;
  background: var(--evh-bg-card);
  z-index: 3;
  white-space: nowrap;
}
.evh-ticker-track {
  display: flex;
  animation: evhTicker 24s linear infinite;
  white-space: nowrap;
}
.evh-ticker-item {
  padding: 0 26px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  color: var(--evh-mid);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.05em;
}
.evh-ti-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--evh-dim); }
.evh-ti-val { color: var(--evh-em); }
@keyframes evhTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SECTIONS — shared
========================================================= */
.evh-section {
  margin-top: var(--evh-section-gap);
  padding: 36px var(--evh-gutter);
  background: var(--evh-bg-raised);
  border-radius: 28px;
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise-heavy);
}
.evh-section-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evh-dim);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.evh-section-tag::before {
  content: ''; display: block;
  width: 22px; height: 1px;
  background: var(--evh-dim);
}
.evh-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--evh-text);
  margin-bottom: 12px;
}
.evh-section-title em {
  font-style: italic;
  color: var(--evh-em);
}
.evh-section-lead {
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  line-height: 1.75;
  color: var(--evh-mid);
  margin-bottom: 32px;
}

/* =========================================================
   ABOUT LAYOUT
========================================================= */
.evh-about-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.evh-about-visual {
  background: var(--evh-bg-card);
  border-radius: var(--evh-r-lg);
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-inset);
  padding: 24px;
  display: flex; flex-direction: column; gap: 18px;
}
.evh-progress-item { display: flex; flex-direction: column; gap: 7px; }
.evh-progress-header { display: flex; justify-content: space-between; align-items: center; }
.evh-progress-label { font-size: 0.76rem; font-weight: 600; color: var(--evh-mid); }
.evh-progress-pct { font-family: 'Share Tech Mono', monospace; font-size: 0.76rem; color: var(--evh-em); }
.evh-progress-bar {
  height: 5px; background: var(--evh-bg-deep);
  border-radius: 10px; box-shadow: var(--evh-inset); overflow: hidden;
}
.evh-progress-fill {
  height: 100%; width: var(--fill, 100%);
  border-radius: 10px;
  background: linear-gradient(90deg, var(--evh-em), var(--evh-blue));
  box-shadow: 0 0 7px var(--evh-em-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1) 0.4s;
}
.evh-section.in-view .evh-progress-fill { transform: scaleX(1); }

/* =========================================================
   CARDS GRID
========================================================= */
.evh-grid { display: flex; flex-direction: column; gap: 16px; }
.evh-card {
  background: var(--evh-bg-card);
  border-radius: var(--evh-r-lg);
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.22s;
}
.evh-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,160,0.28), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.evh-card:hover { box-shadow: var(--evh-raise-heavy), 0 0 24px rgba(0,229,160,0.05); }
.evh-card:hover::before { opacity: 1; }
.evh-card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--evh-bg-deep);
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-inset);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.evh-card-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem; color: var(--evh-dim); letter-spacing: 0.12em;
}
.evh-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--evh-text); line-height: 1.2;
}
.evh-card p {
  font-size: 0.88rem; line-height: 1.7; color: var(--evh-mid); flex: 1;
}
.evh-card-link {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--evh-em);
  opacity: 0.55; transition: opacity 0.2s;
}
.evh-card:hover .evh-card-link { opacity: 1; }

/* =========================================================
   METRICS ROW
========================================================= */
.evh-metrics-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.evh-metric-card {
  background: var(--evh-bg-card);
  border: 1px solid var(--evh-border);
  border-radius: var(--evh-r-md);
  padding: 20px 16px;
  box-shadow: var(--evh-inset);
  text-align: center;
  display: flex; flex-direction: column; gap: 5px;
}
.evh-metric-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.5rem;
  color: var(--evh-em);
  text-shadow: 0 0 10px var(--evh-em-glow);
  line-height: 1;
}
.evh-metric-lbl {
  font-size: 0.66rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--evh-dim);
}

/* =========================================================
   CTA SECTION
========================================================= */
.evh-cta {
  text-align: center;
  position: relative; overflow: hidden;
}
.evh-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(0,229,160,0.09) 0%, transparent 68%);
  pointer-events: none;
}
.evh-cta .evh-section-tag { justify-content: center; }
.evh-cta .evh-section-title,
.evh-cta .evh-section-lead { margin-left: auto; margin-right: auto; }
.evh-cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.evh-cta-input-wrap {
  position: relative;
  width: 100%; max-width: 360px;
}
.evh-cta-input {
  width: 100%;
  background: var(--evh-bg-card);
  border: 1px solid var(--evh-border);
  border-radius: 40px;
  padding: 13px 18px 13px 44px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  color: var(--evh-text);
  box-shadow: var(--evh-inset);
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.evh-cta-input:focus {
  border-color: rgba(0,229,160,0.32);
  box-shadow: var(--evh-inset), 0 0 0 3px rgba(0,229,160,0.07);
}
.evh-cta-input::placeholder { color: var(--evh-dim); }
.evh-cta-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--evh-dim); font-size: 0.95rem;
}
.evh-cta-note { margin-top: 16px; font-size: 0.78rem; color: var(--evh-dim); }
.evh-cta-note a { color: var(--evh-em); opacity: 0.8; }
.evh-cta-note a:hover { opacity: 1; }

/* =========================================================
   FOOTER
========================================================= */
.evh-footer {
  margin-top: var(--evh-section-gap);
  padding: 28px var(--evh-gutter);
  background: var(--evh-bg-raised);
  border-radius: var(--evh-r-lg);
  border: 1px solid var(--evh-border);
  box-shadow: var(--evh-raise);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.evh-footer-copy { font-size: 0.72rem; color: var(--evh-dim); margin-top: 4px; }
.evh-footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.evh-footer-links a {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--evh-mid);
  transition: color 0.18s;
}
.evh-footer-links a:hover { color: var(--evh-em); }
.evh-footer-serial {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem; color: var(--evh-dim); letter-spacing: 0.1em;
}
.evh-footer-serial span { color: rgba(0,229,160,0.45); }

/* =========================================================
   SCROLL ANIMATION STATES
========================================================= */
.evh-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.evh-animate-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1), box-shadow 0.22s;
}
.evh-animate-card:nth-child(1) { transition-delay: 0.05s; }
.evh-animate-card:nth-child(2) { transition-delay: 0.12s; }
.evh-animate-card:nth-child(3) { transition-delay: 0.19s; }
.evh-animate-card:nth-child(4) { transition-delay: 0.26s; }
.evh-metric-card { transition-delay: calc(var(--i, 0) * 0.08s); }
.evh-animate.in-view,
.evh-animate-card.in-view,
.evh-metric-card.in-view { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE — sm: 480px+
========================================================= */
@media (min-width: 480px) {
  :root { --evh-gutter: 20px; }
  .evh-hero-actions { flex-direction: row; }
  .evh-cta-form { flex-direction: row; justify-content: center; }
  .evh-cta-input-wrap { flex: 1; }
}

/* =========================================================
   RESPONSIVE — md: 680px+
========================================================= */
@media (min-width: 680px) {
  :root {
    --evh-gutter: 28px;
    --evh-section-gap: 52px;
  }
  .evh-mobile-menu-btn { display: none; }
  .evh-nav { display: flex; }
  .evh-hero {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 52px var(--evh-gutter) 60px;
  }
  .evh-hero-text { flex: 1; }
  .evh-hero-screen-wrap { display: flex; flex: 0 0 auto; }
  .evh-grid.evh-grid-2 { flex-direction: row; flex-wrap: wrap; }
  .evh-grid.evh-grid-2 .evh-card { flex: 1 1 calc(50% - 8px); min-width: 220px; }
  .evh-about-layout { flex-direction: row; align-items: center; }
  .evh-about-layout > * { flex: 1; }
  .evh-section { padding: 48px var(--evh-gutter); }
  .evh-footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* =========================================================
   RESPONSIVE — lg: 900px+
========================================================= */
@media (min-width: 900px) {
  :root {
    --evh-gutter: 40px;
    --evh-section-gap: 64px;
  }
  .evh-grid.evh-grid-3 {
    flex-direction: row;
  }
  .evh-grid.evh-grid-3 .evh-card { flex: 1; }
  .evh-metrics-row { grid-template-columns: repeat(4, 1fr); }
  .evh-section { padding: 56px var(--evh-gutter); border-radius: 36px; }
  .evh-hero { border-radius: 40px; padding: 64px var(--evh-gutter) 72px; }
  .evh-header { margin-top: 24px; padding: 18px 32px; }
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  .evh-animate, .evh-animate-card, .evh-metric-card { opacity: 1; transform: none; transition: none; }
  .evh-blob, .evh-dot, .evh-logo-gem, .evh-ticker-track,
  .evh-lcd-blink, .evh-hero-badge { animation: none; }
  .evh-progress-fill { transform: scaleX(1); transition: none; }
}
