/* =====================================================
   RECODING.IT – DIGITAL ENGINEERING LAB
   Dark Premium UI
===================================================== */

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0b0f19;
  color: #eaeaea;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* =====================================================
   TYPO
===================================================== */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.title {
  font-size: 44px;
  line-height: 1.1;
}

.title small {
  display: block;
  font-size: 20px;
  font-weight: 400;
  margin-top: 10px;
  color: #cfd8ff;
}

.accent {
  color: #4da3ff;
}

.lead {
  font-size: 18px;
  color: #cfd8ff;
  margin: 25px 0;
}

.muted {
  color: #a9b4ff;
  font-size: 15px;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4da3ff, #1e6fff);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(77,163,255,0.45);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  color: #d6dbff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  padding: 100px 0 80px;
  background: radial-gradient(circle at top, #16204a, #0b0f19);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(77,163,255,0.08);
  border: 1px solid rgba(77,163,255,0.25);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 20px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  background: #4da3ff;
  border-radius: 50%;
}

.hero-cta {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  gap: 10px;
  align-items: center;
}

.metric-num {
  font-size: 22px;
}

.metric-txt span {
  display: block;
  font-size: 13px;
  color: #8e9cff;
}

/* SVG */
.hero-svg {
  width: 100%;
  max-width: 480px;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: #8e9cff;
}

/* =====================================================
   SECTIONS
===================================================== */

section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 34px;
}

.section-head p {
  color: #b7c2ff;
  margin-top: 10px;
}

/* =====================================================
   GRID & CARD
===================================================== */

.grid {
  display: grid;
  gap: 30px;
}

.labs-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #111735;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}

/* =====================================================
   LAB CARD
===================================================== */

.lab-top {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.lab-icon svg {
  width: 60px;
  height: 60px;
}

.bullets {
  list-style: none;
  margin-top: 15px;
}

.bullets li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  color: #cfd8ff;
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4da3ff;
}

.lab-actions {
  margin-top: 20px;
}

/* =====================================================
   PROCESS
===================================================== */

.step {
  text-align: center;
}

.step-num {
  font-size: 28px;
  font-weight: bold;
  color: #4da3ff;
  margin-bottom: 15px;
}

/* =====================================================
   CTA
===================================================== */

.cta {
  background: linear-gradient(135deg, #1e6fff, #4da3ff);
  color: #fff;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.cta .muted {
  color: rgba(255,255,255,0.85);
}

.cta .btn-ghost {
  border: 1px solid #fff;
  color: #fff;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
  text-align: center;
  padding: 30px 20px;
  background: #070a14;
  font-size: 14px;
  color: #8e9cff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

}


/* ================= HEADER ================= */

.site-header {
  background: #070a14;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 62px;
}

.main-nav {
  display: flex;
  gap: 25px;
}

.main-nav a {
  font-size: 14px;
  color: #cfd8ff;
  transition: 0.2s;
}

.main-nav a:hover {
  color: #4da3ff;
}

/* Hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #4da3ff;
  border-radius: 3px;
}

/* Mobile */

@media (max-width: 900px) {

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b0f19;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    display: none;
    border-left: 1px solid rgba(255,255,255,0.05);
  }

  .main-nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

}
