@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #eef2f7;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent-blue: #0078e0;
  --accent-blue-dark: #005bb5;
  --accent-green: #34c759;
  --font-family-title: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-family-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  
  --clay-shadow-out: 12px 14px 28px rgba(163, 177, 198, 0.35), inset 2px 2px 5px #ffffff, inset -2px -2px 5px rgba(0, 0, 0, 0.04);
  --clay-shadow-in: inset 3px 3px 7px rgba(163, 177, 198, 0.35), inset -3px -3px 7px rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 15px 35px rgba(0, 52, 104, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

body {
  background-color: var(--bg-primary);
  font-family: var(--font-family-body);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1rem;
  margin: 0;
  width: 100%;
}

/* ─────────────────────────────────────────────────────────
   PREMIUM ENTRANCE SPLASH SCREEN
───────────────────────────────────────────────────────── */
@keyframes splash-gem-in {
  0%   { opacity: 0; transform: scale(0.35) rotate(-18deg); filter: blur(12px); }
  50%  { opacity: 1; transform: scale(1.12) rotate(4deg); filter: blur(0px); }
  65%  { transform: scale(0.96) rotate(-2deg); }
  80%  { transform: scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0px); }
}

@keyframes splash-fade-up {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes splash-exit {
  0%   { opacity: 1; transform: scale(1); filter: blur(0px); }
  100% { opacity: 0; transform: scale(1.05); filter: blur(10px); pointer-events: none; }
}

.splash-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; height: 100dvh;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #c8ddf8 0%, #ddeeff 40%, #b8cfe8 100%);
  -webkit-user-select: none; user-select: none; touch-action: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-screen.exit {
  animation: splash-exit 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

.splash-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem;
}

.splash-gem {
  font-size: 5rem; line-height: 1; margin-bottom: 1.25rem;
  opacity: 0;
  animation: splash-gem-in 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s forwards;
  filter: drop-shadow(0 16px 32px rgba(0, 80, 200, 0.22));
}

.splash-title {
  font-family: var(--font-family-title);
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  opacity: 0;
  margin-bottom: 0.5rem;
  animation: splash-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.82s forwards;
}

.splash-tagline {
  font-size: 0.92rem; font-weight: 600; color: #475569; opacity: 0; margin-bottom: 2.25rem;
  animation: splash-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
}

.splash-wordmark {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0; color: rgba(71, 85, 105, 0.55);
  animation: splash-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.25s forwards;
}

/* Background Backdrop */
.bg-backdrop {
  position: fixed; inset: 0; z-index: -50;
  background-image: url('background.jpg');
  background-size: cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat;
  pointer-events: none;
}

/* Main Centered Container */
.main-intake-wrapper {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 440px; margin: 0 auto;
}

.intake-card {
  max-width: 440px; width: 100%; margin: 0 auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(240, 244, 250, 0.78));
  backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  box-shadow: 0 24px 50px -10px rgba(0, 120, 224, 0.14), inset 0 2px 4px rgba(255, 255, 255, 0.98);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.intake-card.card-appeared {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.intake-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem;
}

.biz-logo-group { display: flex; align-items: center; gap: 0.5rem; }
.biz-logo-icon { font-size: 1.35rem; }

.progress-track-inline {
  width: 65px; height: 7px; border-radius: 50px; background: rgba(0, 120, 224, 0.1); overflow: hidden;
}

.progress-bar {
  height: 100%; background: linear-gradient(90deg, #38bdf8, var(--accent-blue)); border-radius: 50px; transition: width 0.35s ease;
}

.step-tracker-label { font-size: 0.75rem; font-weight: 800; color: var(--text-secondary); }

.helper-pill-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.38rem 0.95rem; background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 120, 224, 0.15); border-radius: 50px;
  font-size: 0.72rem; font-weight: 800; color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(0, 120, 224, 0.06);
}

/* Hero Box */
.emoji-hero-box {
  width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  background: linear-gradient(145deg, #ffffff, #e2e8f0);
  box-shadow: 10px 14px 28px rgba(163, 177, 198, 0.35), inset 2px 2px 5px #ffffff, inset -2px -2px 5px rgba(0, 0, 0, 0.06);
}

.wave-hand { display: inline-block; transform-origin: 70% 70%; animation: wave 2.5s infinite ease-in-out; }
@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* 3-Step Video Game Framing Card */
.instructions-card {
  background: linear-gradient(145deg, #ffffff, #edf5ff);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  padding: 1.2rem 1.15rem;
  box-shadow: 12px 14px 28px rgba(163, 177, 198, 0.32), inset 2px 2px 4px #ffffff, inset -2px -2px 4px rgba(0,0,0,0.03);
  display: flex; flex-direction: column; gap: 0.85rem; text-align: left;
}

.instruction-row {
  display: flex; align-items: center; gap: 0.9rem;
}

.step-num-pill {
  width: 38px; height: 38px; border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-blue), var(--accent-blue-dark));
  color: white; font-size: 1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 120, 224, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

.instruction-text strong {
  display: block; font-size: 0.9rem; font-weight: 800; color: var(--text-primary); line-height: 1.2;
}

.instruction-text span {
  font-size: 0.76rem; font-weight: 600; color: var(--text-secondary);
}

/* 3D Claymorphic Brand Logo Chips */
/* 3D Claymorphic Brand Logo Capsule Pills */
.brand-trust-container {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.brand-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  padding: 0.25rem;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1.25rem;
  background: #ffffff;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 6px 20px rgba(180, 200, 225, 0.45), 
    0 2px 6px rgba(0, 0, 0, 0.02);
  pointer-events: none;
  box-sizing: border-box;
}

.brand-svg-mark {
  height: 18px;
  max-width: 80px;
  object-fit: contain;
  opacity: 0.88;
  pointer-events: none;
  display: block;
}

.brand-svg-mark.logo-lg {
  height: 30px;
  max-width: 120px;
  opacity: 0.98;
}

.and-more-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0078e0;
  background: #eef6ff;
  border: 2px solid #cce3f9;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(180, 200, 225, 0.35);
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
}

.btn-primary-clay {
  width: 100%; padding: 1rem; border-radius: 24px; border: none;
  background: linear-gradient(145deg, var(--accent-blue), var(--accent-blue-dark));
  color: white; font-family: inherit; font-size: 0.98rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 120, 224, 0.32), inset 0 2px 3px rgba(255, 255, 255, 0.4);
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-tap-highlight-color: transparent;
}

.btn-primary-clay:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0, 120, 224, 0.42), inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

.btn-primary-clay:active { transform: scale(0.97); }

/* Slides */
.slides-wrapper { position: relative; min-height: 380px; }

.slide { display: none; flex-direction: column; justify-content: center; animation: slideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.slide.active { display: flex; }

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

.question-title {
  font-family: var(--font-family-title); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em; color: var(--text-primary);
}

/* 3D Clay Tag Options Grid */
.tags-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%;
}

.tag-option {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem 0.85rem; border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #edf5ff);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 10px 12px 24px rgba(163, 177, 198, 0.3), inset 2px 2px 4px #ffffff, inset -2px -2px 4px rgba(0, 0, 0, 0.03);
  font-size: 0.88rem; font-weight: 800; color: var(--text-primary);
  cursor: pointer; transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none; -webkit-tap-highlight-color: transparent; text-align: center; gap: 0.35rem;
}

.tag-option:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 14px 18px 30px rgba(0, 120, 224, 0.18), inset 2px 2px 4px #ffffff;
  border-color: rgba(0, 120, 224, 0.35);
}

.tag-option:active {
  transform: scale(0.97); box-shadow: inset 3px 3px 7px rgba(163, 177, 198, 0.35), inset -3px -3px 7px #ffffff;
}

.tag-option.selected {
  background: linear-gradient(145deg, var(--accent-blue), var(--accent-blue-dark));
  color: white; border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 120, 224, 0.38), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.span-full-center { grid-column: 1 / -1; }

.clay-input {
  width: 100%; padding: 0.95rem 1.15rem; border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.75);
  font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--text-primary);
  outline: none; box-shadow: inset 2px 2px 5px rgba(163, 177, 198, 0.22), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.clay-input:focus {
  border-color: var(--accent-blue); background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 120, 224, 0.15), inset 2px 2px 4px rgba(0, 0, 0, 0.03);
}

/* Footer Nav Buttons (Sleek 3D Clay Pills) */
.intake-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; gap: 0.75rem;
}

.nav-btn {
  padding: 0.9rem 1.5rem; border-radius: 50px; font-family: inherit; font-size: 0.92rem; font-weight: 800;
  cursor: pointer; transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: none;
  display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;
}

.btn-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(145deg, #ffffff, #edf4fc);
  color: var(--text-secondary);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 8px 10px 20px rgba(163, 177, 198, 0.3), inset 2px 2px 4px #ffffff, inset -2px -2px 4px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.btn-back:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--accent-blue);
  box-shadow: 10px 14px 24px rgba(0, 120, 224, 0.18), inset 2px 2px 4px #ffffff;
  border-color: rgba(0, 120, 224, 0.3);
}

.btn-back:active { transform: scale(0.93); }

.btn-next {
  background: linear-gradient(145deg, var(--accent-blue), var(--accent-blue-dark));
  color: white; margin-left: auto;
  box-shadow: 0 10px 24px rgba(0, 120, 224, 0.32), inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

.btn-next:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0, 120, 224, 0.42);
}

.btn-next:active { transform: scale(0.97); }

.btn-next:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

.keyboard-hint { font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); opacity: 0.6; }

@media (max-width: 640px), (hover: none), (pointer: coarse) {
  .keyboard-hint { display: none !important; }
}

.powered-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.45rem 1.1rem; background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 50px;
  font-size: 0.72rem; color: var(--text-secondary); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.powered-badge strong { color: var(--text-primary); font-weight: 800; }

.success-check-ring {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-green), #248a3d);
  color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto;
  font-size: 2.2rem; box-shadow: 0 12px 28px rgba(52, 199, 89, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.4);
}

/* Cal.com Embed & Payment Viewport */
.cal-embed-wrapper {
  width: 100%; border-radius: 24px; overflow: hidden;
  box-shadow: 10px 12px 24px rgba(163, 177, 198, 0.25), inset 2px 2px 4px #ffffff;
  background: #ffffff; border: 1.5px solid rgba(0, 120, 224, 0.15);
  min-height: 540px;
}

.cal-fallback-link {
  font-size: 0.8rem; font-weight: 800; color: var(--accent-blue); text-decoration: none; transition: opacity 0.2s ease;
}
.cal-fallback-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  body { padding: 1.25rem 0.85rem 2rem; }
  .intake-card { padding: 1.85rem 1.35rem; border-radius: 32px; }
  .cal-embed-wrapper { min-height: 560px; }
}
