/* -------------------------------------------------------------
   OrderKar - 3D Interactive Talking Slider Coming Soon Page
   Transparent PNGs, Auto-Playing 3D Slider, Clean Grid
-------------------------------------------------------------- */

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

:root {
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Cabinet Grotesk', sans-serif;

  --bg-deep: #07080b;
  --bg-panel: rgba(18, 20, 27, 0.78);
  --border-glass: rgba(255, 255, 255, 0.08);

  --accent-orange: #ff5722;
  --accent-amber: #ff9100;
  --accent-gradient: linear-gradient(135deg, #ff4757 0%, #ff6b4a 45%, #ffa502 100%);
  --accent-glow: rgba(255, 87, 34, 0.4);

  --text-pure: #ffffff;
  --text-dim: #9aa3b5;
  --text-muted: #5d677d;

  --radius-pill: 9999px;
  --radius-card: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-pure);
  line-height: 1.5;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient 3D Depth Lights */
.ambient-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-light-1 {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.22) 0%, transparent 65%);
  top: -100px;
  right: 10%;
  filter: blur(90px);
  animation: floatLight 12s ease-in-out infinite alternate;
}

.ambient-light-2 {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 165, 2, 0.15) 0%, transparent 65%);
  bottom: -80px;
  left: -80px;
  filter: blur(80px);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  opacity: 0.5;
}

@keyframes floatLight {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.1); }
}

/* Page Layout - Exactly Fits 100vh on Desktop */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  height: 100vh;
  margin: 0 auto;
  padding: 1.25rem 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Navbar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-glass);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-unified {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
}

.logo-letter-o {
  width: 38px;
  height: 38px;
  margin-right: 1px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(255, 87, 34, 0.35));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-link:hover .logo-letter-o {
  transform: rotate(-10deg) scale(1.1);
  filter: drop-shadow(0 4px 14px rgba(255, 87, 34, 0.65));
}

.brand-text-rest {
  color: #ffffff;
}

.brand-text-kar {
  margin-left: 6px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Coming Soon Badge */
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.35);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff9100;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ff3838;
  box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 56, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 56, 56, 0); }
}

/* Hero Section - Desktop 2-Column Grid Fitting 100vh */
.hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem 2.5rem;
  align-items: center;
  flex: 1;
  min-height: 0;
  position: relative;
}

/* Part 1: Headline, Tag & Speaker Switcher */
.hero-intro {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  z-index: 2;
  max-width: 560px;
}

/* Part 3: Feature Points & Early Access Notify Box */
.hero-conversion {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  z-index: 2;
  max-width: 560px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff9e80;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero-heading .glow-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Who is speaking? Switcher Pills */
.speaker-switch-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.speaker-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.speaker-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.28rem;
  border-radius: var(--radius-pill);
  gap: 0.3rem;
  width: fit-content;
  backdrop-filter: blur(12px);
}

.speaker-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  font-family: var(--font-main);
}

.speaker-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.speaker-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 16px -2px var(--accent-glow);
}

/* Points List: Compact & Clean */
.points-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 520px;
}

.point-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.point-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 24, 0.4);
  background: rgba(28, 32, 44, 0.85);
}

.point-emoji {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(255, 87, 34, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.point-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.1rem;
}

.point-info p {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Fast Email Notify Box */
.notify-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.notify-form {
  display: flex;
  gap: 0.55rem;
  max-width: 480px;
}

.notify-input {
  flex: 1;
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-size: 0.92rem;
  color: #ffffff;
  outline: none;
  font-family: var(--font-main);
  transition: all 0.25s ease;
}

.notify-input::placeholder {
  color: var(--text-muted);
}

.notify-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2);
}

.notify-btn {
  background: var(--accent-gradient);
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 22px -4px var(--accent-glow);
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: var(--font-main);
}

.notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -2px rgba(255, 87, 34, 0.6);
}

.notify-feedback {
  font-size: 0.82rem;
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.notify-feedback.success {
  display: flex;
  color: #10b981;
}

.notify-feedback.error {
  display: flex;
  color: #ef4444;
}

/* RIGHT HERO: 3D TALKING CHARACTER SLIDER */
.hero-slider-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 520px;
  width: 100%;
}

.character-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Radial Backlight & Floor Pedestal */
.character-backlight {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.25) 0%, rgba(255, 145, 0, 0.08) 50%, transparent 70%);
  filter: blur(45px);
  z-index: 1;
  pointer-events: none;
}

.character-floor-shadow {
  position: absolute;
  bottom: 25px;
  width: 250px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}

/* 3D Animated Speech Bubble - Exactly Matching Screenshot */
.speech-bubble-3d {
  position: absolute;
  top: 20px;
  left: -130px;
  z-index: 5;
  background: #ffffff;
  color: #121318;
  padding: 0.95rem 1.3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 87, 34, 0.25);
  max-width: 260px;
  animation: bubblePop 4s ease-in-out infinite alternate;
  transform-origin: center right;
  cursor: pointer;
}

/* Arrow points cleanly towards the character from the side */
.speech-bubble-3d::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -11px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

.speech-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff5722;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.speech-text {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f1015;
}

.speech-hint {
  font-size: 0.74rem;
  color: #636e72;
  margin-top: 0.2rem;
  display: block;
}

@keyframes bubblePop {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-5px) scale(1.02); }
}

/* Badges Cluster (Contents on Desktop, Flex on Mobile) */
.badges-cluster {
  display: contents;
}

/* Floating Badge at Bottom-Right (From Screenshot) */
.floating-badge {
  position: absolute;
  background: rgba(18, 20, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  padding: 0.55rem 0.95rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
  z-index: 4;
  animation: floatOrb 6s ease-in-out infinite alternate;
}

.badge-food {
  top: 170px;
  right: -30px;
  animation-delay: -1.5s;
}

.badge-delivery {
  bottom: 50px;
  right: -25px;
  animation-delay: -3.5s;
}

.badge-offer {
  bottom: 105px;
  left: 0px;
  animation-delay: -2s;
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
}

.badge-text span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-8px) scale(1.03); }
}

/* Transparent Character Slide Wrapper */
.character-image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-png {
  max-height: 460px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75));
  animation: float3D 5s ease-in-out infinite alternate;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
  user-select: none;
}

.character-png:hover {
  transform: scale(1.03) translateY(-4px);
}

@keyframes float3D {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.6deg); }
  100% { transform: translateY(-2px) rotate(-0.4deg); }
}



/* Bottom Strip */
.footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-tags {
  display: flex;
  gap: 1.25rem;
  font-weight: 600;
  color: var(--text-dim);
}

.footer-tags span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ============================================================
   Comprehensive Responsive System (Mobile, Tablet, Desktop)
============================================================ */

/* Small Laptops & Short Screens: Ensure 1-Screen Fit */
@media (max-height: 820px) and (min-width: 1025px) {
  .app-container {
    padding: 0.85rem 2rem 0.85rem;
  }

  .hero-heading {
    font-size: 2.85rem;
  }

  .character-png {
    max-height: 400px;
  }

  .hero-slider-wrap {
    max-height: 450px;
  }

  .point-card {
    padding: 0.6rem 0.85rem;
  }

  .speech-bubble-3d {
    top: 5px;
    padding: 0.75rem 1.1rem;
    max-width: 245px;
  }
}

/* Tablets Landscape & Small Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .app-container {
    padding: 1.25rem 1.75rem;
  }

  .hero-stage {
    gap: 1.75rem;
  }

  .hero-heading {
    font-size: 2.85rem;
  }

  .speech-bubble-3d {
    left: -80px;
    max-width: 240px;
  }

  .badge-food {
    right: -15px;
  }

  .badge-delivery {
    right: -15px;
  }
}

/* Tablets Portrait & Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
  }

  .app-container {
    height: auto;
    min-height: 100vh;
    padding: 1.25rem 1.5rem 2.25rem;
    overflow-x: hidden;
  }

  /* Main Container: Clean Column Stack with Exact Component Ordering */
  .hero-stage {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0 1.5rem;
  }

  /* 1. Intro at Top */
  .hero-intro {
    order: 1;
    width: 100%;
    max-width: 580px;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .hero-tag {
    justify-content: center;
    font-size: 0.82rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    text-align: center;
  }

  .speaker-switch-container {
    align-items: center;
    width: 100%;
  }

  .speaker-toggle {
    margin: 0 auto;
  }

  /* 2. 3D Character Showcase right below switcher */
  .hero-slider-wrap {
    order: 2;
    width: 100%;
    max-width: 480px;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0.25rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .character-3d-scene {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Speech bubble sitting cleanly on top of character */
  .speech-bubble-3d {
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 auto 0.75rem !important;
    width: 100% !important;
    max-width: 320px !important;
    padding: 0.75rem 1.1rem !important;
    text-align: center !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55) !important;
    transform-origin: bottom center !important;
  }

  /* Downward pointing arrow directly towards the character's head */
  .speech-bubble-3d::after {
    top: 100% !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-top: 8px solid #ffffff !important;
    border-bottom: none !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
  }

  .character-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .character-png {
    max-height: clamp(240px, 35vh, 320px) !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .character-backlight {
    width: 280px;
    height: 280px;
  }

  /* Sleek Inline Badge Pills Strip under Character (No Ugly Vertical Blocks) */
  .badges-cluster {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 0.5rem !important;
    padding: 0.35rem 0.65rem 0.55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.65rem auto 0 !important;
    z-index: 5 !important;
  }

  .badges-cluster::-webkit-scrollbar {
    display: none;
  }

  .floating-badge {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 9999px !important;
    background: rgba(18, 20, 28, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
    white-space: nowrap !important;
  }

  .badge-icon {
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  .badge-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .badge-text strong {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
  }

  .badge-text span {
    display: none !important; /* Hide subtitle for ultra-clean single-line inline pill */
  }

  /* 3. Feature Cards & Email Notify Box */
  .hero-conversion {
    order: 3;
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    align-items: center;
    margin: 0 auto;
  }

  .points-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 540px !important;
  }

  .point-card {
    padding: 0.65rem 0.85rem !important;
    gap: 0.65rem !important;
    border-radius: 12px !important;
  }

  .point-emoji {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
  }

  .point-info h4 {
    font-size: 0.86rem !important;
    margin-bottom: 2px !important;
  }

  .point-info p {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .notify-wrap {
    width: 100% !important;
    max-width: 500px !important;
  }

  .notify-form {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Mobile Devices (<= 768px) - High-Conversion App Experience */
@media (max-width: 768px) {
  .app-container {
    padding: 0.85rem 1rem 1.85rem;
  }

  .top-nav {
    padding-bottom: 0.65rem;
  }

  .brand-logo-unified {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }

  .logo-letter-o {
    width: 30px;
    height: 30px;
  }

  .coming-soon-pill {
    padding: 0.32rem 0.75rem;
    font-size: 0.72rem;
  }

  .hero-stage {
    gap: 1.15rem;
    padding: 0.5rem 0 1rem;
  }

  .hero-intro {
    gap: 0.75rem;
  }

  .hero-heading {
    font-size: clamp(1.65rem, 6vw, 2.15rem);
    line-height: 1.15;
  }

  .speaker-toggle {
    width: 100%;
    display: flex;
    gap: 0.25rem;
    padding: 0.22rem;
  }

  .speaker-btn {
    flex: 1;
    padding: 0.45rem 0.35rem;
    font-size: 0.78rem;
    justify-content: center;
  }

  .hero-slider-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .speech-bubble-3d {
    max-width: 300px !important;
    padding: 0.65rem 0.95rem !important;
    border-radius: 16px !important;
    margin: 0 auto 8px !important;
  }

  .speech-badge {
    font-size: 0.68rem !important;
  }

  .speech-text {
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
  }

  .speech-hint {
    font-size: 0.7rem !important;
  }

  .character-png {
    max-height: clamp(210px, 32vh, 275px) !important;
  }

  .character-backlight {
    width: 240px;
    height: 240px;
  }

  /* Inline Badge Pills on Mobile (Horizontal Smooth Swipe) */
  .badges-cluster {
    justify-content: flex-start !important;
    padding: 0.25rem 0.5rem 0.45rem !important;
    gap: 0.45rem !important;
    margin-top: 0.5rem !important;
  }

  .floating-badge {
    padding: 0.38rem 0.75rem !important;
    border-radius: 9999px !important;
  }

  .badge-icon {
    font-size: 0.95rem !important;
  }

  .badge-text strong {
    font-size: 0.75rem !important;
  }

  /* Compact 2x2 Feature Cards */
  .points-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .point-card {
    padding: 0.55rem 0.7rem !important;
    gap: 0.5rem !important;
    border-radius: 12px !important;
  }

  .point-emoji {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }

  .point-info h4 {
    font-size: 0.8rem !important;
    margin-bottom: 2px !important;
  }

  .point-info p {
    font-size: 0.67rem !important;
    line-height: 1.25 !important;
  }

  .notify-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .notify-input {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    height: 44px;
    border-radius: 10px;
  }

  .notify-btn {
    width: 100% !important;
    padding: 0.8rem 1.25rem !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    height: 44px;
    border-radius: 10px;
  }

  .footer-strip {
    flex-direction: column !important;
    gap: 0.65rem !important;
    text-align: center !important;
    padding-top: 1.15rem !important;
    font-size: 0.76rem !important;
  }

  .footer-tags {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    font-size: 0.72rem !important;
  }
}

/* Small Smartphone Screens (<= 400px, e.g. iPhone SE / Galaxy) */
@media (max-width: 400px) {
  .app-container {
    padding: 0.65rem 0.75rem 1.5rem;
  }

  .brand-logo-unified {
    font-size: 1.45rem;
  }

  .logo-letter-o {
    width: 26px;
    height: 26px;
  }

  .brand-text-kar {
    margin-left: 4px;
  }

  .coming-soon-pill {
    padding: 0.28rem 0.6rem;
    font-size: 0.68rem;
  }

  .hero-heading {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .speaker-btn {
    padding: 0.4rem 0.2rem;
    font-size: 0.72rem;
  }

  .character-png {
    max-height: 195px !important;
  }

  .character-3d-scene {
    max-width: 280px;
  }

  .speech-bubble-3d {
    max-width: 95% !important;
    padding: 0.55rem 0.75rem !important;
  }

  .speech-text {
    font-size: 0.82rem !important;
  }

  .floating-badge {
    padding: 0.32rem 0.65rem !important;
  }

  .badge-text strong {
    font-size: 0.72rem !important;
  }

  .point-card {
    padding: 0.45rem 0.55rem !important;
  }

  .point-emoji {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    font-size: 0.85rem !important;
  }

  .point-info h4 {
    font-size: 0.75rem !important;
  }

  .point-info p {
    font-size: 0.62rem !important;
  }
}
