/* ========================================
   MODOTU — Design System & Styles
   Palette: White #FFF, Black #111, Lime #D4FF00, Gray #F5F5F5
   Font: Inter (Google Fonts)
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

.text-sm {
  font-size: 0.875rem;
}

.text-muted {
  color: #888;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(.4, 0, .2, 1);
}

.btn-primary {
  background: #D4FF00;
  color: #111;
}

.btn-primary:hover {
  background: #c2eb00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 255, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: #111;
  border: 2px solid #111;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #111;
  padding: 8px 0;
  font-weight: 600;
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.2s;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* --- Badge --- */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.02em;
}

.badge-urgency {
  background: #FFF3CD;
  border-color: #FFD700;
  color: #856404;
  font-weight: 600;
}

/* ========================================
   1. NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-bottom-color: #eee;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-logo span {
  display: inline-block;
  width: 12px;
  height: 18px;
  background: #D4FF00;
  border-radius: 2px;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #111;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  transition: all 0.3s;
}

/* ========================================
   2. HERO SECTION
   ======================================== */
.hero {
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #fafafa;
  background-image:
    linear-gradient(to right, #e8e8e8 1px, transparent 1px),
    linear-gradient(to bottom, #e8e8e8 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content .badge {
  margin-bottom: 24px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 8px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-microcopy {
  font-size: 0.8rem;
  color: #999;
  margin-top: 12px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Node graph illustration */
.node-graph {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}

.node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.node-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid #ddd;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.node-icon svg {
  width: 100%;
  height: 100%;
}

.node-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.node-center .node-icon {
  width: 80px;
  height: 80px;
  background: #D4FF00;
  border: none;
  padding: 18px;
}

.node-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Courier New', monospace;
}

/* Dashed connector lines via SVG */
.node-connectors {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.node-connectors line {
  stroke: #ccc;
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

/* Node positions — symmetrical diamond */
.node-ia {
  top: 5%;
  left: 10%;
  transform: translate(-50%, 0);
}

.node-data {
  top: 5%;
  right: 10%;
  transform: translate(50%, 0);
}

.node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.node-email {
  bottom: 5%;
  left: 10%;
  transform: translate(-50%, 0);
}

.node-agenda {
  bottom: 5%;
  right: 10%;
  transform: translate(50%, 0);
}

/* ========================================
   3. METRICS BAR
   ======================================== */
.metrics-bar {
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.metrics-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.metric {
  text-align: left;
}

.metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.85rem;
  color: #888;
  margin-top: 2px;
}

/* ========================================
   4. SOCIAL PROOF BAR
   ======================================== */
.social-proof {
  padding: 48px 0;
  background: #F5F5F5;
}

.social-proof-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.logo-placeholder {
  font-size: 1.1rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.03em;
}

/* ========================================
   5. BENEFITS (Zigzag)
   ======================================== */
.benefits {
  padding: 100px 0;
}

.benefit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
}

.benefit-section:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.benefit-section:nth-child(even) .benefit-visual {
  order: -1;
}

.benefit-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #D4FF00;
  background: #111;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-content h3 {
  margin-bottom: 16px;
}

.benefit-content p {
  margin-bottom: 24px;
  max-width: 480px;
}

.benefit-visual {
  background: #F5F5F5;
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.benefit-visual svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Inline testimonial inside benefit */
.benefit-testimonial {
  margin-top: 24px;
  padding: 16px 20px;
  background: #F9F9F9;
  border-left: 3px solid #D4FF00;
  border-radius: 0 8px 8px 0;
}

.benefit-testimonial p {
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
  margin-bottom: 4px;
}

.benefit-testimonial cite {
  font-size: 0.8rem;
  color: #999;
  font-style: normal;
}

/* ========================================
   6. HOW IT WORKS
   ======================================== */
.how-it-works {
  padding: 100px 0;
  background: #111;
  color: #fff;
}

.how-it-works h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
}

.how-it-works .section-subtitle {
  text-align: center;
  color: #888;
  max-width: 520px;
  margin: 0 auto 64px;
}

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

.step {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  border: 1px solid #222;
  transition: border-color 0.3s, background 0.3s;
}

.step:hover {
  border-color: #D4FF00;
  background: rgba(212, 255, 0, 0.04);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
  background: #D4FF00;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step h3 {
  color: #fff;
  margin-bottom: 12px;
}

.step p {
  color: #888;
  font-size: 0.95rem;
}


/* ========================================
   7. TECH STACK
   ======================================== */
.tech-stack {
  padding: 80px 0;
  background: #F5F5F5;
  text-align: center;
}

.tech-stack .badge {
  margin-bottom: 16px;
}

.tech-stack h2 {
  margin-bottom: 48px;
}

.stack-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s;
}

.stack-item:hover {
  transform: translateY(-4px);
}

.stack-icon {
  width: 72px;
  height: 72px;
}

.stack-icon svg,
.stack-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stack-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.01em;
}

/* ========================================
   8. TESTIMONIALS
   ======================================== */
.testimonials {
  padding: 100px 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
}

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

.testimonial-card {
  padding: 32px;
  border: 1px solid #eee;
  border-radius: 16px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #FFB800;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D4FF00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-meta .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-meta .role {
  font-size: 0.8rem;
  color: #888;
}

.testimonial-metric {
  margin-top: 16px;
  padding: 12px 16px;
  background: #F5F5F5;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  text-align: center;
}

/* ========================================
   9. FAQ
   ======================================== */
.faq {
  padding: 100px 0;
  background: #F5F5F5;
}

.faq h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #555;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ========================================
   10. FINAL CTA
   ======================================== */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: #111;
  color: #fff;
}

.final-cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.final-cta p {
  color: #999;
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta .badge-urgency {
  margin-bottom: 24px;
}

/* ========================================
   11. FOOTER
   ======================================== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid #eee;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-logo span {
  display: inline-block;
  width: 10px;
  height: 15px;
  background: #D4FF00;
  border-radius: 2px;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #888;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #111;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  color: #aaa;
}

/* ========================================
   POPUPS
   ======================================== */

/* Exit Intent Popup (Lightbox) */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.popup-overlay.visible {
  display: flex;
  opacity: 1;
}

.popup-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  max-width: 520px;
  width: 90%;
  position: relative;
  animation: popIn 0.35s cubic-bezier(.4, 0, .2, 1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  font-size: 1.4rem;
  color: #999;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.popup-close:hover {
  background: #f5f5f5;
}

.popup-card h3 {
  margin-bottom: 12px;
}

.popup-card p {
  margin-bottom: 20px;
}

.popup-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.popup-form input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}

.popup-form input:focus {
  outline: none;
  border-color: #D4FF00;
}

.popup-no-thanks {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
  cursor: pointer;
  transition: color 0.2s;
}

.popup-no-thanks:hover {
  color: #666;
}

/* Scroll Slide-in */
.slide-in {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 340px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.slide-in.visible {
  transform: translateX(0);
}

.slide-in-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  font-size: 1.1rem;
  color: #999;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-in h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.slide-in p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
}

/* Time Delay Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-bar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D4FF00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sticky-bar-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.sticky-bar-text p {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

.sticky-bar-close {
  background: none;
  font-size: 1.2rem;
  color: #999;
  padding: 8px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* --- Tablet landscape / small desktop (≤ 968px) --- */
@media (max-width: 968px) {

  /* Hero → single column, visual on top */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-microcopy {
    text-align: center;
  }

  /* Benefits → single column, visual always below text */
  .benefit-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .benefit-section:nth-child(even) .benefit-visual {
    order: 0;
  }

  .benefit-content p {
    max-width: 100%;
  }

  .benefit-visual {
    aspect-ratio: 16/9;
  }

  /* Steps → single column */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    padding: 32px 20px;
  }

  /* Testimonials → single column */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  /* Metrics → 2x2 grid */
  .metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    text-align: center;
  }

  .metric {
    text-align: center;
  }

  /* Footer → stack vertically */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* --- Tablet portrait / large phone (≤ 768px) --- */
@media (max-width: 768px) {

  /* Navigation → hamburger */
  .nav {
    background: #fff;
    backdrop-filter: none;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 32px 24px;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    z-index: 10000;
    overflow-y: auto;
  }

  .nav-links.mobile-open a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    padding: 12px 0;
  }

  .nav-links.mobile-open .nav-cta {
    width: 100%;
  }

  .nav-links.mobile-open .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero → reduce spacing */
  .hero {
    padding: 110px 0 48px;
    min-height: auto;
  }

  h1 {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: 1.45rem;
  }

  .hero-visual {
    max-width: 300px;
  }

  /* Node graph → smaller */
  .node-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .node-center .node-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .node-label {
    font-size: 0.6rem;
  }

  /* Metrics → reduce size */
  .metrics-bar {
    padding: 28px 0;
  }

  .metric-value {
    font-size: 1.8rem;
  }

  .metric-label {
    font-size: 0.75rem;
  }

  /* Social Proof */
  .social-proof {
    padding: 32px 0;
  }

  .logos-grid {
    gap: 20px;
  }

  .logo-placeholder {
    font-size: 0.9rem;
  }

  /* Benefits → reduce section padding */
  .benefits {
    padding: 64px 0;
  }

  .benefit-section {
    padding: 32px 0;
  }

  .benefit-number {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
    margin-bottom: 12px;
  }

  .benefit-visual {
    font-size: 3rem;
    border-radius: 12px;
  }

  .benefit-testimonial {
    padding: 12px 16px;
  }

  .benefit-testimonial p {
    font-size: 0.85rem;
  }

  /* How it works → less padding */
  .how-it-works {
    padding: 64px 0;
  }

  .how-it-works .section-subtitle {
    margin-bottom: 40px;
  }

  .step {
    padding: 28px 16px;
  }

  .step-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }


  /* Testimonials → compact */
  .testimonials {
    padding: 64px 0;
  }

  .testimonials h2 {
    margin-bottom: 32px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-card blockquote {
    font-size: 0.9rem;
  }

  .testimonial-metric {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  /* FAQ → compact */
  .faq {
    padding: 64px 0;
  }

  .faq h2 {
    margin-bottom: 32px;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 20px 0;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  /* Final CTA */
  .final-cta {
    padding: 64px 0;
  }

  .final-cta p {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 32px 0 24px;
  }

  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  /* Popup card → compact */
  .popup-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .popup-card h3 {
    font-size: 1.1rem;
  }

  .popup-card p {
    font-size: 0.9rem;
  }

  .popup-form {
    flex-direction: column;
  }

  .popup-form .btn {
    width: 100%;
    justify-content: center;
  }

  /* Slide-in → full width bottom */
  .slide-in {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 16px;
  }

  /* Sticky Bar → stack */
  .sticky-bar {
    padding: 14px 0;
  }

  .sticky-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .sticky-bar-content {
    flex-direction: column;
    gap: 8px;
  }

  .sticky-bar-text h4 {
    font-size: 0.85rem;
  }

  .sticky-bar-text p {
    font-size: 0.75rem;
  }

  .sticky-bar-avatar {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* --- Phone (≤ 480px) --- */
@media (max-width: 480px) {

  /* Container → tighter padding */
  .container {
    padding: 0 16px;
  }

  /* Typography → smaller */
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    padding: 100px 0 40px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  /* Hide node graph on mobile */
  .hero-visual {
    display: none;
  }

  .node-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .node-center .node-icon {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .node-label {
    font-size: 0.55rem;
  }

  /* Metrics → full width */
  .metrics-bar {
    padding: 24px 0;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  /* Social proof */
  .social-proof {
    padding: 24px 0;
  }

  .social-proof-label {
    font-size: 0.7rem;
    margin-bottom: 16px;
  }

  .logos-grid {
    gap: 16px;
  }

  .logo-placeholder {
    font-size: 0.8rem;
  }

  /* Benefits */
  .benefits {
    padding: 48px 0;
  }

  .benefit-section {
    padding: 24px 0;
    gap: 20px;
  }

  .benefit-visual {
    font-size: 2.5rem;
    aspect-ratio: 16/10;
  }

  .btn-ghost {
    font-size: 0.9rem;
  }

  /* How it works */
  .how-it-works {
    padding: 48px 0;
  }

  .how-it-works .section-subtitle {
    margin-bottom: 32px;
    font-size: 0.9rem;
  }

  .step {
    padding: 24px 16px;
    border-radius: 12px;
  }


  /* Testimonials */
  .testimonials {
    padding: 48px 0;
  }

  .testimonial-card {
    padding: 20px;
    border-radius: 12px;
  }

  .testimonial-card blockquote {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .testimonial-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .testimonial-meta .name {
    font-size: 0.8rem;
  }

  .testimonial-meta .role {
    font-size: 0.7rem;
  }

  /* FAQ */
  .faq {
    padding: 48px 0;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 16px 0;
  }

  .faq-icon {
    font-size: 1.2rem;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  /* Final CTA */
  .final-cta {
    padding: 48px 0;
  }

  .final-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .badge-urgency {
    font-size: 0.7rem;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  /* Popup → smaller */
  .popup-card {
    padding: 24px 16px;
    width: 95%;
  }

  .popup-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  /* Slide-in → tighter */
  .slide-in {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 12px;
    padding: 20px 16px;
  }

  .slide-in h4 {
    font-size: 0.9rem;
  }

  .slide-in p {
    font-size: 0.8rem;
  }

  .slide-in .btn {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  /* Sticky bar → compact */
  .sticky-bar .btn {
    font-size: 0.8rem;
    padding: 10px 16px;
    width: 100%;
    justify-content: center;
  }
}

/* --- Extra small phone (≤ 360px) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .hero {
    padding: 90px 0 32px;
  }

  .node-graph {
    max-width: 200px;
  }

  .node-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .node-center .node-icon {
    width: 44px;
    height: 44px;
  }

  .metrics-grid {
    gap: 12px;
  }

  .metric-value {
    font-size: 1.3rem;
  }


  .popup-card {
    padding: 20px 14px;
  }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-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 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* --- Reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Touch-friendly tap targets --- */
@media (pointer: coarse) {
  .btn {
    min-height: 48px;
  }

  .faq-question {
    min-height: 56px;
  }

  .nav-hamburger {
    min-width: 48px;
    min-height: 48px;
  }

  .popup-close,
  .slide-in-close,
  .sticky-bar-close {
    min-width: 44px;
    min-height: 44px;
  }
}