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

:root {
  --midnight: #0F051D;
  --deep-purple: #1A0B2E;
  --mid-purple: #2D1456;
  --vivid-pink: #FF3B8E;
  --hot-orange: #FF9F1C;
  --sunset-coral: #FF6B6B;
  --tropical-teal: #00F5D4;
  --warm-peach: #FDBA74;
  --soft-white: #F0E6FF;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--soft-white);
  font-family: 'Ubuntu', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== BACKGROUND ATMOSPHERE ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(76, 29, 149, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255, 59, 142, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(255, 159, 28, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

section, header, footer { position: relative; z-index: 1; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 5, 29, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-container img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(180, 70, 255, 0.5)) drop-shadow(0 0 24px rgba(255, 59, 142, 0.25));
  transition: filter 0.3s ease;
}

.logo-container img:hover {
  filter: drop-shadow(0 0 16px rgba(180, 70, 255, 0.7)) drop-shadow(0 0 32px rgba(255, 59, 142, 0.4));
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #fff 30%, var(--warm-peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240, 230, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vivid-pink), var(--hot-orange));
  transition: width 0.3s ease;
  border-radius: 1px;
}

nav a:hover { color: #fff; }
nav a:hover::after { width: 100%; }

nav a.active { color: #fff; }
nav a.active::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--vivid-pink), var(--hot-orange)) !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 59, 142, 0.4);
}

.nav-cta.active-page {
  box-shadow: 0 4px 20px rgba(255, 59, 142, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--soft-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--vivid-pink), var(--hot-orange));
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 59, 142, 0.35);
}

.btn-secondary {
  color: rgba(240, 230, 255, 0.7);
  padding: 0.9rem 1.5rem;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.btn-secondary:hover { color: #fff; }

/* ===== SHARED COMPONENTS ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tropical-teal);
  margin-bottom: 1rem;
}

.section-label .line {
  width: 32px;
  height: 2px;
  background: var(--tropical-teal);
  border-radius: 1px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(240, 230, 255, 0.55);
  max-width: 600px;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  text-align: center;
  padding: 10rem 2.5rem 4rem;
}

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 3.8rem;
  margin-bottom: 1rem;
}

.page-hero h1 .highlight {
  font-weight: 600;
  background: linear-gradient(135deg, var(--vivid-pink), var(--hot-orange), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.page-hero h1 span {
  font-weight: 600;
  background: linear-gradient(135deg, var(--vivid-pink), var(--hot-orange), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(240, 230, 255, 0.55);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CTA SECTION (used on most pages) ===== */
.cta-section {
  padding: 7rem 2.5rem;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%; bottom: 0;
  background: radial-gradient(ellipse, rgba(255, 59, 142, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.cta-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 2.8rem;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.cta-inner p {
  font-size: 1.1rem;
  color: rgba(240, 230, 255, 0.55);
  margin-bottom: 2.5rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes hoverFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* ===== FOOTER ===== */
footer {
  padding: 3rem 2.5rem 2rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(15, 5, 29, 0.5);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  font-size: 0.85rem;
  color: rgba(240, 230, 255, 0.35);
}

.footer-center {
  display: flex;
  gap: 1.5rem;
}

.footer-center a {
  font-size: 0.85rem;
  color: rgba(240, 230, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-center a:hover { color: var(--warm-peach); }

.footer-right {
  font-size: 0.85rem;
  color: rgba(240, 230, 255, 0.35);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section-title { font-size: 2.4rem; }
  .page-hero h1 { font-size: 2.8rem; }
  .cta-inner h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  header { padding: 0.8rem 1.5rem; }
  nav a:not(.nav-cta) { display: none; }
  .mobile-toggle { display: block; }
  nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(15, 5, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: none;
  }
  nav.open { display: flex; }
  nav.open a { display: block; }
  .section-title { font-size: 2.2rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .cta-section { padding: 4rem 1.5rem; }
  .cta-inner h2 { font-size: 2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
