:root {
  --bg-0: #060a14;
  --bg-1: #0a1120;
  --bg-2: #0e1729;
  --surface: #111c33;
  --surface-2: #16213c;
  --border: rgba(148, 176, 219, 0.14);
  --border-strong: rgba(148, 176, 219, 0.28);

  --blue-400: #5b9cff;
  --blue-500: #3d7bff;
  --blue-600: #2f5fe0;
  --indigo-500: #6f6bff;

  --ita-green: #2fa66a;
  --ita-red: #d5493a;

  --text-0: #f4f7fc;
  --text-1: #c3cee3;
  --text-2: #8b97b3;
  --text-3: #626e8a;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-glow: 0 0 0 1px rgba(93, 140, 255, 0.08), 0 20px 60px -20px rgba(45, 90, 220, 0.45);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 14px 40px -18px rgba(0, 0, 0, 0.6);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text-1);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  color: var(--text-0);
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--blue-500);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 24px;
  top: 24px;
}

.credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(148, 176, 219, 0.07);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.credit-chip:hover {
  color: var(--text-0);
  border-color: rgba(93, 156, 255, 0.4);
  background: rgba(93, 156, 255, 0.1);
}
.credit-chip strong {
  color: var(--text-1);
  font-weight: 700;
}
.credit-chip:hover strong { color: var(--blue-400); }
.credit-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--indigo-500));
  box-shadow: 0 0 8px rgba(93, 156, 255, 0.7);
  flex-shrink: 0;
}
.credit-chip-mobile { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 17, 32, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-logo {
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(61, 123, 255, 0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-kicker {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
}
.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-0);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-400), var(--indigo-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover { color: var(--text-0); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(47, 166, 106, 0.1);
  border: 1px solid rgba(47, 166, 106, 0.3);
  color: #6fe0a3;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fd67e;
  box-shadow: 0 0 0 3px rgba(63, 214, 126, 0.22);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(63, 214, 126, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(63, 214, 126, 0.05); }
}

.header-discord { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 24px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; justify-content: center; }
.mobile-nav .credit-chip-mobile {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  border-bottom: none;
  padding: 9px 4px;
}
.mobile-nav.is-open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--indigo-500));
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 10px 30px -10px rgba(61, 123, 255, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 14px 34px -8px rgba(61, 123, 255, 0.7);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(148, 176, 219, 0.08);
  border-color: var(--border-strong);
  color: var(--text-0);
  padding: 10px 18px;
}
.btn-ghost:hover {
  background: rgba(148, 176, 219, 0.14);
  border-color: rgba(148, 176, 219, 0.4);
}
.btn-ghost .icon { width: 17px; height: 17px; }

.btn-secondary {
  background: rgba(148, 176, 219, 0.06);
  border-color: var(--border-strong);
  color: var(--text-0);
}
.btn-secondary:hover {
  border-color: rgba(93, 156, 255, 0.5);
  background: rgba(93, 156, 255, 0.08);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 15px 22px;
  border-radius: var(--radius-md);
}
.btn-lg .icon { width: 22px; height: 22px; flex-shrink: 0; }
.btn-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25; }
.btn-copy strong { font-size: 14.5px; }
.btn-copy small { font-size: 11.5px; font-weight: 500; opacity: 0.75; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(560px 360px at 20% 20%, rgba(61, 123, 255, 0.28), transparent 70%),
    radial-gradient(480px 320px at 85% 10%, rgba(111, 107, 255, 0.2), transparent 70%),
    radial-gradient(420px 280px at 60% 60%, rgba(47, 166, 106, 0.12), transparent 70%);
  filter: blur(10px);
  z-index: -2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 176, 219, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 176, 219, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 20%, black, transparent 85%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: clamp(46px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero-title .line { display: block; }
.line-1 {
  background: linear-gradient(180deg, #ffffff, #c8d6f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.line-2 {
  background: linear-gradient(120deg, var(--blue-400), var(--indigo-500) 55%, #9d6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 560px;
  font-size: 17.5px;
  color: var(--text-2);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.ticket-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.ticket-card:hover {
  border-color: rgba(93, 156, 255, 0.35);
  background: #132038;
  transform: translateY(-2px);
}
.ticket-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue-400);
}
.ticket-icon svg { width: 100%; height: 100%; }
.ticket-copy { display: flex; flex-direction: column; gap: 2px; }
.ticket-copy strong { color: var(--text-0); font-size: 14.5px; font-weight: 700; }
.ticket-copy small { color: var(--text-3); font-size: 13px; }
.ticket-arrow {
  margin-left: auto;
  color: var(--blue-400);
  font-size: 18px;
  transition: transform 0.2s var(--ease);
}
.ticket-card:hover .ticket-arrow { transform: translateX(4px); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-ring {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(61, 123, 255, 0.16), transparent 70%);
  animation: float-badge 6s ease-in-out infinite;
}
.badge-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(148, 176, 219, 0.22);
  animation: spin-slow 40s linear infinite;
}
.badge-ring::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 156, 255, 0.16), transparent 65%);
  filter: blur(4px);
}
.badge-logo {
  position: relative;
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 20px 45px rgba(20, 40, 90, 0.55));
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

section { padding: 100px 0; }

.section-kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}
.section-kicker-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-kicker-icon svg { width: 16px; height: 16px; }
.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 52px;
  max-width: 640px;
}

.community { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), rgba(17, 28, 51, 0.5));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93, 156, 255, 0.32);
  box-shadow: 0 24px 50px -20px rgba(61, 123, 255, 0.35);
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(61, 123, 255, 0.22), rgba(111, 107, 255, 0.14));
  border: 1px solid rgba(93, 156, 255, 0.25);
  color: var(--blue-400);
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 14.5px; }

.jobs { position: relative; }
.jobs-inner { max-width: 760px; }

.jobs-lead {
  font-size: 16.5px;
  color: var(--text-1);
  margin-bottom: 22px;
}

.jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}
.jobs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-0);
}
.job-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--blue-400);
}
.job-icon svg { width: 100%; height: 100%; }

.jobs-cta-text {
  font-size: 15.5px;
  color: var(--text-1);
  margin-bottom: 18px;
}

.jobs-card { max-width: 640px; }

.faq { background: var(--bg-2); border-top: 1px solid var(--border); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 4px 22px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue-400);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding-bottom: 20px;
  color: var(--text-2);
  font-size: 14.5px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.footer-inner {
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-0);
}
.footer-brand img { border-radius: 50%; }
.footer-discord .icon { width: 17px; height: 17px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-copy { color: var(--text-3); font-size: 13.5px; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.devtools-shield {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.devtools-shield.is-active { display: flex; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .badge-ring { width: 200px; height: 200px; }
  .main-nav { display: none; }
}

@media (max-width: 720px) {
  .header-actions .status-pill { display: none; }
  .header-actions .credit-chip:not(.credit-chip-mobile) { display: none; }
  .credit-chip-mobile { display: flex; }
  .header-discord { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 0 72px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  section { padding: 64px 0; }
  .section-title { margin-bottom: 34px; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
}
