:root {
  --bg-color: #050505;
  --text-color: #ffffff;
  --accent-color: #00d2ff;
  --secondary-accent: #3a7bd5;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.8s ease-out;
}

.loader-content {
  text-align: center;
  width: 80%;
  max-width: 400px;
}

.loader-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--secondary-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: 4px;
}

.progress-container {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

#loading-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Main Content */
#main-content {
  opacity: 0;
  transition: opacity 1s ease-in;
}

#parallax-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

.scroll-container {
  position: relative;
  z-index: 1;
}

.step {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

/* Alternate alignment for dynamic feel */
.step:nth-child(even) {
  justify-content: flex-end;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.content-card {
  max-width: 500px;
  transform: translateY(30px);
  opacity: 0;
}

.label {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-color);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

h1.content-title,
h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

footer {
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5vh;
}

footer .footer-content {
  padding: 1rem 2rem;
  border-radius: 50px;
}

footer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsiveness */
@media (max-width: 768px) {
  .step {
    padding: 0 5%;
    justify-content: center !important;
  }

  .glass {
    padding: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}
