/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(0, 0%, 0%);
  --foreground: hsl(0, 0%, 95%);
  --primary: hsl(18, 100%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);
  --muted-foreground: hsl(0, 0%, 55%);
  --border: hsl(0, 0%, 15%);
  --card: hsl(0, 0%, 10%);
  --neon-glow: 0 0 20px hsla(18, 100%, 50%, 0.6), 0 0 40px hsla(18, 100%, 50%, 0.3);
  --neon-glow-strong: 0 0 20px hsla(18, 100%, 50%, 0.8), 0 0 60px hsla(18, 100%, 50%, 0.4), 0 0 100px hsla(18, 100%, 50%, 0.2);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

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

/* === Page === */
.page {
  min-height: 100vh;
  overflow: hidden;
}

/* === Hero === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), hsla(0, 0%, 0%, 0.1), transparent);
}

.hero-overlay-top {
  position: absolute;
  inset: 0;
  height: 25%;
  background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0.15), transparent);
}

/* === Logo === */
.logo-wrapper {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
}

.logo {
  height: 3rem;
  width: auto;
}

/* === Hero Content === */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  z-index: 10;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-shadow: 0 0 20px hsla(18, 100%, 50%, 0.5);
}

.text-primary {
  color: var(--primary);
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 36rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

/* === CTA === */
.cta-wrapper {
  margin-top: 2rem;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-foreground);
  background-color: var(--primary);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: var(--neon-glow);
  animation: pulse-neon 3s ease-in-out infinite;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: var(--neon-glow-strong);
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background-color: hsla(18, 100%, 50%, 0.2);
  border-radius: 2px;
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover .cta-glow {
  opacity: 1;
}

/* === Platforms === */
.platforms {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.platform-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.platform-label {
  font-size: 0.75rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-divider {
  width: 1px;
  height: 1rem;
  background-color: var(--border);
}

/* === Footer === */
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

.footer-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--primary);
}

.footer-sep {
  color: var(--border);
}

.footer-copy {
  font-size: 0.75rem;
  color: hsla(0, 0%, 55%, 0.6);
  font-family: var(--font-body);
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: hsla(0, 0%, 0%, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 32rem;
  width: 90%;
  padding: 2rem;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--foreground);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.modal-body {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: 0.75rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

/* === Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-neon {
  0%, 100% {
    box-shadow: var(--neon-glow);
  }
  50% {
    box-shadow: var(--neon-glow-strong);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-up-delay-1 {
  animation: fadeUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-fade-up-delay-2 {
  animation: fadeUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.animate-fade-up-delay-3 {
  animation: fadeUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

/* === Responsive === */
@media (min-width: 640px) {
  .hero-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .logo-wrapper {
    padding: 2.5rem;
  }
  .logo {
    height: 4rem;
  }
  .hero-content {
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: 1.875rem;
  }
  .hero-subtitle {
    margin-top: 1.5rem;
    font-size: 1rem;
  }
  .cta-wrapper {
    margin-top: 2.5rem;
  }
  .cta-button {
    font-size: 1.25rem;
  }
  .platform-label {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .logo {
    height: 5rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3rem;
  }
}
