* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fb;
  color: #1e293b;
  line-height: 1.7;
}

/* NAVBAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 8%;

  position: fixed;
  width: 100%;
  top: 0;

  background: rgba(15, 23, 42, 0.95);

  z-index: 1000;
}

.logo {
  color: white;
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

.menu-btn {
  display: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 100vh;

  background:
    linear-gradient(rgba(15,23,42,0.75),
    rgba(15,23,42,0.75)),
    url("https://picsum.photos/1600/900");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;

  padding: 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h2 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

#start-btn {
  padding: 14px 35px;
  border: none;
  border-radius: 8px;
  background: #38bdf8;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

#start-btn:hover {
  background: #0ea5e9;
}

/* SECTIONS */

.section {
  padding: 100px 8%;
}

.dark {
  background: #0f172a;
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
}

/* GRID */

.grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 25px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 15px;
  color: #0ea5e9;
}

/* LICENSE GRID */

.license-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;
}

.license-box {
  background: rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 12px;
}

/* FLEXBOX */

.content-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.text-box,
.info-card {
  flex: 1;
  min-width: 280px;
}

.info-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
}

.info-card ul {
  margin-top: 15px;
  padding-left: 20px;
}

/* CODE */

pre {
  background: #0f172a;
  color: #38bdf8;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  margin-top: 20px;
}

/* TIPS */

.tips {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 10px;
}

/* FAQ */

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px;
  border: none;
  background: #0f172a;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1rem;
}

.faq-answer {
  display: none;
  background: white;
  padding: 20px;
  border-radius: 0 0 8px 8px;
}

/* FOOTER */

footer {
  background: #020617;
  color: white;
  text-align: center;
  padding: 25px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;

    top: 80px;
    right: 0;

    width: 100%;

    background: #0f172a;

    padding: 20px;
  }

  .menu-btn {
    display: block;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

}

/* PRINT */

@media print {

  nav,
  button,
  footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 30px;
  }

  .card,
  .license-box,
  .info-card,
  .tip {
    border: 1px solid black;
  }

}