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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======================== */
/*  TYPOGRAPHY              */
/* ======================== */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.2rem;
}

.text-gradient {
  background: linear-gradient(135deg, #22c55e, #84cc16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #22c55e;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.15rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 560px;
}

.hide-mobile {
  display: inline;
}

/* ======================== */
/*  BUTTONS                 */
/* ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #1a1a1a;
  color: #fff;
  padding: 14px 24px;
}

.btn-primary:hover {
  background: #2d2d2d;
}

.btn-icon {
  transition: transform 0.2s;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn-success {
  background: #22c55e !important;
}

/* Focus accessibility */
:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
}

/* ======================== */
/*  NAV                     */
/* ======================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  width: 56px;
  height: 56px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo-accent {
  color: #22c55e;
}

/* ======================== */
/*  HERO                    */
/* ======================== */
.hero {
  background: #0a0a0a;
  color: #fff;
  padding-bottom: 100px;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-content {
  max-width: 620px;
  padding: 60px 32px 0;
  margin: 0 auto 0 calc((100% - 1140px) / 2 + 24px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #86efac;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #b0b0b8;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-sub strong {
  color: #fff;
}

/* FORM */
.form-group {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 6px;
}

.form-group input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
  outline: none;
  min-width: 0;
}

.form-group input[type="email"]::placeholder {
  color: #6b7280;
}

.form-group .btn-primary {
  background: #22c55e;
  color: #fff;
  white-space: nowrap;
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.form-group .btn-primary:hover {
  background: #16a34a;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.form-hint {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #6b7280;
}

.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  font-size: 0.9rem;
  color: #86efac;
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TRUST BAR */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #b0b0b8;
}

.trust-icon {
  font-size: 0.9rem;
}

/* PHONE MOCKUP - MOBILE VERSION */
.hero-mockup-mobile {
  display: none;
}

.phone-mockup-small {
  width: 220px;
  margin: 0 auto;
  padding: 8px;
}

.phone-mockup-small .phone-screen {
  padding: 12px;
}

/* PHONE MOCKUP */
.hero-visual {
  position: absolute;
  right: calc((100% - 1140px) / 2 + 24px);
  top: 50%;
  transform: translateY(-50%);
}

.phone-mockup {
  width: 300px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
  background: #111827;
  border-radius: 22px;
  overflow: hidden;
  padding: 16px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-time {
  font-size: 0.8rem;
  color: #6b7280;
}

.mock-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.mock-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.mock-card-faded {
  opacity: 0.5;
}

.mock-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mock-sport {
  font-size: 0.8rem;
  font-weight: 600;
}

.mock-level {
  font-size: 0.7rem;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  padding: 3px 8px;
  border-radius: 6px;
}

.mock-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.mock-card-info {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: #b0b0b8;
  margin-bottom: 12px;
}

.mock-card-price {
  margin-bottom: 12px;
}

.mock-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #22c55e;
}

.mock-price-label {
  font-size: 0.8rem;
  color: #6b7280;
}

.mock-btn {
  background: #22c55e;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ======================== */
/*  SECTIONS                */
/* ======================== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: #0a0a0a;
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark .section-sub {
  color: #b0b0b8;
}

.section-accent {
  background: #f0fdf4;
}

/* PROBLEM */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.problem-card {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.problem-emoji {
  font-size: 2rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.problem-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(34, 197, 94, 0.3);
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 20px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.step-card p {
  color: #b0b0b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-card-large {
  grid-column: span 2;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
  border-radius: 14px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ROADMAP */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.roadmap-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.roadmap-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.roadmap-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
  margin-bottom: 12px;
}

.roadmap-now {
  background: #dcfce7;
  color: #16a34a;
}

.roadmap-item h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.roadmap-item p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* SIGNUP */
.signup-container {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.signup-container .section-sub {
  margin: 0 auto 32px;
}

.section-dark .form-hint {
  color: #6b7280;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #d1d5db;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #22c55e;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: #6b7280;
  line-height: 1.7;
}

/* ======================== */
/*  FOOTER                  */
/* ======================== */
.footer {
  padding: 60px 0 40px;
  background: #0a0a0a;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #6b7280;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  font-size: 0.8rem;
  color: #4b5563;
}

/* ======================== */
/*  ANIMATIONS              */
/* ======================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.4s; }
[data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* ======================== */
/*  RESPONSIVE              */
/* ======================== */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .hero-mockup-mobile {
    display: block;
    margin-top: 40px;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
  }

  .hero-trust {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-content {
    padding: 40px 24px 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 70px 0;
  }

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

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

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

  .feature-card-large {
    grid-column: span 1;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-group .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hide-mobile {
    display: none;
  }

  .nav {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .problem-card,
  .step-card,
  .feature-card {
    padding: 24px;
  }
}
