@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --orange: #F7941D;
  --orange-light: #ffb04d;
  --orange-dark: #d67e15;
  --dark: #14161a;
  --dark-2: #1b1e24;
  --dark-3: #21242b;
  --navy: #0b3c5d;
  --text-light: #b9bec7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.required {
  color: var(--orange);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 40px;
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.25s ease-in-out;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #1a1200;
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(247, 148, 29, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  border-color: #fff;
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--dark);
  color: #fff;
  padding: 16px 38px;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-cta:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(20, 22, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  height: 76px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange);
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  background: rgba(247, 148, 29, 0.12);
  border: 1px solid rgba(247, 148, 29, 0.4);
  color: var(--orange-light);
  width: fit-content;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 1.4rem;
  font-family: 'Poppins', sans-serif;
}

.eyebrow-center {
  margin-left: auto;
  margin-right: auto;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
  text-align: center;
  position: relative;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 24px 100px;
  background: radial-gradient(circle at 20% 0%, #24160a 0%, var(--dark) 55%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.35) 0%, rgba(247, 148, 29, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: 2.9rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Why Join */
.why-join {
  background: #fff;
  color: var(--dark);
}

.why-join h2 {
  color: var(--dark);
  font-size: 2.1rem;
  margin-bottom: 3.2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fafafa;
  border-radius: 18px;
  padding: 36px 24px;
  transition: 0.25s ease-in-out;
  border: 1px solid #eee;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(247, 148, 29, 0.16);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.15), rgba(247, 148, 29, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.icon-badge i {
  font-size: 1.4rem;
  color: var(--orange);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.why-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.55;
}

/* Tracks */
.tracks {
  background: var(--dark-2);
  position: relative;
}

.tracks h2 {
  font-size: 2.1rem;
  margin-bottom: 3.2rem;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.track-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--orange);
  border-radius: 16px;
  padding: 28px 26px;
  transition: 0.25s ease-in-out;
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(247, 148, 29, 0.5);
}

.track-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.track-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.track-path-alt {
  margin-top: 10px;
}

.track-path span {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 20px;
}

.track-path i {
  color: var(--orange);
  font-size: 0.75rem;
}

/* CTA */
.cta {
  position: relative;
  background: linear-gradient(120deg, #ff9d2e 0%, var(--orange) 55%, #e0680c 100%);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.cta-inner {
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #1a1200;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta p {
  color: #3a2c14;
  font-size: 1.08rem;
  margin-bottom: 2.2rem;
}

/* Footer */
.site-footer {
  background: #101216;
  text-align: center;
  padding: 30px 24px;
  color: #777;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.form-card {
  background: #fff;
  color: var(--dark);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
}

.form-card h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  padding-right: 2rem;
}

.form-intro {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.form-message {
  padding: 10px;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-message.success {
  background-color: rgba(0, 128, 0, 0.1);
  color: green;
  border: 1px solid green;
}

.form-message.error {
  background-color: rgba(255, 0, 0, 0.1);
  color: red;
  border: 1px solid red;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.form-row > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-card label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.hint {
  font-size: 0.78rem;
  color: #777;
  margin: 0;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="date"],
.form-card input[type="file"],
.form-card textarea,
.form-card select {
  padding: 0.65rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background: transparent;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--orange);
}

.form-card .error-border {
  border-color: red !important;
}

.form-row small,
.form-group small {
  color: red;
  font-size: 0.78rem;
}

.form-group small:empty {
  display: none;
}

.pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-pill {
  padding: 0.5rem 1.1rem;
  border: 1.5px solid #ccc;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.2s;
  color: #333;
  font-family: 'Inter', sans-serif;
}

.option-pill.selected {
  background-color: var(--orange);
  border-color: var(--orange);
  color: white;
}

.option-pill:hover {
  border-color: var(--orange);
}

/* Responsive */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tracks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 12px 16px;
  }
  .hero {
    padding: 80px 20px 60px;
  }
  .hero-glow {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -120px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
  }
  .section-inner {
    padding: 60px 20px;
  }
  .why-join h2,
  .tracks h2 {
    font-size: 1.7rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    padding: 70px 20px;
  }
  .cta h2 {
    font-size: 1.8rem;
  }
  .cta-glow {
    width: 260px;
    height: 260px;
  }
  .brand-text {
    font-size: 0.85rem;
  }
  .brand-text em {
    font-size: 0.6rem;
  }
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  .form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 28px;
  }
  .brand-text em {
    display: none;
  }
  .btn-sm {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
  .eyebrow {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
}
