/* ===== CAPTCHA OVERLAY ===== */
.captcha-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #0f2439 0%, #1e3a5f 50%, #1a365d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.captcha-overlay::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.captcha-overlay::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.captcha-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 44px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.captcha-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}
.captcha-logo em {
  font-style: normal;
  color: #38bdf8;
}

.captcha-icon {
  width: 76px;
  height: 76px;
  background: rgba(56,189,248,0.1);
  border: 2px solid rgba(56,189,248,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: captcha-pulse 2.5s ease-in-out infinite;
}
@keyframes captcha-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0.2); }
  50% { box-shadow: 0 0 0 14px rgba(56,189,248,0); }
}

.captcha-card h2 {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.captcha-card > p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.captcha-slider-wrap {
  margin-bottom: 24px;
}

.captcha-track {
  position: relative;
  height: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: 28px;
  border: 1.5px solid rgba(255,255,255,0.12);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.captcha-track-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  padding-left: 40px;
  gap: 6px;
  white-space: nowrap;
}

.captcha-track-text .arrow-hint {
  display: inline-flex;
  animation: arrow-slide 1.5s ease-in-out infinite;
}
@keyframes arrow-slide {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(6px); opacity: 1; }
}

.captcha-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 52px;
  background: rgba(56,189,248,0.08);
  border-radius: 28px;
  pointer-events: none;
  transition: background 0.2s ease;
}

.captcha-thumb {
  position: absolute;
  top: 4px;
  left: 2px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 2;
  touch-action: none;
  box-shadow: 0 4px 16px rgba(56,189,248,0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.captcha-thumb svg {
  pointer-events: none;
}
.captcha-thumb:hover {
  box-shadow: 0 4px 24px rgba(56,189,248,0.6);
}
.captcha-thumb:active {
  cursor: grabbing;
  transform: scale(1.06);
}

.captcha-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ---- Captcha responsive ---- */
@media (max-width: 480px) {
  .captcha-card {
    padding: 32px 20px 24px;
    border-radius: 20px;
  }
  .captcha-logo { font-size: 20px; margin-bottom: 24px; }
  .captcha-icon { width: 64px; height: 64px; margin-bottom: 20px; }
  .captcha-icon svg { width: 32px; height: 32px; }
  .captcha-card h2 { font-size: 18px; }
  .captcha-card > p { font-size: 13px; margin-bottom: 24px; }
  .captcha-track { height: 52px; border-radius: 26px; }
  .captcha-thumb { width: 44px; height: 44px; top: 4px; }
  .captcha-fill { width: 44px; border-radius: 26px; }
  .captcha-track-text { font-size: 12px; padding-left: 32px; }
}

@media (max-width: 360px) {
  .captcha-card { padding: 28px 16px 20px; }
  .captcha-track-text { font-size: 11px; padding-left: 28px; }
  .captcha-thumb { width: 40px; height: 40px; top: 4px; }
}

@media (min-width: 769px) {
  .captcha-track { height: 60px; border-radius: 30px; }
  .captcha-thumb { width: 52px; height: 52px; }
  .captcha-fill { width: 56px; border-radius: 30px; }
  .captcha-track-text { font-size: 14px; padding-left: 48px; }
  .captcha-card h2 { font-size: 24px; }
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1e3a5f;
  --navy-dark: #152a45;
  --navy-light: #2a4f7a;
  --sky: #38bdf8;
  --sky-light: #7dd3fc;
  --green: #059669;
  --green-light: #d1fae5;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.logo em {
  font-style: normal;
  color: var(--sky);
}

.nav-desktop {
  display: flex;
  gap: 32px;
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-desktop a:hover { color: var(--navy); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 20px 16px;
  gap: 4px;
}
.nav-mobile a {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile.open { display: flex; }

.header-cta { display: block; }

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .burger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0f2439 0%, #1e3a5f 50%, #1a365d 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-inner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-actions--centered {
  justify-content: center;
}
.hero-content--centered .hero-trust {
  justify-content: center;
}
.hero-content--centered .hero-subtitle {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sky-light);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--sky) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-card-icon {
  width: 80px;
  height: 80px;
  background: rgba(56,189,248,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-text {
  text-align: center;
}
.hero-card-label {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.hero-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}
.hero-card-status--success {
  color: #34d399;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.btn-hero {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-hero:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-visual { display: none; }
}

/* ===== STATS ===== */
.stats {
  padding: 48px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.stat-icon--green { background: #ecfdf5; }
.stat-icon--blue { background: #eff6ff; }
.stat-icon--purple { background: #f5f3ff; }

.stat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 16px; }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-header h2 { font-size: 24px; }
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.service-card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gray-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.service-card > p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
  padding: 6px 0;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; max-width: 440px; }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===== CHAT SECTION ===== */
.chat-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.chat-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.chat-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-height: 620px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--white);
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-name {
  font-size: 15px;
  font-weight: 600;
  display: block;
}
.chat-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

/* Chat bubbles */
.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
  animation: msg-in 0.3s ease-out;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-msg--user .chat-msg-avatar {
  display: none;
}

.chat-msg-bubble {
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 16px;
}
.chat-msg--bot .chat-msg-bubble {
  background: var(--gray-100);
  color: var(--gray-800);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-msg-bubble {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-items: center;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat input area */
.chat-input {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.chat-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.chat-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-50);
}
.chat-btn:active {
  transform: scale(0.97);
}

.chat-btn--selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.chat-btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.chat-btn--primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

/* Chat inline manager button */
.chat-manager-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 20px;
  background: #2AABEE;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.chat-manager-btn:hover {
  background: #229ED9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42,171,238,0.3);
}

/* Chat region buttons — scrollable grid */
.chat-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}
.chat-regions .chat-btn {
  font-size: 12px;
  padding: 8px 12px;
  justify-content: center;
  white-space: nowrap;
}

/* Telegram instructions */
.tg-instructions {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-700);
}
.tg-instructions h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 6px;
  color: var(--gray-800);
}
.tg-instructions ol {
  padding-left: 18px;
  margin-bottom: 8px;
}
.tg-instructions li {
  margin-bottom: 4px;
}

/* Chat price card */
.price-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
  text-align: center;
}
.price-card .price-label {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 4px;
}
.price-card .price-value {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}
.price-card .price-note {
  font-size: 12px;
  opacity: 0.7;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 80px 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.review-meta {
  font-size: 12px;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition);
}
.faq-item summary:hover {
  background: var(--gray-50);
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-answer {
  padding: 0 24px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-600);
}
.faq-answer a {
  color: var(--navy);
  text-decoration: underline;
}

/* ===== INLINE CTA BANNERS ===== */
.inline-cta {
  background: var(--navy);
  padding: 0;
}
.inline-cta--light {
  background: var(--white);
}
.inline-cta--light .inline-cta-inner {
  color: var(--navy);
}
.inline-cta--light .inline-cta-dot {
  background: #059669;
}

.inline-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
  text-align: center;
  flex-wrap: wrap;
}
.inline-cta-inner:hover {
  opacity: 0.85;
}

.inline-cta-dot {
  width: 10px;
  height: 10px;
  background: #34d399;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

/* ===== TELEGRAM BUTTON ===== */
.btn-telegram {
  background: #2AABEE;
  color: var(--white);
  border-color: #2AABEE;
  font-size: 17px;
  padding: 16px 32px;
}
.btn-telegram:hover {
  background: #229ED9;
  border-color: #229ED9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,171,238,0.35);
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.contact-status-dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.contact-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.contact-card > p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-card .btn-telegram {
  width: 100%;
  margin-bottom: 20px;
}

.contact-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.contact-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
}

/* No Telegram */
.no-telegram-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  padding: 12px 20px;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}
.no-telegram-toggle:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--gray-50);
}

.no-telegram-content {
  display: none;
  text-align: left;
  margin-top: 20px;
}
.no-telegram-content.open {
  display: block;
  animation: msg-in 0.3s ease-out;
}

.no-telegram-reassure {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.no-telegram-reassure svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.no-telegram-reassure p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
}

.install-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.install-tab {
  flex: 1;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: var(--gray-50);
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}
.install-tab.active {
  background: var(--navy);
  color: var(--white);
}

.install-panel {
  display: none;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.install-panel.active {
  display: block;
}
.install-panel ol {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-700);
}
.install-panel li {
  margin-bottom: 8px;
}
.install-panel li:last-child {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-card { padding: 32px 20px; }
  .contact-card h2 { font-size: 22px; }
  .contact-badges { gap: 10px; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
  color: var(--white);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 13px;
  color: var(--gray-600);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ===== MOBILE FLOATING CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mobile-cta.visible { transform: translateY(0); }

@media (max-width: 768px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
}

/* ===== ANIMATE ON SCROLL ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
