:root {
  --bg: #050505;
  --bg-mid: #0a0a0a;
  --bg-card: #0d0d0d;
  --border: #1a1a1a;
  --border-green: rgba(74, 222, 128, 0.15);
  --green: #4ade80;
  --green-dim: #22c55e;
  --green-dark: #16a34a;
  --green-light: #86efac;
  --text: #e8e8e8;
  --text-muted: #6b7a6b;
  --text-dim: #3a4a3a;
  --gray: #888;
  --mono: 'Share Tech Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

section, nav, footer { position: relative; z-index: 1; }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6%;
  border-bottom: 1px solid var(--border);
  background: rgba(5,5,5,0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--green);
  letter-spacing: 0.05em;
  font-weight: bold;
}
.logo span { color: var(--text-muted); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  transition: all 0.3s;
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav ul { list-style: none; display: flex; gap: 2rem; }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
nav a:hover { color: var(--green); }

.nav-cta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--bg);
  background: var(--green);
  padding: 0.5rem 1.2rem;
  border: none;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--green-dim);
  box-shadow: 0 0 20px rgba(74,222,128,0.3);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 6% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1487017159836-4e23ece2e4cf?w=1920&q=80') center/cover;
  opacity: 0.45;
  z-index: 0;
  mix-blend-mode: screen;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.chip-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
  letter-spacing: 0.15em;
  border: 1px solid var(--border-green);
  padding: 0.3rem 0.8rem;
  display: inline-block;
  margin-bottom: 2rem;
  background: rgba(74,222,128,0.04);
}

h1 {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}
h1 .accent { color: var(--green); }
h1 .dim { color: var(--text-dim); }

.hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--green);
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--green-dim);
  box-shadow: 0 0 24px rgba(74,222,128,0.3);
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--green);
  background: transparent;
  padding: 0.85rem 2rem;
  border: 1px solid var(--border-green);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-light); }

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
}
.stat-item {
  flex: 1;
  min-width: 160px;
  padding: 1.6rem 2rem;
  border-right: 1px solid var(--border);
  font-family: var(--mono);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 1.7rem;
  color: var(--green);
  display: block;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mission {
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 6%;
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.mission-image {
  flex: 1;
  min-width: 260px;
  height: 200px;
  background: url('https://images.unsplash.com/photo-1562976540-1502c2145186?w=600&q=80') center/cover;
  border-radius: 8px;
  opacity: 0.85;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-green);
}
.mission-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0.05) 100%);
}

.mission-quote {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--green);
  flex: 1;
  min-width: 260px;
  line-height: 1.5;
}
.mission-text {
  flex: 2;
  min-width: 260px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
}

.services {
  padding: 6rem 6%;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
h2 {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  background: var(--bg-mid);
  border-color: var(--border-green);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon-svg {
  width: 34px;
  height: 34px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.1rem;
  display: block;
  transition: filter 0.3s;
}
.service-card:hover .service-icon-svg {
  filter: drop-shadow(0 0 6px rgba(74,222,128,0.35));
}
.service-icon-svg circle.via { fill: var(--green); stroke: none; }

.service-card h3 {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.audience {
  padding: 6rem 6%;
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.audience-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1695668548342-c0c1ad479aee?w=1920&q=80') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.audience-content { position: relative; z-index: 1; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.audience-card {
  border: 1px solid var(--border);
  padding: 1.8rem;
  text-align: center;
  transition: all 0.3s;
  background: var(--bg-card);
  border-radius: 8px;
}
.audience-card:hover {
  border-color: var(--border-green);
  transform: translateY(-4px);
}
.audience-card .num {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--green);
  display: block;
  margin-bottom: 0.4rem;
}
.audience-card h3 {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.audience-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.stack-strip {
  padding: 4.5rem 6%;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.stack-strip h2 { margin-bottom: 0.5rem; }
.stack-strip .stack-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.2rem;
}
.stack-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.stack-badge {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 1px solid var(--border-green);
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  background: var(--bg-card);
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.stack-badge:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--bg-mid);
}

.pricing {
  padding: 5rem 6%;
}
.pricing-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}
.price-card.featured {
  border-color: var(--border-green);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.08);
}
.price-card.featured:hover {
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.15);
}
.price-tier {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--bg);
  background: var(--green);
  padding: 0.3rem 0.8rem;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.price-card h3 {
  font-family: var(--mono);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.price-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.price-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.price-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.price-list li::before {
  content: '✓ ';
  color: var(--green);
  font-weight: bold;
}
.price-btn {
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.text-center { text-align: center; }

.nav-lang-toggle { background:transparent; color:var(--green); border:1px solid var(--border-green); font-size:0.85rem; margin-right:0.5rem; text-decoration:none; transition:color .2s ease, border-color .2s ease; }
.nav-lang-toggle:hover { color:var(--text-muted); border-color:var(--text-muted); }

.cta-section {
  padding: 6rem 6%;
  text-align: center;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1920&q=80') center/cover;
  opacity: 0.05;
  z-index: 0;
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

footer { padding:3rem 6%;border-top:1px solid var(--border); }

.footer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:3rem;padding-bottom:2.5rem;}

.footer-col h4{font-family:var(--mono);color:var(--green);letter-spacing:.1em;text-transform:uppercase;font-size:.75rem;margin-bottom:1rem;}
.footer-col ul{list-style:none;padding:0;}.footer-col li{padding:.35rem 0}

.footer-col a,.footer-col span{font-family:var(--mono);color:var(--text-muted);text-decoration:none;font-size:.82rem;transition:color .2s ease;}
.footer-col a:hover{color:var(--green);}

.footer-brand-col p{font-weight:300;color:var(--text-dim);line-height:1.65;margin-top:.4rem}

footer .status{display:flex;align-items:center;gap:.5rem;font-family:var(--mono);font-size:.72rem;color:var(--text-muted);}
.dot{width:8px;height:8px;background-color:var(--green);border-radius:50%;animation:blink 2s ease-in-out infinite;}

.footer-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:1.5rem;margin-top:.5rem}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}
.fade-in.visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  nav ul.open { display: flex; }
  nav ul li a {
    display: block;
    padding: 0.8rem 5%;
  }
  .nav-right {
    display: none;
  }
  nav ul.open ~ .nav-right,
  nav ul ~ .nav-right { display: none; }
  nav ul.open + .nav-right {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 5% 1rem;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(12px);
  }
  .hero { min-height: auto; padding: 3.5rem 5% 2.5rem; }
  .hero p { max-width: 100%; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 1.2rem 5%; }
  .stat-item:last-child { border-bottom: none; }
  .mission { padding: 2.5rem 5%; gap: 1.5rem; }
  .mission-image { height: 160px; }
  .services, .audience, .stack-strip, .pricing-note, .cta-section { padding: 3rem 5%; }
  .service-card { padding: 1.5rem; }
  h2 { margin-bottom: 2rem; }
  .pricing { flex-direction: column; padding: 3rem 5%; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-grid{grid-template-columns:1fr;}
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { text-align: center; }
  .chip-label { font-size: 0.62rem; }
  .stack-badge { font-size: 0.7rem; padding: 0.45rem 1rem; }
}


.cta-section .btn-primary {
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15.5rem;
}
.cta-section .btn-primary .btn-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
}

.cta-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .cta-buttons .btn-primary {
    width: min(15.5rem, 90vw);
  }
}
