:root {
  --bg: #040817;
  --bg-soft: #0a1330;
  --panel: rgba(10, 18, 42, 0.78);
  --panel-strong: rgba(8, 13, 32, 0.92);
  --line: rgba(255,255,255,0.08);
  --text: #f4f7ff;
  --muted: #a8b2cc;
  --blue: #43b0ff;
  --cyan: #64e7ff;
  --gold: #ffd44d;
  --gold-dark: #e3b700;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 22px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(70, 110, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #050916 0%, #040714 30%, #07102a 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 20, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #dbe7ff;
  font-size: 0.98rem;
  font-weight: 600;
  opacity: 0.88;
  transition: 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 20px;
  background: linear-gradient(180deg, #ffe16d 0%, #f6c928 100%);
  color: #171100;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 210, 60, 0.28);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  font-size: 1.15rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(3, 7, 20, 0.28), rgba(3, 7, 20, 0.82)),
    radial-gradient(circle at 50% 20%, rgba(77, 168, 255, 0.14), transparent 34%),
    url("images/pic7.png") center center / cover no-repeat;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(6, 10, 25, 0.18) 0%, rgba(4, 8, 22, 0.34) 35%, rgba(4, 8, 22, 0.92) 100%);
}

.hero-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 230px;
  z-index: -2;
  background:
    linear-gradient(to top, rgba(67, 176, 255, 0.08), transparent),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
}

.particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -30px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(125, 224, 255, 0.9);
  box-shadow: 0 0 18px rgba(100, 231, 255, 0.8);
  animation: floatUp linear infinite;
  opacity: 0.65;
}

.particle.gold {
  background: rgba(255, 214, 77, 0.95);
  box-shadow: 0 0 18px rgba(255, 212, 77, 0.75);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

.hero-content {
  width: 100%;
  padding: 76px 0 72px;
  display: flex;
  justify-content: flex-start;
}

.hero-panel {
  max-width: 760px;
  margin-left: 38px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(6, 12, 29, 0.58), rgba(7, 13, 31, 0.78));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.86rem;
  font-weight: 700;
  color: #d9ecff;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57d1ff;
  box-shadow: 0 0 16px #57d1ff;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 .accent {
  color: var(--gold);
  text-shadow: 0 0 25px rgba(255, 212, 77, 0.15);
}

.hero p {
  margin: 0;
  max-width: 650px;
  color: #d6e0f3;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 0;
  cursor: pointer;
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(180deg, #ffe16d 0%, #f7c928 100%);
  box-shadow: 0 14px 32px rgba(255, 213, 79, 0.25);
}

.btn-secondary {
  color: #f2f7ff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-stats .stat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-stats .stat-title strong {
  display: block;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
}

.hero-stats .stat-desc {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-stats .status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
  opacity: 1;
  visibility: visible;
  align-self: center;
  box-shadow: 0 0 10px currentColor;
  animation: statPulse 2s infinite ease-in-out;
}

.hero-stats .dot-green {
  background: #22c55e;
  color: #22c55e;
}

.hero-stats .dot-purple {
  background: #a855f7;
  color: #a855f7;
}

.hero-stats .dot-red {
  background: #ef4444;
  color: #ef4444;
}

@keyframes statPulse {
  0% { box-shadow: 0 0 6px currentColor; }
  50% { box-shadow: 0 0 16px currentColor; }
  100% { box-shadow: 0 0 6px currentColor; }
}

/* SECTIONS */
.section {
  padding: 92px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 10px 0 0;
  max-width: 660px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* MODES */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mode-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border-radius: 24px;
  background: #0a1330;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.mode-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.35s ease;
  z-index: -2;
}

.mode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,8,22,0.12), rgba(4,8,22,0.85) 72%);
}

.mode-card:hover .bg {
  transform: scale(1.08);
}

.mode-card .content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
}

.mode-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.mode-card h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.mode-card p {
  margin: 0 0 18px;
  color: #d2ddf1;
  line-height: 1.65;
}

.mode-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
}

/* FEATURE BAND */
.feature-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, rgba(8, 15, 38, 0.92), rgba(7, 12, 30, 0.84)),
    url("images/pic3.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  padding: 34px;
}

.feature-band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.feature-band h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
}

.feature-band p {
  margin: 0;
  max-width: 640px;
  color: #d6e1f5;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #edf3ff;
  font-weight: 700;
}

/* UPDATES / BLOG SECTION */
.updates-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.post-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(10,18,42,0.96), rgba(7,12,28,0.96));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}

.post-link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-image {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.featured-post .post-image {
  min-height: 360px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.04);
}

.post-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 0.8rem;
  font-weight: 800;
}

.post-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.post-tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbe7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-body h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
}

.post-card:not(.featured-post) .post-body h3 {
  font-size: 1.35rem;
}

.post-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.post-meta {
  margin-top: auto;
  color: #c4cde0;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.9;
}

/* CTA */
.cta-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.cta-card {
  border-radius: 26px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(10,18,42,0.95), rgba(7,12,28,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.cta-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.cta-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.75;
}

.info-grid {
  display: grid;
  gap: 14px;
}

.info-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.info-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.info-pill strong {
  display: block;
  font-size: 1.05rem;
  word-break: break-word;
}

.copy-btn {
  border: 0;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 800;
}

/* FOOTER */
.site-footer {
  padding: 30px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .footer-box {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .modes-grid,
  .cta-wrap,
  .feature-band-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 18px;
    background: rgba(5, 10, 24, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-panel {
    margin-left: 0;
    padding: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 42px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.9rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .mode-card {
    min-height: 340px;
  }

  .feature-band,
  .cta-card {
    padding: 22px;
  }

  .featured-post .post-image,
  .post-image {
    min-height: 220px;
  }
}