/* ========================================
   DETETIVE SOCIAL — Design System
   Tema escuro hacker
   ======================================== */

:root {
  --primary: #39FF88;
  --primary-dark: #2BD96F;
  --primary-light: rgba(57, 255, 136, 0.08);
  --primary-glow: rgba(57, 255, 136, 0.35);
  --primary-border: rgba(57, 255, 136, 0.4);
  --primary-border-light: rgba(57, 255, 136, 0.2);
  --bg: #101114;
  --bg-card: #18181f;
  --bg-elevated: #1e1e28;
  --text-main: #F5F7F8;
  --text-secondary: #A9B0BC;
  --text-muted: #6b7280;
  --border: rgba(169, 176, 188, 0.12);
  --border-light: rgba(169, 176, 188, 0.08);
  --radius-card: clamp(18px, 4vw, 28px);
  --radius-btn: clamp(12px, 3vw, 16px);
  --radius-input: 14px;
  --shadow-card: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px -10px rgba(57, 255, 136, 0.06);
  --shadow-btn: 0 10px 24px -4px var(--primary-glow), inset 0 1px 0 rgba(255,255,255, 0.08);
  --font: 'Arial', 'Helvetica Neue', Helvetica, system-ui, sans-serif;
  --gradient: linear-gradient(135deg, var(--primary) 0%, #20c997 100%);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* ---- Canvas background ---- */
#bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

/* ---- Scan line overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(57, 255, 136, 0.015) 2px,
    rgba(57, 255, 136, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ---- Vignette ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---- Layout ---- */
.page-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: clamp(16px, 4vw, 32px);
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--bg-card);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 6vw, 56px) clamp(20px, 5vw, 48px);
  animation: card-in 0.3s ease-out;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0.6;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Logo ---- */
.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 4vw, 28px);
}

.logo {
  width: clamp(72px, 14vw, 96px);
  height: clamp(72px, 14vw, 96px);
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: logo-float 3s ease-in-out infinite;
}

.logo::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  z-index: -1;
  animation: logo-pulse 2.5s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo svg {
  width: 70%;
  height: 70%;
  position: relative;
  z-index: 1;
}

/* ---- Brand name ---- */
.brand-name {
  text-align: center;
  font-size: clamp(14px, 3vw, 16px);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: -8px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px var(--primary-glow);
}

/* ---- Typography ---- */
.headline {
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: clamp(10px, 2.5vw, 16px);
  color: var(--text-main);
}

.headline .hl {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  text-shadow: 0 0 30px var(--primary-glow);
}

.subtitle {
  font-size: clamp(15px, 3.4vw, 19px);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: clamp(22px, 5vw, 34px);
  line-height: 1.35;
}

.subtitle .hl {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  font-weight: 600;
}

/* ---- Buttons ---- */
.btn-primary {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  user-select: none;
  background: var(--gradient);
  color: #101114;
  font-family: var(--font);
  font-size: clamp(13px, 3.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  padding: clamp(16px, 4vw, 20px) 16px;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -4px rgba(57,255,136,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:active { transform: scale(0.98); }

.btn-primary .btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.btn-primary .btn-icon svg {
  width: 20px;
  height: 20px;
}

/* shimmer */
.btn-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* ---- Input group ---- */
.input-group {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  padding: 4px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.12);
}

.input-prefix {
  padding: 0 8px 0 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

.input-group input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-main);
  background: transparent;
  padding: 12px 4px;
  min-width: 0;
}

.input-group input::placeholder { color: var(--text-muted); }

.input-submit {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--gradient);
  color: #101114;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.input-submit:hover { transform: scale(1.05); }
.input-submit:active { transform: scale(0.95); }
.input-submit:disabled { opacity: 0.3; cursor: not-allowed; }

.input-submit svg { width: 20px; height: 20px; }

/* ---- Trust badges ---- */
.badges {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  margin-bottom: 0;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border-light);
  border-radius: 20px;
}

.badge svg {
  width: 12px;
  height: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.badge span {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ---- Social proof counter ---- */
.counter {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.counter strong {
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* ---- Footer links ---- */
.footer-links {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ---- State transitions ---- */
#state-home, #state-input, #state-loading, #state-confirm {
  animation: state-fade-in 0.4s ease-out;
}

@keyframes state-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Confirmation screen ---- */
.confirm-wrap {
  text-align: center;
}

.confirm-title {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: clamp(16px, 4vw, 24px);
  letter-spacing: -0.02em;
}

.confirm-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(16px, 4vw, 24px);
  margin-bottom: clamp(18px, 4vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: confirm-card-in 0.5s ease-out 0.1s both;
}

@keyframes confirm-card-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.confirm-avatar {
  width: clamp(72px, 16vw, 96px);
  height: clamp(72px, 16vw, 96px);
  border-radius: 50%;
  background: var(--primary-light);
  border: 3px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.confirm-avatar svg {
  width: 40%;
  height: 40%;
  color: var(--primary);
}

.confirm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.confirm-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.confirm-name {
  font-size: clamp(17px, 4vw, 20px);
  font-weight: 700;
  color: var(--text-main);
}

.confirm-handle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.confirm-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 6px;
  max-width: 280px;
  text-align: center;
  word-break: break-word;
}

.confirm-stats {
  display: flex;
  gap: clamp(12px, 4vw, 24px);
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.confirm-stats span {
  font-size: 14px;
  color: var(--text-secondary);
}

.confirm-stats strong {
  font-weight: 700;
  color: var(--text-main);
}

.confirm-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-confirm-yes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--gradient);
  color: #101114;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 16px;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.btn-confirm-yes:hover { transform: translateY(-1px); }
.btn-confirm-yes:active { transform: scale(0.98); }

.btn-confirm-yes svg {
  width: 20px;
  height: 20px;
}

.btn-confirm-no {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1.5px solid var(--border);
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 14px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-confirm-no:hover { border-color: var(--primary); color: var(--primary); }
.btn-confirm-no:active { transform: scale(0.98); }

.btn-confirm-no svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   DEMO PAGE — resultado.html
   ============================================ */

.demo-page { background: var(--bg); }

.demo-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.demo-avatar svg { width: 20px; height: 20px; color: var(--primary); }

.demo-username {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
}

.demo-tabs {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}

.demo-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.demo-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.demo-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-item {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 90px;
}

.demo-item-blur {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
}

.demo-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 17, 20, 0.6);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.demo-lock-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-lock-icon svg { width: 20px; height: 20px; color: var(--primary); }

.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
}

.demo-stat {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px 8px;
  text-align: center;
}

.demo-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.demo-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* IP notice */
.ip-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border-light);
  border-radius: 10px;
  margin-bottom: 16px;
  animation: state-fade-in 0.4s ease-out;
}

.ip-notice span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.ip-notice strong {
  color: var(--primary);
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* progress */
.demo-progress-wrap {
  text-align: center;
  padding: 32px 16px;
}

.demo-progress-bar {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0;
}

.demo-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 10px var(--primary-glow);
}

.demo-progress-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.demo-progress-pct {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-shadow: 0 0 20px var(--primary-glow);
  font-family: 'Courier New', monospace;
}

/* fixed bottom CTA */
.demo-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.demo-cta-bar.visible { transform: translateY(0); }
.demo-cta-bar .btn-primary { font-size: 14px; padding: 14px 16px; }

/* ============================================
   OFFER PAGE — oferta.html
   ============================================ */

.offer-page {
  background: var(--bg);
}

/* Timer bar */
.timer-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timer-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.35;
  flex: 1;
}

.timer-text strong {
  font-weight: 900;
  display: block;
}

.timer-text .timer-count {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 8px var(--primary-glow);
}

.timer-btn {
  flex-shrink: 0;
  background: var(--gradient);
  color: #101114;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px var(--primary-glow);
  transition: transform 0.15s;
}

.timer-btn:hover { transform: translateY(-1px); }

/* offer container */
.offer-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px 100px;
}

/* section titles */
.offer-section-title {
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.25;
  color: var(--text-main);
}

.offer-section-title .hl {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  text-shadow: 0 0 20px var(--primary-glow);
}

/* Profile card */
.profile-card {
  background: var(--bg-card);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(57, 255, 136, 0.05);
  padding: 20px;
  margin-bottom: 24px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-avatar svg { width: 28px; height: 28px; color: var(--primary); }

.profile-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.profile-handle {
  font-size: 14px;
  color: var(--text-muted);
}

.profile-stats-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.profile-stat-item { text-align: center; }
.profile-stat-item strong { font-size: 15px; font-weight: 700; color: var(--text-main); }
.profile-stat-item span { font-size: 12px; color: var(--text-muted); margin-left: 2px; }

.profile-badge {
  margin-top: 14px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border-light);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}

.profile-badge strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

/* Scroll arrow */
.scroll-arrow {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  animation: bounce-arrow 1.5s ease infinite;
}

.scroll-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  opacity: 0.5;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Features */
.features-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 24px;
}

.feature-item {
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.feature-item:last-child { border-bottom: none; }

.feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.feature-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrap svg { width: 18px; height: 18px; color: var(--primary); stroke: var(--primary); }

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  padding-left: 46px;
}

/* Chat simulation */
.chat-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 24px;
  overflow: hidden;
}

.chat-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-avatar svg { width: 16px; height: 16px; color: var(--primary); }

.chat-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

.chat-status {
  font-size: 11px;
  color: var(--primary);
}

.chat-sim {
  padding: 14px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  animation: bubble-in 0.3s ease;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble.received {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.sent {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  align-self: flex-start;
}

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

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

@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  padding: 20px;
  margin-bottom: 24px;
}

.testimonials-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-main);
}

.testimonial {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.testimonial:last-child { margin-bottom: 0; }

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar svg { width: 18px; height: 18px; color: var(--primary); }

.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text-main); }
.testimonial-time { font-size: 12px; color: var(--text-muted); margin-left: auto; }

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Pricing section */
.pricing-box {
  background: var(--bg-card);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 0 40px rgba(57, 255, 136, 0.05);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}

.pricing-old {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-old s { margin-right: 6px; }

.pricing-off {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  font-style: italic;
  text-shadow: 0 0 10px var(--primary-glow);
}

.pricing-current {
  font-size: clamp(40px, 10vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: var(--primary);
  text-shadow: 0 0 30px var(--primary-glow);
}

.pricing-cents {
  font-size: 0.5em;
  vertical-align: super;
  letter-spacing: 0;
}

/* sliding notes */
.pricing-notes {
  overflow: hidden;
  margin: 10px 0 18px;
  height: 22px;
}

.pricing-notes-track {
  display: flex;
  gap: 24px;
  animation: slide-notes 12s linear infinite;
  white-space: nowrap;
}

.pricing-note-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-note-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

@keyframes slide-notes {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* benefit list */
.pricing-benefits {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-main);
}

.pricing-benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA in pricing */
.pricing-cta {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
}

.pricing-cta-main {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.pricing-cta-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

/* FAQ */
.faq-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  padding: 20px;
  margin-bottom: 24px;
}

.faq-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  color: var(--text-main);
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}

.faq-item:last-child { margin-bottom: 0; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

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

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

.faq-answer-inner {
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Guarantee */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guarantee svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  flex-shrink: 0;
}

.guarantee p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.guarantee strong {
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  color: var(--text-main);
}

/* ---- Glitch text effect ---- */
@keyframes glitch {
  0%, 100% { text-shadow: 0 0 20px var(--primary-glow); }
  20% { text-shadow: -2px 0 var(--primary), 2px 0 #ff0080; }
  40% { text-shadow: 2px 0 var(--primary), -2px 0 #ff0080; }
  60% { text-shadow: 0 0 20px var(--primary-glow); }
  80% { text-shadow: -1px 0 var(--primary), 1px 0 #00ffff; }
}

.glitch-text {
  animation: glitch 4s ease-in-out infinite;
}

/* ---- Flicker animation ---- */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  3% { opacity: 0.8; }
  6% { opacity: 1; }
  7% { opacity: 0.6; }
  8% { opacity: 1; }
  50% { opacity: 1; }
  52% { opacity: 0.9; }
  53% { opacity: 1; }
}

/* Responsive */
@media (min-width: 480px) {
  .offer-wrap { padding: 24px 20px 100px; }
}
