/* =====================================================
   LOMAN AI DEMO — CUSTOM STYLES
   ===================================================== */

:root {
  --loman-orange: #ec4c24;
  --loman-yellow: #fadb3c;
  --loman-beige: #f8f4f2;
  --loman-blue: #4b70f1;
  --loman-dark: #0a0a0a;
  --restaurant-primary: #1a1a1a;
  --restaurant-accent: #ec4c24;
  --restaurant-bg: #f8f4f2;
  --restaurant-text: #1a1a1a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-headline {
  font-family: 'Acid Grotesk', sans-serif;
}

/* =====================================================
   PAGE TRANSITIONS
   ===================================================== */

.page-enter {
  animation: pageEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.page-exit {
  animation: pageExit 0.2s ease-in forwards;
}

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

/* =====================================================
   HERO SPARKLE ANIMATION
   ===================================================== */

.sparkle-float {
  animation: sparkleFloat 4s ease-in-out infinite;
}

.sparkle-float-2 {
  animation: sparkleFloat 5s ease-in-out infinite reverse;
  animation-delay: 1s;
}

.sparkle-float-3 {
  animation: sparkleFloat 3.5s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-12px) rotate(15deg); opacity: 1; }
}

.sparkle-pulse {
  animation: sparklePulse 2s ease-in-out infinite;
}

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

/* =====================================================
   LANDING PAGE
   ===================================================== */

.hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(236, 76, 36, 0.15) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 50%, rgba(75, 112, 241, 0.08) 0%, transparent 60%),
              #0a0a0a;
}

.hero-text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orange-text-gradient {
  background: linear-gradient(135deg, #ec4c24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lead Form */
.lead-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: white;
  padding: 12px 16px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input:focus {
  border-color: #ec4c24;
  background: rgba(236, 76, 36, 0.06);
}

.form-input.border-red-500 {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.06);
}

/* ── Phone input with country code ── */
.phone-input-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.phone-country-select-wrap {
  flex-shrink: 0;
}

.phone-country-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: 10px 0 0 10px;
  padding: 12px 10px 12px 12px;
  font-size: 15px;
  font-family: 'Geist', sans-serif;
  outline: none;
  cursor: pointer;
  height: 100%;
  background: rgba(255,255,255,0.06);
  color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 20px;
  transition: border-color 0.2s, background 0.2s;
}

.phone-country-select:focus {
  border-color: #ec4c24;
  background: rgba(236, 76, 36, 0.06);
}

.phone-country-select option {
  background: #1a1a1a;
  color: white;
}

.phone-input-group .phone-number-input.form-input {
  border-radius: 0 10px 10px 0;
  flex: 1;
  min-width: 0;
}

/* CTA form (light theme) phone input */
.cta-input.phone-number-input {
  border-radius: 0 10px 10px 0 !important;
  flex: 1;
  min-width: 0;
}

/* Light-theme country select for CTA form */
.cta-form-wrap .phone-country-select,
#cta-form .phone-country-select {
  background: #fafafa;
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.15);
  border-right: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(0,0,0,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}

#cta-form .phone-country-select:focus {
  border-color: #ec4c24;
  background: white;
}

#cta-form .phone-country-select option {
  background: white;
  color: #1a1a1a;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  display: block;
}

/* Restaurant Cards */
.restaurant-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.restaurant-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.restaurant-card-inner {
  padding: 24px;
  background: rgba(255,255,255,0.04);
  transition: background 0.25s;
}

.restaurant-card:hover .restaurant-card-inner {
  background: rgba(255,255,255,0.07);
}

.restaurant-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.25s;
}

.restaurant-card:hover .restaurant-card-glow {
  opacity: 1;
}

/* Restaurant Grid */
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.restaurant-emoji-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}

/* ── Mobile / Desktop card views ── */
.card-mobile-view {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-desktop-view {
  display: none;
}

.restaurant-emoji-badge-sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

/* Desktop card compact horizontal layout */
.card-desktop-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.restaurant-emoji-badge-desktop {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.card-desktop-text {
  min-width: 0;
}

.card-desktop-text h3 {
  white-space: nowrap;
}

.card-desktop-text p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: slightly bigger cards */
@media (max-width: 639px) {
  .restaurant-card-inner {
    padding: 10px 12px;
  }
  .restaurant-emoji-badge-sm {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .card-mobile-view {
    gap: 10px;
  }
  .card-mobile-view span.font-headline {
    font-size: 14px;
  }
  .restaurant-grid {
    gap: 8px;
  }
}

/* Desktop: compact cards, 5 columns */
@media (min-width: 640px) {
  .card-mobile-view {
    display: none;
  }
  .card-desktop-view {
    display: block;
  }
  .restaurant-card-inner {
    padding: 16px 18px;
  }
  .restaurant-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* Tablet / small desktop: 4 columns */
@media (min-width: 900px) {
  .restaurant-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large desktop: 5 columns (2 rows of 5) */
@media (min-width: 1100px) {
  .restaurant-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =====================================================
   RESTAURANT DEMO PAGE
   ===================================================== */

.demo-page {
  min-height: 100vh;
  background: var(--restaurant-bg, #f8f4f2);
  color: var(--restaurant-text, #1a1a1a);
}

.menu-panel {
  background: white;
  border-right: 1px solid rgba(0,0,0,0.08);
  height: calc(100vh - 56px);
  overflow-y: auto;
  position: sticky;
  top: 56px;
  scrollbar-width: thin;
}

.menu-panel::-webkit-scrollbar {
  width: 4px;
}

.menu-panel::-webkit-scrollbar-track {
  background: transparent;
}

.menu-panel::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}

.menu-category-title {
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
  padding: 16px 20px 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 8px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 8px;
  margin: 2px 8px;
}

.menu-item:hover {
  background: rgba(0,0,0,0.04);
}

.menu-item.ordered {
  background: rgba(var(--accent-rgb, 236,76,36), 0.08);
}

.menu-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--restaurant-text, #1a1a1a);
}

.menu-item-desc {
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  margin-top: 2px;
}

.menu-item-price {
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--restaurant-accent, #ec4c24);
  white-space: nowrap;
  margin-left: 12px;
}

.menu-item-add-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--restaurant-accent, #ec4c24);
  color: var(--restaurant-accent, #ec4c24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: all 0.15s;
  flex-shrink: 0;
  cursor: pointer;
  background: transparent;
}

.menu-item-add-btn:hover {
  background: var(--restaurant-accent, #ec4c24);
  color: white;
}

/* Voice Panel */
.voice-panel {
  background: var(--restaurant-bg, #f8f4f2);
  padding: 20px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  position: sticky;
  top: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ca3af;
  flex-shrink: 0;
}

.status-dot.idle {
  background: #9ca3af;
}

.status-dot.connecting {
  background: #fadb3c;
  animation: dotPulse 1s ease-in-out infinite;
}

.status-dot.connected {
  background: #22c55e;
  animation: dotPulse 2s ease-in-out infinite;
}

.status-dot.ended {
  background: #ef4444;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50% { box-shadow: 0 0 0 5px transparent; opacity: 0.8; }
}

.status-dot.connected {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: connectedPulse 2s ease-in-out infinite;
}

@keyframes connectedPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Chat Transcript */
.chat-transcript {
  flex: 1;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px;
  overflow-y: auto;
  min-height: 220px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}

.chat-transcript::-webkit-scrollbar {
  width: 3px;
}

.chat-bubble {
  max-width: 85%;
  animation: bubbleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bubble-ai {
  align-self: flex-start;
}

.bubble-user {
  align-self: flex-end;
}

.bubble-content {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.bubble-ai .bubble-content {
  background: var(--restaurant-accent, #ec4c24);
  color: white;
  border-bottom-left-radius: 4px;
}

.bubble-user .bubble-content {
  background: rgba(0,0,0,0.07);
  color: var(--restaurant-text, #1a1a1a);
  border-bottom-right-radius: 4px;
}

.bubble-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 4px;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Order Summary */
.order-summary {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px;
}

.order-summary-title {
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 12px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13.5px;
  animation: fadeSlideIn 0.3s ease forwards;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.order-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 8px 0;
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

/* Call Controls */
.call-controls {
  display: flex;
  gap: 10px;
}

.btn-call {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-call.idle {
  background: #16a34a;
  color: white;
}

.btn-call.idle:hover {
  background: #15803d;
  transform: scale(1.02);
}

.btn-call.connecting {
  background: #f0fdf4;
  color: #16a34a;
  border: 2px solid #86efac;
  cursor: default;
}

.btn-call.active {
  background: #ef4444;
  color: white;
}

.btn-call.active:hover {
  background: #dc2626;
  transform: scale(1.02);
}

/* Reservation Panel */
.reservation-panel {
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px;
  animation: fadeSlideIn 0.4s ease forwards;
}

.reservation-panel.hidden { display: none; }

.reservation-form-input {
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  background: white;
  color: #1a1a1a;
}

.reservation-form-input:focus {
  border-color: var(--restaurant-accent, #ec4c24);
}

/* Mobile Menu Accordion */
.mobile-menu-section {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu-toggle {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  border: none;
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--restaurant-text, #1a1a1a);
}

.mobile-menu-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: white;
}

.mobile-menu-content.open {
  max-height: 1000px;
}

/* =====================================================
   THANK YOU PAGE
   ===================================================== */

.thankyou-page {
  background: var(--loman-beige, #f8f4f2);
  min-height: 100vh;
  padding-top: 80px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.cta-form-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.cta-input {
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
  color: #1a1a1a;
}

.cta-input:focus {
  border-color: #ec4c24;
  background: white;
}

select.cta-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

select.cta-input option[value=""] {
  color: #999;
}

.cta-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(0,0,0,0.2);
  appearance: none;
  -webkit-appearance: none;
  background: #fafafa;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
  position: relative;
}

.cta-checkbox:checked {
  background: #ec4c24;
  border-color: #ec4c24;
}

.cta-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.btn-orange {
  background: #ec4c24;
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: 'Acid Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-orange:hover {
  background: #d94420;
  transform: scale(1.01);
}

/* =====================================================
   UTILITY
   ===================================================== */

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  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)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* Smooth scroll for chat */
.auto-scroll {
  scroll-behavior: smooth;
}

/* Success state animation */
@keyframes successPop {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.success-pop {
  animation: successPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Grid stagger animation */
.card-stagger:nth-child(1) { animation-delay: 0.05s; }
.card-stagger:nth-child(2) { animation-delay: 0.1s; }
.card-stagger:nth-child(3) { animation-delay: 0.15s; }
.card-stagger:nth-child(4) { animation-delay: 0.2s; }
.card-stagger:nth-child(5) { animation-delay: 0.25s; }
.card-stagger:nth-child(6) { animation-delay: 0.3s; }
.card-stagger:nth-child(7) { animation-delay: 0.35s; }
.card-stagger:nth-child(8) { animation-delay: 0.4s; }
.card-stagger:nth-child(9) { animation-delay: 0.45s; }
.card-stagger:nth-child(10) { animation-delay: 0.5s; }

/* Waveform animation for active call */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.wave-bar {
  width: 3px;
  border-radius: 2px;
  background: #22c55e;
  animation: waveBounce 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 6px; }
.wave-bar:nth-child(2) { animation-delay: 0.15s; height: 14px; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; height: 10px; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; height: 18px; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; height: 8px; }

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Call ended overlay */
.call-ended-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: overlayIn 0.3s ease forwards;
}

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

.call-ended-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  animation: cardPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive utilities */
@media (max-width: 768px) {
  .menu-panel {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .voice-panel {
    position: static;
    height: auto;
    min-height: 80vh;
  }

  .chat-transcript {
    min-height: 200px;
    max-height: 250px;
  }
}

/* Form success state */
.form-success {
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Hero word highlight */
.highlight-word {
  position: relative;
  display: inline-block;
}

.highlight-word::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--loman-orange);
  border-radius: 2px;
}

/* =====================================================
   BOUNCE ARROW ANIMATION
   ===================================================== */

.bounce-arrow {
  animation: bounceDown 1.5s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* =====================================================
   MOBILE STICKY BOTTOM BAR
   ===================================================== */

.mobile-sticky-bottom {
  flex-shrink: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 20;
}

.mobile-order-summary {
  padding: 12px;
  border-radius: 12px;
}

.mobile-order-summary .order-summary-title {
  font-size: 11px;
  margin-bottom: 0;
}

.pb-safe {
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

@media (max-width: 767px) {
  .mobile-scroll-area {
    -webkit-overflow-scrolling: touch;
  }
}

