@import url('https://googleapis.com');

:root {
  --bg: #0c0c0e;
  --bg-card: #131316;
  --bg-card-hover: #19191d;
  --border: #232329;
  --border-strong: #3c3c46;
  --text: #ffffff;
  --muted: #9c9ca6;
  --faint: #63636e;
  --accent: #7dd3fc;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
  --nav-height: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(12, 12, 14, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(12, 12, 14, 0.92);
  border-bottom-color: var(--border);
}

.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--bg-card-hover);
  border-color: #555562;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #ffffff;
  color: #0c0c0e;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background: #e2e2e8;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: #5a5a66;
}

/* Split Hero: Text Left, Image Right */
.hero {
  padding: 96px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: clamp(3.1rem, 5.8vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  text-indent: -2px;
  letter-spacing: -3.7px;
  margin-bottom: 16px;
}

.hero-content p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 440px;
  margin: 0 0 30px 0;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* 2x2 Grid with Top & Bottom Dividing Lines */
.highlights {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.highlight-card {
  aspect-ratio: 3 / 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease-out);
}

.highlight-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.highlight-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
}

.highlight-card:hover .highlight-icon {
  color: var(--text);
  transform: scale(1.06);
}

.highlight-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  color: var(--text);
}

.highlight-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* FAQ Section */
.faq-section {
  padding: 88px 0 96px;
}

.faq-wrap {
  max-width: 880px;
}

.faq-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}

.faq-section details {
  border-top: 1px solid var(--border);
}

.faq-section details:last-of-type {
  border-bottom: 1px solid var(--border);
}

.faq-section summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  color: var(--faint);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s var(--ease-out), color 0.2s ease;
}

.faq-section summary:hover::after {
  color: var(--text);
}

.faq-section details[open] summary::after {
  transform: rotate(45deg);
  color: var(--text);
}

.faq-section details p {
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 740px;
}

/* Discord Coming Soon Popup Modal */
.discord-popup-bg {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0c0c0e;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.discord-popup-bg.open {
  opacity: 1;
  pointer-events: auto;
}

.discord-popup-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  transform: translateY(10px) scale(0.97);
  transition: transform 0.25s var(--ease-out);
}

.discord-popup-bg.open .discord-popup-box {
  transform: translateY(0) scale(1);
}

.discord-popup-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.discord-popup-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-btn {
  width: 100%;
  margin-top: 16px;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    aspect-ratio: auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
}
