@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #08110d;
  --bg-soft: rgba(255, 255, 255, 0.06);
  --bg-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --text-soft: rgba(255, 255, 255, 0.8);
  --accent: #7fcf69;
  --accent-strong: #8ddc8e;
  --shadow: rgba(0, 0, 0, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.52)),
    url('next-step-background.png') center/cover no-repeat fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font: inherit;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 13, 12, 0.45);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-toggle {
  display: none;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link[aria-current='page']::after {
  width: 100%;
}

main {
  padding-top: 110px;
}

.hero {
  min-height: 40vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 40px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(127, 207, 105, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-strong), #cce9c7);
  color: #081218;
}

.page-section {
  padding: 80px 32px 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  margin-bottom: 0.75rem;
  text-align: center;
  color: rgba(223, 248, 210, 0.96);
}

.section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.84);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.server-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.14);
  transition: 0.35s ease;
  backdrop-filter: blur(10px);
  text-align: center;
}

.server-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

.server-card h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: #68b36f;
}

.server-card p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  opacity: 0.9;
}

.server-card .btn {
  margin-top: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.14);
  transition: 0.35s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

.card h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: #68b36f;
}

.card p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  opacity: 0.9;
}

.quote-section {
  padding: 120px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(127, 207, 105, 0.08), rgba(255, 255, 255, 0.03));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: rgba(220, 247, 205, 0.96);
}

.quote-section p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0.88;
}

@media (max-width: 900px) {
  .header-inner {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 13, 12, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-link {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .page-section {
    padding: 80px 20px;
  }

  .quote-section {
    padding: 80px 20px;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cards,
  .server-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .server-card {
    padding: 22px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-intro {
    font-size: 0.95rem;
  }
}
