/* ============================================
   United Earth Hopeforce — Landing Page Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #141414;
  --color-bg-card: #1a1a1a;
  --color-accent: #e8a317;
  --color-accent-light: #f5c542;
  --color-text: #f5f5f5;
  --color-text-muted: #a0a0a0;
  --color-border: rgba(232, 163, 23, 0.2);
  --color-glow: rgba(232, 163, 23, 0.1);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Oswald', 'Inter', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;

  --shadow-card: 4px 4px 0 rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 40px rgba(232, 163, 23, 0.15);

  --container-max: 1100px;
  --section-padding: 6rem 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(232, 163, 23, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(232, 163, 23, 0.02) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-light);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid var(--color-accent);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

.badge--wip {
  background: var(--color-accent);
  color: var(--color-bg);
  border: 2px solid var(--color-accent);
}

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 8rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.hero__title--accent {
  color: var(--color-accent);
  display: inline-block;
  position: relative;
}

.hero__title--accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.hero__subtitle {
  max-width: 680px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: 2px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232, 163, 23, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(232, 163, 23, 0); }
}

/* --- About --- */
.about {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about__card {
  position: relative;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about__card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.8);
}

.about__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.about__icon svg {
  width: 100%;
  height: 100%;
}

.about__card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.about__card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Section Titles --- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* --- Timeline --- */
.timeline {
  padding: var(--section-padding);
}

.timeline__track {
  max-width: 700px;
  margin: 0 auto;
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__marker {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  background: var(--color-bg);
  border: 3px solid var(--color-accent);
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
  margin-top: 0.25rem;
}

.timeline__item:first-child .timeline__marker {
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(232, 163, 23, 0.6);
}

.timeline__content {
  flex: 1;
  min-width: 0;
}

.timeline__item--hidden {
  display: none;
}

.timeline__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.timeline__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text);
  line-height: 1.3;
}

.timeline__host {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
  font-style: italic;
}

.timeline__toggle-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.timeline__toggle {
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: transparent;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
}

.timeline__toggle:hover {
  background: var(--color-text);
  color: var(--color-bg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
}

/* --- CTA / Notify --- */
.cta {
  padding: var(--section-padding);
  text-align: center;
  background: var(--color-bg-alt);
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.cta > .container > p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.notify-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.notify-form input[type="email"]:focus {
  border-color: var(--color-accent);
  box-shadow: 3px 3px 0 rgba(232, 163, 23, 0.3);
}

.notify-form button {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-bg);
  background: var(--color-accent);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.notify-form button:hover {
  background: var(--color-accent-light);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
}

.notify-form button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
}

.notify-form__msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.4em;
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Footer --- */
.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 3px solid var(--color-accent);
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-footer__tagline {
  margin-top: 0.4rem;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.site-footer__link {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.site-footer__link a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.site-footer__link a:hover {
  border-bottom-color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .hero {
    padding: 7rem 0 4rem;
    min-height: auto;
  }

  .hero__glow {
    width: 400px;
    height: 400px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
  }

  .timeline__item {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .timeline__title {
    font-size: 1.05rem;
  }
}

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

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