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

:root {
  --green:        #10b981;
  --green-dark:   #059669;
  --black:        #0a0a0a;
  --white:        #ffffff;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-300:     #d1d5db;
  --gray-500:     #6b7280;
  --gray-700:     #374151;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --top-nav-h:    60px;
  --btm-nav-h:    68px;
}

/* ─── Base ──────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--btm-nav-h); /* room for fixed bottom nav */
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */

/* ─── Top Nav ───────────────────────────────────────────────── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 24px;
  height: var(--top-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--black);
}
.nav-logo span { color: var(--green); }

/* Full link list — hidden on mobile, shown on desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover  { color: var(--black); }
.nav-links a.active { color: var(--black); }
.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--green) !important; }

/* Mobile-only CTA button in top nav */
.nav-mobile-cta {
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.nav-mobile-cta:hover { background: var(--green); }

/* ─── Bottom Nav (mobile only) ──────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-100);
  height: var(--btm-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.btm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--gray-500);
  padding: 6px 20px;
  border-radius: 10px;
  transition: color 0.15s;
  flex: 1;
}
.btm-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s;
}
.btm-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btm-item.active       { color: var(--green); }
.btm-item:not(.active):hover { color: var(--black); }

/* ═══════════════════════════════════════════════════════════════
   HERO  (mobile-first)
═══════════════════════════════════════════════════════════════ */
.hero {
  padding: 48px 24px 52px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 16px;
  text-align: center;
}
h1 .accent { color: var(--green); }

.hero-sub {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Full-width tap targets on mobile */
.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  width: 100%;
  justify-content: center;
}

/* Hero image — hidden on mobile */
.hero-image { display: none; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-body);
  text-align: center;
  display: inline-block;
}
.btn-primary:hover { background: var(--green); }

.btn-ghost {
  background: none;
  color: var(--gray-700);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid var(--gray-300);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: var(--font-body);
  text-align: center;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--black); color: var(--black); }

/* ═══════════════════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════════════════ */
.ticker-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 12px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  gap: 40px;
  animation: ticker 24s linear infinite;
  width: max-content;
}
.ticker-item {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════════════════════════════ */
section {
  padding: 48px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   PLATFORMS / CREATOR NETWORK
═══════════════════════════════════════════════════════════════ */
.platforms-section {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
  padding: 40px 0;
}
.platforms-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.platform-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.platform-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-logo svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}
.platform-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.platform-info p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 12px;
}
.platform-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 3px 9px;
  border-radius: 20px;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 24px 20px;
  transition: background 0.15s;
}
.service-card:hover { background: var(--gray-50); }
.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}
.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════ */
.how-section {
  background: var(--black);
  padding: 48px 0;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.how-section .section-label { color: var(--green); }
.how-section h2             { color: var(--white); }
.how-section .section-sub   { color: rgba(255, 255, 255, 0.4); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
}

.step {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
  background: var(--black);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   WHY INFLIE
═══════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.why-card {
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.15s;
}
.why-card:hover { border-color: var(--green); }
.why-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  opacity: 0.7;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}
.why-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--black);
  padding: 64px 24px;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  font-size: 28px;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  margin-bottom: 28px;
}
.cta-section .btn-primary {
  background: var(--green);
  padding: 14px 32px;
}
.cta-section .btn-primary:hover { background: var(--green-dark); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.footer-logo span { color: var(--green); }
footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP  (≥ 768px)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* No bottom nav on desktop */
  body        { padding-bottom: 0; }
  .bottom-nav { display: none; }

  /* Full top nav */
  .top-nav         { padding: 0 40px; }
  .nav-links       { display: flex; }
  .nav-mobile-cta  { display: none; }

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero {
    padding: 80px 40px 72px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
  }
  h1 {
    font-size: 52px;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
    text-align: left;
  }
  .hero-sub {
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 36px;
  }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: auto; }

  /* Hero image — visible on desktop */
  .hero-image {
    display: block;
    margin-top: 0;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
  }
  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ── Sections ─────────────────────────────────────────────── */
  section        { padding: 72px 40px; }
  h2             { font-size: 36px; letter-spacing: -1px; margin-bottom: 16px; }
  .section-sub   { font-size: 16px; margin-bottom: 48px; }

  /* ── Platforms ────────────────────────────────────────────── */
  .platforms-section { padding: 56px 0; }
  .platforms-inner {
    padding: 0 40px;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .platform-card   { padding: 28px 32px; }
  .platform-info p { font-size: 14px; margin-bottom: 14px; }
  .platform-tag    { font-size: 12px; padding: 4px 10px; }

  /* ── Services ─────────────────────────────────────────────── */
  .services-grid        { grid-template-columns: repeat(3, 1fr); }
  .service-card         { padding: 32px 28px; }
  .service-card h3      { font-size: 16px; }

  /* ── How It Works ─────────────────────────────────────────── */
  .how-section { padding: 72px 0; }
  .how-inner   { padding: 0 40px; }
  .steps-grid  { grid-template-columns: repeat(4, 1fr); }
  .step        { padding: 32px 28px; }
  .step h3     { font-size: 15px; }
  .step p      { font-size: 14px; }
  .step h3 { font-size: 15px; }
  .step p  { font-size: 14px; }

  /* ── Why inflie ───────────────────────────────────────────── */
  .why-grid  { grid-template-columns: 1fr 1fr; gap: 24px; }
  .why-card  { padding: 28px; }
  .why-card h3 { font-size: 16px; }

  /* ── CTA ──────────────────────────────────────────────────── */
  .cta-section    { padding: 80px 40px; }
  .cta-section h2 { font-size: 40px; letter-spacing: -1.5px; max-width: 560px; margin: 0 auto 16px; }
  .cta-section p  { font-size: 16px; margin-bottom: 36px; }

  /* ── Footer ───────────────────────────────────────────────── */
  footer {
    padding: 32px 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
  }
}
