/* ===== DESIGN SYSTEM ===== */
:root {
  --bg-primary: #0D0D0F;
  --bg-surface: #1A1A1E;
  --bg-surface-light: #222226;
  --color-primary: #FF5500;
  --color-accent: #FF8C42;
  --color-text: #FFFFFF;
  --color-text-muted: #999999;
  --color-text-dim: #666666;
  --color-text-faint: #444444;
  --color-border: #2a2a2e;
  --color-success: #22c55e;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 20px;
  --font-main: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

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

/* ===== ANIMATIONS ===== */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255,85,0,0.3), 0 0 24px rgba(255,85,0,0.15); }
  50% { box-shadow: 0 0 20px rgba(255,85,0,0.5), 0 0 40px rgba(255,85,0,0.25); }
}
@keyframes pulseOpacity {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 40px); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes voteBarGrow {
  0%, 10% { width: 50%; }
  30%, 80% { width: 62%; }
  90%, 100% { width: 50%; }
}
@keyframes fadeInStagger {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px;
  letter-spacing: 1px;
}
.nav-logo-icon {
  width: 32px; height: 32px; background: var(--color-primary); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: #fff;
}
.nav-logo-img { height: 30px; width: auto; border-radius: var(--radius-sm); }
.nav-logo-text-img { height: 46px; width: auto; }
.footer-logo { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
  background: #22c55e; color: #fff !important; font-weight: 700;
  padding: 10px 20px; border-radius: var(--radius-md); font-size: 13px;
  transition: background 0.2s;
}
.nav-cta:hover { background: #16a34a; }
.nav-hamburger {
  display: none; width: 28px; height: 28px; flex-direction: column;
  justify-content: center; gap: 5px; cursor: pointer;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--color-text-muted);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,15,0.97); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 20px; font-weight: 600; color: var(--color-text-muted);
}
.mobile-menu .nav-cta { font-size: 16px; padding: 14px 32px; }
.mobile-close {
  position: absolute; top: 20px; right: 24px; font-size: 28px;
  color: var(--color-text-muted); cursor: pointer;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; padding: 120px 0 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-bg .orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.hero-bg .orb-1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(255,85,0,0.08) 0%, transparent 70%);
  animation: float1 18s ease-in-out infinite;
}
.hero-bg .orb-2 {
  width: 500px; height: 500px; bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(255,85,0,0.06) 0%, transparent 70%);
  animation: float2 20s ease-in-out infinite;
}

.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,85,0,0.35); background: rgba(255,85,0,0.06);
  font-size: 14px; font-weight: 700; color: #FFFFFF;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
  animation: pulseGlow 1.5s ease-in-out infinite;
}
.hero-pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary);
}

.hero-headline {
  font-size: 40px; font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 16px;
}
.hero-headline .accent { color: var(--color-primary); }

.hero-sub {
  font-size: 17px; color: var(--color-text-muted); line-height: 1.6;
  margin-bottom: 28px; max-width: 480px;
}

.hero-ctas { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.btn-primary {
  background: var(--color-primary); color: #fff; font-weight: 700;
  padding: 14px 24px; border-radius: var(--radius-md); font-size: 14px;
  transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #e64d00; }
.btn-signup { background: #22c55e; }
.btn-signup:hover { background: #16a34a; }
.btn-glow {
  background: transparent; color: var(--color-primary); font-weight: 700;
  padding: 14px 24px; border-radius: var(--radius-md); font-size: 14px;
  border: 1.5px solid var(--color-primary);
  animation: pulseGlow 1.5s ease-in-out infinite;
  transition: background 0.2s;
}
.btn-glow:hover { background: rgba(255,85,0,0.1); }

/* Raeda callout */
.raeda-callout {
  background: linear-gradient(135deg, rgba(255,85,0,0.06), rgba(255,85,0,0.02));
  border: 1px solid rgba(255,85,0,0.2); border-radius: var(--radius-lg);
  padding: 16px 20px; margin-bottom: 28px;
}
.raeda-callout-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.raeda-callout-title {
  font-size: 13px; font-weight: 800; color: var(--color-primary);
  letter-spacing: 1px; animation: pulseOpacity 2.5s ease-in-out infinite;
}
.pro-badge {
  font-size: 9px; font-weight: 800; background: var(--color-primary);
  color: #fff; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.raeda-callout-desc {
  font-size: 13px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 6px;
}
.raeda-callout-price {
  font-size: 13px; font-weight: 700; color: var(--color-primary);
}

/* Stats bar */
.hero-stats {
  display: flex; gap: 0; align-items: center;
}
.hero-stat {
  font-size: 13px; font-weight: 600; color: #b0b0b0;
  padding: 0 16px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat-divider {
  width: 1px; height: 16px; background: var(--color-border);
}

/* Phone mockup */
.phone-mockup {
  width: 280px; margin: 0 auto;
  background: var(--bg-surface); border-radius: 32px;
  border: 2px solid var(--color-border); padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.phone-notch {
  width: 100px; height: 24px; background: var(--bg-primary);
  border-radius: 0 0 16px 16px; margin: 0 auto 12px;
}
.phone-content { padding: 0 4px; }
.phone-header {
  display: flex; align-items: center; gap: 6px; margin-bottom: 12px;
  padding: 4px 0;
}
.phone-logo-text {
  font-size: 14px; font-weight: 800; color: var(--color-primary);
  letter-spacing: 0.5px;
}

/* Phone cards */
.phone-card {
  background: var(--bg-surface-light); border-radius: var(--radius-lg);
  padding: 12px; margin-bottom: 8px; border: 0.5px solid var(--color-border);
  animation: fadeInStagger 0.6s ease-out both;
}
.phone-card:nth-child(2) { animation-delay: 0.3s; }
.phone-card:nth-child(3) { animation-delay: 0.6s; }
.phone-card:nth-child(4) { animation-delay: 0.9s; }
.phone-card:nth-child(5) { animation-delay: 1.2s; }

.phone-foc-claim {
  font-size: 12px; font-weight: 700; color: var(--color-text); margin-bottom: 8px;
}
.phone-foc-bar {
  height: 6px; border-radius: 3px; background: var(--color-border);
  overflow: hidden; margin-bottom: 4px;
}
.phone-foc-fill {
  height: 100%; background: var(--color-primary); border-radius: 3px;
  animation: voteBarGrow 6s ease-in-out infinite;
}
.phone-foc-stats {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--color-text-dim);
}
.phone-foc-stats .fact { color: var(--color-primary); font-weight: 700; }

.phone-post { display: flex; gap: 8px; align-items: flex-start; }
.phone-post-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-primary); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
}
.phone-post-body { flex: 1; }
.phone-post-user {
  font-size: 10px; font-weight: 700; color: var(--color-text);
}
.phone-post-text {
  font-size: 10px; color: var(--color-text-muted); line-height: 1.4;
}

.phone-raeda-card {
  border: 1px solid rgba(255,85,0,0.3) !important;
  background: rgba(255,85,0,0.04) !important;
}
.phone-raeda-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.phone-raeda-label {
  font-size: 9px; font-weight: 800; color: var(--color-primary);
  letter-spacing: 1px;
}
.phone-raeda-score {
  font-size: 11px; font-weight: 800; color: var(--color-primary);
}
.phone-raeda-name {
  font-size: 12px; font-weight: 700; color: var(--color-text);
}
.phone-raeda-meta {
  font-size: 10px; color: var(--color-text-dim);
}

.phone-nav {
  display: flex; justify-content: center; gap: 6px; padding: 12px 0 4px;
}
.phone-nav-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-border);
}
.phone-nav-dot.active { background: var(--color-primary); }

@media (max-width: 767px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { flex-direction: column; align-items: center; gap: 16px; }
  .hero-stat { padding: 0; text-align: center; }
  .hero-stat-divider { display: none; }
  .phone-mockup { width: 240px; }
}

/* ===== FEATURES ===== */
.features { padding: 80px 0; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--color-primary); margin-bottom: 8px;
}
.section-title {
  font-size: 28px; font-weight: 800; margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feature-card {
  background: var(--bg-surface); border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--color-text-faint); }
.feature-card.raeda {
  background: rgba(255,85,0,0.04);
  border: 1px solid rgba(255,85,0,0.3);
  animation: pulseGlow 1.5s ease-in-out infinite;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: var(--bg-surface-light);
}
.feature-card.raeda .feature-icon { background: rgba(255,85,0,0.12); }
.feature-title-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.feature-title { font-size: 20px; font-weight: 700; }
.feature-card.raeda .feature-title {
  color: var(--color-primary); animation: pulseOpacity 2.5s ease-in-out infinite;
}
.feature-desc { font-size: 15px; color: var(--color-text-muted); line-height: 1.6; }

@media (max-width: 767px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== FOR ATHLETES ===== */
.athletes { padding: 80px 0; }
.athletes .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.section-label-green { color: var(--color-success); }
.checklist { margin-top: 20px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--color-text-muted); padding: 6px 0;
}
.check-green { color: var(--color-success); font-weight: 700; flex-shrink: 0; }
.check-orange { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }

.athlete-card {
  background: var(--bg-surface); border-radius: var(--radius-xl);
  padding: 32px; text-align: center; border: 1px solid var(--color-border);
  max-width: 280px; margin: 0 auto;
}
.athlete-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--color-success); margin: 0 auto 12px;
  background: #333;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--color-success);
  overflow: hidden;
}
.athlete-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.athlete-meta { font-size: 12px; color: var(--color-text-dim); margin-bottom: 16px; }
.athlete-stats { display: flex; justify-content: center; gap: 24px; }
.athlete-stat-value { font-size: 20px; font-weight: 800; }
.athlete-stat-label { font-size: 10px; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 767px) {
  .athletes .container { grid-template-columns: 1fr; }
}

/* ===== FOR COACHES ===== */
.coaches { padding: 80px 0; }
.coaches .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.coach-pricing-card {
  background: rgba(255,85,0,0.04); border: 1.5px solid rgba(255,85,0,0.3);
  border-radius: var(--radius-xl); padding: 32px; text-align: center;
  max-width: 320px;
  animation: pulseGlow 1.5s ease-in-out infinite;
}
.coach-pricing-title {
  font-size: 14px; font-weight: 800; color: var(--color-primary);
  letter-spacing: 1px; margin-bottom: 8px;
}
.coach-pricing-amount {
  font-size: 48px; font-weight: 900; letter-spacing: -2px;
}
.coach-pricing-period {
  font-size: 14px; color: var(--color-text-muted); margin-bottom: 20px;
}

@media (max-width: 767px) {
  .coaches .container { grid-template-columns: 1fr; }
  .coach-pricing-card { margin: 0 auto; }
}

/* ===== PRICING ===== */
.pricing { padding: 80px 0; }
.pricing .container { text-align: center; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 680px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 32px; text-align: left;
  position: relative;
}
.pricing-card.pro {
  border-color: rgba(255,85,0,0.4);
  background: linear-gradient(180deg, rgba(255,85,0,0.06) 0%, var(--bg-surface) 100%);
  animation: pulseGlow 1.5s ease-in-out infinite;
}
.pricing-recommended {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--color-primary); color: #fff; font-size: 10px; font-weight: 800;
  padding: 4px 14px; border-radius: var(--radius-pill); letter-spacing: 1px;
  text-transform: uppercase;
}
.pricing-tier {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
}
.pricing-card.pro .pricing-tier { color: var(--color-primary); }
.pricing-card:not(.pro) .pricing-tier { color: var(--color-text-dim); }
.pricing-amount {
  font-size: 40px; font-weight: 900; letter-spacing: -1px; margin-bottom: 4px;
}
.pricing-period { font-size: 13px; color: var(--color-text-dim); margin-bottom: 24px; }
.pricing-features { margin-bottom: 24px; }
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 5px 0;
}
.pricing-features li.included { color: var(--color-text-muted); }
.pricing-features li.excluded { color: var(--color-text-faint); }
.pricing-features li .icon { font-size: 14px; flex-shrink: 0; width: 18px; text-align: center; }
.pricing-features li.included .icon { color: var(--color-success); }
.pricing-features li.excluded .icon { color: var(--color-text-faint); }
.pricing-card.pro .pricing-features li.included .icon { color: var(--color-primary); }

.btn-secondary {
  display: block; width: 100%; text-align: center;
  background: var(--bg-surface-light); color: var(--color-text);
  font-weight: 700; padding: 14px; border-radius: var(--radius-md);
  font-size: 14px; border: 1px solid var(--color-border);
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--color-border); }
.btn-secondary.btn-signup { background: #22c55e; color: #fff; border-color: #22c55e; }
.btn-secondary.btn-signup:hover { background: #16a34a; border-color: #16a34a; }

@media (max-width: 767px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}

/* ===== EMAIL CAPTURE ===== */
.email-capture { padding: 80px 0; text-align: center; }
.email-capture-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.email-capture-sub { font-size: 15px; color: var(--color-text-muted); margin-bottom: 24px; }
.email-form {
  display: flex; gap: 8px; max-width: 440px; margin: 0 auto;
}
.email-input {
  flex: 1; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--bg-surface); border: 1px solid var(--color-border);
  color: var(--color-text); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.email-input:focus { border-color: var(--color-primary); }
.email-input::placeholder { color: var(--color-text-faint); }
.email-success {
  font-size: 16px; font-weight: 700; color: var(--color-success);
  display: none;
}
.email-success.show { display: block; }
.email-form.hidden { display: none; }

@media (max-width: 767px) {
  .email-form { flex-direction: column; }
}

/* ===== FOOTER ===== */
.footer { padding: 60px 0 20px; border-top: 1px solid var(--color-border); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-text {
  font-size: 13px; color: var(--color-text-dim); line-height: 1.5; margin-top: 12px;
}
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--color-text-dim); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--color-text-muted);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-text); }
.footer-col a.orange { color: var(--color-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--color-border);
  font-size: 12px; color: var(--color-text-faint);
}
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--bg-surface); display: flex; align-items: center;
  justify-content: center; font-size: 13px; color: var(--color-text-dim);
  transition: background 0.2s;
}
.footer-social:hover { background: var(--bg-surface-light); }

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 100px 0 60px; }
.legal-content {
  max-width: 720px; margin: 0 auto;
}
.legal-content h1 {
  font-size: 32px; font-weight: 800; margin-bottom: 8px;
}
.legal-content .updated {
  font-size: 13px; color: var(--color-text-dim); margin-bottom: 32px;
}
.legal-content h2 {
  font-size: 18px; font-weight: 700; margin-top: 32px; margin-bottom: 12px;
  color: var(--color-text);
}
.legal-content p, .legal-content li {
  font-size: 14px; color: var(--color-text-muted); line-height: 1.7;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--color-primary); }

/* Support accordion */
.faq-item {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  margin-bottom: 8px; overflow: hidden;
}
.faq-q {
  width: 100%; padding: 16px 20px; text-align: left;
  font-size: 14px; font-weight: 600; color: var(--color-text);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-surface); cursor: pointer;
}
.faq-q .arrow { transition: transform 0.3s; color: var(--color-text-dim); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 20px;
}
.faq-item.open .faq-a {
  max-height: 200px; padding: 0 20px 16px;
}
.faq-a p { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }
