/* ═══════════════════════════════════════
   BAYIKICK — MASTER STYLESHEET
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

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

body {
  font-family: 'DM Sans', sans-serif;
  background: #FDFAF8;
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'DM Serif Display', serif; }

/* ── CSS Variables ── */
:root {
  --blush: #F9EFE8;
  --warm: #F2E4D8;
  --rose: #C4826A;
  --rose-dark: #A86650;
  --ink: #2C2420;
  --muted: #8C7B74;
  --text: #1a1a1a;
}

/* ── Grain overlay ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}


/* ═══════════════════════════════════════
   LANDING NAV
   ═══════════════════════════════════════ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(253, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 130, 106, 0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--rose);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

nav a.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav a.nav-link:hover { color: var(--ink); }

.nav-desktop {
  display: flex;
  gap: 28px;
  align-items: center;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Dropdown ── */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: white;
}
.nav-mobile.open { display: flex; }

.nav-mobile-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--rose); }

.nav-mobile-cta {
  margin-top: 12px;
  justify-content: center;
  text-align: center;
  width: 100%;
}


/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.btn-primary {
  background: var(--rose);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--rose);
  color: var(--rose);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover { background: var(--rose); color: white; }


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, var(--warm) 0%, transparent 70%);
}

.hero-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 130, 106, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid rgba(196, 130, 106, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 em { font-style: italic; color: var(--rose); }

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 420px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.3s both;
}


/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 32px;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
}


/* ═══════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: rgba(196, 130, 106, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: #FDFAF8;
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--blush); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; font-weight: 300; }


/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */

.how-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }

.step { display: flex; gap: 20px; align-items: flex-start; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 { font-size: 1rem; margin-bottom: 6px; }
.step-content p { font-size: 0.875rem; color: var(--muted); font-weight: 300; line-height: 1.6; }


/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(196, 130, 106, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 80px;
}

.stat { background: var(--blush); padding: 40px 32px; text-align: center; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 3rem; color: var(--rose); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--muted); margin-top: 8px; }


/* ═══════════════════════════════════════
   ADMIN SECTION (landing page)
   ═══════════════════════════════════════ */

.admin-section {
  background: var(--ink);
  border-radius: 28px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.admin-section .section-label { color: #C4826A; }
.admin-section .section-title { color: white; }
.admin-section .section-sub { color: rgba(255,255,255,0.5); }

.admin-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }

.admin-feat { display: flex; gap: 14px; align-items: flex-start; }

.admin-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(196, 130, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.admin-feat-text h5 { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 3px; }
.admin-feat-text p { color: rgba(255,255,255,0.4); font-size: 0.8rem; font-weight: 300; line-height: 1.5; }

.admin-dashboard-mock {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-title { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.dash-badge { background: rgba(196,130,106,0.15); color: var(--rose); font-size: 0.7rem; padding: 3px 10px; border-radius: 50px; }

.dash-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.dash-stat-card { background: #242424; border-radius: 10px; padding: 14px; }
.dash-stat-val { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: white; }
.dash-stat-lbl { font-size: 0.65rem; color: rgba(255,255,255,0.35); margin-top: 2px; }

.dash-list { display: flex; flex-direction: column; gap: 8px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; background: #242424; border-radius: 8px; padding: 10px 14px; }
.dash-name { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.dash-kicks { font-size: 0.75rem; color: var(--rose); font-weight: 500; }
.dash-date { font-size: 0.65rem; color: rgba(255,255,255,0.3); }


/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */

.cta-section { text-align: center; padding: 120px 32px; }
.cta-section .section-title { max-width: 560px; margin: 0 auto 20px; }
.cta-section .section-sub { margin: 0 auto 40px; text-align: center; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

footer {
  border-top: 1px solid rgba(196, 130, 106, 0.12);
  padding: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
footer span { font-size: 0.8rem; color: var(--muted); }


/* ═══════════════════════════════════════
   PHONE MOCKUP
   ═══════════════════════════════════════ */

.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease 0.2s both;
}

.phone {
  width: 260px;
  border-radius: 36px;
  background: #1c1c1e;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 32px 64px rgba(0,0,0,0.35),
    0 8px 24px rgba(0,0,0,0.2);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #2c2c2e;
  border-radius: 100px;
  z-index: 10;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.phone-header {
  background: #2AABEE;
  padding: 28px 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.phone-back { padding: 4px; cursor: pointer; }
.phone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.phone-info { flex: 1; }
.phone-name { font-size: 0.82rem; font-weight: 600; color: white; line-height: 1.2; }
.phone-status { font-size: 0.66rem; color: rgba(255,255,255,0.8); }
.phone-actions { padding: 4px; }

/* ── Chat Background ── */
.tg-bg {
  flex: 1;
  overflow-y: auto;
  padding: 8px 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: none;
  background-color: #f0ece3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(0,0,0,0.04)'/%3E%3C/svg%3E");
}
.tg-bg::-webkit-scrollbar { display: none; }

.tg-date-sep {
  text-align: center;
  font-size: 0.62rem;
  color: white;
  background: rgba(0,0,0,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  align-self: center;
  margin: 4px 0 6px;
}

.tg-row { display: flex; margin-bottom: 2px; }
.tg-row-bot { justify-content: flex-start; }
.tg-row-user { justify-content: flex-end; }

.tg-bubble {
  max-width: 78%;
  padding: 6px 8px 4px;
  border-radius: 12px;
  font-size: 0.7rem;
  line-height: 1.45;
  position: relative;
}
.tg-bubble-bot { background: white; color: #1a1a1a; border-bottom-left-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.tg-bubble-user { background: #2AABEE; color: white; border-bottom-right-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }

.tg-meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 2px; }
.tg-time { font-size: 0.56rem; color: rgba(0,0,0,0.35); }
.tg-meta-user .tg-time { color: rgba(255,255,255,0.7); }
.tg-tick { display: flex; align-items: center; }

.tg-card { padding: 8px 10px 4px; }
.tg-card-inner { background: linear-gradient(135deg, #ffe4ec, #ffd6e7); border-radius: 8px; padding: 10px; margin-bottom: 4px; text-align: center; }
.tg-card-label { font-size: 0.6rem; font-weight: 600; color: #c0294a; margin-bottom: 4px; }
.tg-card-num { font-size: 1.8rem; font-weight: 700; color: #c0294a; line-height: 1; }
.tg-card-sub { font-size: 0.55rem; color: #e07090; margin-top: 2px; margin-bottom: 6px; }
.tg-card-dots { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.tg-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(192,41,74,0.15); border: 1.5px solid rgba(192,41,74,0.2); }
.tg-dot.filled { background: #c0294a; border-color: #c0294a; }

.tg-keyboard { background: #ddd5c8; padding: 4px; display: flex; flex-direction: column; gap: 3px; margin: 4px -8px -4px; }
.tg-kb-row { display: flex; gap: 3px; }
.tg-kb-btn { flex: 1; background: white; border-radius: 6px; padding: 6px 4px; font-size: 0.58rem; font-weight: 500; color: #1a1a1a; text-align: center; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }

.tg-input-bar { background: #f0ece3; padding: 6px 8px; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.tg-input-field { flex: 1; background: white; border-radius: 20px; padding: 6px 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.tg-input-placeholder { font-size: 0.62rem; color: #aaa; }
.tg-send-btn { width: 28px; height: 28px; background: #2AABEE; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }


/* ═══════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════ */

.admin-layout { min-height: 100vh; font-family: 'DM Sans', sans-serif; }

/* ── Admin Nav ── */
.admin-nav {
  background: white;
  border-bottom: 1px solid #f0e8e4;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
.admin-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.admin-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-brand-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blush);
  color: var(--rose);
  padding: 2px 8px;
  border-radius: 100px;
}
.admin-nav-links { display: flex; align-items: center; gap: 4px; flex: 1; padding-left: 32px; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.admin-nav-link:hover { background: var(--warm); color: var(--text); }
.admin-nav-link.active { background: var(--blush); color: var(--rose); font-weight: 600; }

.admin-nav-right { display: flex; align-items: center; gap: 12px; }
.admin-user-info { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.admin-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-logout-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  background: #f5f5f5;
  color: #888;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-logout-btn:hover { background: #fee2e2; color: #dc2626; }

.admin-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.admin-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.admin-mobile-nav { display: none; flex-direction: column; padding: 12px 16px 16px; border-top: 1px solid #f0e8e4; gap: 4px; }
.admin-mobile-nav.open { display: flex; }
.admin-mobile-nav .admin-nav-link { font-size: 0.92rem; padding: 10px 14px; }
.admin-mobile-nav .admin-logout-btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ── Admin Content ── */
.admin-content { max-width: 1100px; margin: 0 auto; padding: 40px 32px; }
.admin-wrap { min-height: 100vh; padding: 0 32px; max-width: 1100px; margin: 0 auto; }
.admin-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.admin-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 600; color: var(--text); line-height: 1.2; }
.admin-title span { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 400; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }

.admin-page-header { margin-bottom: 32px; }
.admin-page-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.admin-page-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 600; color: var(--text); line-height: 1.2; margin-bottom: 32px; }

/* ── Admin Stats Pills ── */
.admin-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-stat { background: var(--blush); border-radius: 100px; padding: 8px 20px; font-size: 0.82rem; font-weight: 500; color: var(--rose); display: flex; align-items: center; gap: 6px; }
.admin-stat strong { font-size: 1rem; font-weight: 600; }

/* ── Dashboard Stat Cards ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 2px 16px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.04); display: flex; flex-direction: column; gap: 12px; animation: fadeUp 0.4s ease both; }
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.10s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.20s; }
.stat-card-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.icon-pink  { background: var(--blush); }
.icon-peach { background: #fff0e6; }
.icon-mint  { background: #e6faf0; }
.icon-sky   { background: #e6f4ff; }
.stat-card-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.stat-card-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 600; color: var(--text); line-height: 1; }
.stat-card-sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.stat-card-sub.positive { color: #16a34a; }

/* ── Search Bar ── */
.search-bar { position: relative; margin-bottom: 20px; }
.search-bar input { width: 100%; padding: 12px 16px 12px 44px; border: 1.5px solid #eee; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none; background: white; color: var(--text); transition: border-color 0.2s; box-sizing: border-box; }
.search-bar input:focus { border-color: var(--rose); }
.search-bar svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ── Table ── */
.table-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 24px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); margin-bottom: 24px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead tr { background: var(--warm); border-bottom: 1.5px solid #f0e8e4; }
.data-table th { padding: 14px 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: left; white-space: nowrap; }
.data-table tbody tr { border-bottom: 1px solid #f5f5f5; transition: background 0.15s; animation: fadeRow 0.4s ease both; }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: #fffaf9; }
.data-table td { padding: 14px 20px; font-size: 0.88rem; color: var(--text); vertical-align: middle; }

.user-cell { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; color: var(--rose); flex-shrink: 0; }
.user-name { font-weight: 500; }
.user-sub { font-size: 0.76rem; color: var(--muted); margin-top: 1px; }

.username-badge { font-family: monospace; background: #f5f5f5; color: #555; padding: 3px 10px; border-radius: 6px; font-size: 0.8rem; }
.no-username { color: var(--muted); font-size: 0.82rem; }
.chat-id { font-family: monospace; font-size: 0.8rem; color: var(--muted); background: #f9f9f9; padding: 3px 8px; border-radius: 6px; }
.date-cell { color: var(--muted); font-size: 0.82rem; }
.row-num { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.kick-badge { display: inline-flex; align-items: center; gap: 4px; background: #e6faf0; color: #16a34a; padding: 3px 10px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; }

.table-footer { padding: 14px 20px; background: var(--warm); border-top: 1px solid #f0e8e4; font-size: 0.78rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.empty-state { text-align: center; padding: 64px 32px; color: var(--muted); }
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state p { font-size: 0.9rem; }

#noResults { display: none; text-align: center; padding: 40px; color: var(--muted); font-size: 0.9rem; }

/* ── Broadcast ── */
.broadcast-card { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 2px 24px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.05); }
.audience-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blush); color: var(--rose); padding: 8px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 500; margin-bottom: 28px; }

label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

textarea { width: 100%; min-height: 180px; padding: 16px; border: 1.5px solid #eee; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--text); resize: vertical; outline: none; transition: border-color 0.2s; box-sizing: border-box; line-height: 1.6; }
textarea:focus { border-color: var(--rose); }

.char-count { text-align: right; font-size: 0.76rem; color: var(--muted); margin-top: 6px; margin-bottom: 20px; }
.char-count.warn { color: #f59e0b; }
.char-count.danger { color: #dc2626; }

.markdown-hint { background: var(--warm); border-radius: 10px; padding: 12px 16px; margin-bottom: 24px; font-size: 0.8rem; color: var(--muted); line-height: 1.7; }
.markdown-hint strong { color: var(--text); }

.send-btn { width: 100%; padding: 14px; background: var(--rose); color: white; border: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.send-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.send-btn:active { transform: translateY(0); }
.send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.test-btn { width: 100%; padding: 12px; background: white; color: var(--rose); border: 1.5px solid var(--blush); border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.test-btn:hover { background: var(--blush); border-color: var(--rose); }

/* ── Alerts ── */
.alert { border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; font-size: 0.88rem; line-height: 1.5; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Nav Pills (old admin nav) ── */
.nav-links { display: flex; gap: 12px; align-items: center; }
.nav-pill { padding: 8px 18px; border-radius: 100px; font-size: 0.82rem; font-weight: 500; text-decoration: none; transition: all 0.2s; color: var(--muted); background: #f5f5f5; }
.nav-pill:hover, .nav-pill.active { background: var(--blush); color: var(--rose); }
.logout-btn { padding: 8px 18px; border-radius: 100px; font-size: 0.82rem; font-weight: 500; background: #f5f5f5; color: #888; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s; }
.logout-btn:hover { background: #fee2e2; color: #dc2626; }


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

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

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

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

.fade-up { animation: fadeUp 0.6s ease both; }


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
  /* Landing nav */
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Sections */
  section { padding: 70px 24px; }

  /* Features & Stats */
  .features-grid, .stats-row { grid-template-columns: 1fr; }

  /* How it works */
  .how-wrap { grid-template-columns: 1fr; gap: 40px; }

  /* Admin section (landing) */
  .admin-section { grid-template-columns: 1fr; padding: 40px 28px; }

  /* Admin panel */
  .admin-nav { padding: 0 16px; }
  .admin-nav-links { display: none; }
  .admin-nav-right { display: none; }
  .admin-mobile-btn { display: flex; }
  .admin-content { padding: 24px 16px; }
  .admin-page-title { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card-num { font-size: 1.8rem; }
  .phone { width: min(240px, 75vw); }
  .phone-screen { height: 480px; }
}

@media (max-width: 640px) {
  .admin-wrap { padding: 24px 16px; }
  .admin-title { font-size: 1.5rem; }
  .data-table th:nth-child(1),
  .data-table td:nth-child(1),
  .data-table th:nth-child(4),
  .data-table td:nth-child(4) { display: none; }
  .data-table td, .data-table th { padding: 12px 14px; }
  .broadcast-card { padding: 24px 20px; }
  .nav-links { gap: 8px; }
  .nav-pill, .logout-btn { padding: 7px 12px; font-size: 0.78rem; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .data-table th:nth-child(3),
  .data-table td:nth-child(3) { display: none; }
}

/* ═══════════════════════════════════════
   SPACING UTILITIES
   ═══════════════════════════════════════ */

/* Margin Bottom */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 48px !important; }

/* Margin Top */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 48px !important; }

/* Margin Left / Right */
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 4px !important; }
.ms-2 { margin-left: 8px !important; }
.ms-3 { margin-left: 16px !important; }
.ms-4 { margin-left: 24px !important; }
.ms-5 { margin-left: 48px !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.me-3 { margin-right: 16px !important; }
.me-4 { margin-right: 24px !important; }
.me-5 { margin-right: 48px !important; }

/* Margin X / Y */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mx-1 { margin-left: 4px !important; margin-right: 4px !important; }
.mx-2 { margin-left: 8px !important; margin-right: 8px !important; }
.mx-3 { margin-left: 16px !important; margin-right: 16px !important; }
.mx-4 { margin-left: 24px !important; margin-right: 24px !important; }

.my-1 { margin-top: 4px !important; margin-bottom: 4px !important; }
.my-2 { margin-top: 8px !important; margin-bottom: 8px !important; }
.my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.my-4 { margin-top: 24px !important; margin-bottom: 24px !important; }

/* Padding Bottom */
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 4px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-3 { padding-bottom: 16px !important; }
.pb-4 { padding-bottom: 24px !important; }
.pb-5 { padding-bottom: 48px !important; }

/* Padding Top */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 4px !important; }
.pt-2 { padding-top: 8px !important; }
.pt-3 { padding-top: 16px !important; }
.pt-4 { padding-top: 24px !important; }
.pt-5 { padding-top: 48px !important; }

/* Padding X / Y */
.px-1 { padding-left: 4px !important; padding-right: 4px !important; }
.px-2 { padding-left: 8px !important; padding-right: 8px !important; }
.px-3 { padding-left: 16px !important; padding-right: 16px !important; }
.px-4 { padding-left: 24px !important; padding-right: 24px !important; }

.py-1 { padding-top: 4px !important; padding-bottom: 4px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }

/* Gap */
.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }
.gap-5 { gap: 48px !important; }

/* Display */
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-block { display: block !important; }
.d-none  { display: none !important; }

/* Flex helpers */
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-column { flex-direction: column !important; }

/* Text */
.text-center { text-align: center !important; }
.text-muted  { color: var(--muted) !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.w-100  { width: 100% !important; }