/* ============================================
   RESTAURANT & HOSPITALITY PAGE - CUSTOM STYLES
   ============================================ */

:root {
    --section-padding: 60px 0;
    /* Tighter spacing for this page */
}

/* Industry Badge */
.industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 128, 0, 0.1) 0%, rgba(255, 128, 0, 0.05) 100%);
    border: 1px solid rgba(255, 128, 0, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.industry-badge svg {
    width: 18px;
    height: 18px;
}

/* Navbar Contact Icons - Orange theme for restaurant */
.nav-icon-btn {
    color: var(--accent) !important;
}

.nav-icon-btn:hover {
    box-shadow: 0 4px 16px rgba(255, 128, 0, 0.25) !important;
    border-color: var(--accent) !important;
    background: rgba(255, 128, 0, 0.05) !important;
}

/* ============================================
   HERO SECTION - RESTAURANT
   ============================================ */
.restaurant-hero {
    padding: 110px 0 80px;
}

.hero-visual-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Rotating Metric Spotlight */
.metric-spotlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 128, 0, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 32px;
    position: relative;
}

.spotlight-slides {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-slide {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.spotlight-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.spotlight-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
}

.spotlight-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.spotlight-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.spotlight-dots {
    display: flex;
    gap: 10px;
    margin-top: 32px;
}

.spotlight-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.spotlight-dots .dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 900px) {
    .metric-spotlight {
        min-height: 260px;
        padding: 32px 24px;
    }

    .spotlight-value {
        font-size: 3rem;
    }

    .spotlight-icon {
        font-size: 2.5rem;
    }

    .spotlight-label {
        font-size: 0.9rem;
    }

    .hero-visual-right {
        margin-top: 32px;
    }
}



/* Hero Metrics */
.hero-metrics {
    display: flex;
    gap: 24px;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}


.phone-content {
    padding-top: 50px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--text-inverse);
}

.chat-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 320px;
    background: #f8f9fa;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.5;
    animation: bubbleFadeIn 0.5s ease forwards;
}

.chat-bubble.incoming {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.outgoing {
    background: var(--primary);
    color: var(--text-inverse);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble p {
    margin: 0;
}

.chat-bubble.typing {
    padding: 16px 20px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes bubbleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO METRICS - PREMIUM COMPOSITE
   ============================================ */
.hero-metrics-composite {
    display: flex;
    gap: 20px;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    align-items: center;
}

/* Glass Card Base */
.metric-glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    border-radius: 24px;
    padding: 24px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   FLOATING METRIC BADGES (Hero Visual)
   ============================================ */
.metric-badges-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 16px;
    padding: 20px;
}

.metric-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow:
        0 8px 32px -8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatBadge 5s ease-in-out infinite;
}

.metric-badge:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 16px 48px -8px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Staggered float animations */
.float-1 {
    animation-delay: 0s;
}

.float-2 {
    animation-delay: 1s;
}

.float-3 {
    animation-delay: 2s;
}

.float-4 {
    animation-delay: 3s;
}

.float-5 {
    animation-delay: 4s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .metric-badges-container {
        min-height: auto;
        gap: 10px;
        padding: 10px;
    }

    .metric-badge {
        padding: 10px 16px;
        gap: 8px;
    }

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

    .badge-text {
        font-size: 0.8rem;
    }
}

.metric-glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
}

/* Main Card (Revenue) */
.main-card {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    color: var(--accent);
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.revenue-icon {
    background: linear-gradient(135deg, rgba(255, 128, 0, 0.15), rgba(255, 100, 0, 0.05));
    color: var(--accent);
}

.trend-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 10px;
    border-radius: 20px;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.metric-value-lg {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Sparkline Chart */
.sparkline-container {
    margin-top: auto;
    width: 110%;
    margin-left: -5%;
    height: 50px;
    position: relative;
    bottom: -10px;
    color: var(--accent);
}

.chart-line {
    filter: drop-shadow(0 4px 6px rgba(255, 128, 0, 0.2));
}

/* Right Stack (Sub cards) */
.metrics-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}

.glass-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.res-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.metric-value-md {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.metric-label-sm {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mini-progress {
    margin-top: 12px;
}

.progress-track-sm {
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    width: 100%;
}

.progress-fill-sm {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
}

/* Live Card Specifics */
.live-pulse-ring {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-core {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.ring-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    animation: pingRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.active-users-avatars {
    display: flex;
    margin-top: 12px;
    padding-left: 8px;
}

.avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    margin-left: -8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.avatar-sm.count {
    background: #f1f5f9;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-metrics-composite {
        flex-direction: column;
        max-width: 100%;
    }

    .metrics-stack {
        width: 100%;
        flex-direction: row;
    }

    .sub-card {
        flex: 1;
    }
}

/* ============================================
   AI AGENT FEATURE VISUALS (HERO)
   ============================================ */

/* Main Card (Feature - AI Engine) */
.feature-main {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.ai-core-visual {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-icon {
    position: relative;
    z-index: 2;
    color: var(--accent);
    background: rgba(255, 128, 0, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(255, 128, 0, 0.2);
    animation: pulseCore 2s infinite;
}

@keyframes pulseCore {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.status-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.05);
    /* Default fallback */
}

.status-pill.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: block;
}

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

.feature-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.feature-tags-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.f-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.f-check {
    color: var(--accent);
    font-weight: 700;
}

/* Mini Waveform Animation in Main Card */
.mini-waveform {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    position: absolute;
    bottom: 24px;
    right: 24px;
    opacity: 0.3;
}

.wave-bar {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: waveBounce 1.2s infinite ease-in-out;
}

.wave-bar:nth-child(2n) {
    animation-duration: 0.9s;
}

.wave-bar:nth-child(3n) {
    animation-duration: 1.1s;
}

.wave-bar:nth-child(4n) {
    animation-duration: 1.3s;
}

@keyframes waveBounce {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

/* Feature Sub Cards */
.feature-icon-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.f-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-icon-box.globe {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.f-icon-box.brain {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.metric-value-md.text-sm {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .metrics-stack {
        flex-direction: column;
    }
}

/* ============================================
   DEMO SCENARIOS SECTION
   ============================================ */
/* ============================================
   DEMO SCENARIOS SECTION (Horizontal Playback Widget)
   ============================================ */
/* ============================================
   DEMO SCENARIOS SECTION (Horizontal Widget)
   ============================================ */
.demos-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

/* Compact Demo Experience */
.demo-experience-compact {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ============================================
   INLINE AUDIO WAVE PLAYER DESIGN
   ============================================ */
.demo-wave-player {
    max-width: 680px;
    margin: 40px auto 0;
}

/* Minimal Text Scenario Tabs */
.scenario-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.scenario-tabs .tab {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.scenario-tabs .tab:hover {
    color: var(--text-primary);
}

.scenario-tabs .tab.active {
    color: var(--accent);
    font-weight: 600;
}

/* Underline indicator for active tab */
.scenario-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Waveform Player Container */
.waveform-player {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Floating Play Button */
.wave-play-btn {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 128, 0, 0.35);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wave-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 128, 0, 0.45);
}

/* Waveform Container */
.waveform-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.waveform-bars {
    position: relative;
    height: 40px;
    cursor: pointer;
}

.waveform-svg {
    width: 100%;
    height: 40px;
    fill: #E0E0E0;
}

/* Progress overlay - clips the SVG to show accent color */
.waveform-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    overflow: hidden;
    pointer-events: none;
}

.waveform-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent);
    mix-blend-mode: source-in;
}

/* Time and Status Row */
.wave-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-feature-settings: "tnum";
}

.wave-status {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scenario-tabs {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .scenario-tabs .tab {
        font-size: 0.85rem;
    }

    .waveform-player {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .wave-play-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .waveform-container {
        width: 100%;
    }
}



.strip-visual {
    width: 40px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-wave-container {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.mini-wave {
    width: 3px;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    opacity: 0.2;
}

.playback-strip-compact.playing .mini-wave {
    animation: waveBounce 0.6s ease-in-out infinite;
}

.playback-strip-compact.playing .mini-wave:nth-child(2) {
    animation-delay: 0.2s;
}

.playback-strip-compact.playing .mini-wave:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes waveBounce {

    0%,
    100% {
        transform: scaleY(0.4);
        opacity: 0.3;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .scenario-bubbles-container {
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .playback-strip-compact {
        padding: 10px 16px;
        gap: 12px;
        border-radius: 20px;
        flex-direction: row;
    }

    .strip-visual {
        display: none;
    }
}

.progress-container {
    flex: 1;
}

.widget-progress-bar-modern {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.widget-time-modern {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}


/* OLD MUSIC PLAYER STYLES - DEPRECATED */
.demo-player-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 48px auto 0;
    align-items: center;
}

/* LEFT: PLAYLIST */
.demo-playlist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.playlist-header {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.track-item:hover {
    background: #f8fafc;
    transform: translateX(4px);
}

.track-item.active {
    background: #fff0eb;
    /* accented light bg */
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.1);
}

.track-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.track-item.active .track-icon {
    background: var(--accent);
    color: white;
}

.track-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.track-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* RIGHT: PLAYER CARD */
.demo-player-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 32px;
    padding: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Abstract Background Blobs */
.player-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.blob-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 128, 0, 0.3);
    top: -50px;
    right: -50px;
    animation: blobFloat 10s infinite alternate;
}

.blob-2 {
    width: 150px;
    height: 150px;
    background: rgba(59, 130, 246, 0.2);
    bottom: -30px;
    left: -30px;
    animation: blobFloat 8s infinite alternate-reverse;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, 40px);
    }
}

.player-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.live-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.connection-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Waveform Visual */
.voice-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 60px;
    margin-bottom: 32px;
}

.bar {
    width: 6px;
    background: white;
    border-radius: 4px;
    height: 10px;
    animation: waveBounce 1.2s infinite ease-in-out;
}

/* Stagger animations */
.bar:nth-child(odd) {
    animation-duration: 0.8s;
}

.bar:nth-child(2n) {
    animation-duration: 1.1s;
}

.bar:nth-child(3n) {
    animation-duration: 1.3s;
}

.bar:nth-child(4n) {
    animation-duration: 0.9s;
}

@keyframes waveBounce {

    0%,
    100% {
        height: 10px;
        opacity: 0.5;
    }

    50% {
        height: 40px;
        opacity: 1;
    }
}

/* Transcript */
.call-transcript {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: hidden;
    /* For now fixed */
}

.msg {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 90%;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.msg.active {
    opacity: 1;
    transform: scale(1.02);
}

.msg.ai {
    background: rgba(255, 128, 0, 0.2);
    color: #ffa04d;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg.guest {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Controls */
.player-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-bar-wrapper {
    width: 100%;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 30%;
    border-radius: 2px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.time-codes {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.btn-control {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.btn-control:hover {
    opacity: 1;
}

.btn-control.play-pause {
    width: 48px;
    height: 48px;
    background: white;
    color: var(--bg-card);
    /* Dark text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .demo-player-container {
        grid-template-columns: 1fr;
    }

    .demo-player-card {
        order: -1;
    }
}

@media (max-width: 900px) {
    .demos-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .demos-visual-wrapper {
        order: -1;
        /* Visual matches top on mobile */
    }
}

/* ============================================
   INTEGRATIONS CAROUSEL (Infinite Scroll)
   ============================================ */
.integrations-section {
    padding: 48px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.integrations-section .section-header {
    margin-bottom: 24px;
    padding: 0 5%;
}

.integrations-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.integrations-carousel-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: scrollCarousel 30s linear infinite;
}

.integrations-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.integration-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    padding: 6px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
}

.integration-item:hover img {
    transform: scale(1.15);
}

.integration-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}

/* Mobile: Compact Carousel */
@media (max-width: 768px) {

    /* Standardize all section titles */
    .section-title {
        font-size: 1.5rem !important;
    }

    .section-subtitle {
        font-size: 0.9rem !important;
    }

    .integrations-section {
        padding: 32px 0;
    }

    .integrations-section .section-header {
        margin-bottom: 16px;
    }

    .integrations-carousel-track {
        gap: 24px;
        animation: scrollCarousel 20s linear infinite;
    }

    .integration-item img {
        width: 36px;
        height: 36px;
        padding: 4px;
    }

    .integration-item span {
        font-size: 0.6rem;
        display: block;
        /* Show labels on mobile */
    }
}

/* Mobile: Compact Chat Bubbles */
@media (max-width: 768px) {
    .guest-bubble {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ============================================
   CONVERSATION HANDLING SECTION
   ============================================ */
.conversation-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.conversation-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Side Styles */
.conversation-content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header.align-left {
    text-align: left;
    margin-bottom: 32px;
}

.section-header.align-left .section-title {
    text-align: left;
}

.section-header.align-left .section-subtitle {
    text-align: left;
    max-width: 100%;
    margin-left: 0;
}

.capability-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    padding-left: 0;
    list-style: none;
}

.cap-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.point-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.point-text strong {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.point-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.capability-actions.align-left {
    text-align: left;
    margin-top: 20px;
}

.capability-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 12px 20px;
    /* Slightly smaller padding */
    background: white;
    /* White bg for contrast */
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.capability-text svg {
    color: var(--accent);
    flex-shrink: 0;
}

.capability-text .highlight {
    color: var(--accent);
    font-weight: 700;
}

/* Right Side Styles */
/* Right Side Styles */
.conversation-visual-right {
    position: relative;
    padding: 10px;
    /* Reduced padding */
}

.conversation-bubbles-showcase {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Reduced gap */
    position: relative;
    max-width: 550px;
    /* Constrain width */
    margin: 0 auto;
    /* Center it */
}

.bubble-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Reduced gap */
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

/* Shift rows for staggered look */
.bubble-row:nth-child(odd) {
    justify-content: flex-end;
}

.bubble-row:nth-child(even) {
    justify-content: center;
    transform: translateX(-10px);
    /* Reduced shift */
}

.guest-bubble {
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    /* Uniform rounded corners */
    padding: 12px 24px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    max-width: fit-content;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.guest-bubble.accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.25);
    border-color: transparent;
}

/* Hover effect removed as per request */

@media (max-width: 768px) {
    .conversation-visual-right {
        padding: 0;
        margin-top: 16px;
    }

    .conversation-bubbles-showcase {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        max-width: 100%;
        padding: 0 8px;
    }

    .bubble-row {
        display: contents;
    }

    .guest-bubble {
        padding: 6px 14px;
        font-size: 0.7rem;
        border-radius: 20px;
        margin: 2px;
        white-space: nowrap;
    }
}

/* ============================================
   DELIVERY INTEGRATION SECTION
   ============================================ */
/* Order Intelligence Styling */
.delivery-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.delivery-section .section-header {
    text-align: center;
}

.delivery-section .section-title {
    color: var(--text-inverse);
    text-align: center;
    margin-bottom: 16px;
}

.delivery-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Centered Layout Container */
.delivery-layout-centered {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 48px;
}

/* Delivery Points Grid - Center Aligned */
.delivery-points-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.delivery-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.delivery-point .point-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.delivery-point h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.delivery-point p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

/* Order Flow Pipeline */
.order-flow-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 24px;
    padding: 24px 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.flow-icon {
    width: 72px;
    height: 72px;
    background: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.flow-icon.accent {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 8px 28px rgba(255, 128, 0, 0.4);
}

.flow-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.flow-icon.accent:hover {
    background: var(--accent);
    box-shadow: 0 12px 36px rgba(255, 128, 0, 0.5);
}

.flow-label {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    text-align: center;
    max-width: 100px;
}

.flow-connector {
    display: flex;
    align-items: center;
    position: relative;
    width: 60px;
    height: 3px;
    margin-bottom: 28px;
}

.connector-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), var(--accent), rgba(255, 255, 255, 0.4));
    border-radius: 2px;
}

.connector-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 128, 0, 0.6);
    animation: flowDot 2s ease-in-out infinite;
}

@keyframes flowDot {
    0% {
        left: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 8px);
        opacity: 0;
    }
}

.flow-connector:nth-child(2) .connector-dot {
    animation-delay: 0s;
}

.flow-connector:nth-child(4) .connector-dot {
    animation-delay: 0.5s;
}

.flow-connector:nth-child(6) .connector-dot {
    animation-delay: 1s;
}

@media (max-width: 768px) {
    .order-flow-pipeline {
        flex-direction: column;
        gap: 8px;
    }

    .flow-connector {
        width: 2px;
        height: 40px;
        margin-bottom: 0;
        flex-direction: column;
    }

    .connector-line {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 128, 0, 0.4), rgba(255, 255, 255, 0.2));
    }

    @keyframes flowDot {
        0% {
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
        }

        20% {
            opacity: 1;
        }

        80% {
            opacity: 1;
        }

        100% {
            top: calc(100% - 8px);
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
        }
    }
}

/* Workflow Cards Row */
.workflow-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.workflow-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.workflow-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.workflow-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.workflow-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .delivery-points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .workflow-cards-row {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .delivery-points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .delivery-point .point-icon {
        width: 40px;
        height: 40px;
    }

    .delivery-point h4 {
        font-size: 0.85rem;
    }

    .delivery-point p {
        font-size: 0.75rem;
    }
}

/* Order Flow Mockup */
/* Command Center Widget */
.command-center-widget {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.status-dot.pulse {
    animation: pulse-green 2s infinite;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.control-badge {
    font-size: 0.7rem;
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-secondary);
    transition: all 0.2s ease;
}

.feed-item.highlight {
    background: linear-gradient(to right, rgba(255, 128, 0, 0.05), transparent);
    border: 1px solid rgba(255, 128, 0, 0.1);
}

.item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon.delivery {
    background: white;
    color: #ff5722;
}

.item-icon.ai {
    background: var(--accent);
    color: white;
}

.item-icon.pos {
    background: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.item-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.item-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

/* Footer Stats */
.widget-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.stat-pill {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.trend-up {
    font-size: 0.7rem;
    color: #22c55e;
    margin-left: 4px;
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.order-title {
    font-weight: 600;
    font-size: 1rem;
}

.order-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order-status.live {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.order-item.upsell {
    background: rgba(255, 128, 0, 0.1);
    border: 1px dashed var(--accent);
}

.item-qty {
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 28px;
}

.item-name {
    flex: 1;
    font-size: 0.875rem;
}

.item-price {
    font-weight: 600;
    color: var(--primary);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 2px solid var(--border-light);
    font-weight: 700;
    font-size: 1.125rem;
}

.integration-badges {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-light);
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.pos {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.badge.delivery {
    background: rgba(255, 87, 34, 0.15);
    color: #ff5722;
}

/* ============================================
   REVIEWS & REWARDS SECTION
   ============================================ */
.reviews-section {
    padding: 100px 0;
    background: #f8fafc;
}

.reviews-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side: Content */
.reviews-content-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews-content-left .section-header {
    margin-bottom: 0;
    text-align: left;
    max-width: 100%;
}

/* Right Side: Visuals */
.reviews-visuals-right {
    position: relative;
    padding-left: 20px;
}

/* Reviews Visual Cards Container */
.reviews-visuals-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
}

.reviews-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.r-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.r-icon-small {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--accent);
    flex-shrink: 0;
}

.r-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.r-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Laptop Layout for Visuals (Keep them stacked vertical or slightly offset) */
/* Actually user asked for "Horizontal in Laptop", BUT then "Visuals on Left". 
   If Visuals are on Left column of a split layout, they are usually vertical stack.
   Horizontal stack on the left column would be tiny.
   Let's check "have 3 cards". 
   "horizontal in laptop" might have meant the PREVIOUS single column layout.
   With Split layout, VERTICAL stack on the left makes more sense.
   I will keep them vertical stack on Left column, but make sure they look good.
*/

/* Notification Card Styles */
.notification-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.notification-card:hover {
    transform: scale(1.02) translateX(5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Header */
.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.notif-icon-box {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon-box svg {
    width: 12px;
    height: 12px;
}

.review-style .notif-icon-box {
    background: var(--accent);
    color: white;
}

.loyalty-style .notif-icon-box {
    background: #8b5cf6;
    color: white;
}

.recovery-style .notif-icon-box {
    background: #ef4444;
    color: white;
}

.notif-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.notif-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Body */
.notif-body p {
    font-size: 0.9rem;
    line-height: 1.35;
    color: #1e293b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-body strong {
    color: #0f172a;
    font-weight: 600;
}

/* Footer - Hidden */
.notif-footer {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .reviews-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .reviews-content-left {
        /* No order needed as it is first in DOM */
        align-items: center;
    }

    .reviews-content-left .section-header {
        text-align: center;
    }

    .reviews-visuals-right {
        padding-left: 0;
    }

    .reviews-visuals-grid {
        align-items: center;
    }

    .reviews-features-list {
        align-items: center;
        text-align: left;
    }

    .r-feature-item {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .restaurant-hero {
        padding: 120px 0 60px;
    }

    .hero-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content-left {
        text-align: center;
        align-items: center;
    }

    .hero-content-left h1 {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual-right {
        min-height: auto;
        margin-top: 40px;
    }

    .simple-stats-grid {
        gap: 12px;
        max-width: 100%;
        padding: 0 16px;
    }

    .simple-stat-card {
        padding: 16px;
        gap: 8px;
        border-radius: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        border-radius: 10px;
    }

    .demo-cards-grid {
        grid-template-columns: 1fr;
    }

    .bubble-row {
        flex-direction: column;
        align-items: center;
    }

    .guest-bubble {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .order-flow-mockup {
        max-width: 100%;
    }

    /* Conversation Section Mobile */
    .conversation-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .conversation-content-left {
        text-align: center;
        align-items: center;
    }

    .section-header.align-left,
    .section-header.align-left .section-title,
    .section-header.align-left .section-subtitle,
    .capability-actions.align-left {
        text-align: center;
    }

    .section-header.align-left .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .capability-points {
        text-align: left;
        /* Keep points left aligned but container centered potentially */
        align-self: flex-start;
        align-self: center;
        /* Actually center the list block */
        max-width: 350px;
        /* Limit width */
        margin-left: auto;
        margin-right: auto;
    }

    .conversation-visual-right::before {
        width: 100%;
        /* Reduce glow on mobile */
    }

    .bubble-row {
        justify-content: center !important;
        /* Force center on mobile */
        transform: none !important;
    }

    .integrations-carousel-track {
        gap: 32px;
    }

    .integration-item img {
        width: 48px;
        height: 48px;
    }
}