/* =============================================
   ZapGenius LANDING PAGE — style.css (v2)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --green: #25D366;
  --green-dark: #1aaa50;
  --green-glow: rgba(37, 211, 102, 0.3);
  --bg: #08090d;
  --bg-card: #0f1219;
  --bg-card2: #141a26;
  --text: #e4eaf4;
  --text-muted: #6b7a96;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 14px;
  --radius-sm: 10px;
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
  --bg: #ffffff;
  --bg-card: #f8fafc;
  --bg-card2: #f1f5f9;
  --text: #020617;
  --text-muted: #475569;
  --border: rgba(0, 0, 0, 0.1);
}

body.light-mode .chat-msg.in {
  background: #dcfce7;
  color: #166534;
}

body.light-mode .chat-msg.out {
  background: #e0e7ff;
  color: #3730a3;
}

body.light-mode .chat-typing {
  background: #f1f5f9;
}

body.light-mode .pricing-card.featured {
  background: #020617;
  color: #ffffff;
}

body.light-mode .pricing-card.featured .plan-target,
body.light-mode .pricing-card.featured .plan-features li,
body.light-mode .pricing-card.featured .price-period {
  color: #94a3b8;
}

body.light-mode .pricing-card.featured .price-value {
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

address {
  font-style: normal;
}

.container {
  width: min(1160px, 94%);
  margin: 0 auto;
}

section {
  padding: 6rem 0;
}

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

.text-green {
  color: var(--green);
}

/* ---------- TYPOGRAPHY ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(37, 211, 102, 0.1);
  color: var(--green);
  border: 1px solid rgba(37, 211, 102, 0.25);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 0 20px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--green-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  font-size: .8rem;
  padding: .5rem 1.1rem;
}

.btn-md {
  font-size: .9rem;
  padding: .7rem 1.6rem;
}

.btn-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--t);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(8, 9, 13, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), box-shadow var(--t);
}

.navbar.scrolled {
  background: rgba(8, 9, 13, 0.92);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.logo-mark {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #fff, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .875rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--t);
}

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

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

.hero-glow-left {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-right {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

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

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  letter-spacing: .04em;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .35
  }
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.3rem;
}

/* Rotating text */
.text-rotate-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 3ch;
}

.text-rotate {
  color: var(--green);
  display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
}

.text-rotate.fade-out {
  opacity: 0;
  transform: translateY(-14px);
}

.text-rotate.fade-in {
  opacity: 0;
  transform: translateY(14px);
}

.text-rotate.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--text-muted);
}

.trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero right column */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stats-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1.1rem;
  transition: border-color var(--t);
}

.stat-pill:hover {
  border-color: rgba(37, 211, 102, 0.25);
}

.stat-big {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
  min-width: 60px;
}

.stat-caption {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Chat mockup */
.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}

.mockup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #059669);
  flex-shrink: 0;
}

.mockup-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mockup-name {
  font-size: .82rem;
  font-weight: 700;
}

.mockup-status {
  font-size: .68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.mockup-body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 120px;
}

.chat-msg {
  padding: .45rem .75rem;
  border-radius: 12px;
  font-size: .78rem;
  max-width: 85%;
  line-height: 1.45;
}

.chat-msg.in {
  background: rgba(37, 211, 102, 0.1);
  color: #a7f3d0;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-msg.out {
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: .45rem .75rem;
  background: rgba(37, 211, 102, 0.08);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: typeBounce 1.2s ease-in-out infinite;
  opacity: .7;
}

.chat-typing span:nth-child(2) {
  animation-delay: .18s;
}

.chat-typing span:nth-child(3) {
  animation-delay: .36s;
}

@keyframes typeBounce {

  0%,
  60%,
  100% {
    transform: translateY(0)
  }

  30% {
    transform: translateY(-5px)
  }
}

/* ---------- FEATURES (Autoridade) ---------- */
.authority {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card2);
  padding: 2rem 1.6rem;
  text-align: left;
  transition: background var(--t);
  position: relative;
}

.feature-card:hover {
  background: #1a2237;
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--green);
  transition: background var(--t);
}

.feature-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(37, 211, 102, 0.18);
}

.feature-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

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

/* ---------- PROBLEMA × SOLUÇÃO ---------- */
.solution {
  text-align: center;
}

.ps-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 2.5rem auto 0;
}

.ps-card {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  text-align: left;
  transition: border-color var(--t);
}

.ps-card:hover {
  border-color: rgba(37, 211, 102, 0.2);
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}

.pain-badge {
  background: rgba(239, 68, 68, .12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, .2);
}

.sol-badge {
  background: rgba(37, 211, 102, .1);
  color: var(--green);
  border: 1px solid rgba(37, 211, 102, .2);
}

.ps-pain-text {
  font-size: .88rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.ps-right h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.ps-right p {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.ps-divider {
  display: flex;
  justify-content: center;
  color: var(--text-muted);
}

.ps-divider svg {
  width: 22px;
  height: 22px;
}

/* ---------- SOCIAL PROOF ---------- */
.social-proof {
  text-align: center;
}

.market-stat {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.15);
  border-radius: var(--radius);
  padding: 1.8rem 2.2rem;
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: left;
}

.market-stat-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
}

.market-stat-num span {
  font-size: 2rem;
}

.market-stat p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: left;
  transition: border-color var(--t);
}

.testimonial-card.featured {
  border-color: rgba(37, 211, 102, 0.3);
}

.testimonial-card:hover {
  border-color: rgba(37, 211, 102, 0.25);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: .9rem;
}

blockquote {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.3rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .75rem;
  flex-shrink: 0;
}

.av-blue {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff;
}

.av-green {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
}

.author-name {
  font-size: .85rem;
  font-weight: 700;
}

.author-role {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ---------- PRICING ---------- */
.pricing {
  text-align: center;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--t);
}

.toggle-label.active {
  color: var(--text);
}

.discount-badge {
  background: var(--green-glow);
  color: var(--green);
  font-size: .7rem;
  padding: .15rem .5rem;
  border-radius: 99px;
  margin-left: .2rem;
}

.pricing-toggle {
  width: 48px;
  height: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  transition: background var(--t);
}

.pricing-toggle .toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--t);
}

.pricing-toggle.yearly {
  background: var(--green);
}

.pricing-toggle.yearly .toggle-dot {
  left: 27px;
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 0 auto 3rem;
  max-width: 820px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(37, 211, 102, 0.2);
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: rgba(15, 18, 25, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.05);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
  border-color: var(--green);
}

.ribbon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--green);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 99px;
  letter-spacing: .05em;
}

.card-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

.plan-target {
  font-size: .82rem;
  color: var(--text-muted);
}

.plan-price {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: .2rem;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  transition: all 0.3s ease;
}

.price-period {
  font-size: .88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  color: var(--text-muted);
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

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

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text-muted);
}

.pricing-guarantee svg {
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq {
  text-align: center;
}

.faq-container {
  max-width: 720px;
}

.faq-list {
  margin-top: 2.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.faq-item {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item.open {
  border-color: rgba(37, 211, 102, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--green);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t), color var(--t);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

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

.faq-answer p {
  padding: 0 1.4rem 1.1rem;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 280px;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 8rem 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  margin-bottom: .9rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.cta-sub {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-support {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .9rem;
  letter-spacing: .01em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #050710;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: .8rem;
}

.footer-brand p {
  font-size: .83rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: .6rem;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t);
}

.footer-socials a:hover {
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--green);
  background: rgba(37, 211, 102, 0.07);
}

.footer-socials svg {
  width: 15px;
  height: 15px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  font-size: .83rem;
  color: var(--text-muted);
  transition: color var(--t);
}

.footer-links a:hover {
  color: var(--green);
}

.footer-contact address p {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.footer-contact a {
  color: var(--green);
}

.footer-contact a:hover {
  opacity: .8;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  text-align: center;
  font-size: .76rem;
  color: var(--text-muted);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--t), box-shadow var(--t);
}

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

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--t), background var(--t);
  cursor: pointer;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--bg-card);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

body.light-mode .theme-toggle .sun-icon { display: block; }
body.light-mode .theme-toggle .moon-icon { display: none; }

/* ---------- SCROLL REVEAL ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

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

  .hero-stats-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-pill {
    flex: 1 0 auto;
    min-width: 130px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .ps-card {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .ps-divider {
    display: none;
  }

  .market-stat {
    flex-direction: column;
    gap: .8rem;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 9, 13, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

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

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
 
  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
  }
 
  .feature-icon-wrap {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }
 
  .feature-card h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
  }
}

/* ---------- MODAL POPUP ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--green-glow);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
