/* =============================================
   FISCALIFY LANDING — STYLESHEET
   ============================================= */

/* --- FONTS --- */
@font-face {
  font-family: 'KantumruyPro';
  src: url('fonts/KantumruyPro-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'KantumruyPro';
  src: url('fonts/KantumruyPro-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'KantumruyPro';
  src: url('fonts/KantumruyPro-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'KantumruyPro';
  src: url('fonts/KantumruyPro-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('fonts/WorkSans-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('fonts/WorkSans-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('fonts/WorkSans-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('fonts/WorkSans-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- TOKENS --- */
:root {
  --teal:        #32afc7;
  --teal-dark:   #2492a8;
  --teal-light:  #e6f7fb;
  --teal-mid:    #b3e5ef;
  --gray-dark:   #4c4d4d;
  --gray-mid:    #6b7280;
  --gray-light:  #f4fbfc;
  --white:       #ffffff;
  --black:       #1a1a1a;

  --font-head:   'KantumruyPro', sans-serif;
  --font-body:   'WorkSans', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   36px;

  --shadow-sm:   0 2px 8px rgba(50,175,199,.12);
  --shadow-md:   0 8px 32px rgba(50,175,199,.18);
  --shadow-lg:   0 20px 60px rgba(50,175,199,.22);

  --nav-h:       72px;
  --transition:  .25s ease;

  /* Emil easing curves */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* =============================================
   SCROLL-TRIGGERED FADE IN
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.reveal-delay-4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- UTILS --- */
.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}
.text--teal { color: var(--teal); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  transition: background .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .14s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--teal-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}
.btn--primary:active { transform: scale(0.97); }
.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 12px 26px;
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
}
.btn--sm  { font-size: .875rem; padding: 10px 20px; }
.btn--lg  { font-size: 1.05rem; padding: 16px 36px; }
.btn--white {
  background: var(--white);
  color: var(--teal);
}
.btn--white:hover {
  background: var(--teal-light);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(50,175,199,.1);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.navbar__logo img {
  height: 36px;
  width: auto;
}
.navbar__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.navbar__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-mid);
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--teal); }
.navbar__links + .btn { margin-left: 12px; }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  background: var(--white);
  overflow: hidden;
}

.hero__bg-element {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 620px;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
.hero__bg-element img { width: 100%; }

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

/* --- Badge --- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 24px;
}
.hero__badge img {
  height: 22px;
  width: auto;
}
.hero__badge span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* --- Title --- */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 20px;
}

/* --- Sub --- */
.hero__sub {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

/* --- Bullets --- */
.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-dark);
}
.hero__bullets li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.hero__bullets li strong {
  font-weight: 600;
  color: var(--black);
}

/* --- CTAs --- */
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s var(--ease-out);
  text-decoration: none;
}
.store-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-1px);
}
@media (hover: hover) and (pointer: fine) {
  .store-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
}
.store-btn:active { transform: scale(0.97); }
.store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--white);
}
.store-btn div {
  display: flex;
  flex-direction: column;
}
.store-btn small {
  font-size: .6rem;
  opacity: .65;
  line-height: 1;
  letter-spacing: .03em;
}
.store-btn strong {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
}

/* store-btn on light backgrounds */
.store-btn--light {
  border-color: rgba(0,0,0,.15);
  background: rgba(0,0,0,.04);
  color: var(--black);
}
.store-btn--light svg { fill: var(--black); }
.store-btn--light:hover { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.25); }

.hero__link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: .95rem;
  transition: gap var(--transition);
}
.hero__link-secondary:hover { gap: 10px; }
.hero__link-secondary svg {
  width: 18px;
  height: 18px;
}

/* CTA text link — replaces btn--primary in non-hero sections */
.link--cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: gap .2s var(--ease-out), color .2s;
}
@media (hover: hover) and (pointer: fine) {
  .link--cta:hover { gap: 14px; color: var(--teal-mid); }
}
.link--cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link--cta:hover svg { transform: translateX(3px); }
}

/* --- Phone Mockup --- */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__phone-wrap {
  position: relative;
  width: 300px;
}

.hero__phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(50,175,199,.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__phone {
  position: relative;
  z-index: 1;
  background: var(--black);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 40px 80px rgba(0,0,0,.35),
    0 8px 20px rgba(50,175,199,.2);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero__phone-notch {
  width: 100px;
  height: 26px;
  background: var(--black);
  border-radius: 999px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.hero__phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: center;
}
.hero__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* --- Floating chips --- */
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-dark);
  white-space: nowrap;
  z-index: 2;
}
.hero__chip svg { width: 22px; height: 22px; flex-shrink: 0; }

.hero__chip--1 {
  top: 12%;
  left: -32px;
  animation: chipFloat1 5s ease-in-out infinite;
}
.hero__chip--2 {
  bottom: 18%;
  right: -28px;
  animation: chipFloat2 5s ease-in-out infinite 1.5s;
}

@keyframes chipFloat1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes chipFloat2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* --- Wave --- */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 1;
}
.hero__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* =============================================
   PROBLEM
   ============================================= */
.problem {
  background: var(--gray-light);
  padding: 72px 0;
  position: relative;
}

.problem__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.problem__header { max-width: 700px; }

.problem__title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
}

.problem__sub {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* Pain cards row */
.problem__pains {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.problem__pain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 180px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem__pain:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.problem__pain-icon {
  width: 56px;
  height: 56px;
}
.problem__pain-icon svg { width: 100%; height: 100%; }

.problem__pain p {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-dark);
  line-height: 1.4;
  text-align: center;
}

.problem__arrow {
  color: #d1d5db;
  flex-shrink: 0;
}
.problem__arrow svg { width: 24px; height: 24px; }

/* Solution strip */
.problem__solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #e6f7fb 0%, #cdf0f7 100%);
  border: 1px solid var(--teal-mid);
  border-radius: var(--radius-xl);
  padding: 36px 48px;
  max-width: 680px;
  width: 100%;
}

.problem__solution-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.problem__solution-pill svg { width: 18px; height: 18px; }

.problem__solution-text {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.7;
}
.problem__solution-text strong {
  color: var(--teal-dark);
  font-weight: 700;
}

.br--desktop { display: inline; }

@media (max-width: 768px) {
  .problem { padding: 64px 0; }
  .problem__pains { gap: 8px; }
  .problem__pain { width: 140px; padding: 20px 16px; }
  .problem__arrow { display: none; }
  .problem__solution { padding: 28px 24px; }
  .br--desktop { display: none; }
}

/* =============================================
   SHARED SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* =============================================
   HOW IT WORKS — CAROUSEL
   ============================================= */
.how {
  background: var(--white);
  padding: 72px 0;
}

.how__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.how__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how__left .section-label { margin-bottom: 4px; }
.how__left .section-title { margin-bottom: 12px; }

.how__left-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.how__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.how__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d1d5db;
  transition: all .2s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}
.how__dot.active {
  width: 20px;
  background: var(--teal);
}

/* Carousel container */
.how__right { overflow: hidden; position: relative; }

.how__carousel-wrap { position: relative; overflow: hidden; }

.how__carousel {
  display: flex;
  gap: 16px;
  width: 100%;
  transition: transform .35s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

/* Individual step cards */
.how__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid rgba(50,175,199,.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  flex: 0 0 calc(50% - 8px);
  min-width: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  cursor: default;
}
.how__card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.how__step-num {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.how__step-icon {
  width: 52px;
  height: 52px;
}
.how__step-icon svg { width: 100%; height: 100%; }

.how__card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.how__card p {
  font-size: .82rem;
  color: var(--gray-mid);
  line-height: 1.55;
  margin: 0;
}

/* Nav controls */
.how__carousel-controls {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}

.how__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(50,175,199,.25);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-dark);
  transition: all .18s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .how__nav:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
  }
}
.how__nav:active { transform: scale(0.93); }
.how__nav:disabled { opacity: .35; pointer-events: none; }
.how__nav svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .how__inner { grid-template-columns: 1fr; gap: 36px; }
  .how__card { flex: 0 0 calc(60% - 8px); }
}
@media (max-width: 640px) {
  .how { padding: 56px 0; }
  .how__card { flex: 0 0 calc(85% - 8px); }
  .section-header { margin-bottom: 32px; }
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  background: var(--gray-light);
  padding: 72px 0;
}

.features__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}

/* Highlight card — teal background, spans 1 column, 2 rows */
.features__card--highlight {
  grid-row: span 2;
  background: var(--teal);
  color: var(--white);
  border-color: transparent !important;
  box-shadow: var(--shadow-md) !important;
}
.features__card--highlight h3 { color: var(--white); }
.features__card--highlight p { color: rgba(255,255,255,.8); }

.features__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  border: 1.5px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
@media (hover: hover) and (pointer: fine) {
  .features__card:hover {
    border-color: var(--teal-mid);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

.features__card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.features__card-icon svg { width: 100%; height: 100%; }

.features__card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.features__card p {
  font-size: .82rem;
  color: var(--gray-mid);
  line-height: 1.6;
  margin: 0;
}

.features__card-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.features__card-tag--white {
  color: var(--teal);
  background: var(--white);
}

.features__cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .features__card--highlight { grid-row: span 1; }
}
@media (max-width: 600px) {
  .features { padding: 56px 0; }
  .features__grid { grid-template-columns: 1fr; gap: 12px; }
}

/* =============================================
   TRUST / SECURITY
   ============================================= */
.trust {
  background: linear-gradient(135deg, #091828 0%, #0c2436 55%, #091828 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(50,175,199,.15) 0%, transparent 65%);
  pointer-events: none;
}

/* override section-label and section-title on dark bg */
.trust .section-label {
  color: var(--teal);
  background: rgba(50,175,199,.12);
  border-color: rgba(50,175,199,.25);
}
.trust .section-title { color: var(--white); }

.trust__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.trust__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 20px 0 32px;
}

.trust__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.trust__list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust__icon {
  width: 36px;
  height: 36px;
  background: rgba(50,175,199,.15);
  border: 1px solid rgba(50,175,199,.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust__icon svg { width: 18px; height: 18px; }

.trust__list li p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}
.trust__list li p strong {
  font-weight: 600;
  color: var(--white);
}

/* Phone group */
.trust__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust__phone-group {
  position: relative;
  width: 260px;
  height: 500px;
}

.trust__phone {
  position: absolute;
  background: var(--black);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0,0,0,.28);
}
.trust__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.trust__phone--back {
  width: 200px;
  height: 390px;
  top: 60px;
  left: 0;
  opacity: .7;
  transform: rotate(-6deg);
  z-index: 0;
}
.trust__phone--front {
  width: 220px;
  height: 420px;
  top: 40px;
  right: 0;
  z-index: 1;
  transform: rotate(3deg);
}

@media (max-width: 900px) {
  .trust__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .trust__visual { order: -1; }
  .trust__phone-group { width: 220px; height: 420px; }
  .trust__phone--back { width: 170px; height: 330px; }
  .trust__phone--front { width: 190px; height: 360px; }
}

@media (max-width: 600px) {
  .trust { padding: 64px 0; }
}

/* =============================================
   STORES / COMERCIOS
   ============================================= */
.stores {
  background: var(--gray-light);
  padding: 72px 0;
}

.stores__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.stores__categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}

.stores__category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.stores__category:hover {
  border-color: var(--teal-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.stores__cat-icon {
  width: 56px;
  height: 56px;
}
.stores__cat-icon svg { width: 100%; height: 100%; }

.stores__category span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-dark);
  line-height: 1.3;
}

.stores__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--teal-mid);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: .95rem;
  color: var(--gray-dark);
}
.stores__badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.stores__badge strong { color: var(--teal-dark); font-weight: 700; }

.stores__microcopy {
  font-size: .8rem;
  color: var(--gray-mid);
  text-align: center;
}

@media (max-width: 900px) {
  .stores__categories { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .stores { padding: 64px 0; }
  .stores__categories { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   AUDIENCE
   ============================================= */
.audience {
  background: var(--white);
  padding: 72px 0;
}
.audience__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.audience__sub {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin: 20px 0 28px;
}
.audience__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.audience__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-dark);
  line-height: 1.4;
}
.audience__list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

.audience__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.audience__phone {
  position: relative;
  width: 220px;
}
.audience__glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(50,175,199,.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.audience__phone-frame {
  background: var(--black);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 32px 64px rgba(0,0,0,.28);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.audience__phone-frame img {
  width: 100%;
  border-radius: 32px;
  display: block;
}
.audience__stats {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.audience__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.audience__stat strong {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}
.audience__stat span {
  font-size: .75rem;
  color: var(--gray-mid);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .audience__inner { grid-template-columns: 1fr; gap: 48px; }
  .audience__visual { order: -1; }
}
@media (max-width: 600px) { .audience { padding: 64px 0; } }

/* =============================================
   FAQ
   ============================================= */
.faq {
  background: var(--gray-light);
  padding: 72px 0;
}
.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq__list {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
.faq__item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(50,175,199,.15);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item[open] { border-color: var(--teal-mid); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--teal); }
.faq__item[open] .faq__question { color: var(--teal); }

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gray-mid);
}
.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq__answer {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--gray-mid);
  line-height: 1.7;
  border-top: 1px solid var(--teal-light);
  padding-top: 16px;
}

.faq__cta { display: flex; justify-content: center; }

@media (max-width: 600px) { .faq { padding: 64px 0; } }

/* =============================================
   ENTERPRISE
   ============================================= */
.enterprise {
  background: var(--white);
  padding: 72px 0;
}
.enterprise__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.enterprise__header {
  text-align: center;
  max-width: 680px;
}
.enterprise__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.enterprise__badge svg { width: 16px; height: 16px; }
.enterprise__sub {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-top: 16px;
}

.enterprise__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  width: 100%;
  align-items: start;
}

.enterprise__benefits h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
}
.enterprise__benefits ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.enterprise__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-dark);
  line-height: 1.4;
}
.enterprise__benefits li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* Form */
.enterprise__form-card {
  background: var(--white);
  border: 1.5px solid rgba(50,175,199,.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 12px 48px rgba(50,175,199,.1);
}
.enterprise__form-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 28px;
  line-height: 1.3;
}

.enterprise__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form__group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: .02em;
}
.form__group input,
.form__group select {
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form__group input:focus,
.form__group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(50,175,199,.12);
}
.form__group input::placeholder { color: #9ca3af; }

.form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
  padding: 0;
  border: none;
  flex-shrink: 0;
}
.form__checkbox span {
  font-size: .82rem;
  color: var(--gray-dark);
  background: var(--gray-light);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  transition: all var(--transition);
  user-select: none;
}
.form__checkbox input:checked + span {
  background: var(--teal-light);
  border-color: var(--teal-mid);
  color: var(--teal-dark);
  font-weight: 600;
}

.form__submit {
  width: 100%;
  justify-content: center;
  position: relative;
}
.btn__spinner {
  width: 20px;
  height: 20px;
  display: none;
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form__submit.loading .btn__text { opacity: .5; }
.form__submit.loading .btn__spinner { display: block; }

.form__microcopy {
  font-size: .78rem;
  color: var(--gray-mid);
  text-align: center;
  line-height: 1.5;
}

.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
}
.form__success svg { width: 56px; height: 56px; }
.form__success strong { font-size: 1.1rem; color: var(--teal-dark); }
.form__success p { font-size: .875rem; color: var(--gray-mid); }
.form__success.visible { display: flex; }

@media (max-width: 900px) {
  .enterprise__body { grid-template-columns: 1fr; gap: 40px; }
  .enterprise__form-card { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .enterprise { padding: 64px 0; }
  .enterprise__form-card { padding: 24px 16px; }
}

/* =============================================
   CTA DOWNLOAD (dark section)
   ============================================= */
.cta-download {
  background: linear-gradient(135deg, #091828 0%, #0c2436 55%, #091828 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-download::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(50,175,199,.18) 0%, transparent 68%);
  pointer-events: none;
}
.cta-download__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-download__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid rgba(50,175,199,.4);
  background: rgba(50,175,199,.1);
  color: var(--teal);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.cta-download__badge svg { width: 14px; height: 14px; }
.cta-download__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
}
.cta-download__title span { color: var(--teal); }
.cta-download__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  max-width: 420px;
  margin: 0;
}
.cta-download__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.cta-download__note {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-download__note svg { width: 12px; height: 12px; opacity: .5; }

/* Section background variety */
.problem { background: #f5f9fc; }
.features { background: linear-gradient(180deg, #eef8fb 0%, #fff 100%); }
.audience { background: #f5f9fc; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--gray-dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,.7);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p {
  font-size: .85rem;
  line-height: 1.6;
  margin-top: 12px;
  opacity: .6;
}
.footer__logo {
  height: 32px;
  width: auto;
}
.footer__links-group h4,
.footer__download h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links-group a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links-group a:hover { color: var(--teal); }

.footer__download {
  display: flex;
  flex-direction: column;
}
.footer__download .store-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.footer__download .store-btn:hover {
  background: rgba(255,255,255,.14);
  transform: none;
  box-shadow: none;
}

.footer__bottom {
  padding: 20px 0;
}
.footer__copy {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 80px;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__sub { max-width: 100%; }
  .hero__ctas { align-items: center; }
  .hero__visual { order: -1; }
  .hero__phone-wrap { width: 220px; }
  .hero__chip--1 { left: -8px; }
  .hero__chip--2 { right: -8px; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__links + .btn { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--teal-light);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .hero__bg-element { display: none; }

  /* ── Footer tablet/mobile ── */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer__brand {
    grid-column: span 2;
  }
  .footer__download {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer__download .store-btn {
    flex: 1 1 160px;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.75rem; }
  .hero__store-btns { flex-direction: column; }
  .store-btn { width: 100%; }

  /* ── Footer small ── */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__brand { grid-column: 1; }
  .footer__download {
    grid-column: 1;
    flex-direction: column;
    gap: 10px;
  }
  .footer__download .store-btn {
    width: 100%;
    flex: none;
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer__legal {
    flex-direction: column;
    gap: 8px;
  }

  /* ── Enterprise form small ── */
  .enterprise__form-card {
    padding: 20px 14px !important;
  }
  .enterprise__form-card h3 {
    font-size: 1.3rem;
  }
  .form__checkboxes {
    flex-direction: column;
    gap: 10px;
  }
  .form__submit {
    flex-direction: column;
    align-items: stretch;
  }
  .form__submit .btn {
    width: 100%;
    justify-content: center;
  }
  .form__submit .btn__text {
    font-size: .85rem;
  }

  /* ── CTA Download small ── */
  .cta-download__btns {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-download__btns .store-btn {
    justify-content: center;
  }
}
