/*
Theme Name: Astra Child – RouteRunnerUSA
Template: astra
Version: 1.0.0
*/

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  --rr-primary:   #0F1923;
  --rr-accent:    #FF6B2C;
  --rr-navy:      #1E3A5F;
  --rr-light:     #F0F4F8;
  --rr-white:     #FFFFFF;
  --rr-muted:     #8A9BB0;
  --rr-green:     #2D8A44;
  --rr-red:       #E24B4A;

  --rr-font:      'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --rr-radius:    8px;
  --rr-radius-lg: 16px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
.rr-page * { box-sizing: border-box; margin: 0; padding: 0; }
.rr-page { font-family: var(--rr-font); background: var(--rr-primary); color: var(--rr-white); line-height: 1.6; }
.rr-page a { color: inherit; text-decoration: none; }
.rr-page img { max-width: 100%; height: auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.rr-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.rr-section { padding: 80px 0; }
.rr-section--sm { padding: 60px 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.rr-nav {
  background: var(--rr-primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky; top: 0; z-index: 100;
  padding: 0 24px;
}
.rr-nav__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.rr-nav__logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; }
.rr-nav__logo span { color: var(--rr-accent); }
.rr-nav__links { display: flex; gap: 32px; }
.rr-nav__links a { color: var(--rr-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.rr-nav__links a:hover { color: var(--rr-white); }
.rr-nav__cta {
  background: var(--rr-accent); color: var(--rr-white);
  padding: 10px 20px; border-radius: var(--rr-radius);
  font-size: 0.875rem; font-weight: 600; transition: opacity 0.2s;
}
.rr-nav__cta:hover { opacity: 0.9; }

/* ============================================================
   HERO
   ============================================================ */
.rr-hero {
  background: var(--rr-primary);
  padding: 100px 24px 80px;
  text-align: center;
}
.rr-hero__eyebrow {
  display: inline-block;
  background: rgba(255,107,44,0.12);
  color: var(--rr-accent);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,107,44,0.25);
}
.rr-hero__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px;
  max-width: 800px; margin: 0 auto 24px;
}
.rr-hero__subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--rr-muted); line-height: 1.7;
  max-width: 640px; margin: 0 auto 40px;
}
.rr-hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.rr-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--rr-radius);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: all 0.2s; border: none;
  text-decoration: none;
}
.rr-btn--primary { background: var(--rr-accent); color: var(--rr-white); }
.rr-btn--primary:hover { background: #e85a1f; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,44,0.35); }
.rr-btn--outline { background: transparent; color: var(--rr-white); border: 2px solid rgba(255,255,255,0.25); }
.rr-btn--outline:hover { border-color: var(--rr-white); background: rgba(255,255,255,0.05); }
.rr-btn--dark { background: var(--rr-primary); color: var(--rr-white); }
.rr-btn--dark:hover { background: #0a1118; }
.rr-hero__note { color: var(--rr-muted); font-size: 0.875rem; }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.rr-pain { background: #0a1118; }
.rr-pain__label { color: var(--rr-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.rr-pain__headline { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 48px; letter-spacing: -0.5px; }
.rr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rr-pain__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rr-radius-lg);
  padding: 32px;
}
.rr-pain__card-icon { font-size: 1.75rem; margin-bottom: 16px; }
.rr-pain__card p { color: var(--rr-muted); font-size: 1.05rem; line-height: 1.6; }
.rr-pain__card p strong { color: var(--rr-white); display: block; margin-bottom: 8px; font-size: 1.1rem; }

/* ============================================================
   SOLUTION
   ============================================================ */
.rr-solution { background: var(--rr-primary); }
.rr-section-label { color: var(--rr-accent); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.rr-section-headline { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.rr-section-sub { color: var(--rr-muted); font-size: 1.05rem; max-width: 560px; margin-bottom: 48px; }
.rr-feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rr-radius-lg);
  padding: 32px;
  transition: border-color 0.2s;
}
.rr-feature-card:hover { border-color: rgba(255,107,44,0.4); }
.rr-feature-card__icon {
  width: 48px; height: 48px; border-radius: var(--rr-radius);
  background: rgba(255,107,44,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.rr-feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.rr-feature-card p { color: var(--rr-muted); font-size: 0.95rem; line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.rr-how { background: #0a1118; }
.rr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rr-step { position: relative; }
.rr-step__num {
  width: 44px; height: 44px;
  background: var(--rr-accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.rr-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px; left: 44px;
  width: calc(100% - 44px);
  height: 2px;
  background: rgba(255,255,255,0.08);
}
.rr-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.rr-step p { color: var(--rr-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   VIRTUAL DISPATCH
   ============================================================ */
.rr-dispatch { background: var(--rr-navy); }
.rr-dispatch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rr-dispatch__headline { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.rr-dispatch__body { color: var(--rr-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 32px; }
.rr-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.rr-stat__num { font-size: 2.5rem; font-weight: 800; color: var(--rr-accent); line-height: 1; }
.rr-stat__label { color: var(--rr-muted); font-size: 0.875rem; margin-top: 4px; }
.rr-dispatch__badges { display: flex; flex-direction: column; gap: 16px; }
.rr-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rr-radius);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.rr-badge__icon { font-size: 1.5rem; flex-shrink: 0; }
.rr-badge h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.rr-badge p { color: var(--rr-muted); font-size: 0.875rem; }

/* ============================================================
   PRICING
   ============================================================ */
.rr-pricing { background: var(--rr-primary); }
.rr-pricing__note { color: var(--rr-muted); font-size: 0.875rem; margin-bottom: 48px; }
.rr-pricing__note strong { color: var(--rr-accent); }
.rr-plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rr-plan {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--rr-radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.rr-plan--featured {
  background: var(--rr-navy);
  border-color: var(--rr-accent);
  position: relative;
}
.rr-plan--featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--rr-accent); color: white;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 100px;
}
.rr-plan__name { font-size: 0.875rem; font-weight: 700; color: var(--rr-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.rr-plan__price { font-size: 2.5rem; font-weight: 800; margin-bottom: 4px; line-height: 1; }
.rr-plan__price span { font-size: 1rem; font-weight: 400; color: var(--rr-muted); }
.rr-plan__tagline { color: var(--rr-muted); font-size: 0.875rem; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rr-plan__features { list-style: none; flex: 1; margin-bottom: 32px; }
.rr-plan__features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--rr-muted); font-size: 0.9rem; }
.rr-plan__features li::before { content: '✓'; color: var(--rr-accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.rr-plan .rr-btn { width: 100%; text-align: center; }

/* ============================================================
   WAITLIST CTA
   ============================================================ */
.rr-waitlist { background: var(--rr-accent); }
.rr-waitlist .rr-section-label { color: rgba(255,255,255,0.7); }
.rr-waitlist__headline { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.rr-waitlist__sub { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 40px; }
.rr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 680px; }
.rr-form__full { grid-column: 1 / -1; }
.rr-form input, .rr-form select {
  width: 100%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--rr-radius);
  padding: 14px 16px;
  color: var(--rr-white);
  font-size: 0.95rem;
  font-family: var(--rr-font);
  transition: border-color 0.2s;
  appearance: none;
}
.rr-form input::placeholder { color: rgba(255,255,255,0.6); }
.rr-form input:focus, .rr-form select:focus { outline: none; border-color: white; background: rgba(255,255,255,0.2); }
.rr-form select option { background: var(--rr-primary); color: var(--rr-white); }
.rr-form__submit { grid-column: 1 / -1; margin-top: 8px; }
.rr-form__fine { color: rgba(255,255,255,0.65); font-size: 0.8rem; margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.rr-footer { background: #060d14; padding: 48px 24px; }
.rr-footer__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.rr-footer__logo { font-size: 1.1rem; font-weight: 800; }
.rr-footer__logo span { color: var(--rr-accent); }
.rr-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.rr-footer__links a { color: var(--rr-muted); font-size: 0.875rem; transition: color 0.2s; }
.rr-footer__links a:hover { color: var(--rr-white); }
.rr-footer__copy { color: var(--rr-muted); font-size: 0.8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .rr-grid-3, .rr-steps, .rr-plan-cards { grid-template-columns: 1fr 1fr; }
  .rr-dispatch__grid { grid-template-columns: 1fr; gap: 40px; }
  .rr-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .rr-section { padding: 56px 0; }
  .rr-grid-3, .rr-steps, .rr-plan-cards { grid-template-columns: 1fr; }
  .rr-nav__links { display: none; }
  .rr-form { grid-template-columns: 1fr; }
  .rr-form__full { grid-column: 1; }
  .rr-form__submit { grid-column: 1; }
  .rr-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   HIDE DEFAULT ASTRA ELEMENTS ON HOMEPAGE
   ============================================================ */
body.page-template-front-page .site-header,
body.page-template-front-page .site-footer,
body.page-template-front-page .entry-header,
body.page-template-front-page .ast-container > .site-content,
body.home.page .site-header,
body.home.page .site-footer { display: none !important; }
