/* Theme variables are defined in main.css :root — loaded before this file */

/* ===== Splash Page Styles ===== */

/* Reset & base for splash page */
.splash-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  color: var(--text-body);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== Splash Header ===== */

.splash-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(var(--bg-base-rgb), 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--neon-purple-rgb), 0.15);
}

.splash-header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.splash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-purple);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(var(--neon-purple-rgb), 0.4);
}

.splash-brand__logo {
  height: 180px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(123, 104, 238, 0.4));
}

.splash-brand:hover {
  color: #9b8afb;
}

.splash-header__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ===== Buttons ===== */

.splash-page .btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  line-height: 1.4;
}

.splash-page .btn:hover {
  transform: translateY(-1px);
}

.splash-page .btn-primary {
  background: var(--neon-purple);
  color: #fff;
}

.splash-page .btn-primary:hover {
  background: var(--neon-purple-hover);
  box-shadow: 0 4px 20px rgba(var(--neon-purple-rgb), 0.4);
}

.splash-page .btn-secondary {
  background: transparent;
  color: #c8c0f8;
  border: 1px solid rgba(var(--neon-purple-rgb), 0.4);
}

.splash-page .btn-secondary:hover {
  background: rgba(var(--neon-purple-rgb), 0.1);
  border-color: var(--neon-purple);
  color: #fff;
}

.splash-page .btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 1.15rem;
  border-radius: 8px;
}

/* ===== Splash Animations ===== */
@keyframes hero-glow {
  0%, 100% {
    background-size: 100% 100%;
    opacity: 0.6;
  }
  50% {
    background-size: 120% 120%;
    opacity: 1;
  }
}

/* ===== Splash Hero ===== */

.splash-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  min-height: 70vh;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(var(--bg-base-rgb), 0.7), rgba(var(--bg-base-rgb), 0.85)),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(var(--neon-purple-rgb), 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(72, 52, 212, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 60%),
    url('/images/hero-bg.png') center/cover no-repeat;
}

.splash-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(var(--neon-purple-rgb), 0.12) 0%, transparent 70%);
  animation: hero-glow 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.splash-hero h1 {
  font-family: var(--font-cyber, 'Century Gothic', Futura, sans-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 700px;
  text-shadow: 0 0 10px rgba(var(--neon-purple-rgb), 0.7), 0 0 20px rgba(var(--neon-purple-rgb), 0.5), 0 0 40px rgba(var(--neon-purple-rgb), 0.3), 0 0 80px rgba(var(--neon-purple-rgb), 0.15);
  position: relative;
  z-index: 1;
}

.splash-hero__subtitle {
  font-size: 1.25rem;
  color: #a8a0c8;
  margin: 0 0 2.5rem;
  max-width: 580px;
  line-height: 1.65;
}

/* ===== Feature Cards ===== */

.splash-features {
  padding: 4rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-darker) 100%);
}

.splash-features .container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(var(--neon-purple-rgb), 0.06);
  border: 1px solid rgba(var(--neon-purple-rgb), 0.15);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, border-bottom-color 0.2s;
  border-bottom: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--neon-purple-rgb), 0.35);
  box-shadow: 0 0 20px rgba(var(--neon-purple-rgb), 0.2), 0 8px 30px rgba(var(--neon-purple-rgb), 0.12);
}

/* Per-card neon hover colors */
.feature-card:nth-child(1):hover {
  border-color: rgba(var(--neon-purple-rgb), 0.5);
  border-bottom-color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(var(--neon-purple-rgb), 0.3), 0 8px 30px rgba(var(--neon-purple-rgb), 0.15);
}

.feature-card:nth-child(2):hover {
  border-color: rgba(var(--neon-cyan-rgb), 0.5);
  border-bottom-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(var(--neon-cyan-rgb), 0.3), 0 8px 30px rgba(var(--neon-cyan-rgb), 0.15);
}

.feature-card:nth-child(3):hover {
  border-color: rgba(var(--neon-green-rgb), 0.5);
  border-bottom-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(var(--neon-green-rgb), 0.3), 0 8px 30px rgba(var(--neon-green-rgb), 0.15);
}

.feature-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.feature-card__text {
  padding: 1.5rem 1.75rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #c8c0f8;
  margin: 0 0 0.75rem;
}

.feature-card p {
  font-size: 1rem;
  color: #9090b0;
  line-height: 1.65;
  margin: 0;
}

/* ===== Splash Footer ===== */

.splash-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #14142a;
  border-top: 1px solid rgba(var(--neon-purple-rgb), 0.1);
}

.splash-footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.splash-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #606080;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .splash-hero {
    padding: 7rem 1.25rem 3rem;
    min-height: 60vh;
  }

  .splash-hero h1 {
    font-size: 2.25rem;
  }

  .splash-hero__subtitle {
    font-size: 1.05rem;
  }

  .splash-features .container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card__img {
    height: 140px;
  }

  .feature-card__text {
    padding: 1.25rem;
  }

  .splash-header__actions .btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .splash-hero h1 {
    font-size: 2.75rem;
  }

  .splash-features .container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
