:root {
  --navy-950: #05070f;
  --navy-900: #0a0e1c;
  --navy-800: #121729;
  --navy-700: #1a2036;
  --blue-400: #5eb1ff;
  --blue-500: #2f8fff;
  --blue-600: #1d6fe0;
  --ink: #0a0e1c;
  --gray-600: #5b6478;
  --gray-200: #e7eaf2;
  --gray-100: #f4f6fb;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-md: 0 10px 30px rgba(10, 14, 28, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 14, 28, 0.16);
  --container: 1140px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Public Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(47, 143, 255, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 143, 255, 0.45); }
}

.btn:active { transform: scale(0.97); }

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 7, 15, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 220ms var(--ease-out), box-shadow 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(10, 14, 28, 0.06), 0 8px 24px rgba(10, 14, 28, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.nav-wrap {
  display: contents;
}

.brand-logo { height: 50px; width: auto; transition: opacity 150ms ease; }

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  transition: color .2s ease;
}

.site-header.scrolled .nav a { color: var(--gray-600); }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--blue-400); }
  .site-header.scrolled .nav a:hover { color: var(--blue-600); }
}

.btn-nav { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 150ms var(--ease-out), background 150ms ease;
}

.site-header.scrolled .nav-toggle span { background: var(--ink); }

.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-wrap {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 20px;
    max-height: 0;
    opacity: 0;
    padding: 0 24px;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 260ms var(--ease-in-out), opacity 180ms var(--ease-out), padding 260ms var(--ease-in-out);
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .nav-wrap .nav a { color: rgba(255,255,255,0.85); }

  @media (hover: hover) and (pointer: fine) {
    .nav-wrap .nav a:hover { color: var(--blue-400); }
  }

  .site-header.open .nav-wrap {
    max-height: 420px;
    opacity: 1;
    padding: 20px 24px;
    pointer-events: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5,7,15,0.96) 0%, rgba(5,7,15,0.55) 42%, rgba(5,7,15,0.15) 75%, rgba(5,7,15,0.35) 100%),
    linear-gradient(100deg, rgba(5,7,15,0.55) 0%, rgba(5,7,15,0.1) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 140px 24px 56px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 15ch;
  margin-bottom: 32px;
  text-wrap: balance;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
}

.hero-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
}

.btn-cta-pill {
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
  padding: 8px 8px 8px 26px;
  box-shadow: 0 14px 30px rgba(5, 7, 15, 0.3);
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta-pill:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(5, 7, 15, 0.38); }
}

.cta-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@media (max-width: 860px) {
  .hero { min-height: 92vh; }
  .hero-content { padding: 32px 20px 40px; }
  .hero-bg img { object-position: 65% center; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Partners ---------- */
.partners { padding: 56px 0; background: var(--gray-100); }

.partners-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.partner-logo {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img { max-height: 36px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Section head ---------- */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}
.section-sub { margin-top: 14px; color: var(--gray-600); font-size: 16px; }

/* ---------- Problems ---------- */
.problem-solution { background: var(--white); }

.problems-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

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

.problems-intro h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
}

.problems-intro p { color: var(--gray-600); font-size: 16px; max-width: 40ch; }

.problems-list { display: flex; flex-direction: column; }

.problems-list li {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
}

.problems-list li:last-child { border-bottom: 1px solid var(--gray-200); }

.problems-list h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.problems-list p { color: var(--gray-600); font-size: 15.5px; max-width: 62ch; }

/* ---------- Steps ---------- */
.steps { background: var(--navy-950); color: var(--white); }
.steps .section-head h2 { color: var(--white); }
.steps .section-sub { color: rgba(255,255,255,0.65); }

.timeline {
  position: relative;
  display: flex;
  gap: 20px;
  padding-top: 4px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-panel, #121729);
  border: 2px solid var(--blue-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.timeline-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.timeline-body p { color: rgba(255,255,255,0.65); font-size: 14.5px; max-width: 34ch; }

@media (max-width: 860px) {
  .timeline { flex-direction: column; gap: 36px; }
  .timeline::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; }
  .timeline-step { flex-direction: row; align-items: flex-start; gap: 20px; }
  .timeline-node { margin-bottom: 0; }
}

/* ---------- Features ---------- */
.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 860px) { .features-inner { grid-template-columns: 1fr; gap: 36px; margin-top: 64px; padding-top: 56px; } }

.features-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.features-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  margin: 16px 0 26px;
}

.feature-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }

.feature-list li {
  padding-left: 30px;
  position: relative;
  color: var(--gray-600);
  font-size: 15.5px;
}

.feature-list li strong { color: var(--ink); }

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Services ---------- */
.services { background: var(--gray-100); }

.services-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) { .services-bento { grid-template-columns: 1fr; } }

.bento-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 220ms var(--ease-out);
}

.bento-feature-img {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 480px;
  filter: drop-shadow(0 20px 30px rgba(5, 7, 15, 0.4));
}

.bento-feature-body {
  position: relative;
  z-index: 1;
  padding: 28px;
  background: linear-gradient(0deg, rgba(5,7,15,0.6) 0%, rgba(5,7,15,0) 65%);
}

.bento-feature-body h3 { color: var(--white); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.bento-feature-body p { color: rgba(255,255,255,0.8); font-size: 15px; max-width: 32ch; }

.bento-side { display: flex; flex-direction: column; gap: 24px; }

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  min-height: 200px;
  transition: transform 220ms var(--ease-out);
}

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-out);
}

.bento-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(0deg, rgba(5,7,15,0.78) 0%, rgba(5,7,15,0.2) 55%, transparent 100%);
}

.bento-card-body h3 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.bento-card-body p { color: rgba(255,255,255,0.82); font-size: 13.5px; }

@media (hover: hover) and (pointer: fine) {
  .bento-feature:hover, .bento-card:hover { transform: translateY(-4px); }
  .bento-card:hover img { transform: scale(1.05); }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }

.testi-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 860px) { .testi-layout { grid-template-columns: 1fr; } }

.testi-featured {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testi-mark { font-size: 56px; font-weight: 800; color: var(--blue-500); line-height: 1; margin-bottom: 12px; }
.testi-featured p { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.4; color: var(--white); margin-bottom: 28px; }

.testi-mentions { display: flex; flex-direction: column; gap: 20px; }

.testi-mention {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testi-mention p { font-size: 14.5px; color: var(--gray-600); margin-bottom: 16px; }
.testi-mention .testi-author strong { color: var(--ink); }

.testi-author { display: flex; flex-direction: column; gap: 2px; }
.testi-author strong { font-size: 14.5px; color: var(--white); }
.testi-author span { font-size: 13px; color: var(--blue-400); }
.testi-mention .testi-author span { color: var(--blue-600); }

/* ---------- FAQ ---------- */
.faq { background: var(--gray-100); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 200ms var(--ease-out);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue-500);
  margin-left: 16px;
  transition: transform 200ms var(--ease-out);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { margin-top: 14px; color: var(--gray-600); font-size: 14.5px; }

.faq-item[open] p {
  animation: faqReveal 220ms var(--ease-out);
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  text-align: center;
}

.final-cta-inner h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 16px; }
.final-cta-inner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 40px;
}

@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo { height: 46px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 260px; }

.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--blue-400); }

.footer-partner-logos { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-partner-logos span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 14px;
  width: 88px;
  height: 40px;
}
.footer-partner-logos img { max-height: 22px; max-width: 100%; width: auto; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom p { font-size: 13px; text-align: center; color: rgba(255,255,255,0.4); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform 160ms var(--ease-out);
  animation: waIntro 400ms var(--ease-out) 600ms backwards;
}

@keyframes waIntro {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.08); }
}

.wa-float:active { transform: scale(0.94); }
.wa-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

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

[data-reveal="stagger"] {
  opacity: 1;
  transform: none;
  transition: none;
}

[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}

[data-reveal="stagger"].is-visible > * { opacity: 1; transform: translateY(0); }

[data-reveal="stagger"].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal="stagger"].is-visible > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal="stagger"].is-visible > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal="stagger"].is-visible > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal="stagger"].is-visible > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal="stagger"].is-visible > *:nth-child(6) { transition-delay: 300ms; }
