* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #050816;
  color: white;
  line-height: 1.7;
  overflow-x: hidden;
}

/* CONTAINER */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* LINK */

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;

  background: rgba(5, 8, 22, 0.8);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #d9d9d9;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #6cf0ff;
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;

  background:
    radial-gradient(circle at top left, rgba(0,255,255,0.15), transparent 40%),
    radial-gradient(circle at bottom right, rgba(130,0,255,0.18), transparent 40%),
    #050816;

  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 40px 40px;
}

.hero-wrapper {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;

  padding-top: 120px;
}

.hero-content {
  max-width: 700px;
}

.tag {
  display: inline-block;

  padding: 10px 18px;
  border-radius: 50px;

  background: rgba(108,240,255,0.12);
  border: 1px solid rgba(108,240,255,0.35);

  color: #6cf0ff;
  font-size: 0.85rem;

  margin-bottom: 24px;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  line-height: 1.2;

  margin-bottom: 25px;
}

.hero p {
  color: #cfcfcf;
  font-size: 1.1rem;

  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* BUTTON */

.btn {
  padding: 15px 28px;
  border-radius: 14px;

  font-weight: 600;

  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00d9ff, #8f5bff);
  color: white;

  box-shadow: 0 10px 30px rgba(0,217,255,0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* HERO CARD */

.hero-card {
  width: 340px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 24px;
  padding: 30px;

  backdrop-filter: blur(12px);
}

.hero-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.hero-card p {
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;

  margin-top: 25px;
}

.stat-box {
  background: rgba(255,255,255,0.05);

  border-radius: 16px;
  padding: 16px;

  text-align: center;
}

.stat-box strong {
  display: block;
  color: #6cf0ff;

  font-size: 1.4rem;
}

/* SECTION */

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;

  margin-bottom: 16px;
}

.section-title p {
  color: #c2c2c2;
  max-width: 700px;
  margin: auto;
}

/* FEATURES */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
}

.feature-card {
  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 24px;
  padding: 35px 28px;

  transition: 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);

  border-color: rgba(108,240,255,0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin-bottom: 14px;
}

.feature-card p {
  color: #c9c9c9;
}

/* GUIDE */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 28px;
}

.guide-card {
  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 24px;
  overflow: hidden;
}

.guide-image {
  height: 220px;
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.4s ease;
}
.guide-card:hover .guide-image img {
  transform: scale(1.08);
}

.guide-content {
  padding: 28px;
}

.guide-content span {
  color: #6cf0ff;
  font-size: 0.9rem;
}

.guide-content h3 {
  margin: 14px 0;
}

.guide-content p {
  color: #cfcfcf;
}

/* ARTICLE */

.article-box {
  background: rgba(255,255,255,0.03);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 28px;
  padding: 50px;
}

.article-box h2 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 20px;
  margin-top: 35px;
}

.article-box h2:first-child {
  margin-top: 0;
}

.article-box p {
  color: #d1d1d1;
  margin-bottom: 24px;
}

.article-box ul {
  padding-left: 20px;
}

.article-box li {
  margin-bottom: 12px;
  color: #cfcfcf;
}

/* COMMUNITY */

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 24px;
}

.community-card {
  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 24px;
  padding: 35px 28px;
}

.community-card h3 {
  margin-bottom: 15px;
}

.community-card p {
  color: #cfcfcf;
}

/* FAQ */

.faq-box {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 20px;

  padding: 30px;

  margin-bottom: 20px;
}

.faq-item h3 {
  color: #6cf0ff;
  margin-bottom: 15px;
}

.faq-item p {
  color: #d0d0d0;
}

/* RESPONSIVE */

@media(max-width: 992px) {

  .hero-wrapper {
    flex-direction: column;
  }

  .hero-card {
    width: 100%;
  }

}

@media(max-width: 768px) {

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .article-box {
    padding: 30px;
  }

}
/* ACTIVE HEADER */

.active-header {
  background: rgba(5, 8, 22, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* SCROLL REVEAL */

.feature-card,
.guide-card,
.community-card,
.faq-item {

  opacity: 0;
  transform: translateY(40px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.feature-card.show,
.guide-card.show,
.community-card.show,
.faq-item.show {

  opacity: 1;
  transform: translateY(0);
}