:root {
  --bg: #080814;
  --panel: rgba(13, 15, 29, 0.74);
  --panel-strong: rgba(11, 13, 26, 0.9);
  --text: #f3f5ff;
  --muted: #bec7e8;
  --red: #ff4068;
  --red2: #ff6f8b;
  --cyan: #34e1ff;
  --cyan2: #16a9d6;
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.12);
  --glow-red: rgba(255, 64, 104, 0.5);
  --glow-cyan: rgba(52, 225, 255, 0.45);
  --radius-xl: 20px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  background:
    linear-gradient(to bottom, rgba(7, 8, 18, 0.18), rgba(7, 8, 18, 0.85)),
    radial-gradient(circle at 18% 12%, rgba(255, 64, 104, 0.34), transparent 36%),
    radial-gradient(circle at 83% 15%, rgba(52, 225, 255, 0.25), transparent 37%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("/assets/bg.jpg") center/cover no-repeat;
  z-index: -2;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 72px
    );
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
}

.section {
  padding: 10px 0;
}

.site-header {
  padding: 12px 0 8px;
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 85, 121, 0.46);
  border-radius: 12px;
  background: rgba(10, 12, 24, 0.72);
  box-shadow:
    0 0 24px rgba(255, 64, 104, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffd3de, var(--red));
  box-shadow:
    0 0 0 4px rgba(255, 64, 104, 0.16),
    0 0 16px rgba(255, 64, 104, 0.52);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  color: #f5e8ff;
  text-shadow: 0 0 12px rgba(255, 64, 104, 0.35);
}

.nav-links a + a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(255, 64, 104, 0.42);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan2), var(--cyan));
  border-color: rgba(255, 255, 255, 0.22);
  color: #091321;
  box-shadow: 0 8px 24px rgba(52, 225, 255, 0.38);
}

.btn-dark {
  background: rgba(17, 22, 43, 0.92);
  border-color: rgba(190, 209, 255, 0.34);
}

.neon-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 80, 121, 0.45);
  background: var(--panel);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 16px 42px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(255, 64, 104, 0.22);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12px;
  padding: 12px;
}

.hero-copy {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 225, 255, 0.28);
  background: var(--panel-strong);
  padding: 24px 22px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(44px, 6vw, 66px);
  line-height: 0.96;
  color: #ffd0f2;
  text-shadow:
    0 0 18px rgba(255, 64, 104, 0.62),
    0 0 32px rgba(52, 225, 255, 0.2);
}

.hero-subtitle {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
}

.hero-lead {
  margin: 10px 0 0;
  font-size: 28px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 80, 121, 0.44);
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 32% 12%, rgba(255, 64, 104, 0.25), transparent 58%), #0a0c18;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 10, 19, 0.74), rgba(8, 10, 19, 0.12) 46%);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-panel {
  padding: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 24, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.feature-thumb {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.feature-content {
  padding: 12px;
}

.feature-content h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(52, 225, 255, 0.2);
}

.feature-content p {
  margin: 6px 0 0;
  font-size: 22px;
  color: var(--muted);
}

.center-section {
  text-align: center;
}

.center-section h2 {
  margin: 6px 0 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(40px, 4.8vw, 52px);
  text-shadow: 0 0 16px rgba(255, 64, 104, 0.36);
}

.section-lead {
  margin: 6px 0 16px;
  font-size: 28px;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: rgba(10, 12, 24, 0.8);
  padding: 14px;
  text-align: left;
}

.mini-card h3 {
  margin: 0;
  font-size: 30px;
}

.mini-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.social-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-row a {
  width: 40px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 22, 40, 0.86);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.center-actions {
  justify-content: center;
  margin-top: 12px;
}

.site-footer {
  padding: 10px 0 16px;
  text-align: center;
  color: #cfd3e6;
  font-size: 20px;
}

/* Prevent duplicate dropdown nav rendering from older markup variants. */
.mobile-menu,
.menu-toggle {
  display: none !important;
}

.mobile-menu[hidden] {
  display: none !important;
}

.hero-image-wrap.is-fallback::before {
  content: "Image missing";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--muted);
  font-size: 20px;
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    font-size: 24px;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-panel,
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-image {
    min-height: 360px;
  }

  .feature-content h3 {
    font-size: 28px;
  }

  .mini-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1080px, calc(100% - 14px));
  }

  .section {
    padding: 8px 0;
  }

  .nav-links {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
    min-height: 36px;
    padding: 0 12px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 22px;
  }

  .section-lead,
  .feature-content p,
  .mini-card p,
  .site-footer {
    font-size: 19px;
  }
}
