/* ============================================================
   CONFIDEN360 — Design System & Shared Styles
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --bg: #050810;
  --surface: #0b1020;
  --accent: #3B9EFF;
  --accent-rgb: 59, 158, 255;
  --green: #00FFB2;
  --green-rgb: 0, 255, 178;
  --red: #FF3B6B;
  --text: #E8EDF5;
  --muted: #6B7A99;
  --border: rgba(99, 186, 255, 0.12);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --section-py: 120px;
  --container: 1200px;
  --gap: 32px;
  --radius: 12px;
  --radius-sm: 6px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---------- Noise overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- Grid background ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  max-width: 680px;
}

p+p {
  margin-top: 1em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s var(--ease);
}

a:hover {
  color: var(--green);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Section Label ---------- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Badge (Hero dot) ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(var(--accent-rgb), 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(var(--green-rgb), 0.5);
  }

  50% {
    opacity: .7;
    box-shadow: 0 0 0 6px rgba(var(--green-rgb), 0);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  text-decoration: none;
  line-height: 1.3;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.35);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.92rem;
}

/* ---------- Grid Layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 100px;
  position: relative;
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 800px;
}

.hero>.container>p {
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero .btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero glow */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  translate: -50% 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s var(--ease);
}

.nav.scrolled {
  padding: 10px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s var(--ease);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  margin-left: 16px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.15));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}

.timeline-item:hover {
  border-color: var(--accent);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
}

.timeline-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  float: right;
  margin-top: 2px;
}

.timeline-item h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.timeline-detail {
  margin-top: 16px;
}

.timeline-detail strong {
  font-size: 0.82rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.timeline-detail p {
  font-size: 0.88rem;
  margin-bottom: 12px;
}

/* ---------- Service Block ---------- */
.service-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-block h2 {
  margin-bottom: 8px;
}

.service-meta {
  display: flex;
  gap: 24px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}

.service-meta-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-meta-item strong {
  color: var(--text);
  font-weight: 600;
}

.service-content {
  max-width: 800px;
}

.service-content>p {
  margin-bottom: 20px;
}

.service-includes {
  margin-top: 24px;
  padding: 24px;
  background: rgba(var(--accent-rgb), 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-includes h4 {
  margin-bottom: 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.service-includes ul {
  padding-left: 0;
}

.service-includes li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.service-includes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.service-result {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(var(--green-rgb), 0.04);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.service-result strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 6px;
}

.service-result p {
  font-size: 0.9rem;
}

/* ---------- Pricing Table ---------- */
.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08) 0%, var(--surface) 40%);
  position: relative;
}

.pricing-card.featured::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--accent);
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pricing-card .pricing-for {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.pricing-card .pricing-duration {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .label {
  color: var(--text);
  font-weight: 500;
  font-size: 0.84rem;
}

.pricing-features .value {
  text-align: right;
  font-size: 0.84rem;
}

.pricing-features .check {
  color: var(--green);
}

.pricing-features .dash {
  color: var(--muted);
  opacity: 0.4;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- FAQ / Accordion ---------- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: color .2s var(--ease);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Platform Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  padding: 24px;
  background: rgba(var(--accent-rgb), 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}

.feature-item:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
}

.feature-item h4 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-item p {
  font-size: 0.88rem;
}

/* ---------- Integration Flow ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.flow-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.flow-step-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(var(--accent-rgb), 0.2);
  margin-bottom: 16px;
}

.flow-step h4 {
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.88rem;
  margin: 0 auto;
}

.flow-step+.flow-step::before {
  content: '→';
  position: absolute;
  left: -18px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Values List ---------- */
.values-list {
  max-width: 700px;
}

.values-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list strong {
  color: var(--text);
  white-space: nowrap;
  min-width: 180px;
}

.values-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Checklist 2x2 ---------- */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.check-item {
  padding: 20px 24px;
  background: rgba(var(--green-rgb), 0.04);
  border: 1px solid rgba(var(--green-rgb), 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}

.check-item .check-icon {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Two-Column Info ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 32px;
}

.col-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}

.col-card:hover {
  border-color: var(--accent);
}

.col-card h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.col-card p {
  font-size: 0.92rem;
}

/* ---------- Contact Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7A99' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Checkbox group */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

.checkbox-label:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.checkbox-label.checked {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--text);
}

.form-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trust-block {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-block h4 {
  margin-bottom: 8px;
  color: var(--text);
}

.trust-block p {
  font-size: 0.88rem;
}

.contact-info {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-info h4 {
  margin-bottom: 16px;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
  transition: color .2s var(--ease);
}

.contact-info a:hover {
  color: var(--accent);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--surface);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin: 0 auto 32px;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-right {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-right a {
  color: var(--muted);
}

.footer-right a:hover {
  color: var(--accent);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: .1s;
}

.reveal:nth-child(3) {
  transition-delay: .2s;
}

.reveal:nth-child(4) {
  transition-delay: .25s;
}

/* ---------- Platform Section ---------- */
.platform-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.platform-block:last-of-type {
  border-bottom: none;
}

.platform-header {
  margin-bottom: 40px;
}

.platform-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.platform-tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Platform plan badges */
.platform-plans {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.plan-badge {
  padding: 16px 20px;
  background: rgba(var(--accent-rgb), 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex: 1;
  min-width: 180px;
}

.plan-badge h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.plan-badge p {
  font-size: 0.82rem;
}

/* ---------- Segments ---------- */
.segment-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.segment-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.segment-card h3 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.segment-card p {
  font-size: 0.9rem;
}

/* ---------- Pillar List ---------- */
.pillar-list {
  margin-top: 24px;
}

.pillar-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.pillar-item strong {
  color: var(--accent);
  font-weight: 700;
  min-width: 120px;
}

.pillar-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-wrapper {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-step+.flow-step::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  .container {
    padding: 0 24px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 140px 0 64px;
  }

  /* Nav mobile */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 8, 16, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline {
    padding-left: 32px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item::before {
    left: -28px;
    width: 10px;
    height: 10px;
  }

  .timeline-item {
    padding: 20px;
  }

  .timeline-time {
    float: none;
    display: block;
    margin-bottom: 4px;
  }

  /* Service */
  .service-meta {
    flex-direction: column;
    gap: 8px;
  }

  /* Footer */
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Values */
  .values-list li {
    flex-direction: column;
    gap: 4px;
  }

  .values-list strong {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  .hero {
    padding: 120px 0 48px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.88rem;
  }

  .hero .btn-group {
    flex-direction: column;
  }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px 14px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: wa-pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: none;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.08);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px 12px 14px;
    font-size: 0.85rem;
  }

  .whatsapp-float svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Footer Address ---------- */
.footer-address {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}