:root {
  --bg-dark: #0a0d12;
  --bg-card: rgba(20, 25, 34, 0.9);
  --accent: #3ba7ff;
  --accent-light: #00d4ff;
  --text: #e6edf3;
  --muted: #8b949e;
  --transition: all 0.3s ease;
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Snow effect */
.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.snowflake {
  position: absolute;
  top: -10px;
  color: #fff;
  font-size: 1em;
  user-select: none;
  animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,13,18,0.85);
  backdrop-filter: blur(6px);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}
nav {
  display: flex;
  gap: 1.25rem;
}
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: var(--transition);
}
nav a:hover {
  background: rgba(59,167,255,0.15);
  color: var(--accent);
}

/* Main content */
main {
  flex: 1;
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.main-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  color: transparent;
}
.main-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Buttons */
.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  color: white;
  border: none;
  min-width: 180px;
  text-align: center;
}
.btn:hover {
  box-shadow: 0 0 8px 2px rgba(11, 186, 251, 0.6);
  transform: scale(1.05);
  opacity: 0.95;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: rgba(11, 186, 251, 0.2);
  box-shadow: 0 0 8px 2px rgba(11, 186, 251, 0.6);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 cards per row */
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: 0.75rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,255,0.3);
}

.feature-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr; /* 1 card per row on small screens */
  }
}

/* Badges */
.badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  background: rgba(11,186,251,0.1);
  user-select: none;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}
.badge:hover {
  background: rgba(11,186,251,0.2);
  box-shadow: 0 0 8px 2px rgba(11,186,251,0.6);
  transform: scale(1.05);
}

/* FAQ */
.faq {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: left;
  padding: 0 1rem;
}
.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.faq-item p {
  color: var(--text);
  line-height: 1.6;
}
.faq-item a {
  color: var(--accent);
  text-decoration: none;
}
.faq-item a:hover {
  text-decoration: underline;
}

/* Credits & Footer */
.credits {
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}
.credits span {
  color: var(--accent);
  font-weight: 600;
}
footer {
  background: rgba(10,13,18,0.85);
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  z-index: 2;
}