/* ===================================================
   INTERLEADS — LANDING PAGE STYLES
   =================================================== */

/* --- TOKENS --- */
:root {
  --green-400: #10b981;
  /* adjusted for better contrast on light */
  --green-500: #059669;
  --green-600: #047857;
  --teal-400: #14b8a6;
  --teal-500: #0d9488;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --white: #ffffff;

  --border-color: rgba(0, 0, 0, 0.08);

  --gradient-brand: linear-gradient(135deg, var(--green-400) 0%, var(--teal-400) 100%);
  --gradient-soft: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 10px 30px rgba(16, 185, 129, 0.2);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05);

  --transition: 0.25s ease;
  --font: 'Inter', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

textarea,
input {
  font-family: inherit;
}

/* --- UTILITY --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

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

.mt-2 {
  margin-top: 1.5rem;
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================
   NAV
   =================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav__links a {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--dark-950);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--green-600);
  color: var(--green-600);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  border: 1.5px solid rgba(0, 0, 0, 0.04);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.08);
}

.btn--white {
  background: var(--bg-tertiary);
  color: var(--green-600);
  font-weight: 700;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* PULSE ANIMATION */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 103, 0.5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(34, 211, 103, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 103, 0);
  }
}

.pulse {
  animation: pulse-ring 2.5s ease-out infinite;
}

/* ===================================================
   SECTIONS — SHARED
   =================================================== */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-400);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-tertiary);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* --- BADGE --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 211, 103, 0.12);
  border: 1px solid rgba(34, 211, 103, 0.25);
  color: var(--green-400);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: 7rem 4rem;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('hero-bg.png') center center / cover no-repeat;
  opacity: 0.2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.2) 40%,
      rgba(255, 255, 255, 0.9) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.br-desk {
  display: block;
}

/* SCROLL HINT */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-400);
  animation: bounce 1.8s ease-in-out infinite;
}

/* ===================================================
   NUMBERS SECTION
   =================================================== */
.numbers {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.number-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.number-card:hover {
  background: rgba(0, 0, 0, 0.02);
}

.number-card__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.number-card__suffix {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.number-card__label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ===================================================
   ABOUT
   =================================================== */
.about {
  background: var(--bg-primary);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p {
  color: var(--gray-400);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.visual-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.visual-card:hover {
  border-color: var(--green-400);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.visual-card--accent {
  border-color: rgba(16, 185, 129, 0.2);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, var(--bg-primary) 100%);
}

.visual-card__icon {
  font-size: 1.5rem;
}

.visual-card h3 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}

.visual-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how {
  background: var(--bg-secondary);
}

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

.step {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step::before {
  content: attr(data-step);
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-400);
  opacity: 0.6;
}

.step:hover {
  border-color: rgba(34, 211, 103, 0.25);
  box-shadow: 0 8px 32px rgba(34, 211, 103, 0.08);
}

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

.step__title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step__text {
  color: var(--gray-400);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===================================================
   CTA BAND
   =================================================== */
.cta-band {
  background: var(--gradient-brand);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark-950);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.cta-band__subtitle {
  color: rgba(4, 11, 18, 0.7);
  font-size: 1.02rem;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact {
  background: var(--bg-primary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact__info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.02rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact__detail a:hover {
  color: var(--green-600);
}

.contact__detail-icon {
  font-size: 1.2rem;
}

/* FORM */
.contact__form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-align: center;
  opacity: 0.8;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-block: 3rem;
  color: var(--text-tertiary);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand {
  max-width: 320px;
}

.footer__brand p {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-top: 0.6rem;
}

.footer__company-info {
  font-size: 0.75rem;
  margin-top: 1rem;
  line-height: 1.5;
  opacity: 0.8;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--green-600);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  width: 100%;
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1rem;
  opacity: 0.6;
}

/* --- LEGAL PAGE SPECIFIC --- */
.legal-content {
  padding-block: 8rem 4rem;
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1.2rem;
}

.legal-content ul {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ===================================================
   ANIMATIONS (SCROLL)
   =================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {

  .nav__links,
  .nav>.btn--outline {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .br-desk {
    display: none;
  }

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

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

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

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
  }

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

  .contact__form {
    padding: 1.5rem;
  }
}