/* ============================================
   RevelaZap — Sales Landing Page
   Premium Design System · Emerald & Dark Slate
   ============================================ */

/* ---- Tokens ---- */
:root {
  --bg-base: #020617;
  --bg-surface: #0f172a;
  --bg-elevated: #1e293b;
  --bg-hover: #334155;
  --bg-glass: rgba(15, 23, 42, 0.65);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent: #10b981;
  --accent-light: #34d399;
  --accent-hover: #059669;
  --accent-subtle: rgba(16, 185, 129, 0.15);
  --accent-glow: rgba(16, 185, 129, 0.35);

  --danger: #ef4444;

  --border: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(148, 163, 184, 0.25);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px var(--accent-glow);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: 'Outfit', sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Gradient Text ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-light), var(--accent), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section Tags ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-subtle);
  color: var(--accent-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

.btn-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow), var(--shadow-sm); }
  50% { box-shadow: 0 0 20px 4px var(--accent-glow), var(--shadow-md); }
}

/* ---- Live Dot ---- */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.6; box-shadow: 0 0 8px 3px var(--accent-glow); }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.navbar-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.navbar-logo .brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover { color: var(--text-primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after { width: 100%; }

.btn-nav {
  padding: 0.5rem 1.2rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-full);
}

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

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  #nav-login { display: none; }
}

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

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  top: -10%;
  left: -10%;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%);
  bottom: -15%;
  right: -10%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-light);
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-price-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.social-proof-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   PROBLEM / DOR
   ============================================ */
.problem {
  padding: 6rem 0;
  position: relative;
}

.problem-content {
  text-align: center;
  margin-bottom: 3rem;
}

.problem-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Phone Mockup */
.phone-mockup {
  width: 300px;
  max-width: 100%;
  background: var(--bg-surface);
  border-radius: 28px;
  border: 2px solid var(--border);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 100px;
  height: 22px;
  background: var(--bg-base);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 0.5rem;
}

.chat-header-mock {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.chat-avatar-mock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f472b6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.chat-name-mock {
  font-size: 0.85rem;
  font-weight: 600;
}

.chat-messages-mock {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 0.25rem 0.25rem;
}

.msg-mock {
  max-width: 80%;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  animation: msgAppear 0.5s ease both;
}

.msg-mock.sent {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-mock.received {
  align-self: flex-start;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.msg-mock:nth-child(1) { animation-delay: 0.3s; }
.msg-mock:nth-child(2) { animation-delay: 0.8s; }
.msg-mock:nth-child(3) { animation-delay: 1.3s; }

.msg-mock-deleted {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px dashed rgba(148, 163, 184, 0.15);
  animation: msgAppear 0.5s ease 2s both;
}

.msg-mock-deleted svg { opacity: 0.5; }

@keyframes msgAppear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.problem-caption {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================
   DEMO INTERATIVA
   ============================================ */
.demo {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.02), transparent);
}

.demo-header {
  text-align: center;
  margin-bottom: 3rem;
}

.demo-card-wrapper {
  display: flex;
  justify-content: center;
  perspective: 800px;
  margin-bottom: 2rem;
}

.demo-card {
  width: 340px;
  max-width: 100%;
  height: 280px;
  cursor: pointer;
}

.demo-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.demo-card.flipped .demo-card-inner {
  transform: rotateY(180deg);
}

.demo-card-front,
.demo-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.demo-card-front {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.demo-card-front .tap-icon {
  color: var(--accent);
  animation: tapBounce 2s ease-in-out infinite;
}

@keyframes tapBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.demo-card-front p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tap-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.demo-card-back {
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.1);
  transform: rotateY(180deg);
}

.revealed-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-subtle);
  color: var(--accent-light);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.revealed-msg {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.6;
  font-style: italic;
}

.revealed-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.demo-result {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-slow);
  pointer-events: none;
}

.demo-result.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.demo-result p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
.how-it-works {
  padding: 6rem 0;
}

.how-header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent-light);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 4rem;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .step-card { max-width: 320px; }
}

/* ============================================
   BENEFÍCIOS
   ============================================ */
.benefits {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.015), transparent);
}

.benefits-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.benefit-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

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

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

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

/* ============================================
   PLANOS / PRICING
   ============================================ */
.pricing {
  padding: 6rem 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.plans-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.plan-card {
  flex: 1;
  max-width: 380px;
  min-width: 280px;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-card.recommended {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05), var(--bg-surface));
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.08);
}

.plan-card.recommended:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.15);
}

.plan-badge-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 0 15px var(--accent-glow);
}

.plan-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.plan-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-icon-circle.basic {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.plan-icon-circle.pro {
  background: var(--accent-subtle);
  color: var(--accent-light);
}

.plan-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.plan-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.plan-price-cents {
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.plan-features-list li.included {
  color: var(--text-primary);
}

.plan-features-list li.included svg {
  color: var(--accent);
  flex-shrink: 0;
}

.plan-features-list li.included.highlight {
  color: var(--accent-light);
  font-weight: 600;
}

.plan-features-list li.excluded {
  color: var(--text-muted);
}

.plan-features-list li.excluded svg {
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.5;
}

.pricing-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-footer svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   PROVA SOCIAL
   ============================================ */
.social-proof {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.02), transparent);
}

.social-header {
  text-align: center;
  margin-bottom: 3rem;
}

.social-counter {
  text-align: center;
  margin-bottom: 3.5rem;
}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.counter-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

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

.testimonial-card {
  padding: 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.testimonial-stars {
  font-size: 1rem;
  color: #fbbf24;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  font-size: 0.875rem;
  display: block;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 6rem 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.faq-item.open {
  border-color: var(--accent);
}

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

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

.faq-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-normal), color var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
.final-cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-cta-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.1), transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.final-cta-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.final-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}

.final-cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
}

.final-cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.footer-brand .brand-text {
  font-size: 1rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   REVEAL ON SCROLL ANIMATION
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Apply staggered delay via CSS variable */
.reveal-on-scroll[style*="--delay"] {
  transition-delay: var(--delay);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .hero { padding: 7rem 0 4rem; }
  .hero-title { font-size: 2rem; }

  .phone-mockup { width: 260px; }

  .demo-card {
    width: 100%;
    height: 260px;
  }

  .plan-card { min-width: auto; }
}
