/* ============================================================
   RUNSHIFT — Marketing Site Stylesheet
   Brand: Orange #d27f38 | Tan #f5ebd9 | Black #111111
   Design: Apple-clean × Salesforce confidence
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #d27f38;
  --orange-dark:  #b86a22;
  --orange-light: #e8a560;
  --orange-glow:  rgba(210,127,56,.18);
  --tan:          #f5ebd9;
  --tan-dark:     #ecddc4;
  --black:        #111111;
  --gray-dark:    #2c2c2c;
  --gray-mid:     #666666;
  --gray-light:   #f7f7f5;
  --white:        #ffffff;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.13);
  --shadow-orange: 0 12px 40px rgba(210,127,56,.30);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
.display-xl {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.display-md {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.body-lg { font-size: 1.15rem; line-height: 1.7; color: var(--gray-mid); }
.body-md { font-size: 1rem;    line-height: 1.65; color: var(--gray-mid); }
.label   { font-size: .75rem;  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.text-orange { color: var(--orange); }
.text-white  { color: var(--white);  }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(210,127,56,.40);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,.15);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
}
.btn-white:hover {
  background: var(--tan);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .625rem 1.25rem; font-size: .875rem; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Logo image variants */
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* On light backgrounds: black logo — multiply blends out the white background */
.logo-img--dark {
  mix-blend-mode: multiply;
}

/* On dark backgrounds: invert to white */
.logo-img--light {
  filter: invert(1) brightness(10);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--orange); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

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

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9rem 1.5rem 6rem;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(210,127,56,.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(245,235,217,.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--tan);
  border: 1px solid rgba(210,127,56,.3);
  border-radius: var(--radius-xl);
  padding: .4rem 1rem;
  margin-bottom: 2rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--orange-dark);
  letter-spacing: .04em;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.75); }
}

.hero h1 { max-width: 880px; margin: 0 auto; }

.hero-sub {
  max-width: 600px;
  margin: 1.75rem auto 0;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--gray-mid);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}

.hero-social-proof {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: var(--gray-mid);
  font-weight: 500;
}
.proof-item svg { color: var(--orange); }

.hero-visual {
  margin-top: 5rem;
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.hero-screenshot {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 40px 80px rgba(0,0,0,.15);
  display: block;
  margin: 0 auto;
}

/* ---------- App Mockup (removed — replaced by screenshot) ---------- */

/* ---------- HOW IT WORKS ---------- */
.hiw { background: var(--tan); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 4rem;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-orange);
  position: relative;
}

.step-number .step-icon { font-size: 1.4rem; }

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--black);
}

.step p {
  font-size: .9375rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ---------- FEATURES ---------- */
.features { background: var(--white); }

.section-eyebrow {
  display: inline-block;
  background: var(--tan);
  color: var(--orange-dark);
  padding: .35rem .9rem;
  border-radius: var(--radius-xl);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.05);
  transition: var(--transition);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(210,127,56,.2);
}

.feature-card.featured {
  background: var(--black);
  border-color: transparent;
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--tan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-card.featured .feature-icon {
  background: rgba(210,127,56,.2);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--black);
}

.feature-card.featured h3 { color: var(--white); }

.feature-card p {
  font-size: .9375rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.feature-card.featured p { color: rgba(255,255,255,.6); }

/* ---------- COMING SOON (Roadmap) ---------- */
.roadmap {
  background: var(--black);
  padding: 7rem 0;
  overflow: hidden;
  position: relative;
}

.roadmap-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(210,127,56,.08) 0%, transparent 70%);
  pointer-events: none;
}

.roadmap .section-eyebrow {
  background: rgba(210,127,56,.15);
  color: var(--orange-light);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.roadmap-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.roadmap-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(210,127,56,.3);
}

.roadmap-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.badge-live    { background: rgba(40,200,130,.15); color: #28c882; }
.badge-soon    { background: rgba(210,127,56,.2);  color: var(--orange-light); }
.badge-q4      { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }

.roadmap-card .feature-icon {
  background: rgba(255,255,255,.06);
}

.roadmap-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}

.roadmap-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* ---------- WHO IT'S FOR ---------- */
.for-whom { background: var(--tan); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}

.audience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.audience-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--black);
}

.audience-card p {
  font-size: .9rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: var(--orange);
  padding: 4rem 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: .875rem;
  opacity: .8;
  margin-top: .4rem;
  font-weight: 500;
}

/* ---------- PRICING ---------- */
.pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  border: 1.5px solid rgba(0,0,0,.07);
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card.popular {
  background: var(--black);
  border-color: var(--orange);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}

.pricing-tier {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.pricing-card.popular .pricing-tier { color: var(--orange-light); }

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
}
.pricing-card.popular .pricing-price { color: var(--white); }

.pricing-price sup {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: .1em;
}

.pricing-period {
  font-size: .875rem;
  color: var(--gray-mid);
  margin-top: .25rem;
}
.pricing-card.popular .pricing-period { color: rgba(255,255,255,.5); }

.pricing-desc {
  font-size: .9rem;
  color: var(--gray-mid);
  margin-top: .75rem;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}
.pricing-card.popular .pricing-desc { color: rgba(255,255,255,.5); }

.pricing-divider {
  height: 1px;
  background: rgba(0,0,0,.07);
  margin-bottom: 1.75rem;
}
.pricing-card.popular .pricing-divider { background: rgba(255,255,255,.1); }

.pricing-features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9rem;
  color: var(--gray-dark);
}
.pricing-card.popular .pricing-feature { color: rgba(255,255,255,.75); }

.pricing-check {
  width: 18px;
  height: 18px;
  background: rgba(210,127,56,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
  font-size: .65rem;
  color: var(--orange);
}
.pricing-card.popular .pricing-check {
  background: rgba(210,127,56,.3);
  color: var(--orange-light);
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 20% 50%, rgba(210,127,56,.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(245,235,217,.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final h2 { color: var(--white); max-width: 700px; margin: 0 auto; }
.cta-final p { color: rgba(255,255,255,.55); margin-top: 1.25rem; font-size: 1.1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.email-capture {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 460px;
  margin: 2.5rem auto 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: .4rem .4rem .4rem 1.25rem;
}

.email-capture input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: .9375rem;
  font-family: inherit;
}

.email-capture input::placeholder { color: rgba(255,255,255,.35); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.65;
  margin-top: .75rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-col ul li a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* ---------- Mobile Nav Drawer ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-dark);
  padding: .5rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4, .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3, .steps, .feature-grid, .audience-grid, .pricing-grid { grid-template-columns: 1fr; }

  .steps::before { display: none; }
  .step { padding: 0 1rem; }

  .display-xl { font-size: 2.4rem; }
  .display-lg { font-size: 1.9rem; }

  .hero-visual { margin-top: 3rem; }

  .roadmap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .stats-inner { gap: 2rem; }
  .stat-number { font-size: 2.25rem; }

  .pricing-card.popular { transform: scale(1); }

  .email-capture { flex-direction: column; border-radius: var(--radius-md); padding: 1rem; gap: 1rem; }
  .email-capture input { width: 100%; text-align: center; }

  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 5rem 0; }
  .hero { padding: 7rem 1.25rem 4rem; }
  .hero-social-proof { flex-direction: column; gap: .75rem; }
}
