/* ============================================================
   ISHMIT CHAT — Premium Theme v2.0
   Design: Modern · Human · Safe · SEO-friendly
   ============================================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand */
  --primary:         #00C9A7;
  --primary-h:       #00A98B;
  --primary-rgb:     0, 201, 167;
  --primary-light:   rgba(0, 201, 167, 0.10);
  --secondary:       #7C3AED;
  --secondary-h:     #6D28D9;
  --secondary-rgb:   124, 58, 237;
  --secondary-light: rgba(124, 58, 237, 0.10);
  --danger:          #EF4444;
  --warning:         #F59E0B;
  --success:         #10B981;

  /* Dark Scale */
  --dark-900: #0D1117;
  --dark-800: #161B22;
  --dark-700: #21262D;
  --dark-600: #30363D;
  --dark-500: #6E7681;

  /* Light Scale */
  --light-50:  #F8FAFF;
  --light-100: #F1F5F9;
  --light-200: #E2E8F0;
  --light-300: #CBD5E1;

  /* Text */
  --tx-1:  #1A202C;
  --tx-2:  #64748B;
  --tx-3:  #94A3B8;
  --tx-inv: #FFFFFF;

  /* Layout */
  --nav-h:     72px;
  --sec-py:    88px;
  --max-w:     1200px;

  /* Effects */
  --sh-sm:   0 1px 3px rgba(0,0,0,0.08);
  --sh-md:   0 4px 16px rgba(0,0,0,0.08);
  --sh-lg:   0 8px 32px rgba(0,0,0,0.10);
  --sh-xl:   0 16px 48px rgba(0,0,0,0.14);
  --glow:    0 0 0 3px rgba(0, 201, 167, 0.22);
  --glow-v:  0 0 0 3px rgba(124, 58, 237, 0.22);

  /* Borders */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;
  --border: #E2E8F0;

  /* Transition */
  --t:      all .2s ease;
  --ts:     all .35s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx-1);
  background: var(--light-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: var(--t); }
a:hover { color: var(--primary-h); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tx-1);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; color: var(--tx-2); }

.text-primary   { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted     { color: var(--tx-3) !important; }
.fw-600         { font-weight: 600; }
.fw-700         { font-weight: 700; }

/* === SECTION BASE === */
.section { padding: var(--sec-py) 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--dark-900); color: var(--tx-inv); }
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5 { color: #fff; }
.section-dark p { color: var(--dark-500); }
.section-accent { background: var(--primary-light); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.section-label.purple {
  color: var(--secondary);
  background: var(--secondary-light);
}

/* === NAVBAR === */
.navbar-ishmit {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--ts);
}
.navbar-ishmit.scrolled {
  background: rgba(13, 17, 23, 0.98);
  box-shadow: var(--sh-lg);
}
.navbar-ishmit .container { height: 100%; display: flex; align-items: center; }
.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.02em;
}
.nav-brand span { color: var(--primary); }
.navbar-ishmit .navbar-nav .nav-link {
  color: rgba(255,255,255,0.78) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: 6px 14px !important;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.navbar-ishmit .navbar-nav .nav-link:hover,
.navbar-ishmit .navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.navbar-ishmit .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
@media (max-width: 991.98px) {
  .navbar-ishmit .navbar-collapse {
    background: rgba(13, 17, 23, 0.98);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin: 0 -12px;
    padding: 10px 12px 16px;
  }
}
.btn-nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--r-full) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
}
.btn-nav-cta:hover { background: var(--primary-h) !important; }

/* === BUTTONS === */
.btn-primary-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-primary-ic:hover {
  background: var(--primary-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.38);
}
.btn-secondary-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-secondary-ic:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}
.btn-video-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-video-ic:hover {
  background: var(--secondary-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(var(--secondary-rgb), 0.38);
}
.btn-outline-ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-outline-ic:hover {
  background: var(--primary);
  color: #fff;
}
.btn-sm-ic { padding: 9px 22px; font-size: .875rem; }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--dark-900);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0, 201, 167, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(124, 58, 237, 0.10) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.25);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.03em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #00E5C0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: .8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--r-full);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--primary); }
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
/* Animated chat bubbles in hero visual */
.chat-preview {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,201,167,.15);
}
.chat-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-600);
  margin-bottom: 20px;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #fff;
}
.chat-status-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  margin-left: auto;
  animation: pulse-dot 2.5s ease infinite;
}
.chat-bubble-row { display: flex; margin-bottom: 12px; }
.chat-bubble-row.out { justify-content: flex-end; }
.chat-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .875rem;
  line-height: 1.4;
}
.chat-bubble.in  {
  background: var(--dark-700);
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
}
.chat-bubble.out {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble .ts {
  font-size: .68rem;
  opacity: .55;
  margin-top: 3px;
  text-align: right;
}
.chat-input-mock {
  background: var(--dark-700);
  border-radius: var(--r-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.chat-input-mock span { flex: 1; font-size: .82rem; color: var(--dark-500); }
.chat-send-mock {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--dark-800);
  border-bottom: 1px solid var(--dark-600);
  padding: 20px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: .9rem;
  font-weight: 500;
}
.trust-item strong { color: var(--primary); font-size: 1.1rem; font-weight: 700; }
.trust-divider {
  width: 1px; height: 28px;
  background: var(--dark-600);
}

/* === CARDS === */
.card-ic {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: var(--ts);
  height: 100%;
}
.card-ic:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card-icon.purple { background: var(--secondary-light); }
.card-icon svg, .card-icon i { color: var(--primary); font-size: 1.4rem; }
.card-icon.purple svg, .card-icon.purple i { color: var(--secondary); }

/* === HOW IT WORKS === */
.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}
.step-connector {
  position: absolute;
  top: 64px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--primary-rgb),.4) 0%, rgba(var(--primary-rgb),.1) 100%);
}

/* === STATS === */
.stats-section { background: var(--dark-900); }
.stat-item { text-align: center; padding: 24px 16px; }
.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: .875rem; color: var(--dark-500); }

/* === VIDEO COMING SOON === */
.coming-soon-section {
  background: linear-gradient(135deg, #1A0533 0%, #0D1117 40%, #001A14 100%);
  position: relative;
  overflow: hidden;
}
.coming-soon-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
    rgba(124,58,237,.15) 0%, transparent 65%);
}
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  color: #A78BFA;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}
.cs-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cs-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.2);
  color: #C4B5FD;
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-full);
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 100%;
}
.testimonial-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 14px; }
.testimonial-text {
  font-size: .95rem;
  color: var(--tx-2);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--tx-1); }
.testimonial-meta { font-size: .78rem; color: var(--tx-3); }

/* === BLOG CARDS === */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--ts);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--dark-800), var(--dark-700));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img-placeholder {
  font-size: 2.5rem;
  opacity: 0.4;
}
.blog-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: .78rem;
  color: var(--tx-3);
  margin-bottom: 10px;
}
.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tx-1);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
  font-size: .875rem;
  color: var(--tx-2);
  line-height: 1.55;
  margin-bottom: auto;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 18px;
}
.blog-card-link:hover { gap: 9px; }

/* === CTA BAND === */
.cta-band {
  background: linear-gradient(135deg, #0A1628, #0D1117 50%, #001A12);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(0,201,167,.12) 0%, transparent 60%);
}
.cta-band .container { position: relative; z-index: 2; text-align: center; }

/* === SAFETY SECTION === */
.safety-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: .95rem;
  color: var(--tx-2);
}
.safety-check {
  width: 22px; height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: .75rem;
  margin-top: 2px;
}

/* === FOOTER === */
.footer {
  background: var(--dark-900);
  border-top: 1px solid var(--dark-600);
  padding: 64px 0 32px;
}
.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--primary); }
.footer-desc { font-size: .875rem; color: var(--dark-500); max-width: 260px; line-height: 1.6; }
.footer-heading {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-500);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; transition: var(--t); }
.footer-links a:hover { color: var(--primary); }
.footer-divider { border-color: var(--dark-600); margin: 40px 0 24px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: var(--dark-500); font-size: .8rem; }
.footer-legal-links a:hover { color: var(--primary); }
.footer-copy { font-size: .8rem; color: var(--dark-500); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--dark-700);
  border: 1px solid var(--dark-600);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-500);
  font-size: .9rem;
  transition: var(--t);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============================================================
   TEXT CHAT PAGE
   ============================================================ */
.chat-page {
  min-height: 100vh;
  background: var(--dark-900);
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}
.chat-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Waiting screen */
#waiting-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.waiting-spinner {
  width: 64px; height: 64px;
  border: 3px solid rgba(var(--primary-rgb), 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.waiting-title { font-size: 1.4rem; font-weight: 700; color: #fff; }
.waiting-subtitle { font-size: .9rem; color: var(--dark-500); }
.waiting-counter { font-size: .8rem; color: var(--dark-500); }

/* Chat screen */
#chat-screen { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.chat-header {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: var(--r-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
}
.chat-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--success);
}
.chat-header-status::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 380px;
  max-height: 500px;
}
.msg-row { display: flex; }
.msg-row.mine { justify-content: flex-end; }
.msg-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .9rem;
  line-height: 1.45;
  word-break: break-word;
}
.msg-bubble.theirs {
  background: var(--dark-700);
  color: rgba(255,255,255,.85);
  border-bottom-left-radius: 4px;
}
.msg-bubble.mine {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bubble.system {
  background: transparent;
  color: var(--dark-500);
  font-size: .78rem;
  font-style: italic;
  max-width: 100%;
  text-align: center;
  margin: 4px 0;
}
.msg-time {
  font-size: .68rem;
  opacity: .55;
  margin-top: 3px;
  text-align: right;
}
.chat-input-row {
  display: flex;
  gap: 10px;
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: var(--r-md);
  padding: 12px;
}
.chat-input {
  flex: 1;
  background: var(--dark-700);
  border: 1px solid var(--dark-600);
  border-radius: var(--r-full);
  padding: 10px 18px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  outline: none;
  transition: var(--t);
}
.chat-input:focus { border-color: var(--primary); box-shadow: var(--glow); }
.chat-input::placeholder { color: var(--dark-600); }
.btn-send {
  width: 44px; height: 44px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: var(--t);
  flex-shrink: 0;
}
.btn-send:hover { background: var(--primary-h); }
.btn-send:disabled { opacity: .5; cursor: not-allowed; }
.chat-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.btn-skip {
  background: var(--dark-700);
  border: 1px solid var(--dark-600);
  color: rgba(255,255,255,.7);
  border-radius: var(--r-full);
  padding: 9px 22px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}
.btn-skip:hover { border-color: var(--warning); color: var(--warning); }
.btn-end-chat {
  background: transparent;
  border: 1px solid rgba(239,68,68,.4);
  color: rgba(239,68,68,.8);
  border-radius: var(--r-full);
  padding: 9px 22px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}
.btn-end-chat:hover { background: rgba(239,68,68,.1); border-color: var(--danger); color: var(--danger); }

/* Ended screen */
#ended-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
#start-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

/* === AD ZONES === */
.ad-zone {
  background: var(--light-100);
  border: 1px dashed var(--light-300);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--tx-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ad-leaderboard { width: 100%; height: 90px; }
.ad-rectangle  { width: 300px; max-width: 100%; height: 250px; }
.ad-mobile     { width: 100%; height: 50px; }

/* === ADMIN === */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--dark-900);
  border-right: 1px solid var(--dark-600);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
}
.admin-sidebar-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--dark-600);
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
}
.admin-sidebar-brand span { color: var(--primary); }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--t);
  cursor: pointer;
  border-left: 3px solid transparent;
}
.admin-nav-link:hover { color: rgba(255,255,255,.85); background: rgba(255,255,255,.04); }
.admin-nav-link.active { color: var(--primary); border-left-color: var(--primary); background: rgba(var(--primary-rgb),.06); }
.admin-nav-section {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dark-600);
  padding: 16px 20px 6px;
}
.admin-main {
  flex: 1;
  background: var(--light-50);
  overflow: auto;
  padding: 32px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }
.kpi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
  transition: var(--t);
}
.kpi-card:hover { box-shadow: var(--sh-md); }
.kpi-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tx-3); margin-bottom: 8px; }
.kpi-value { font-size: 2rem; font-weight: 800; color: var(--tx-1); line-height: 1; margin-bottom: 4px; font-family: 'Outfit', sans-serif; }
.kpi-delta { font-size: .78rem; color: var(--success); }
.kpi-delta.down { color: var(--danger); }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.data-table th {
  background: var(--light-100);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tx-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--tx-1);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--light-50); }
.badge-live {
  background: rgba(16,185,129,.12);
  color: var(--success);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.badge-waiting {
  background: rgba(245,158,11,.12);
  color: var(--warning);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.badge-ended {
  background: var(--light-100);
  color: var(--tx-3);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* === FORMS === */
.form-ic .form-control, .form-ic .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: .9rem;
  transition: var(--t);
  background: #fff;
  color: var(--tx-1);
}
.form-ic .form-control:focus, .form-ic .form-select:focus {
  border-color: var(--primary);
  box-shadow: var(--glow);
  outline: none;
}
.form-ic label {
  font-weight: 600;
  font-size: .875rem;
  color: var(--tx-1);
  margin-bottom: 6px;
}

/* === BREADCRUMB === */
.breadcrumb-ic {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: .82rem;
  color: var(--tx-3);
  margin-bottom: 28px;
}
.breadcrumb-ic a { color: var(--tx-3); }
.breadcrumb-ic a:hover { color: var(--primary); }
.breadcrumb-ic .sep { color: var(--light-300); }
.breadcrumb-ic .current { color: var(--tx-2); font-weight: 500; }

/* === PAGE HEADER === */
.page-header {
  background: var(--dark-900);
  padding: calc(var(--nav-h) + 60px) 0 48px;
}
.page-header h1 { color: #fff; }
.page-header .lead { color: rgba(255,255,255,.6); font-size: 1.1rem; }

/* === VIDEO COMING SOON === */
.vcs-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(124,58,237,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  position: relative;
}
.vcs-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,.15);
}
.vcs-ring i { font-size: 3rem; color: var(--secondary); }

/* === LEGAL PAGES === */
.legal-body h2 { font-size: 1.1rem; font-weight: 700; color: var(--tx-1); margin: 32px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .95rem; color: var(--tx-2); line-height: 1.75; }
.legal-body ul { padding-left: 20px; }
.legal-body a { color: var(--primary); }

/* === UTILITY === */
.page-body-pad { padding-top: var(--nav-h); }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), #00E5C0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rounded-ic { border-radius: var(--r-md) !important; }

/* ============================================================
   HERO — LEAVE A NOTE CTA
   ============================================================ */
.hero-note-cta {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note-cta p {
  margin: 0;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}
.btn-sm-ic {
  padding: 8px 18px !important;
  font-size: .84rem !important;
}

/* ============================================================
   NOTES PAGE
   ============================================================ */
.page-notes .section { background: var(--light-50); padding: var(--sec-py) 0; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.notes-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 60px 0;
}
.notes-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--tx-3);
}

.note-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.note-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

.note-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.note-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.note-meta { flex: 1; min-width: 0; }
.note-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--tx-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.note-location {
  font-size: .78rem;
  color: var(--tx-3);
  margin-top: 2px;
}
.note-date {
  font-size: .72rem;
  color: var(--tx-3);
  text-align: right;
  flex-shrink: 0;
  line-height: 1.4;
}
.note-date span { color: var(--tx-3); }

.note-message {
  font-size: .9rem;
  color: var(--tx-2);
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
}

/* Note modal */
.note-modal-content {
  background: var(--dark-800);
  border: 1px solid var(--dark-700);
  border-radius: var(--r-lg);
}
.note-modal-header {
  border-bottom: 1px solid var(--dark-700);
  color: #fff;
}
.note-modal-header .modal-title { color: #fff; }
.note-modal-footer { border-top: 1px solid var(--dark-700); }
.note-input-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--tx-2);
  display: block;
  margin-bottom: 6px;
}
.note-form-input {
  width: 100%;
  background: var(--dark-700);
  border: 1.5px solid var(--dark-600);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: .9rem;
  transition: var(--t);
  outline: none;
  font-family: inherit;
}
.note-form-input::placeholder { color: var(--dark-500); }
.note-form-input:focus { border-color: var(--primary); box-shadow: var(--glow); }

/* ============================================================
   REVIEW STAR PICKER
   ============================================================ */
.review-star-picker {
  display: flex;
  gap: 6px;
}
.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--dark-600);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  transition: color .15s, transform .1s;
}
.star-btn:hover,
.star-btn.active {
  color: #F59E0B;
  transform: scale(1.15);
}

/* ============================================================
   18+ AGE GATE
   ============================================================ */
.age-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  max-width: 480px;
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  transition: var(--t);
}
.age-gate.shake {
  animation: gate-shake .5s ease;
  border-color: var(--danger);
}
@keyframes gate-shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.age-gate-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  user-select: none;
}
.age-gate-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.age-gate-error-msg {
  font-size: .75rem;
  color: var(--danger);
  display: none;
}
.age-gate-error-msg.visible { display: block; }

/* ============================================================
   RESPONSIVE — NOTES
   ============================================================ */
/* === RESPONSIVE === */
@media (max-width: 991px) {
  :root { --sec-py: 60px; }
  .trust-divider { display: none; }
  .trust-bar .row { gap: 16px; }
  .step-connector { display: none; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 20px; }
}
@media (max-width: 767px) {
  :root { --sec-py: 48px; }
  .hero { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-visual {
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }
  .hero-note-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
  }
  .cta-band .d-flex { flex-direction: column; align-items: center; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575px) {
  .btn-primary-ic, .btn-secondary-ic, .btn-video-ic { font-size: .9rem; padding: 12px 24px; }
  .chat-messages { min-height: 300px; max-height: 380px; }
}
