/* ============================================================
   Remowork – Landing Page CSS
   Colors: Navy #0D2481 | Blue #1B3FBE | Pink #E31B7B
   No em dashes, no box-drawing characters
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0D2481;
  --blue: #1B3FBE;
  --blue-light: #2B52D4;
  --blue-bg: #EEF1FF;
  --pink: #E31B7B;
  --pink-light: #FF2D8A;
  --gray-50: #F8F9FF;
  --gray-100: #EEF0F8;
  --gray-200: #D9DCF0;
  --gray-400: #9098C0;
  --gray-600: #5A6390;
  --gray-800: #2A2F52;
  --white: #FFFFFF;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-card: 0 4px 24px rgba(13, 36, 129, .09), 0 1px 4px rgba(13, 36, 129, .06);
  --shadow-lg: 0 12px 48px rgba(13, 36, 129, .16);
  --transition: .22s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(13, 36, 129, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 0 32px;
  z-index: 100;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav-logo-text {
  font-size: 1.18rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 36px;
  flex: 1;
}

.site-nav-links a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color var(--transition);
}

.site-nav-links a:hover {
  color: white;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn-ghost {
  color: rgba(255, 255, 255, .88);
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .25);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
}

.btn-solid {
  background: var(--pink);
  color: white;
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), transform var(--transition);
}

.btn-solid:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 16px 24px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

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

.mobile-menu a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mobile-menu .btn-solid {
  justify-content: center;
  margin-top: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a1d6e 0%, #0D2481 45%, #112baa 100%);
}

/* Grid lines background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Radial fade to make grid fade in the center */
.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%,
      rgba(13, 36, 129, .75) 0%,
      transparent 80%);
}

/* Ambient glow blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(27, 63, 190, .45) 0%, transparent 70%);
  top: -140px;
  left: -120px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(227, 27, 123, .3) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}


.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #58A6FF 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, .72);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-hero-primary {
  background: var(--pink);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(227, 27, 123, .4);
}

.btn-hero-primary:hover {
  background: var(--pink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(227, 27, 123, .5);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, .1);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, .3);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), border-color var(--transition);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .55);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, .15);
  align-self: stretch;
}




/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section {
  padding: 88px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--pink);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1.02rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 580px;
}

.section-body.centered {
  margin: 0 auto;
  text-align: center;
}

.section-title.centered {
  text-align: center;
}

.section-eyebrow.centered {
  text-align: center;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--gray-50);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.step-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
  border: 1px solid #E8EAF0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .09);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4F5F8;
  color: var(--gray-800);
  font-size: .88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1.5px solid #E0E2EA;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   PARTICIPANTS SECTION (Free vs Partner)
   ============================================================ */
.participants-section {
  background: white;
}

.participant-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.participant-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.participant-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.participant-card.featured {
  background: linear-gradient(145deg, var(--navy) 0%, #142faa 100%);
  border-color: transparent;
  color: white;
}

.participant-card.featured:hover {
  border-color: var(--pink);
}

.participant-card.standard {
  background: var(--gray-50);
}

.card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.participant-card.featured .card-tag {
  background: rgba(227, 27, 123, .18);
  color: #ff7eb3;
  border: 1px solid rgba(227, 27, 123, .35);
}

.participant-card.standard .card-tag {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid rgba(27, 63, 190, .2);
}

.participant-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.participant-card.featured h3 {
  color: white;
}

.participant-card.standard h3 {
  color: var(--navy);
}

.participant-card .card-desc {
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.participant-card.featured .card-desc {
  color: rgba(255, 255, 255, .75);
}

.participant-card.standard .card-desc {
  color: var(--gray-600);
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  line-height: 1.5;
}

.participant-card.featured .card-features li {
  color: rgba(255, 255, 255, .85);
}

.participant-card.standard .card-features li {
  color: var(--gray-700, #3A3F62);
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.participant-card.featured .feature-check {
  background: rgba(227, 27, 123, .25);
}

.participant-card.standard .feature-check {
  background: rgba(27, 63, 190, .12);
}

.btn-card-primary {
  display: inline-block;
  background: var(--pink);
  color: white;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-card-primary:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}

.btn-card-secondary {
  display: inline-block;
  background: var(--blue-bg);
  color: var(--blue);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid rgba(27, 63, 190, .2);
  transition: background var(--transition), border-color var(--transition);
}

.btn-card-secondary:hover {
  background: #dde5ff;
  border-color: var(--blue);
}

/* Glow on featured card */
.participant-card.featured::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 27, 123, .2) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  pointer-events: none;
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-section {
  background: var(--gray-50);
}

.partner-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 52px;
}

.partner-intro-text .section-title {
  margin-bottom: 16px;
}

.partner-intro-text p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 14px;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.partner-logo-tile {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 72px;
}

.partner-logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 36, 129, .12);
}

.partner-logo-tile span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .3px;
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-section {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 52px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.feature-item:hover .feature-icon-wrap {
  background: var(--blue);
}

.feature-item:hover .feature-icon-wrap svg {
  stroke: white;
}

.feature-icon-wrap svg {
  transition: stroke var(--transition);
}

.feature-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.feature-item p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS – Infinite marquee
   ============================================================ */
.testimonials-section {
  background: var(--gray-50);
  overflow: hidden;
}

/* Marquee track */
.testimonials-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 4px 16px rgba(0, 0, 0, .06);
  border: 1px solid #E8EAF0;
  position: relative;
  width: 300px;
  flex-shrink: 0;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.testimonial-stars span {
  font-size: .85rem;
  color: #F59E0B;
}

.testimonial-text {
  font-size: .88rem;
  color: var(--gray-700, #3A3F62);
  line-height: 1.7;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: .74rem;
  color: var(--gray-400);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #142faa 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 88px 24px;
}

.cta-section .hero-grid {
  position: absolute;
  inset: 0;
  opacity: .6;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-800);
  color: rgba(255, 255, 255, .6);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 28px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-brand .logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  font-size: .85rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: rgba(255, 255, 255, .88);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .8);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .partner-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .participant-cards {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  section {
    padding: 64px 20px;
  }

  .site-nav-links {
    display: none;
  }

  .site-nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-stat-sep {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    text-align: center;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions a {
    text-align: center;
    justify-content: center;
  }

  .participant-card {
    padding: 28px 22px;
  }
}