/* --- Font Definition --- */
@font-face {
  font-family: 'AllianceNo2';
  src: url('AllianceNo2-Regular.woff2') format('woff2'),
    url('AllianceNo2-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* --- Global Styles & Variables --- */
:root {
  --bg-color: #0a0a0a;
  --text-color: #f0f0f0;
  --primary-color: #00aaff;
  --primary-color-rgb: 0, 170, 255;
  --secondary-color: #333333;
  --slogan-color: #6a6a6a;
  --font-family: 'AllianceNo2', sans-serif;
}

/* --- Keyframes for Animations --- */
@keyframes pulse {
  0% {
    box-shadow: 0 0 7px rgba(var(--primary-color-rgb), 0.6);
  }
  50% {
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.9);
  }
  100% {
    box-shadow: 0 0 7px rgba(var(--primary-color-rgb), 0.6);
  }
}
@keyframes wave {
  from {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -50%) scale(2.1);
    opacity: 0;
  }
}
@keyframes shine {
  to {
    background-position-x: -200%;
  }
}
@keyframes scroll-line {
  from {
    top: -15%;
  }
  to {
    top: 115%;
  }
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-image {
  height: 30px;
  width: auto;
  vertical-align: middle;
}
.slogan {
  font-size: 0.6rem;
  color: var(--slogan-color);
  letter-spacing: 0.5px;
  max-width: 250px;
  line-height: 1.4;
}

.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-button {
  color: var(--text-color);
  background-color: transparent;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 0.8rem;
  padding: 6px 14px;
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  box-shadow: 0 0 8px -2px var(--primary-color);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
  cursor: pointer;
}
.nav-button:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px -1px var(--primary-color);
}

/* --- Main Content --- */
.two-column-layout {
  flex-grow: 1;
  display: flex;
  padding: 40px 5%;
  gap: 2%;
}

.coming-soon-column {
  flex-basis: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 40px;
  height: calc(100vh - 120px);
}

.coming-soon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px; /* Space between "coming soon" text and button */
}

/* [-- MODIFIED: The CTA button is now smaller. --] */
.cta-button {
  color: var(--text-color);
  background-color: transparent;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 0.9rem; /* Reduced from 1rem */
  padding: 8px 20px; /* Reduced from 10px 24px */
  border: 1px solid var(--primary-color);
  border-radius: 25px; /* Reduced from 30px */
  box-shadow: 0 0 10px -2px var(--primary-color); /* Reduced from 12px */
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.cta-button:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 18px -1px var(--primary-color);
}

.timeline-column {
  flex-basis: 70%;
  display: flex;
  justify-content: center;
}
.timeline-container {
  width: 100%;
  max-width: 600px;
  position: relative;
  padding-top: 14px;
  padding-bottom: 20px;
}
.timeline-line {
  position: absolute;
  top: 14px;
  bottom: 20px;
  left: 8px;
  width: 2px;
  overflow: hidden;
}
.timeline-line::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
}
.timeline-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 15%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #fff,
    rgba(255, 255, 255, 0)
  );
  animation: scroll-line 4s linear infinite;
}
.timeline-items {
  position: relative;
  padding-left: 40px;
}
.timeline-item {
  position: relative;
  margin-bottom: 70px;
  cursor: pointer;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  box-shadow: none;
  transition: all 0.4s ease;
  z-index: 1;
}
.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  z-index: -1;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color 0.3s ease-in-out;
  position: relative;
}
.timeline-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--slogan-color);
  font-size: 0.9rem;
  margin-top: 0;
  transition: max-height 1.2s ease-out, opacity 0.9s ease-out,
    margin-top 1.2s ease-out;
}
.timeline-details ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}
.timeline-details li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 5px;
}
.timeline-details li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}
.timeline-item.is-highlighted .timeline-dot {
  background-color: var(--primary-color);
  transform: scale(1.1);
  animation: pulse 6s infinite ease-in-out;
}
.timeline-item.is-highlighted .timeline-dot::before {
  animation: wave 2s infinite ease-out;
  opacity: 1;
}
.timeline-item.is-highlighted .timeline-title {
  color: var(--primary-color);
}
.timeline-item.is-highlighted .timeline-details {
  max-height: 1000px;
  opacity: 1;
  margin-top: 8px;
  transition: max-height 1.5s ease-in-out 0.6s, opacity 1.2s ease-in-out 0.6s,
    margin-top 1.5s ease-in-out 0.6s;
}
.coming-soon-text {
  font-size: clamp(1rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
  background: linear-gradient(110deg, #777 25%, #eee 45%, #777 65%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

/* --- Modals & Forms Styles -- */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 30px 40px;
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}
.close-button {
  color: var(--slogan-color);
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s;
}
.close-button:hover,
.close-button:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}
.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 8px;
}
.modal-content p {
  color: var(--slogan-color);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 5px;
  color: var(--text-color);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background-color: #1a1a1a;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 0.9rem;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}
.form-button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.form-button:hover {
  background-color: #0099e6;
  box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.7);
}

/* --- Mobile Friendliness (Responsive Design) --- */
@media (max-width: 768px) {
  .navbar {
    gap: 15px;
  }
  .nav-left {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    gap: 15px;
  }
  .slogan {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
  }
  .two-column-layout {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  .coming-soon-column,
  .timeline-column {
    flex-basis: 100%;
    width: 100%;
    position: static;
    height: auto;
  }
  .coming-soon-column {
    order: 2;
    padding: 2rem 0;
  }
  .timeline-column {
    order: 1;
  }
  .coming-soon-text {
    font-size: clamp(2rem, 6vw, 3.6rem);
  }
  .timeline-line {
    left: 5px;
    top: 13px;
    bottom: 15px;
  }
  .timeline-items {
    padding-left: 30px;
  }
  .timeline-dot {
    left: -33px;
    width: 18px;
    height: 18px;
  }
  .timeline-title {
    font-size: 1.2rem;
  }
  .timeline-details {
    font-size: 0.8rem;
  }
}
