:root {
  --navy: #14213d;
  --navy-2: #1b2a52;
  --ink: #1b2a52;
  --muted: #6b7280;
  --green: #22c55e;
  --green-dark: #16a34a;
  --bg-soft: #f4f6fa;
  --bg-soft-2: #eef1f6;
  --white: #ffffff;
  --border: #e5e8f0;
  --orange-1: #fdc558;
  --orange-2: #f7ac22;
  --blue-1: #0b0fb0;
  --blue-2: #1b2a8c;
  --footer: #0b1120;
  --radius: 14px;
  --shadow: 0 20px 45px -20px rgba(20, 33, 61, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.25;
}

p { margin: 0 0 16px; color: var(--muted); }

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled { box-shadow: 0 10px 24px -18px rgba(20, 33, 61, 0.4); }

.site-header .logo img { height: 34px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2b3350;
  white-space: nowrap;
}

.site-nav a.active,
.site-nav a:hover { color: #2563eb; }

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 40, 0.35);
  z-index: 90;
}

@media (max-width: 860px) {
  .site-header { position: relative; }
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px -18px rgba(20, 33, 61, 0.35);
    padding: 8px 24px 16px;
    z-index: 95;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    white-space: normal;
  }
  .site-nav a:last-child { border-bottom: none; }

  body.nav-open .nav-scrim { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(34, 197, 94, 0.55);
}
.btn-green:hover { background: var(--green-dark); }

.btn-outline-navy {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--blue-2); }

/* ---------- Badge / pill ---------- */
.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}

.pill-dark-on-light { background: var(--navy); color: #fff; }
.pill-light-on-dark { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Section helpers ---------- */
section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  padding: 70px 0 0;
  overflow: hidden;
}

.bleed-grid {
  display: grid;
  grid-template-columns: minmax(300px, 560px) 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  padding-left: 24px;
}

.hero h1 { font-size: 2.6rem; color: var(--navy); }

.hero p.lead { color: #3c3320; font-size: 1.05rem; max-width: 520px; }

.hero-checks { list-style: none; margin: 24px 0 32px; padding: 0; }
.hero-checks li {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hero-checks li::before { content: "✔"; color: #178a44; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-mock { align-self: end; min-width: 0; }
.hero-mock img { width: 100%; display: block; }

/* ---------- Blue promo section (imac) ---------- */
.promo {
  background: linear-gradient(120deg, var(--blue-1), var(--blue-2));
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.promo h2 { color: #fff; font-size: 2.2rem; }
.promo p { color: #cfd6f5; }

.promo ul { list-style: disc; padding-left: 20px; color: #dfe4fb; margin-bottom: 28px; }
.promo ul li { margin-bottom: 8px; }

.promo .hero-mock img { width: 100%; display: block; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -20px rgba(20, 33, 61, 0.28);
  border-color: #d8ddea;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff4de, #ffe3b0);
  margin-bottom: 16px;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  color: #b3690f;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.95rem; }

/* ---------- Reports split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-list .card { padding: 20px 24px; }
.feature-list h4 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-list p { margin: 0; font-size: 0.93rem; }

/* ---------- Modules ---------- */
.modules-logo { text-align: center; margin: 8px 0 48px; }
.modules-logo img { max-width: 320px; margin: 0 auto; }

.cards-3.modules { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
.cards-3.modules .card h3 { color: var(--navy); }

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.compare-table tbody tr:nth-child(odd) { background: #fafbfe; }
.compare-table .yes { color: var(--green-dark); font-weight: 700; }
.compare-table .no { color: #d1495b; font-weight: 700; }

.compare-cta { text-align: center; margin-top: 36px; }

/* ---------- Clients ---------- */
.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 20px 0;
}
.clients-row img { max-height: 70px; width: auto; filter: grayscale(0%); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-card h3 { margin-bottom: 18px; }
.contact-card p { margin-bottom: 10px; color: #33415c; }
.contact-card strong { color: var(--navy); }
.contact-card img { max-width: 220px; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: #aab1c6;
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal-left { transform: translateX(-32px); }
.reveal-left.in-view { transform: translateX(0); }

.reveal-right { transform: translateX(32px); }
.reveal-right.in-view { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.4);
  z-index: 200;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--orange-1), var(--orange-2));
  padding: 50px 24px;
  text-align: center;
}
.page-hero h1 { color: #7a5314; text-shadow: 0 2px 0 rgba(255,255,255,0.25); font-size: 2rem; letter-spacing: 0.5px; }

.legal-content { padding: 70px 24px; max-width: 900px; margin: 0 auto; }
.legal-content h2 { font-size: 1.15rem; margin-top: 34px; }
.legal-content p, .legal-content li { color: #33415c; }
.legal-content ul { padding-left: 22px; }
.legal-content .updated { color: #33415c; margin-bottom: 24px; }

/* ---------- Pricing (modern cards) ---------- */
.pricing-section { background: var(--bg-soft); }

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 32px -22px rgba(20, 33, 61, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -20px rgba(20, 33, 61, 0.28);
}

.price-card.featured {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, #f3fdf7 0%, #ffffff 55%);
  box-shadow: 0 24px 48px -20px rgba(22, 163, 74, 0.35);
  margin-top: -8px;
}
.price-card.featured:hover { transform: translateY(-14px); }

.price-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 16px -6px rgba(22, 163, 74, 0.5);
  white-space: nowrap;
}

.price-card-head {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.price-card-name {
  display: inline-block;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.price-card-amount { font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-card-amount .currency { font-size: 1.1rem; font-weight: 700; vertical-align: top; margin-right: 2px; }
.price-card-amount .period { display: block; margin-top: 6px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }

.price-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
  font-size: 0.9rem;
}
.price-card-features li {
  position: relative;
  padding: 9px 0 9px 26px;
  color: #2a3550;
  font-weight: 600;
}
.price-card-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--green-dark);
  font-size: 0.8rem;
}
.price-card-features li.weak { color: #9aa2b3; font-weight: 500; }
.price-card-features li.weak::before { color: #c3c9d6; }

.price-card-cta { width: 100%; }

.pricing-disclaimer {
  text-align: center;
  color: #b3384a;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 36px;
}

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

  .bleed-grid,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .bleed-grid { padding-left: 0; gap: 24px; }
  .bleed-grid .hero-copy,
  .bleed-grid > div:first-child:not(.hero-mock) { padding: 0 24px; }
  .split { gap: 32px; }

  .cards-3, .cards-3.modules { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { margin-top: 0; }
  .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .hero h1 { font-size: 2.1rem; }
  .promo h2 { font-size: 1.9rem; }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 20px; }
  .site-header .logo img { height: 28px; }
  .site-nav a { font-size: 1rem; }

  section { padding: 48px 0; }
  .container, .legal-content, .page-hero { padding-left: 18px; padding-right: 18px; }

  .hero h1 { font-size: 1.75rem; }
  .hero p.lead { font-size: 0.98rem; }
  .promo h2 { font-size: 1.6rem; }
  .section-head h2 { font-size: 1.5rem; }

  .cards-3, .cards-3.modules, .price-cards { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; margin-top: 0; }
  .price-card.featured:hover { transform: translateY(-6px); }

  .clients-row { gap: 28px; }
  .clients-row img { max-height: 48px; }

  .contact-card { padding: 24px; }

  .wa-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }

  .page-hero h1 { font-size: 1.4rem; }
}
