/* HashCore Toolkit — hashcore-toolkit.net
   Polished dark teal theme matching the original product look.
   No external CSS framework needed. */

:root {
  --bg:        #07130f;
  --bg-1:      #0a1a15;
  --bg-2:      #0e231c;
  --bg-3:      #153126;
  --bg-card:   rgba(10, 26, 21, .76);
  --line:      rgba(134, 239, 172, .14);
  --line-2:    rgba(74, 222, 128, .28);
  --text:      #e2e8f0;
  --text-2:    #cbd5e1;
  --text-muted:#9fb6ad;
  --white:     #ffffff;

  --teal:      #22c55e;
  --teal-300:  #86efac;
  --teal-400:  #4ade80;
  --teal-500:  #22c55e;
  --teal-600:  #16a34a;
  --emerald:   #10b981;
  --emerald-500:#34d399;
  --emerald-600:#059669;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,.25);
  --shadow:    0 12px 40px rgba(0,0,0,.45);
  --shadow-glow: 0 0 0 1px rgba(74, 222, 128, .28), 0 18px 60px rgba(34, 197, 94, .25);
  --container: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

section[id], header[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Ambient teal glow over the whole page */
  background-image:
    radial-gradient(1100px 700px at 85% -10%, rgba(74, 222, 128, .20), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(16, 185, 129, .14), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(34, 197, 94, .10), transparent 70%),
    linear-gradient(180deg, #06130f 0%, #07130f 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-300); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-400); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-600); color: #fff; padding: 8px 16px;
  border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ========== Header / Nav ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 19, 15, .84);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white);
}
.brand img {
  width: 38px; height: 38px;
  filter: drop-shadow(0 0 18px rgba(74, 222, 128, .50));
  transition: transform .25s ease;
}
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-name {
  font-weight: 800; letter-spacing: .14em;
  background: linear-gradient(90deg, #86efac, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 18px; line-height: 1;
}
.brand-sub { font-size: 11px; color: var(--text-muted); letter-spacing: .18em; margin-top: 2px; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links > a {
  color: var(--text); font-size: 14.5px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-links > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--emerald-500));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links > a:hover { color: var(--teal-400); }
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: linear-gradient(135deg, var(--teal-600), var(--emerald-600));
  color: #fff !important;
  padding: 10px 20px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22, 163, 74, .60); color: #fff !important; }
.nav-cta::after { display: none !important; }

/* ========== Language dropdown ========== */
.lang-switch {
  position: relative;
  display: inline-flex;
  margin-left: 8px;
}
.lang-switch .lang-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--text); font-size: 13px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px;
  cursor: pointer;
  letter-spacing: .04em;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lang-switch .lang-trigger:hover,
.lang-switch[data-open="true"] .lang-trigger {
  border-color: var(--teal-500);
  background: rgba(34, 197, 94, .10);
  color: var(--teal-300);
}
.lang-switch .lang-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-switch .lang-caret { transition: transform .2s ease; width: 14px !important; height: 14px !important; opacity: .7; }
.lang-switch[data-open="true"] .lang-caret { transform: rotate(180deg); opacity: 1; }
.lang-switch .lang-current { letter-spacing: .04em; }

.lang-switch .lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: rgba(8, 22, 18, .96);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(74, 222, 128, .05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 100;
}
.lang-switch[data-open="true"] .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-switch .lang-menu li { margin: 0; padding: 0; list-style: none; }
.lang-switch .lang-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 8px;
  color: var(--text-2); font-size: 13.5px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lang-switch .lang-menu a:hover {
  background: rgba(34, 197, 94, .10);
  color: var(--teal-300);
  border-color: rgba(74, 222, 128, .18);
}
.lang-switch .lang-menu a[aria-selected="true"] {
  background: rgba(34, 197, 94, .14);
  color: var(--teal-300);
  border-color: rgba(74, 222, 128, .25);
}
.lang-switch .lang-menu a::after { display: none !important; }
.lang-switch .lang-code {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; min-width: 32px; padding: 4px 0;
  background: rgba(74, 222, 128, .10);
  border: 1px solid var(--line-2);
  color: var(--teal-300);
  border-radius: 6px;
  font-weight: 700; font-size: 11px;
  letter-spacing: .04em;
}
.lang-switch .lang-name { flex: 1; }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 6px 10px; font-size: 18px; cursor: pointer;
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-1); flex-direction: column; align-items: stretch;
    padding: 14px 24px 22px; gap: 0; border-bottom: 1px solid var(--line);
  }
  .nav-links.open > a {
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav-links.open .lang-switch { margin: 12px 0 0; width: 100%; }
  .nav-links.open .lang-switch .lang-trigger { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .nav-links.open .lang-switch .lang-menu { right: 0; left: 0; min-width: auto; }
  .nav-links.open .nav-cta { margin-top: 12px; text-align: center; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 88px 0 72px;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 500px at 50% 0%, rgba(74, 222, 128, .24), transparent 60%),
    radial-gradient(700px 350px at 85% 30%, rgba(16, 185, 129, .16), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 197, 94, .12);
  color: var(--teal-300);
  border: 1px solid var(--line-2);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 10px var(--teal-400);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.hero-logo {
  width: 110px; height: 110px;
  margin: 0 auto 26px;
  display: block;
  filter: drop-shadow(0 0 30px rgba(74, 222, 128, .55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
  font-weight: 800;
  background: linear-gradient(120deg, #bbf7d0 0%, #4ade80 50%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(74, 222, 128, .18);
}
.hero .tagline {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--text);
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -.005em;
}
.hero .lede {
  max-width: 720px; margin: 0 auto 36px;
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.65;
}

/* Hero product image */
.hero-product {
  margin: 50px auto 0;
  max-width: 1080px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 80px rgba(34, 197, 94, .16);
}
.hero-product img {
  width: 100%; height: auto; display: block;
}
.hero-product::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(11, 18, 32, .55) 100%);
  pointer-events: none;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 44px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 14px;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, transform .2s ease;
  position: relative;
}
.stat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.stat-icon {
  width: 38px; height: 38px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 197, 94, .25), rgba(16, 185, 129, .15));
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-300);
}
.stat-icon svg { width: 20px; height: 20px; }
.stat:hover .stat-icon {
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  color: #fff;
  border-color: transparent;
}
.stat .num {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(120deg, #86efac, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--text-muted); font-size: 13px; margin-top: 6px; }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 600; font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--teal-300);
  outline-offset: 3px;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(22, 163, 74, .42), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  transform: translateY(-2px); color: #fff;
  box-shadow: 0 14px 32px rgba(22, 163, 74, .55), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s ease;
  z-index: 0; pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-300); transform: translateY(-2px); }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.btn-row .btn { flex: 0 0 auto; }

/* ========== Sections ========== */
section { padding: 72px 0; position: relative; }
@media (max-width: 720px) { section { padding: 48px 0; } }
section.alt {
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 16, 12, .55) 50%, transparent 100%);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 0 0 16px; font-weight: 700;
  color: var(--white); letter-spacing: -.01em;
  line-height: 1.15;
}
.section-head h2 .gradient-text {
  background: linear-gradient(120deg, #86efac, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

/* ========== Download cards ========== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 980px) { .download-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .download-grid { grid-template-columns: 1fr; } }

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(10px);
}
.download-card::before {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, transparent, rgba(74, 222, 128, .28));
  border-radius: var(--radius-lg);
  opacity: 0; transition: opacity .25s ease;
  z-index: 0; pointer-events: none;
}
.download-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.download-card:hover::before { opacity: 1; }
.download-card > * { position: relative; z-index: 1; }
.download-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(34, 197, 94, .35);
  position: relative;
}
.download-card .icon svg {
  width: 32px; height: 32px;
  color: #fff;
}
.feature .feat-icon svg,
.feature-card .feat-icon svg {
  width: 26px; height: 26px;
  color: #fff;
}
.eco-card .eco-letter svg {
  width: 28px; height: 28px;
  color: #fff;
}
/* Hover micro-interaction on feature icons */
.feature:hover .feat-icon,
.feature-card:hover .feat-icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 12px 28px rgba(34, 197, 94, .45);
}
.feature-card .feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(34, 197, 94, .35);
}
.feature .feat-icon,
.feature-card .feat-icon {
  transition: transform .25s ease, box-shadow .25s ease;
}
.download-card h3 { font-size: 1.3rem; color: var(--white); margin: 10px 0 4px; }
.download-card .ver { color: var(--text-muted); font-size: 13px; margin-bottom: 18px; }
.download-card .btn { width: 100%; }

.download-meta {
  text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 24px;
}

/* ========== Feature grid ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(10px);
}
.feature::after {
  content: ""; position: absolute; top: 0; right: 0; width: 140px; height: 140px;
  background: radial-gradient(circle at 70% 30%, rgba(74, 222, 128, .18), transparent 60%);
  pointer-events: none; opacity: 0;
  transition: opacity .25s ease;
}
.feature:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.feature:hover::after { opacity: 1; }
.feature h3 { color: var(--white); margin: 0 0 12px; font-size: 1.2rem; }
.feature p { color: var(--text-2); margin: 0; font-size: .98rem; }
.feature .feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(34, 197, 94, .35);
}
.feature-img {
  margin: -26px -26px 18px;
  height: 180px;
  background: #0b1220;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.feature:hover .feature-img img { transform: scale(1.05); }

/* ========== Media cards (full-size screenshots, no cropping) ========== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start; /* don't stretch cards to equal height */
}
@media (max-width: 980px) { .media-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .media-grid { grid-template-columns: 1fr; } }

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.media-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.media-card .shot {
  position: relative;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(74, 222, 128, .12), transparent 70%),
    linear-gradient(180deg, #061410 0%, #03100c 100%);
  border-bottom: 1px solid var(--line);
  padding: 14px;
  /* No aspect-ratio: container grows to image's natural height */
}

.media-card .shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .55);
  border: 1px solid rgba(134, 239, 172, .10);
}

/* Legacy markup fallback (img direct child) — same behavior */
.media-card > img {
  width: 100%;
  height: auto;
  display: block;
  background: #03100c;
  border-bottom: 1px solid var(--line);
  padding: 14px;
}

.media-card .body { padding: 20px 22px 22px; }
.media-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--white); }
.media-card p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.55; }

/* ========== Video embeds ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-meta { padding: 12px 14px 14px; }
.video-meta h3 { margin: 0 0 6px; font-size: 1rem; color: var(--white); }
.video-meta p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* ========== Two column with imagery ========== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col > img,
.two-col > div > img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  display: block;
}
.two-col h2 { color: var(--white); margin-top: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.two-col p { color: var(--text-2); }

/* ========== Vendors ========== */
.vendors {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 50px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.vendors img {
  height: 32px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .2s ease;
}
.vendors img:hover { opacity: 1; }

/* ========== Vendor / supported miner grid ========== */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .vendor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vendor-grid { grid-template-columns: 1fr; } }
.vendor-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px 24px;
  transition: border-color .25s ease, transform .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vendor-card:hover { border-color: var(--teal-500); transform: translateY(-3px); }
.vendor-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.005em;
}
.vendor-card .vendor-models {
  font-size: .85rem;
  color: var(--teal-300);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.55;
  letter-spacing: .005em;
}
.vendor-card p {
  margin: 0;
  color: var(--text-2);
  font-size: .92rem;
  line-height: 1.6;
}

/* ========== Ecosystem cards ========== */
.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.eco-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.eco-card .eco-letter {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  color: #fff; font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(34, 197, 94, .35);
}

/* ========== FAQ ========== */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
  backdrop-filter: blur(8px);
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px;
  font-weight: 600; color: var(--white);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; color: var(--teal-400);
  transition: transform .25s ease; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] { border-color: var(--line-2); }
.faq-item .answer {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.faq-item .answer p { margin: 14px 0 0; color: var(--text-2); }

/* ========== Tables ========== */
table.spec {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  font-size: .95rem;
}
table.spec th, table.spec td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
table.spec th { background: rgba(15, 23, 42, .6); color: var(--white); font-weight: 600; }
table.spec tr:last-child td { border-bottom: none; }

/* ========== Code ========== */
pre.code {
  background: #03100c;
  color: var(--text);
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem; line-height: 1.6;
}
code.inline {
  background: rgba(34, 197, 94, .14);
  color: var(--teal-300);
  padding: 2px 7px; border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  border: 1px solid var(--line-2);
}

/* ========== Breadcrumbs ========== */
.crumbs {
  font-size: 14px; color: var(--text-muted);
  padding: 24px 0 0;
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--teal-400); }
.crumbs .sep { margin: 0 10px; opacity: .5; }

/* ========== Article body ========== */
.article { max-width: 880px; margin: 0 auto; }
.article h2 { margin-top: 56px; font-size: 1.85rem; color: var(--white); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 36px; font-size: 1.3rem; color: var(--teal-300); }
.article p { color: var(--text-2); }
.article ul, .article ol { color: var(--text-2); padding-left: 22px; }
.article ul li, .article ol li { margin: 8px 0; }
.article a { color: var(--teal-300); text-decoration: underline; text-decoration-color: rgba(74, 222, 128, .35); }
.article a:hover { text-decoration-color: currentColor; }

/* ========== CTA banner ========== */
.cta-banner {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(74, 222, 128, .26), transparent 60%),
    linear-gradient(135deg, rgba(22, 163, 74, .16), rgba(5, 150, 105, .14));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 50px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 80%, rgba(74, 222, 128, .18), transparent 50%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin: 0 0 14px; color: var(--white); font-size: 1.9rem; }
.cta-banner p { color: var(--text-2); margin: 0 0 24px; font-size: 1.05rem; }

/* ========== Tag ========== */
.tag {
  display: inline-block;
  background: rgba(34, 197, 94, .14); color: var(--teal-300);
  border: 1px solid var(--line-2);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; letter-spacing: .04em; margin-bottom: 16px; font-weight: 500;
}

/* ========== Footer ========== */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, #040d0a 100%);
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  margin-top: 80px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: var(--white); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; font-size: 14px; color: var(--text-muted); }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--teal-400); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 13px;
}
.footer-bottom .langs a { margin-right: 14px; color: var(--text-muted); }
.footer-bottom .langs a:hover { color: var(--teal-400); }

/* helpers */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(120deg, #86efac, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Subtle entrance animation for cards */
@media (prefers-reduced-motion: no-preference) {
  .feature, .download-card, .eco-card, .stat {
    animation: rise .5s ease-out both;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ========== Aliases & helpers used by localized homepages ========== */

/* Section wrapper used on ES/FR/DE/EN content sections */
.section { padding: 64px 0; }
.section + .section { padding-top: 0; }
.section-alt {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(74, 222, 128, .10), transparent 60%),
    linear-gradient(180deg, rgba(10, 26, 21, .55), rgba(7, 19, 15, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: 2rem; color: var(--white); margin: 0 0 14px;
  letter-spacing: -.01em;
}
.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 0 32px;
}

/* Hero stats alias */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0 0;
}
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.hero-stats .stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.hero-stats .stat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.hero-stats .num {
  font-size: 1.9rem; font-weight: 800; color: var(--teal-300);
  background: linear-gradient(120deg, #4ade80, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .lab,
.hero-stats .lbl {
  color: var(--text-muted);
  font-size: 13px; margin-top: 4px;
  letter-spacing: .04em;
}

/* Feature card alias (matches .feature visually) */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(10px);
}
.feature-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.feature-card h3 { color: var(--white); margin: 0 0 10px; font-size: 1.15rem; }
.feature-card p { color: var(--text-2); margin: 0; font-size: .98rem; }

/* Bullet checklist used on Use-Case sections */
.check-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 14px;
}
.check-list li {
  position: relative; padding-left: 32px;
  color: var(--text-2);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--emerald-500));
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .15);
}
.check-list li::after {
  content: "";
  position: absolute; left: 6px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.check-list strong { color: var(--white); }

/* FAQ <details> styling — scoped so it doesn't clash with .faq-item */
.section details:not(.faq-item),
section > .container details:not(.faq-item) {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin: 0 0 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.section details:not(.faq-item)[open],
section > .container details:not(.faq-item)[open] { border-color: var(--line-2); }
.section details:not(.faq-item) > summary,
section > .container details:not(.faq-item) > summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  color: var(--white);
  font-weight: 600;
  position: relative;
}
.section details:not(.faq-item) > summary::-webkit-details-marker,
section > .container details:not(.faq-item) > summary::-webkit-details-marker { display: none; }
.section details:not(.faq-item) > summary::after,
section > .container details:not(.faq-item) > summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal-300);
  font-size: 1.5rem; line-height: 1; font-weight: 400;
  transition: transform .25s ease;
}
.section details:not(.faq-item)[open] > summary::after,
section > .container details:not(.faq-item)[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.section details:not(.faq-item) > p,
section > .container details:not(.faq-item) > p {
  margin: 0; padding: 0 22px 18px;
  color: var(--text-2); line-height: 1.6;
}

/* ========== Hero stats centered + spaced ========== */
.hero .container { text-align: center; }

/* ========== Mobile container padding ========== */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .download-card { padding: 24px 18px; }
  .feature-card, .feature { padding: 22px 20px; }
  .stat { padding: 18px 12px; }
  .footer-grid { gap: 24px; }
}

/* ========== Improve link visibility in body text ========== */
.article a, p a:not(.btn):not(.brand) {
  color: var(--teal-300);
  text-decoration: underline;
  text-decoration-color: rgba(134, 239, 172, .35);
  text-underline-offset: 3px;
}
.article a:hover, p a:not(.btn):not(.brand):hover {
  text-decoration-color: currentColor;
}

/* ========== Cleaner vendors row ========== */
.vendors {
  gap: 32px;
  padding: 26px 32px;
}
.vendors img {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: .55;
}
.vendors img:hover { opacity: .9; }

/* ========== Selection ========== */
::selection { background: rgba(74, 222, 128, .35); color: #fff; }

/* ========== Tag pill cleaned up ========== */
.tag {
  background: rgba(34, 197, 94, .14);
  color: var(--teal-300);
  border: 1px solid var(--line-2);
}

/* ========== Card-stretch fixes for grids ========== */
.feature-grid, .download-grid, .media-grid, .video-grid {
  align-items: stretch;
}
.feature-grid > article, .download-grid > article,
.media-grid > article, .video-grid > article {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.download-card .btn { margin-top: auto; }

/* ========== Improve hero badge readability ========== */
.hero-badge {
  background: rgba(34, 197, 94, .12);
  color: var(--teal-300);
}

