/* DevPanda Coming Soon
   Design guide highlights:
   - Headers: Nunito Bold
   - Body/menu: Lato (Black/Regular)
   - Colors: #08b129 (accent), black background, white headers
*/

:root{
  --bg: #000000;
  --fg: #ffffff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.60);
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.10);
  --accent: #08b129;
  --border: rgba(255,255,255,.14);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 16px;
  --radius2: 22px;
  --container: 1100px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fg);
  background: radial-gradient(1200px 700px at 75% 10%, rgba(8,177,41,.12), transparent 60%),
              radial-gradient(900px 600px at 20% 40%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.skip{
  position:absolute;
  left:-999px;
  top:8px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:10px;
  z-index:999;
}
.skip:focus{ left: 10px; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 20;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
  gap: 18px;
}
.brand-logo{
  height: 42px;
  width: auto;
}
.nav{
  display:flex;
  gap: 16px;
  align-items:center;
  font-weight: 900; /* Lato Black-ish */
  letter-spacing: .02em;
  font-size: 16px;
}
.nav-link{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--fg);
}
.nav-link:hover{
  background: rgba(255,255,255,.06);
}
.nav-link:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero */
.hero{
  position: relative;
  padding: 72px 0 34px;
  overflow: hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
}
.kicker{
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.h1{
  margin: 0 0 10px;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 6vw, 70px); /* matches guide: 70px desktop */
  line-height: 1.05;
}
.subtitle{
  margin: 0 0 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 16px; /* Menu Lato Black 16px */
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: var(--accent);
  border-color: rgba(8,177,41,.55);
  color: #001a07;
}
.btn-primary:hover{
  background: #10c53a;
}

.btn-ghost{
  background: rgba(255,255,255,.05);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(8,177,41,.55);
}

.meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  font-size: 13px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 8px 10px;
  border-radius: 999px;
}
.pill-outline{
  background: transparent;
  border-color: rgba(8,177,41,.55);
  color: rgba(255,255,255,.92);
}

/* Code card */
.hero-card{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-top{
  display:flex;
  gap: 8px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.dot{ width:10px; height:10px; border-radius:999px; opacity:.9; }
.dot-red{ background:#ff5f57; }
.dot-yellow{ background:#febc2e; }
.dot-green{ background:#28c840; }

.card-body{
  padding: 16px 18px 18px;
}
.code{
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.86);
}
.code .g{ color: var(--accent); }
.code .w{ color: rgba(255,255,255,.95); }

/* Sections */
.section{
  padding: 54px 0;
}
.section-alt{
  padding: 56px 0 62px;
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.h3{
  margin: 0 0 10px;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 35px); /* guide: 35px */
  color: var(--fg);
}
.h4{
  margin: 0 0 8px;
  font-family: "Lato", system-ui, sans-serif;
  font-weight: 700; /* guide: Lato Bold */
  font-size: 20px;
  color: var(--accent);
  letter-spacing: .01em;
}
.body{
  margin: 0;
  font-size: 16px; /* guide: Body Text 16px */
  color: var(--muted);
  line-height: 1.65;
}

.features{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
}
.feature:hover{
  border-color: rgba(8,177,41,.55);
  background: rgba(255,255,255,.07);
}

.contact{
  text-align: left;
}
.fineprint{
  margin: 14px 0 0;
  color: var(--muted2);
  font-size: 13px;
}

/* Footer */
.site-footer{
  padding: 18px 0;
  color: rgba(255,255,255,.72);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.footer-right{ color: rgba(255,255,255,.60); }

/* Ambient glow */
.glow{
  position:absolute;
  inset: auto -30% -65% -30%;
  height: 520px;
  background: radial-gradient(circle at 50% 40%, rgba(8,177,41,.22), transparent 62%);
  filter: blur(10px);
  pointer-events:none;
}

/* Responsive */
@media (max-width: 880px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-card{ order: 2; }
  .grid{ grid-template-columns: 1fr; }
  .brand-logo{ height: 38px; }
}
