@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Archivo:wdth,wght@62..125,100..900&family=Montserrat:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --amber: #f4b557;
  --amber-deep: #c8871f;
  --black: #0a0805;
  --black-soft: #14100a;
  --white: #ffffff;
  --font-step-out: 'Plus Jakarta Sans', sans-serif;
  --font-display: "Archivo", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --glass-bg: rgba(14, 18, 28, 0.55);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.35);
  --glass-blur: 1.125rem;
  --text-main: #ffffff;
  --text-muted: #8b8b99;
  --brand-primary: #6366f1;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brand-logos:hover {
  opacity: 0.8;
}

.brand-logos .step-out-logo {
  height: 2rem;
  width: auto;
  border-radius: 6px;
}

.brand-logos .x-divider {
  font-family: var(--font-step-out);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.1rem;
}

.brand-logos .hop-logo {
  height: 2rem;
  width: auto;
}

.back-link {
  font-family: var(--font-step-out);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: var(--white);
  color: var(--black);
}

/* Main Layout */
.main-content {
  flex: 1;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  z-index: 10;
  padding: 4rem 1rem;
}

/* Animated floating hops artwork */
.floating-hops {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  max-width: 1400px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}


/* Ambient glow from Step-Out fused with Amber */
.glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amber) 0%, rgba(244, 181, 87, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  z-index: 1;
  filter: blur(50px);
}

/* Text */
.kicker {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.title span {
  color: var(--amber);
}

/* Countdown */
.countdown-wrapper {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(20, 16, 10, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 181, 87, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  min-width: 120px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.time-box .number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(244, 181, 87, 0.3);
}

.time-box .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA */
.cta-button {
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(244, 181, 87, 0.2);
}

.cta-button:hover {
  background: var(--white);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cta-secondary {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.cta-secondary:hover {
  background: rgba(244, 181, 87, 0.1);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}



/* =========================================
   MANIFESTO SECTION
========================================= */
.manifesto-section {
  padding: 6rem 2rem;
  background: var(--black);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.manifesto-content {
  max-width: 900px;
  text-align: center;
}

.manifesto-content h2 {
  font-family: var(--font-step-out);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--white);
  line-height: 1.1;
}

.manifesto-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =========================================
   TIMELINE SECTION
========================================= */
.timeline-section {
  padding: 2rem 2rem 6rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  text-align: left;
}

.timeline-card.highlight {
  background: rgba(244, 181, 87, 0.05);
  border-color: rgba(244, 181, 87, 0.2);
}

.timeline-card h3 {
  font-family: var(--font-step-out);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.timeline-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   STATS SECTION
========================================= */
.stats-section {
  padding: 6rem 2rem;
  background: var(--black);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  max-width: 1000px;
}

.stat-box {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-num span {
  font-size: 2.5rem;
}

.stat-label {
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

/* =========================================
   FEATURES PREVIEW SECTION
========================================= */
.features-preview {
  padding: 6rem 2rem;
  background: rgba(10, 8, 5, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.features-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-family: var(--font-step-out);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(var(--glass-blur));
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.4);
  border-color: rgba(244, 181, 87, 0.3);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--amber);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-family: var(--font-step-out);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================
   BOTTOM CTA SECTION
========================================= */
.bottom-cta-section {
  padding: 8rem 2rem;
  background: var(--black-soft);
  text-align: center;
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.bottom-cta-content h2 {
  font-family: var(--font-step-out);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.bottom-cta-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.bottom-glow {
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  opacity: 0.05;
}

/* =========================================
   DOWNLOAD MODAL
========================================= */
.download-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.download-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.65);
  backdrop-filter: blur(0.375rem);
}

.modal-card {
  position: relative;
  width: min(32.5rem, 92vw);
  background: var(--glass-bg);
  border: 1.0px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  z-index: 1;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1.0px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 181, 87, 0.2);
  color: var(--amber);
  font-size: 1.5rem;
}

.modal-header h3 {
  font-family: var(--font-step-out);
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1.125rem;
  border: 1.0px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: left;
}

.modal-btn i {
  font-size: 2rem;
  line-height: 1;
}

.modal-btn .btn-content {
  display: flex;
  flex-direction: column;
}

.modal-btn .btn-content span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.modal-btn .btn-content strong {
  font-size: 1rem;
  font-weight: 700;
}

.modal-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.4);
}

.btn-ios:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-android:hover {
  border-color: #3DDC84;
  background: rgba(61, 220, 132, 0.1);
}

.modal-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1.0px solid rgba(255, 255, 255, 0.06);
}

.modal-note {
  margin-top: 1.125rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .brand-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-content {
    padding: 2rem 1rem 4rem;
    min-height: auto;
  }

  .title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .countdown-wrapper {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .time-box {
    min-width: 80px;
    padding: 1rem 0.5rem;
  }

  .time-box .number {
    font-size: 2rem;
  }

  .manifesto-section, 
  .stats-section, 
  .features-preview {
    padding: 4rem 1.5rem;
  }

  .timeline-section {
    padding: 2rem 1.5rem 4rem;
  }

  .stats-grid {
    gap: 2.5rem;
    flex-direction: column;
    align-items: center;
  }

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

  .timeline-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .time-box {
    min-width: 70px;
  }

  .time-box .number {
    font-size: 1.5rem;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 300px;
  }
}