/* index.css — PHAME Rider landing page */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #5B21B6;
  --primary-light: #7C3AED;
  --primary-dark: #4C1D95;
  --secondary: #F97316;
  --secondary-light: #FB923C;
  --text-dark: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --bg-page: #F8FAFC;
  --success: #10B981;
  --border-light: #E5E7EB;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: all 0.25s cubic-bezier(0.2,0.9,0.4,1.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg-page);
  overflow-x: hidden;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { color: var(--primary-light); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span { color: var(--secondary); }
.nav-logo small { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); margin-left: 2px; }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-link:hover { color: var(--primary); }
.nav-auth { display: flex; gap: 10px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 24px;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.blob-1 { width: 320px; height: 320px; background: var(--secondary); top: -80px; right: -80px; }
.blob-2 { width: 260px; height: 260px; background: var(--primary-light); bottom: -80px; left: -60px; }

.hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-text h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.hero-text h1 span { color: var(--secondary-light); }
.hero-text p { font-size: 1.05rem; opacity: 0.9; max-width: 480px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.85rem; opacity: 0.85; }
.hero-note a { text-decoration: underline; font-weight: 600; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 340px;
  backdrop-filter: blur(6px);
}
.hero-card i { font-size: 3rem; color: var(--secondary-light); margin-bottom: 16px; }
.hero-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.hero-card p { font-size: 0.9rem; opacity: 0.9; }

/* Sections */
.section { padding: 72px 24px; max-width: 1200px; margin: 0 auto; }
.section.alt { background: var(--white); max-width: none; padding-left: 0; padding-right: 0; }
.section.alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.tag {
  display: inline-block;
  background: rgba(91,33,182,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-weight: 900;
  font-size: 1.6rem;
  color: rgba(91,33,182,0.12);
}
.step-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Earnings */
.earnings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.earn-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
}
.earn-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 14px; }
.earn-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.earn-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.earn-card strong { color: var(--text-dark); }

/* Requirements */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.req-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.req-item i { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.req-item span { font-size: 0.88rem; color: var(--text-dark); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 0.95rem; }
.faq-item p { margin-top: 10px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 10px; }
.cta-band p { opacity: 0.95; margin-bottom: 24px; }
.cta-band .btn-primary { background: var(--white); color: var(--secondary); }
.cta-band .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 48px 24px 20px; }
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .nav-logo { color: var(--white); }
.footer-brand .nav-logo span { color: var(--secondary-light); }
.footer-brand p { margin-top: 10px; font-size: 0.85rem; opacity: 0.8; max-width: 320px; }
.footer-links h4 { font-size: 0.9rem; margin-bottom: 12px; color: var(--white); }
.footer-links a { display: block; font-size: 0.85rem; margin-bottom: 8px; opacity: 0.8; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--secondary-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .earnings-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
}

@media (max-width: 700px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 14px; }
  .nav-auth { flex-direction: column; }
  .nav-hamburger { display: flex; }
  .hero-text h1 { font-size: 2.2rem; }
  .req-grid { grid-template-columns: 1fr; }
}
