/* ============================================
   RANKFIRST — Bold, opinionated landing page
   Brand blue #1347E6, dark hero, strong type
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: #1347E6; }


/* --- Layout --- */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* --- Header --- */
.site-header {
  padding: 1.25rem 0;
  background: #0a0a0a;
  border-bottom: none;
}

.logo {
  text-decoration: none;
  display: inline-block;
}

.logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}


/* --- Hero --- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: #0a0a0a;
  color: #fff;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.hero .highlight {
  color: #1347E6;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: #aaa;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  width: 100%;
  max-width: 340px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(19, 71, 230, 0.3);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary {
  background: #1347E6;
  color: #fff;
}

.btn-small-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.75rem;
}

.hero .btn-small-note {
  color: #666;
}


/* --- Sections --- */
.section {
  padding: 4rem 0;
  border-top: none;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-intro {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}


/* --- Pain Points / Why This Exists --- */
.pain-points p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.pain-points p:last-child {
  margin-bottom: 0;
}

.pain-points strong {
  color: #1a1a1a;
}

.pain-points em {
  color: #1347E6;
  font-style: normal;
  font-weight: 600;
}


/* --- Insights List --- */
.insights-list ul {
  list-style: none;
  padding: 0;
}

.insights-list li {
  padding: 0.65rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.insights-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #1347E6;
}


/* --- How It Works --- */
.how-section {
  background: #f7f8fc;
}

.steps {
  display: grid;
  gap: 2rem;
  counter-reset: steps;
}

.step {
  counter-increment: steps;
  padding-left: 3.5rem;
  position: relative;
}

.step::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: #1347E6;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step p {
  color: #555;
  font-size: 0.95rem;
}


/* --- Founder / Why Me --- */
.founder-section {
  background: #0a0a0a;
  border-radius: 12px;
  padding: 2.5rem;
  color: #ccc;
}

.founder-section p {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.founder-section p:last-child {
  margin-bottom: 0;
}

.founder-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid #1347E6;
}

.founder-name {
  font-weight: 800;
  color: #fff;
}


/* --- Reviews --- */
.reviews-section {
  background: #f7f8fc;
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #e8eaf0;
}

.review-stars {
  color: #1347E6;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.review-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  font-style: normal;
}


/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: 2rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}


/* --- Final CTA --- */
.final-cta {
  text-align: center;
  padding: 5rem 0;
  background: #0a0a0a;
  color: #fff;
}

.final-cta h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.final-cta p {
  color: #888;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.final-cta .btn-small-note {
  color: #555;
}


/* --- Scarcity / Badge --- */
.slots-note {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1347E6;
  background: rgba(19, 71, 230, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}


/* --- Footer --- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: none;
  background: #0a0a0a;
  color: #888;
}

.site-footer a {
  color: #aaa;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.footer-note {
  font-size: 0.85rem;
  color: #666;
}

.footer-link a {
  font-size: 0.9rem;
  color: #1347E6;
}

.footer-small {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #444;
  text-align: center;
}


/* ============================================
   Responsive — Tablet+
   ============================================ */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  .btn {
    width: auto;
  }

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

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta h2 {
    font-size: 2.5rem;
  }
}
