* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-main: #0c0d11;
  --bg-surface: #14171f;
  --bg-surface-elevated: #1b1f2b;
  --bg-control: #212634;
  --bg-control-hover: #2b3244;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-active: #3730a3;
  --primary-glow: rgba(79, 70, 229, 0.25);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  
  --success: #10b981;
  --danger: #e11d48;
  --danger-hover: #be123c;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Screens */
.screen {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.screen.active {
  display: flex;
}

/* LANDING SCREEN */
#landingScreen {
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 15%, rgba(99, 102, 241, 0.16) 0%, rgba(12, 13, 17, 0.96) 75%), #08090d;
  padding: 24px 20px;
  overflow-y: auto;
  position: relative;
}

/* 21st.dev RetroGrid 3D Perspective Animation */
.retro-grid-container {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  perspective: 220px;
}

.ambient-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(168, 85, 247, 0.12) 40%, transparent 70%);
  filter: blur(70px);
  border-radius: 50%;
}

.retro-grid-plane {
  position: absolute;
  inset: 0;
  transform: rotateX(65deg);
  transform-origin: 50% 0%;
}

.grid-lines {
  position: absolute;
  height: 300vh;
  width: 600vw;
  margin-left: -250vw;
  top: 0;
  background-repeat: repeat;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 0),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 0);
  animation: retroGridMove 12s linear infinite;
}

@keyframes retroGridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(60px);
  }
}

.grid-fade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #08090d 15%, transparent 90%);
}

.landing-content {
  text-align: center;
  max-width: 440px;
  width: 100%;
  z-index: 2;
  margin: auto;
  position: relative;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  color: #818cf8;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5));
}

.brand-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  background: linear-gradient(135deg, #ffffff 50%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-header h1 span {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 18px;
  font-weight: 400;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* 21st.dev Bento Glassmorphism Start Card */
.start-card {
  background: rgba(18, 22, 34, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 -20px 80px -20px rgba(134, 134, 240, 0.12) inset;
}

.camera-preview-box {
  width: 100%;
  height: 220px;
  background: #08090c;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.camera-preview-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  background: rgba(10, 12, 17, 0.88);
  padding: 20px;
  text-align: center;
}

.preview-overlay.hidden {
  display: none;
}

/* 21st.dev Conic Shimmer Button */
.shimmer-btn-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  padding: 1.5px;
  background: transparent;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shimmer-btn-wrapper:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.55), 0 0 60px rgba(168, 85, 247, 0.3);
}

.shimmer-btn-wrapper:active {
  transform: translateY(0);
}

.shimmer-conic-glow {
  position: absolute;
  inset: -250%;
  background: conic-gradient(from 90deg at 50% 50%, #e0e7ff 0%, #6366f1 25%, #a855f7 50%, #ec4899 75%, #e0e7ff 100%);
  animation: rotateConic 3.5s linear infinite;
  z-index: 1;
}

@keyframes rotateConic {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.btn-shimmer-cta {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: #0d0f17;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: calc(14px - 1.5px);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-shimmer-cta:hover {
  background: rgba(18, 21, 31, 0.9);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px var(--primary-glow);
}

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

.btn-primary:active {
  background: var(--primary-active);
  transform: translateY(0);
}

.start-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
}

.terms-note {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-top: 14px;
  line-height: 1.45;
}

/* Native Promo Showcase (Bento Glassmorphism) */
.promo-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.promo-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  font-weight: 600;
}

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

.promo-card {
  display: flex;
  flex-direction: column;
  background: rgba(26, 31, 48, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 -10px 30px -10px rgba(134, 134, 240, 0.08) inset;
}

.promo-card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(35, 42, 66, 0.75);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 20px rgba(99, 102, 241, 0.15);
}

.promo-tag {
  font-size: 0.62rem;
  color: #818cf8;
  font-weight: 600;
  margin-bottom: 2px;
}

.promo-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.promo-desc {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* Landing footer */
.landing-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.72rem;
}

.landing-footer a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s;
}

.landing-footer a:hover {
  color: var(--text-secondary);
}

/* CHAT SCREEN */
#chatScreen {
  flex-direction: column;
  background: #000;
  position: relative;
}

.video-stage {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

#remoteVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #08090d;
}

/* Remote status card with Bento Glassmorphism */
.remote-status-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 36px;
  border-radius: 20px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 -20px 80px -20px rgba(134, 134, 240, 0.12) inset;
  max-width: 400px;
  width: 90%;
  transition: opacity 0.25s ease;
}

.remote-status-card.hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

/* Unmute prompt banner */
.unmute-prompt {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(79, 70, 229, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 25;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
  animation: pulsePrompt 2s infinite ease-in-out;
}

.unmute-prompt.hidden {
  display: none !important;
}

@keyframes pulsePrompt {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

.remote-status-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 6px;
  color: #fff;
}

.remote-status-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #818cf8;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.85s linear infinite;
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.3);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Waiting Sponsor Note */
.waiting-sponsor {
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-primary);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.waiting-sponsor:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-1px);
}

.sponsor-tag {
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Partner Info Badge */
.partner-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(14, 18, 28, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.partner-badge.hidden {
  display: none;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

/* Local PIP Video */
.local-pip-container {
  position: absolute;
  bottom: 96px;
  right: 20px;
  width: 170px;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #11141c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  z-index: 20;
  transition: all 0.2s ease;
}

#localVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.pip-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Report button */
.report-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fb7185;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.report-btn:hover {
  background: var(--danger);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
}

/* Chat Messages overlay */
.chat-messages-overlay {
  position: absolute;
  bottom: 96px;
  left: 20px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 15;
  pointer-events: none;
}

.chat-bubble {
  background: rgba(18, 22, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  animation: slideUp 0.2s ease;
  word-break: break-word;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.chat-bubble.mine {
  background: rgba(79, 70, 229, 0.88);
  color: #fff;
  align-self: flex-start;
  border-color: rgba(129, 140, 248, 0.3);
}

.chat-bubble.partner {
  background: rgba(26, 32, 48, 0.88);
  color: #fff;
  align-self: flex-start;
}

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

/* 21st.dev Floating Island Glassmorphism Control Bar */
.bottom-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 660px;
  height: 64px;
  background: rgba(15, 18, 27, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.15), 0 -8px 24px -8px rgba(134, 134, 240, 0.1) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  z-index: 30;
  gap: 10px;
  transition: all 0.25s ease;
}

.left-controls, .right-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-control {
  padding: 10px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.next-action {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.35);
  min-width: 120px;
}

.next-action:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.5);
}

/* Chat Input Bar */
.chat-input-bar {
  flex: 1;
  max-width: 260px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 3px 5px 3px 14px;
  transition: border-color 0.2s, background 0.2s;
}

.chat-input-bar:focus-within {
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.chat-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.86rem;
  outline: none;
  min-width: 50px;
}

.chat-input-bar input::placeholder {
  color: var(--text-tertiary);
}

.btn-send {
  background: var(--primary);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}

.btn-send:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.btn-icon-control {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-icon-control svg {
  width: 18px;
  height: 18px;
}

.btn-icon-control:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.btn-icon-control.muted {
  background: rgba(225, 29, 72, 0.2);
  border-color: rgba(225, 29, 72, 0.4);
  color: #fb7185;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  background: rgba(18, 20, 28, 0.95);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.84rem;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.danger {
  border-color: rgba(225, 29, 72, 0.4);
  color: #fca5a5;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .bottom-bar {
    bottom: 12px;
    width: calc(100% - 20px);
    height: 58px;
    padding: 0 10px;
    gap: 6px;
  }
  .next-action span,
  .btn-secondary span {
    display: none;
  }
  .next-action {
    min-width: 40px;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  .btn-control {
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
  }
  .chat-input-bar {
    max-width: none;
  }
  .local-pip-container {
    width: 105px;
    height: 75px;
    bottom: 80px;
    right: 12px;
  }
  .chat-messages-overlay {
    bottom: 80px;
    left: 12px;
    max-width: 220px;
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

/* Skip Trigger Affiliate Modal */
.promo-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 9, 13, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  padding: 20px;
  animation: modalFadeIn 0.25s ease forwards;
}

.promo-modal-backdrop.hidden {
  display: none !important;
}

.promo-modal-card {
  background: rgba(14, 18, 28, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.2), 0 -20px 80px -20px rgba(134, 134, 240, 0.15) inset;
  animation: cardSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.promo-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(225, 29, 72, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: #fb7185;
  font-weight: 600;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #f43f5e;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
  box-shadow: 0 0 8px #f43f5e;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.promo-modal-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.promo-modal-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 22px;
}

.promo-modal-card p strong {
  color: #818cf8;
}

.btn-promo-action {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.45);
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.btn-promo-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.65);
}

.btn-promo-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-promo-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.promo-modal-note {
  font-size: 0.72rem !important;
  color: var(--text-tertiary) !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* SEO Content & FAQ Container (21st.dev Bento Styling) */
.seo-info-container {
  margin-top: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.seo-article {
  background: rgba(18, 22, 34, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 -15px 50px -15px rgba(134, 134, 240, 0.07) inset;
}

.seo-article h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.seo-article p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.seo-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.seo-highlight-item {
  background: rgba(18, 22, 34, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 -10px 30px -10px rgba(134, 134, 240, 0.05) inset;
  transition: border-color 0.2s, transform 0.2s;
}

.seo-highlight-item:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-1px);
}

.seo-highlight-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.seo-highlight-item div strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.seo-highlight-item div span {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  line-height: 1.35;
}

/* FAQ Accordion (Bento Glassmorphism) */
.seo-faq-section {
  background: rgba(18, 22, 34, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 -15px 50px -15px rgba(134, 134, 240, 0.07) inset;
}

.seo-faq-section h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item summary {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
  outline: none;
}

.faq-item summary:hover {
  color: #818cf8;
}

.faq-item p {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 8px;
}

@media (max-width: 480px) {
  .seo-highlights-grid {
    grid-template-columns: 1fr;
  }
}
