:root {
  --primary: #9b0f06;
  --primary-dark: #7a0c05;
  --primary-light: #fdf2f1;
  --secondary: #1a1a2e;
  --text: #333333;
  --text-muted: #666666;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --border: #e8e8e8;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --nav-height: 72px;
  --whatsapp: #25d366;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.3;
  max-width: 220px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 20px !important;
  font-size: 0.875rem !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

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

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.btn .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp .icon-whatsapp {
  color: var(--whatsapp);
}

.cta .btn-cta-outline .icon {
  color: #fff;
}

/* ── Hero ── */

.hero {
  padding: calc(var(--nav-height) + 64px) 0 80px;
  background: linear-gradient(160deg, var(--primary-light) 0%, #fff 45%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(155, 15, 6, 0.07) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(155, 15, 6, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 520px;
}

.hero-tagline {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.screenshot-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
}

.screenshot-frame img {
  width: 100%;
  border: none;
  border-radius: 0;
}

.hero-visual {
  padding: 12px;
  background: linear-gradient(145deg, #fff, var(--primary-light));
}

/* ── Sections ── */

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-alt {
  background: var(--bg-alt);
}

/* ── Problem / Solution ── */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.problem-list li::before {
  content: '✕';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: #fdeaea;
  color: #b91c1c;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}

.solution-box {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-box h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #fff;
}

.solution-box p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
}

.solution-box strong {
  color: #fff;
  font-weight: 700;
}

/* ── Benefits ── */

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

.benefit-card {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(155, 15, 6, 0.2);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--secondary);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.branding-showcase {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.branding-showcase-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.branding-showcase-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Features ── */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-block:first-child {
  padding-top: 0;
}

.feature-block:nth-child(even) {
  background: transparent;
}

.feature-block:nth-child(even) .feature-content {
  order: 2;
}

.feature-block:nth-child(even) .feature-visual {
  order: 1;
}

.feature-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.feature-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-intro {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.feature-content ul {
  margin-bottom: 4px;
}

.feature-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.feature-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.feature-trustee {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-subsection {
  margin-top: 14px;
}

.feature-subsection h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-subsection + .feature-subsection {
  margin-top: 18px;
}

/* ── Workflow ── */

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.workflow-step {
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.workflow-step:not(:last-child)::after {
  content: '→';
  margin-left: 10px;
  color: var(--primary);
  font-weight: 700;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.role-card {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.role-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.role-card ol {
  list-style: decimal;
  padding-left: 20px;
}

.role-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.role-card li::marker {
  color: var(--primary);
  font-weight: 600;
}

/* ── CTA ── */

.cta {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.cta h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}

.cta > .container > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.contact-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 720px;
  margin: 0 auto;
  padding-top: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
}

.contact-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #fff;
}

.contact-item .icon-whatsapp {
  color: var(--whatsapp);
}

.contact-item a {
  color: #fff;
  transition: opacity 0.2s;
}

.contact-item a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ── Footer ── */

.footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 24px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer strong {
  color: #fff;
}

.footer-link {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero-grid,
  .problem-grid,
  .feature-block,
  .branding-showcase {
    grid-template-columns: 1fr;
  }

  .feature-block:nth-child(even) .feature-content,
  .feature-block:nth-child(even) .feature-visual {
    order: unset;
  }

  .benefits-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .roles-grid {
    max-width: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-cta {
    width: 100%;
    margin-top: 4px;
  }

  .nav-toggle {
    display: block;
  }

  .workflow-step:not(:last-child)::after {
    display: none;
  }

  section {
    padding: 56px 0;
  }

  .feature-block {
    padding: 40px 0;
    gap: 28px;
  }

  .branding-showcase {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
