:root {
  --background: #050b12;
  --background-deep: #02070c;
  --panel: #0c1620;
  --panel-strong: #111f2d;
  --primary: #6ee7b7;
  --primary-strong: #34d399;
  --secondary: #8ab4ff;
  --text: #edf6ff;
  --muted: #b8c9d9;
  --shadow: rgba(2, 7, 12, 0.72);
  --border: rgba(138, 180, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(42, 73, 109, 0.38), transparent 32%),
    linear-gradient(135deg, var(--background-deep) 0%, #010102 30%, var(--background) 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center; /* Forces all direct children to share the exact same center axis */
  justify-content: center;
  gap: 40px;
  padding: 32px 20px 120px;
  margin: 0; /* Removes any default browser body margins that offset centering */
}

/* --- ANIMATIONS --- */
@keyframes riseIn {
  0% {
    opacity: 0;
    transform: translateY(100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: scale(1.5) translateY(25vh);
  }
  30% {
    opacity: 1;
    transform: scale(1.5) translateY(25vh); /* Holds in the center briefly */
  }
  100% {
    opacity: 0.9;
    transform: scale(1) translateY(0); /* Shrinks and moves to the top */
  }
}

.animated-section {
  animation: riseIn 1s ease-out forwards;
  opacity: 0; /* Stays hidden before animation starts */
}

.shell-delay {
  animation-delay: 0.2s;
}

.hero-content.delayed-content {
  animation-delay: 0.4s;
}

.bottom-nav.nav-delay {
  animation-delay: 0.6s;
}

.shell-delay {
  animation-delay: 1.2s;
}

.hero-content.delayed-content {
  animation-delay: 1.4s;
}

.bottom-nav.nav-delay {
  animation-delay: 1.6s;
}

/* --- HEADER & LOGO --- */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo-large {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 6rem;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transform-origin: center;
  animation: logoIntro 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  
  color: var(--text);
  /* Stacking shadows to create a physical 3D extrusion */
  text-shadow: 
    0 1px 0px #94a3b8,
    0 2px 0px #64748b,
    0 3px 0px #475569,
    0 4px 0px #334155,
    0 5px 0px #1e293b,
    0 6px 0px #0f172a,
    0 10px 20px rgba(0, 0, 0, 0.8),
    0 20px 40px rgba(110, 231, 183, 0.15); /* Subtle mint glow on the "floor" */
}

/* --- MAIN LAYOUT --- */
.page-shell {
  width: min(1100px, 100%);
  background: rgba(10, 17, 25, 0.88);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 26px 80px var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero {
  padding: 54px 32px 70px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  /* New Gradient Styles */
  background: linear-gradient(135deg, var(--text) 20%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  width: min(720px, 100%);
  margin: 18px auto 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --- BUTTONS & CTAS --- */
.cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 18px 35px rgba(9, 32, 58, 0.35);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
}

.cta-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #021a13;
}

.cta-secondary {
  background: rgba(138, 180, 255, 0.08);
  border-color: rgba(138, 180, 255, 0.28);
  color: var(--text);
}

/* --- FEATURES --- */
.feature-panel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 52px;
}

.feature-item {
  min-width: 220px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 39, 56, 0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.feature-label {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-item strong {
  font-size: 1.02rem;
  color: var(--text);
}

/* BOTTOM NAVIGATION@ */ 
/* --- BOTTOM NAVIGATION (FULL BAR) --- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; /* Spans the entire width of the screen */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  padding: 24px;
  background: rgba(10, 17, 25, 0.95); /* Slightly less transparent for a solid base */
  border: none; /* Removes the all-around border */
  border-top: 1px solid var(--border); /* Only keeps the top border line */
  border-radius: 0; /* Removes the pill shape */
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 40px rgba(2, 7, 12, 0.5); /* Shadow adjusted to cast upwards */
  z-index: 1000;
  box-sizing: border-box;
}
.bottom-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.14rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}
/* --- INNER PAGE CONTENT (Optional) --- */
.page-content {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 90px 32px 70px;
  text-align: left;
}

.page-content h1 {
  margin-bottom: 18px;
}

.page-content p,
.page-content li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.03rem;
}

.page-content a {
  color: var(--secondary);
}

.page-content .link-card {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(138, 180, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 640px) {
  .hero {
    padding: 72px 22px 56px;
  }

  .page-content {
    padding: 70px 22px 56px;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
  }
  
  .bottom-nav {
    width: calc(100% - 40px);
    justify-content: center;
    padding: 16px 20px;
  }
}