/* ==========================================================================
   CONSULTOR JET MANUAIS — MOBILE-FIRST DESIGN SYSTEM & STYLESHEET
   Aesthetics: Modern Nautical Navy, Emerald Brand Accents (#10b981), Cyan Accents (#0ea5e9)
   Typography: Plus Jakarta Sans & JetBrains Mono
   Architecture: 100% Mobile-First & Overflow-Proof
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #060b14;
  --bg-surface-1: #0a1322;
  --bg-surface-2: #101c33;
  --bg-surface-3: #182846;
  --bg-glass: rgba(16, 28, 51, 0.8);
  --bg-glass-card: rgba(14, 23, 42, 0.9);

  --brand-primary: #10b981;
  --brand-primary-hover: #059669;
  --brand-primary-light: #34d399;
  --brand-glow: rgba(16, 185, 129, 0.25);

  --cyan-accent: #0ea5e9;
  --cyan-light: #38bdf8;
  --cyan-glow: rgba(14, 165, 233, 0.2);

  --telegram-blue: #229ED9;
  --telegram-dark: #1b7fb0;
  --telegram-glow: rgba(34, 158, 217, 0.3);

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

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.3);
  --border-focus: rgba(14, 165, 233, 0.5);

  /* Shadows & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--brand-glow);
  --shadow-telegram: 0 8px 25px var(--telegram-glow);

  /* Transitions */
  --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-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   GLOBAL RESET & OVERFLOW DEFENSE (MOBILE-FIRST)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0; /* Prevents flex and grid items from expanding beyond parent */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  color-scheme: dark;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.55;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Ambient Background Light */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 10%;
  width: 80vw;
  height: 50vh;
  max-width: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(16, 185, 129, 0.03) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Typography & Base Elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}

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

/* Fluid Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--brand-primary-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  max-width: 100%;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(1.45rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Gradients */
.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS (MOBILE-FIRST)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.btn:active {
  transform: scale(0.98);
}

.btn-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #1987ba 100%);
  color: #ffffff;
  box-shadow: var(--shadow-telegram);
}

.btn-telegram:hover {
  background: linear-gradient(135deg, #28b0f2 0%, #229ED9 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 158, 217, 0.45);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

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

.btn-secondary:hover {
  background: var(--bg-surface-3);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  width: auto;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.98rem;
}

@media (min-width: 640px) {
  .btn {
    width: auto;
  }
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background-color: var(--brand-primary);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background-color: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 12px 0;
  transition: all var(--transition-normal);
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 11, 20, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-logo span {
  color: #ffffff;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-logo .logo-accent {
  color: var(--brand-primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

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

.nav-actions .btn-telegram {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(6, 11, 20, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 20px 24px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
  .nav-actions .btn-telegram {
    display: inline-flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   HERO SECTION (MOBILE-FIRST)
   ========================================================================== */
.hero-section {
  padding-top: 85px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.hero-content {
  width: 100%;
  text-align: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 14px;
  max-width: 100%;
  line-height: 1.3;
}

.hero-title {
  font-size: clamp(1.6rem, 5.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
  text-align: center;
}

.hero-description {
  font-size: clamp(0.9rem, 2.5vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  width: 100%;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  width: 100%;
}

.hero-trust-bar span {
  white-space: nowrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(10, 19, 34, 0.5);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-value {
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 130px;
    padding-bottom: 80px;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
  }
  .hero-content {
    text-align: left;
  }
  .live-badge {
    justify-content: flex-start;
  }
  .hero-title {
    text-align: left;
  }
  .hero-description {
    text-align: left;
  }
  .hero-ctas {
    justify-content: flex-start;
  }
  .metric-item {
    align-items: flex-start;
    text-align: left;
    background: none;
    padding: 0;
    border: none;
  }
}

/* ==========================================================================
   TELEGRAM BOT SIMULATOR (MOBILE-FIRST)
   ========================================================================== */
.simulator-wrapper {
  position: relative;
  width: 100%;
}

.simulator-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  background: radial-gradient(circle, rgba(34, 158, 217, 0.18) 0%, rgba(16, 185, 129, 0.1) 50%, transparent 80%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.telegram-device {
  position: relative;
  z-index: 1;
  background: #17212b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 158, 217, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 480px;
}

@media (min-width: 768px) {
  .telegram-device {
    height: 540px;
  }
}

/* Telegram Header */
.tg-header {
  background: #242f3d;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.tg-bot-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tg-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tg-name-wrap h4 {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tg-verified-icon {
  color: #38bdf8;
  font-size: 0.75rem;
}

.tg-status {
  font-size: 0.7rem;
  color: #34d399;
  font-weight: 500;
}

.tg-actions-top {
  display: flex;
  gap: 10px;
  color: #6c7883;
  font-size: 0.85rem;
}

/* Telegram Chat Feed */
.tg-body {
  flex: 1;
  background-color: #0e1621;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tg-body::-webkit-scrollbar {
  width: 4px;
}

.tg-body::-webkit-scrollbar-thumb {
  background: #242f3d;
  border-radius: 2px;
}

.tg-date-pill {
  align-self: center;
  background: rgba(0, 0, 0, 0.4);
  color: #708499;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 2px;
}

/* Chat Bubbles */
.tg-msg {
  max-width: 92%;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.42;
  position: relative;
  animation: fadeInMsg 0.3s ease-out;
  word-break: normal;
  overflow-wrap: break-word;
}

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

.tg-msg-bot {
  align-self: flex-start;
  background: #182533;
  color: #f5f5f5;
  border-bottom-left-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-msg-user {
  align-self: flex-end;
  background: #2b5278;
  color: #ffffff;
  border-bottom-right-radius: 3px;
}

.tg-msg-time {
  font-size: 0.62rem;
  color: #708499;
  float: right;
  margin-left: 6px;
  margin-top: 4px;
}

.tg-inline-card {
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px;
}

.tg-inline-btn {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #229ED9;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 5px;
  text-align: center;
  transition: background var(--transition-fast);
}

.tg-inline-btn:hover {
  background: #28b0f2;
}

/* Quick Prompts Chips inside Simulator */
.tg-quick-prompts {
  display: flex;
  gap: 6px;
  padding: 7px 10px;
  background: #17212b;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  cursor: grab;
  user-select: none;
}

.tg-quick-prompts.active-drag {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.tg-quick-prompts::-webkit-scrollbar {
  height: 4px;
}

.tg-quick-prompts::-webkit-scrollbar-track {
  background: transparent;
}

.tg-quick-prompts::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.tg-quick-prompts::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}

.tg-chip {
  background: #242f3d;
  color: #8b9baa;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.tg-chip:hover {
  background: #2b5278;
  color: #ffffff;
  border-color: #38bdf8;
}

/* Simulator Input Footer */
.tg-input-area {
  background: #17212b;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-input-field {
  flex: 1;
  background: #242f3d;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 7px 12px;
  color: #ffffff;
  font-size: 0.82rem;
  outline: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.tg-input-field:focus {
  border-color: #229ED9;
}

.tg-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #229ED9;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE ACERVO SEARCH & EXPLORER (MOBILE-FIRST)
   ========================================================================== */
.acervo-section {
  padding: 60px 0;
  position: relative;
}

.search-box-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.search-icon-inside {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.search-input-field {
  width: 100%;
  background: var(--bg-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px 12px 42px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.search-input-field:focus {
  border-color: var(--brand-primary);
  background: var(--bg-surface-3);
  box-shadow: 0 0 14px var(--brand-glow);
}

.search-input-field::placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Brand Filter Chips */
.brand-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.filter-btn:hover {
  background: var(--bg-surface-3);
  color: var(--text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 10px var(--brand-glow);
}

/* Results Stats & Info */
.results-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 6px;
}

.results-count-badge {
  font-weight: 700;
  color: var(--brand-primary-light);
  font-family: 'JetBrains Mono', monospace;
}

/* Manuals Grid */
.manuals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.manual-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.manual-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.1);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.card-brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-seadoo { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-yamaha { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-kawasaki { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-polaris { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-honda { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-guias { background: rgba(14, 165, 233, 0.15); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.3); }
.badge-taiga { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.3); }

.card-doc-type {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.card-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.btn-card-plan {
  flex: 1.15;
  background: var(--brand-primary);
  color: #060b14;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.btn-card-plan:hover {
  background: var(--brand-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--brand-glow);
}

.btn-card-tg {
  flex: 0.85;
  background: var(--bg-surface-2);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.btn-card-tg:hover {
  background: rgba(34, 158, 217, 0.2);
  color: #38bdf8;
  border-color: rgba(34, 158, 217, 0.4);
}

.load-more-wrap {
  text-align: center;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .manuals-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
  }
}

/* ==========================================================================
   FEATURES SECTION (MOBILE-FIRST)
   ========================================================================== */
.features-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #0a1322 50%, var(--bg-main) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.feature-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: all var(--transition-normal);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.12);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ==========================================================================
   ROI CALCULATOR (MOBILE-FIRST)
   ========================================================================== */
.calculator-section {
  padding: 60px 0;
}

.calc-card {
  background: linear-gradient(135deg, #0c172a 0%, #111f38 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.calc-input-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  gap: 6px;
}

.calc-val-badge {
  color: var(--brand-primary-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface-3);
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--brand-glow);
}

.calc-result-box {
  background: rgba(6, 11, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.calc-stat-block .stat-num {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-primary);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}

.calc-stat-block .stat-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

@media (min-width: 992px) {
  .calc-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    padding: 36px;
  }
}

/* ==========================================================================
   HOW IT WORKS (MOBILE-FIRST)
   ========================================================================== */
.steps-section {
  padding: 60px 0;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.step-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.step-num-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   PRICING & PLANS (MOBILE-FIRST)
   ========================================================================== */
.pricing-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, #0a1426 50%, var(--bg-main) 100%);
}

/* Bonuses Stack */
.bonuses-wrapper {
  margin-bottom: 40px;
  background: rgba(14, 28, 54, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
}

.bonuses-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 24px auto;
}

.bonuses-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.bonuses-title {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.bonuses-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.bonuses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .bonuses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bonus-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(10, 19, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
}

.bonus-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
  background: rgba(10, 19, 36, 0.9);
}

.bonus-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.1);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.bonus-tag {
  font-size: 0.66rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 2px;
}

.bonus-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bonus-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Guarantee Box */
.guarantee-box {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 19, 36, 0.8) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .guarantee-box {
    flex-direction: row;
    text-align: left;
    padding: 24px 28px;
  }
}

.guarantee-badge-icon {
  color: #34d399;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.15);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.guarantee-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.guarantee-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  background: linear-gradient(145deg, #0e1c36 0%, #122444 100%);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--brand-glow);
  scroll-margin-top: 100px;
}

@keyframes planPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 40px 10px rgba(16, 185, 129, 0.55);
    transform: scale(1.025);
  }
  100% {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--brand-glow);
    transform: scale(1);
  }
}

.pricing-card.featured.pulse-highlight {
  animation: planPulseGlow 1.6s ease-in-out;
}

.popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px var(--brand-glow);
  white-space: nowrap;
}

.popular-badge.badge-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
}

.plan-name {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  min-height: 36px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

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

.price-amount {
  font-size: clamp(2.2rem, 5vw, 2.7rem);
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}

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

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 22px;
  }
}

/* ==========================================================================
   FAQ ACCORDION (MOBILE-FIRST)
   ========================================================================== */
.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-surface-2);
}

.faq-item.open {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 28, 51, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 12px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-icon svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.open .faq-icon {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: var(--brand-primary-light);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 16px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 450px;
  padding-bottom: 16px;
}

/* ==========================================================================
   BOTTOM CTA BANNER (MOBILE-FIRST)
   ========================================================================== */
.cta-banner-section {
  padding: 50px 0 70px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, #0e1e38 0%, #0a2d24 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--brand-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-banner-desc {
  font-size: clamp(0.88rem, 2.2vw, 1.05rem);
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 24px auto;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-banner-actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .cta-banner-card {
    padding: 48px 32px;
  }
}

/* ==========================================================================
   FOOTER (MOBILE-FIRST)
   ========================================================================== */
.site-footer {
  background: #03070e;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
  width: 100%;
}

.footer-brand-desc {
  margin-top: 10px;
  line-height: 1.55;
  max-width: 320px;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  gap: 6px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 32px;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (CONVERSION WIDGET)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 10px 18px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
  animation: whatsappFloatPulse 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.whatsapp-label {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

@keyframes whatsappFloatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    padding: 11px;
    border-radius: 50%;
  }
  .whatsapp-label {
    display: none;
  }
}

/* ==========================================================================
   TESTIMONIALS / SOCIAL PROOF SECTION
   ========================================================================== */
.testimonials-section {
  padding: clamp(48px, 8vw, 84px) 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(10, 19, 34, 0.7) 50%, var(--bg-main) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
}

.testimonial-card:hover::before {
  opacity: 1;
}

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

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.testimonial-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-primary-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
  font-style: normal;
  margin-bottom: 16px;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: auto;
}

.testimonial-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cyan-light);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

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

/* ==========================================================================
   EXIT INTENT RETENTION MODAL (DARK NAUTICAL THEME)
   ========================================================================== */
.exit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.exit-modal-card {
  background: linear-gradient(180deg, #101c33 0%, #0a1322 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(16, 185, 129, 0.18);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-modal-overlay.active .exit-modal-card {
  transform: scale(1) translateY(0);
}

.exit-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.exit-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.exit-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.exit-modal-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-primary);
  animation: exit-pulse-glow 1.5s infinite;
}

@keyframes exit-pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.exit-modal-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.exit-modal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.exit-modal-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  background: rgba(6, 11, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.exit-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.exit-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--brand-primary-light);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.exit-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whatsapp-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-normal);
}

.btn-whatsapp-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  filter: brightness(1.06);
}

.exit-modal-dismiss {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.exit-modal-dismiss:hover {
  color: var(--text-secondary);
}
