/* ============================================
   EVENTARIX – Blue Branding Edition
============================================ */


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

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "SF Pro Text", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 20px 120px;
  position: relative;
  z-index: 2;
}


/* ============================================
   BACKGROUND: Noise + Blue Nebula
============================================ */

#bg-noise {
  position: fixed;
  inset: 0;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABN0lEQVR42mNkoBAwUqifgTWkH5v2/79oGf4P5P8fB41sDQ0NAwPDw8Lxv+f8DAwMDA0MAA4z9//9/sP///0j6+P+fMP7/4z9h99+BxNGAKT8//9/YGJiYmoFoqGhoXg+PHjwCjMiYNjUgmkpJRKZGRkYPH36NAZGRtYExPz/4/efPn2AiYmJhIBsxAAmIiLiD4z+/v4gYGBiYwGJgYFjaYGBgYDh+/PgF4kwiGoGBAQaJgYmJiQPBwYGhH+//3H///+Y8P//h/8HCBw/v///0N+RkZEggIwMjPw//8/NQwMDAxsGBgYHiHBgwcDQ6MjDwOhf9AGNgYGAQWcijIyMDZkZGhgA5EUsBiBlYGJjYGGKOPXv2IDSzs7OxiYmJiBx4+fMgPJwcHBjnrz5k1gZWVlGAABBgAzlDLx1XVOmwAAAABJRU5ErkJggg==");
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

/* Blue Nebula */
#bg-nebula {
  position: fixed;
  inset: -20%;
  background:
      radial-gradient(circle at 35% 20%, rgba(76,124,255,0.35), transparent 60%),
      radial-gradient(circle at 70% 70%, rgba(76,124,255,0.22), transparent 65%),
      radial-gradient(circle at 50% 110%, rgba(76,124,255,0.18), transparent 60%);
  filter: blur(95px);
  animation: nebulaMove 22s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes nebulaMove {
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(-4%,2%,0); }
  100% { transform: translate3d(3%,-3%,0); }
}


/* ============================================
   HERO
============================================ */

.hero {
  text-align: center;
  margin-bottom: 80px;
  transform: translateY(0);
  transition: transform 0.25s ease-out;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #fff;
  opacity: 0.65;
  margin-bottom: 16px;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

/* Blue Glow */
.hero-logo-glow {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle,
              rgba(76,124,255,0.55) 0%,
              transparent 70%);
  filter: blur(50px);
  opacity: 0;
  animation: logoGlow 1.2s ease-out forwards 0.3s;
}

@keyframes logoGlow {
  to { opacity: 1; }
}

.hero-logo-text {
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: logoRise 1.1s cubic-bezier(.23,1.02,.3,1) forwards;
}

@keyframes logoRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub,
.hero-quality,
.hero-meta {
  opacity: 0.85;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1.3rem;
}

.hero-quality {
  font-size: 1rem;
  opacity: 0.75;
}

.hero-meta {
  margin-top: 16px;
  opacity: 0.75;
}


/* ============================================
   DIVIDER – Blue Motion Blur Line
============================================ */

.divider-section {
  text-align: center;
  margin: 40px 0 50px;
}

.divider-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 10px;
}

.divider-line {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
}

.divider-glow {
  position: absolute;
  inset: 0;
  width: 25%;
  background: linear-gradient(
        90deg,
        transparent,
        rgba(76,124,255,0.95),
        transparent
  );
  filter: blur(8px);
  animation: dividerAnim 2.3s ease-in-out infinite;
}

@keyframes dividerAnim {
  0%   { transform: translateX(-120%); }
  50%  { transform: translateX(40%); }
  100% { transform: translateX(120%); }
}


/* ============================================
   TIMELINE
============================================ */

.timeline-card {
  background: #000;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(76,124,255,0.08);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.timeline-header h2 {
  font-size: 1.4rem;
}

.timeline-percentage {
  opacity: 0.9;
  color: #4C7CFF;
}

/* Progress Bar */
.timeline-bar {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  margin-bottom: 18px;
}

.timeline-fill {
  height: 100%;
  width: 0;
  background: #4C7CFF;
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(76,124,255,0.8);
  transition: width 1s cubic-bezier(.22,.85,.36,1);
}

.timeline-milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 18px;
}

.timeline-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
}

.dot.done {
  background: #4C7CFF;
  box-shadow: 0 0 14px rgba(76,124,255,0.9);
}

.dot.active {
  background: #4C7CFF;
  box-shadow: 0 0 18px rgba(76,124,255,1),
              0 0 30px rgba(76,124,255,0.6);
}

.dot.future {
  background: transparent;
  border: 1px solid #4C7CFF;
  opacity: 0.5;
}



/* ============================================
   FEATURES
============================================ */

.features-section {
  margin: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: 1.8rem;
}

.section-head p {
  opacity: 0.75;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 22px;
}

.feature-card {
  background: #000;
  border: 1px solid rgba(76,124,255,0.25);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 40px rgba(76,124,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(76,124,255,0.55);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #4C7CFF;
  opacity: 0.95;
}

.feature-card p {
  opacity: 0.8;
  font-size: 0.9rem;
}


/* ============================================
   PREVIEW
============================================ */

.preview-inner {
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 0 50px rgba(76,124,255,0.07);
}

.preview-header {
  text-align: center;
  margin-bottom: 24px;
  opacity: 0.9;
}

.preview-line {
  height: 10px;
  border-radius: 999px;
  background: #4C7CFF;
  opacity: 0.22;
  margin-bottom: 12px;
}

.preview-line.long {
  width: 70%;
}

.preview-pills span {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #4C7CFF;
  opacity: 0.18;
}

.preview-footer {
  height: 20px;
  border-radius: 10px;
  background: #4C7CFF;
  opacity: 0.22;
}

.preview-card.small {
  height: 60px;
  background: #000;
  border-radius: 14px;
  border: 1px solid rgba(76,124,255,0.25);
  opacity: 0.9;
}


/* ============================================
   FOOTER
============================================ */

.footer {
  text-align: center;
  padding: 40px 0;
  opacity: 0.55;
}


/* ============================================
   ANIMATIONS & FADE-IN
============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* RESPONSIVE */
@media (max-width: 800px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}


.hero {
  text-align: center;
  margin: 120px 0 80px;
}

.hero-logo-wrapper {
  position: relative;
  display: inline-block;
  padding: 20px 0;
}

.hero-glow {
  position: absolute;
  inset: -20% -30%;
  background: radial-gradient(circle,
      rgba(76,124,255,0.55),
      transparent 70%);
  filter: blur(90px);
  opacity: 0;
  animation: heroGlowFade 1.6s ease-out forwards 0.8s;
}

@keyframes heroGlowFade {
  to { opacity: 1; }
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  display: inline-flex;
  gap: 0.03em;
}

.hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: letterFade 0.8s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-title span:nth-child(1) { animation-delay: 0.15s; }
.hero-title span:nth-child(2) { animation-delay: 0.23s; }
.hero-title span:nth-child(3) { animation-delay: 0.31s; }
.hero-title span:nth-child(4) { animation-delay: 0.39s; }
.hero-title span:nth-child(5) { animation-delay: 0.47s; }
.hero-title span:nth-child(6) { animation-delay: 0.55s; }
.hero-title span:nth-child(7) { animation-delay: 0.63s; }
.hero-title span:nth-child(8) { animation-delay: 0.71s; }
.hero-title span:nth-child(9) { animation-delay: 0.79s; }

@keyframes letterFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub,
.hero-quality,
.hero-meta {
  margin-top: 12px;
  opacity: 0;
  animation: heroTextFade 1.2s ease forwards 1s;
}

@keyframes heroTextFade {
  to { opacity: 0.85; }
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 80px 0 60px;
  justify-content: center;
}

.section-divider .divider-line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(76,124,255,0.9),
      transparent
  );
  filter: blur(3px);
}

.section-divider .divider-label {
  font-size: 0.9rem;
  opacity: 0.65;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}