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

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8FAFB;
  --navy: #1B4F72;
  --text: #1B4F72;
  --text-2: #4A5568;
  --text-3: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --blue: #2E86C1;
  --green: #00C853;
  --green-dim: rgba(0, 200, 83, 0.08);
  --green-glow: rgba(0, 200, 83, 0.12);
  --amber: #F59E0B;
  --red: #EF4444;
  --max-w: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  letter-spacing: -0.03em;
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* ========== CONSTRUCTION LINES BG ========== */
.lines-bg {
  position: relative;
}

.lines-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, #94A3B8 79px, #94A3B8 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, #94A3B8 79px, #94A3B8 80px),
    repeating-linear-gradient(45deg, transparent, transparent 199px, #94A3B8 199px, #94A3B8 200px),
    repeating-linear-gradient(-45deg, transparent, transparent 199px, #94A3B8 199px, #94A3B8 200px);
  background-size: 80px 80px, 80px 80px, 200px 200px, 200px 200px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__brand img {
  height: 80px;
  width: auto;
  margin: -24px -26px -24px -18px;
}

.nav__brand span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.nav__brand .brand-sub {
  color: var(--navy);
}

.nav__brand .brand-certo {
  color: var(--blue);
}

.brand-divider {
  width: 2px;
  height: 26px;
  background: var(--text-3);
  border-radius: 1px;
  opacity: 0.6;
}

/* ========== HERO ========== */
.hero {
  padding: 100px 24px 40px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

.hero__left {
  max-width: 480px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  background: var(--green-dim);
  border: 1px solid var(--green-glow);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #00A844;
  margin-bottom: 28px;
}

.hero__pill-dot {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__pill-dot svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

.hero__h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.hero__h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero__desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Form */
.form__row {
  display: flex;
  gap: 8px;
}

.form__input {
  flex: 1;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.form__input::placeholder {
  color: var(--text-3);
}

.form__input:focus {
  border-color: var(--blue);
}

.form__input--err {
  border-color: var(--red);
}

.form__btn {
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s;
}

.form__btn:hover {
  filter: brightness(1.1);
}

.form__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form__msg {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  min-height: 18px;
}

.form__msg--ok {
  color: var(--green);
}

.form__msg--err {
  color: var(--red);
}

.form__msg--info {
  color: var(--navy);
}

.hero__proof {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-3);
  flex-wrap: wrap;
}

.hero__proof span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero__proof svg {
  width: 12px;
  height: 12px;
}

.hero__proof .gc {
  color: var(--blue);
}

/* ========== PRODUCT PREVIEW (WHITE + GREEN OUTLINE) ========== */
.preview {
  background: var(--bg);
  border: 2px solid var(--blue);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(46, 134, 193, 0.08), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.preview__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview__title svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.preview__badge {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(0, 200, 83, 0.1);
  color: var(--green);
}

.preview__rows {
  padding: 4px 0;
}

.preview__row {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.preview__row:last-child {
  border-bottom: none;
}

.preview__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview__dot--green {
  background: var(--green);
  box-shadow: 0 0 6px rgba(0, 200, 83, 0.3);
}

.preview__dot--amber {
  background: var(--amber);
}

.preview__dot--red {
  background: var(--red);
}

.preview__company {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.preview__status {
  font-size: 12px;
  font-weight: 500;
}

.preview__status--green {
  color: #00A844;
}

.preview__status--amber {
  color: #D97706;
}

.preview__status--red {
  color: #DC2626;
}

.preview__type {
  font-size: 11px;
  color: var(--text-3);
  min-width: 32px;
  text-align: right;
}

.preview__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
}

.preview__footer span:last-child {
  color: #00A844;
  font-weight: 500;
}

/* Staggered row load */
.preview__row {
  opacity: 0;
  transform: translateY(4px);
  animation: rowIn 0.4s ease forwards;
}

.preview__row:nth-child(1) {
  animation-delay: 0.5s;
}

.preview__row:nth-child(2) {
  animation-delay: 0.65s;
}

.preview__row:nth-child(3) {
  animation-delay: 0.8s;
}

.preview__row:nth-child(4) {
  animation-delay: 0.95s;
}

.preview__row:nth-child(5) {
  animation-delay: 1.1s;
}

@keyframes rowIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ========== PROBLEMS & SOLUTIONS ========== */
.problems {
  padding: 80px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.problems__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.problems__header {
  text-align: center;
  margin-bottom: 56px;
}

.problems__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.problems__heading {
  font-size: 32px;
  font-weight: 800;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}

.problem-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(239, 68, 68, 0.06);
  color: var(--red);
}

.problem-card__icon svg {
  width: 18px;
  height: 18px;
}

.problem-card__text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  font-style: italic;
}

/* Arrow divider */
.problems__arrow {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.problems__arrow::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.problems__arrow-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.problems__arrow-badge svg {
  width: 14px;
  height: 14px;
}

/* Solutions header */
.solutions__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  text-align: center;
}

.solutions__heading {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  border-top: 3px solid var(--green);
}

.solution-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.solution-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.solution-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ========== BOTTOM CTA ========== */
.cta {
  padding: 80px 24px;
  text-align: center;
  position: relative;
}

.cta__inner {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta__heading {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta__text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: filter 0.15s;
}

.cta__btn:hover {
  filter: brightness(1.1);
}

.cta__btn svg {
  width: 14px;
  height: 14px;
}

.cta__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-3);
}

/* ========== FOOTER ========== */
.footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__left {
  font-size: 12px;
  color: var(--text-3);
}

.footer__mid {
  font-size: 12px;
  color: var(--text-3);
}

.footer__right {
  display: flex;
  gap: 16px;
}

.footer__right a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
}

.footer__right a:hover {
  color: var(--text-2);
}

/* ========== ANIMATIONS ========== */
.fi {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fi.on {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.04s;
}

.d2 {
  transition-delay: 0.08s;
}

.d3 {
  transition-delay: 0.12s;
}

.d4 {
  transition-delay: 0.16s;
}

.d5 {
  transition-delay: 0.2s;
}

.d6 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .fi {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .preview__row {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 860px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__h1 {
    font-size: 36px;
  }

  .hero__desc {
    font-size: 15px;
  }

  .hero__right {
    max-width: 400px;
    margin: 0 auto;
  }

  .problems__grid,
  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .problems {
    padding: 60px 20px;
  }

  .cta {
    padding: 60px 20px;
  }

  .cta__heading {
    font-size: 24px;
  }

  .bullets {
    padding: 40px 20px;
  }

  .bullets__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .hero__h1 {
    font-size: 30px;
  }

  .form__row {
    flex-direction: column;
  }

  .form__btn {
    width: 100%;
    text-align: center;
  }

  .hero__proof {
    flex-direction: column;
    gap: 4px;
  }

  .nav__brand span {
    font-size: 14px;
  }

  .nav__brand img {
    height: 32px;
    margin: 0;
  }

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

/* ========== BULLETS ========== */
.bullets {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.bullets__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.bullets__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  list-style: none;
  margin-bottom: 32px;
}

.bullets__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}

.bullets__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bullets__check svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

.trust-line {
  text-align: center;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
  border-top: 1px solid var(--border);
}

.bullets__heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.footer__email {
  font-size: 12px;
  color: var(--text-3);
}

.footer__email a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.footer__email a:hover {
  text-decoration: underline;
}

/* ========== BULLETS MOBILE OVERRIDE ========== */
@media (max-width: 860px) {
  .bullets {
    padding: 28px 20px;
  }

  .bullets__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ========== AMBER PULSE ========== */
@keyframes pulse-amber {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
    transform: scale(1.15);
  }
}

.preview__dot--amber {
  background: var(--amber);
  animation: pulse-amber 1.8s ease-in-out infinite;
}

/* ========== FOUNDING NOTE ========== */
.founding-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

/* ========== HOW IT WORKS ========== */
.hiw {
  padding: 40px 24px 56px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hiw__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hiw__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.hiw__heading {
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 52px;
}

.hiw__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 20px;
  position: relative;
}

.hiw__grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(33.33% + 10px);
  right: calc(33.33% + 10px);
  height: 1px;
  background: linear-gradient(90deg, rgba(46,134,193,0.3) 0%, var(--blue) 50%, rgba(46,134,193,0.3) 100%);
  pointer-events: none;
}

.hiw__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 36px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 220px;
}

.hiw__card:hover {
  box-shadow: 0 12px 40px rgba(46, 134, 193, 0.09);
  transform: translateY(-2px);
}

.hiw__step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(46, 134, 193, 0.12);
}

.hiw__card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.hiw__card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

.hiw__card-desc strong {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 860px) {
  .hiw__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hiw__grid::before {
    display: none;
  }

  .hiw__heading {
    font-size: 26px;
    margin-bottom: 36px;
  }

  .hiw {
    padding: 60px 20px;
  }
}

/* ========== UTILITY: HIDDEN ========== */
.u-hidden {
  display: none;
}
