@font-face {
  font-family: 'Alliance No 2';
  src: url('fonts/AllianceNo2-Regular.woff2') format('woff2'),
       url('fonts/AllianceNo2-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #0d0f14;
  --fg: #e8ecf1;
  --muted: #6b7a8d;
  --border: rgba(255,255,255,0.06);
  --card-bg: rgba(255,255,255,0.02);
  --accent: #00b2ff;
  --accent-dim: rgba(0,178,255,0.08);
  --accent-border: rgba(0,178,255,0.2);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Alliance No 2', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 768px;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13,15,20,0.7);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
}

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

.nav-desktop a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--fg);
}

.nav-desktop a.btn-primary {
  color: #000;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: rgba(13,15,20,0.95);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #33c1ff;
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}

.btn-block {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(0,178,255,0.05);
  filter: blur(120px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.animate-hero {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.7s ease-out 0.1s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== GLOW LINE ===== */
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  padding: 128px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: block;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-bg);
  padding: 32px;
  transition: border-color 0.5s, background 0.5s;
}

.feature-card:hover {
  border-color: var(--accent-border);
  background: rgba(0,178,255,0.02);
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,178,255,0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-card-content {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0,178,255,0.1);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.feature-card > .feature-card-content > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.check-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== PRICING ===== */
.pricing-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,178,255,0.02), transparent);
  pointer-events: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

.plan-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-bg);
  padding: 32px;
  transition: border-color 0.5s;
}

.plan-card:hover {
  border-color: rgba(255,255,255,0.1);
}

.plan-popular {
  border-color: rgba(0,178,255,0.3);
  background: rgba(0,178,255,0.03);
  transform: scale(1.03);
}

@media (min-width: 901px) {
  .plan-popular { transform: scale(1.05); }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.plan-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-icon-accent {
  background: rgba(0,178,255,0.15);
  border-color: rgba(0,178,255,0.3);
  color: var(--accent);
}

.plan-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.plan-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.plan-card .check-list {
  margin-bottom: 32px;
}

.plan-popular .check-list li svg {
  color: var(--accent);
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: none;
  border: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer > p {
  overflow: hidden;
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== SECTION SUB ===== */
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 12px;
}

/* ===== PLAN FREE BADGE ===== */
.plan-free-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--fg);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
  padding-top: 0;
}

.community-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--accent-border);
  background: rgba(0,178,255,0.03);
  padding: 64px 48px;
  overflow: hidden;
}

.community-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0,178,255,0.06);
  filter: blur(80px);
  pointer-events: none;
}

.community-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.community-text {
  flex: 1;
  min-width: 280px;
}

.community-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.community-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
}

.community-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.community-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .community-card { padding: 40px 24px; }
  .community-inner { flex-direction: column; text-align: center; }
  .community-text p { max-width: 100%; }
  .community-action { width: 100%; }
  .community-action .btn { width: 100%; }
}

/* ===== CTA ===== */
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-bottom: 24px;
}

.cta-line {
  width: 64px;
  height: 1px;
  margin: 0 auto 48px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-sub {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.footer-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero-stats { gap: 20px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}
