/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: 280 65% 60%;
    --secondary: 330 80% 65%;
    --primary-foreground: 0 0% 100%;
    --background: 0 0% 98%;
    --foreground: 220 20% 20%;
    --card: 0 0% 100%;
    --card-foreground: 220 20% 20%;
    --muted: 240 10% 95%;
    --muted-foreground: 220 10% 45%;
    --accent: 280 15% 96%;
    --border: 240 10% 90%;
    --ring: 280 65% 60%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%));
    color: white;
    box-shadow: 0 4px 20px hsla(280, 65%, 60%, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(280, 65%, 60%, 0.4);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--foreground));
    border: 2px solid hsl(var(--border));
}

.btn-outline:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: hsla(var(--background), 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(var(--border), 0.5);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.nav-links a:hover {
    color: hsl(var(--primary));
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, hsl(var(--accent)), hsl(var(--background)));
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, hsla(280, 65%, 60%, 0.15) 0%, hsla(330, 80%, 65%, 0.08) 50%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, hsla(330, 80%, 65%, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: hsla(280, 65%, 60%, 0.1);
    border: 1px solid hsla(280, 65%, 60%, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Panels Section */
.panels {
    padding: 6rem 0;
    background: hsl(var(--card));
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.panel-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px hsla(280, 65%, 60%, 0.1);
    border-color: hsla(280, 65%, 60%, 0.3);
}

.panel-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.panel-icon.admin { background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%)); }
.panel-icon.chef { background: linear-gradient(135deg, hsl(280 65% 60%), hsl(300 70% 65%)); }
.panel-icon.driver { background: linear-gradient(135deg, hsl(300 70% 65%), hsl(330 80% 65%)); }
.panel-icon.packer { background: linear-gradient(135deg, hsl(260 65% 60%), hsl(280 70% 65%)); }
.panel-icon.sales { background: linear-gradient(135deg, hsl(290 65% 60%), hsl(320 75% 65%)); }
.panel-icon.support { background: linear-gradient(135deg, hsl(270 60% 60%), hsl(290 70% 65%)); }
.panel-icon.station { background: linear-gradient(135deg, hsl(310 70% 60%), hsl(330 80% 65%)); }

.panel-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.panel-card > p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.panel-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.panel-feature::before {
    content: '✓';
    color: hsl(var(--primary));
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: hsl(var(--muted));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: hsla(280, 65%, 60%, 0.3);
    box-shadow: 0 10px 30px hsla(280, 65%, 60%, 0.08);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsl(var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: hsl(var(--primary));
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: hsla(var(--muted), 0.5);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%));
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content > p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.step-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.step-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: hsl(var(--card));
    border-radius: 100px;
    font-size: 0.875rem;
}

.step-highlight::before {
    content: '✓';
    color: hsl(var(--primary));
    font-size: 0.75rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: hsla(var(--muted), 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: hsla(280, 65%, 60%, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    color: hsl(var(--primary));
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.author-role {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: hsl(var(--background));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px hsla(0, 0%, 0%, 0.08);
}

.pricing-card.popular {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 1px hsl(var(--primary));
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card > p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.pricing-feature::before {
    content: '✓';
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: hsla(280, 65%, 60%, 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, hsl(220 20% 15%), hsl(220 25% 20%));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, hsla(280, 65%, 60%, 0.15), transparent 70%);
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta > .container > p {
    font-size: 1.125rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta .btn-outline {
    border-color: hsla(255, 255%, 255%, 0.3);
    color: white;
}

.cta .btn-outline:hover {
    border-color: white;
    background: hsla(255, 255%, 255%, 0.1);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: hsl(220 20% 12%);
    color: hsla(255, 255%, 255%, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 1rem 0;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid hsla(255, 255%, 255%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-link:hover {
    border-color: hsl(var(--primary));
    background: hsla(280, 65%, 60%, 0.1);
}

.footer-column h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-column a:hover {
    opacity: 1;
    color: hsl(var(--primary));
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsla(255, 255%, 255%, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsla(280, 65%, 60%, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-checkbox input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.form-checkbox label {
    cursor: pointer;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-highlights {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Dashboard Demo Section */
.dashboard-demo {
    padding: 6rem 0;
    background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--muted)));
    position: relative;
    overflow: hidden;
}

.dashboard-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, hsla(280, 65%, 60%, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 15s ease-in-out infinite;
}

.dashboard-demo::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, hsla(330, 80%, 65%, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 12s ease-in-out infinite reverse;
}

.demo-showcase {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px hsla(0, 0%, 0%, 0.1);
    position: relative;
    z-index: 1;
}

.demo-tabs {
    display: flex;
    background: hsl(var(--muted));
    border-bottom: 2px solid hsl(var(--border));
    overflow-x: auto;
}

.demo-tab {
    flex: 1;
    min-width: 120px;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.tab-icon {
    font-size: 1.5rem;
}

.demo-tab:hover {
    background: hsla(280, 65%, 60%, 0.05);
    color: hsl(var(--foreground));
}

.demo-tab.active {
    background: hsl(var(--card));
    border-bottom-color: hsl(var(--primary));
    color: hsl(var(--primary));
}

.demo-content {
    min-height: 600px;
    position: relative;
}

.demo-screen {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

.demo-screen.active {
    display: block;
}

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

/* Dashboard Header */
.demo-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid hsl(var(--border));
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-title h3 {
    font-size: 1.75rem;
    margin: 0;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(142, 71%, 45%);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: hsl(142, 71%, 45%);
}

.status-dot.pulse {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.dashboard-time {
    text-align: right;
}

.time-display {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.date-display {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Alert Banner */
.alert-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
}

.alert-banner.warning {
    background: hsla(45, 100%, 50%, 0.1);
    border: 1px solid hsla(45, 100%, 50%, 0.3);
    color: hsl(30, 100%, 40%);
}

.alert-icon {
    font-size: 1.25rem;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* Stats Dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-dashboard.mini {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.stat-card.purple::before { background: hsl(280, 65%, 60%); }
.stat-card.orange::before { background: hsl(30, 100%, 50%); }
.stat-card.green::before { background: hsl(142, 71%, 45%); }
.stat-card.blue::before { background: hsl(220, 90%, 60%); }
.stat-card.red::before { background: hsl(0, 85%, 60%); }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--foreground));
}

/* Chart Area */
.chart-area {
    margin-top: 2rem;
}

.chart-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
}

.chart-card h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 150px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, hsl(280, 65%, 60%), hsl(330, 80%, 65%));
    border-radius: 0.5rem 0.5rem 0 0;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 1;
    transform: scaleY(1.05);
}

.chart-bar.active {
    opacity: 1;
    box-shadow: 0 -4px 20px hsla(280, 65%, 60%, 0.4);
}

/* Search & Filter Bar */
.search-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.demo-search {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s;
}

.demo-search:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsla(280, 65%, 60%, 0.1);
}

.demo-filter {
    padding: 0.75rem 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    background: hsl(var(--card));
    transition: all 0.2s;
}

.demo-filter:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

/* Demo Buttons */
.demo-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.demo-btn.primary {
    background: linear-gradient(135deg, hsl(280, 65%, 60%), hsl(330, 80%, 65%));
    color: white;
    box-shadow: 0 4px 15px hsla(280, 65%, 60%, 0.3);
}

.demo-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(280, 65%, 60%, 0.4);
}

.demo-btn.outline {
    background: transparent;
    border: 2px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.demo-btn.outline:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
}

.demo-btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Badge Styles */
.badge {
    padding: 0.35rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.pending { background: hsla(45, 100%, 50%, 0.15); color: hsl(30, 100%, 40%); }
.badge.confirmed { background: hsla(142, 71%, 45%, 0.15); color: hsl(142, 71%, 35%); }
.badge.delivering { background: hsla(220, 90%, 60%, 0.15); color: hsl(220, 90%, 50%); }
.badge.delivered { background: hsla(142, 71%, 45%, 0.15); color: hsl(142, 71%, 35%); }

/* Order Cards */
.orders-list {
    display: grid;
    gap: 1rem;
}

.order-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: hsla(280, 65%, 60%, 0.3);
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.08);
}

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

.order-id {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
}

.order-customer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.customer-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(280, 65%, 60%), hsl(330, 80%, 65%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.customer-avatar.large {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
}

.customer-name {
    font-weight: 600;
    font-size: 1rem;
}

.order-date {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.order-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: 2px solid hsl(var(--border));
    background: hsl(var(--card));
    border-radius: 0.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
}

/* Station Indicators */
.station-indicators {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.station {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: hsl(var(--muted));
}

.station.active {
    background: hsla(142, 71%, 45%, 0.15);
    color: hsl(142, 71%, 35%);
    font-weight: 600;
}

.station.available {
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
}

/* Kitchen Queue */
.kitchen-queue {
    display: grid;
    gap: 1.5rem;
}

.prep-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.prep-card.urgent {
    border-color: hsla(0, 85%, 60%, 0.4);
    background: hsla(0, 85%, 60%, 0.02);
}

.prep-card:hover {
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.08);
}

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

.prep-priority {
    font-weight: 700;
    font-size: 0.875rem;
}

.prep-time {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.prep-order {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.prep-dishes {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dish-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: hsl(var(--muted));
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.dish-status {
    font-weight: 600;
    font-size: 0.75rem;
}

.prep-progress {
    margin-bottom: 1rem;
}

.progress-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.progress-track {
    height: 8px;
    background: hsl(var(--border));
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, hsl(280, 65%, 60%), hsl(142, 71%, 45%));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.prep-actions {
    display: flex;
    gap: 0.75rem;
}

/* Map Container */
.map-container {
    margin-bottom: 2rem;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, hsl(var(--muted)), hsl(var(--accent)));
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.map-pin {
    position: absolute;
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.map-pin.pulse {
    animation: bounce 1s ease-in-out infinite, pulse-dot 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-route {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, hsl(280, 65%, 60%), hsl(220, 90%, 60%));
    transform: translateY(-50%);
}

.map-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.3;
}

/* Delivery Summary */
.delivery-summary {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Drivers List */
.drivers-list {
    display: grid;
    gap: 1rem;
}

.driver-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.driver-card.active {
    border-color: hsla(220, 90%, 60%, 0.4);
    background: hsla(220, 90%, 60%, 0.02);
}

.driver-card:hover {
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.08);
}

.driver-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.driver-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(220, 90%, 60%), hsl(280, 65%, 60%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.driver-info {
    flex: 1;
}

.driver-name {
    font-weight: 600;
    font-size: 1rem;
}

.driver-vehicle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.delivery-status {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delivery-status.in-transit {
    background: hsla(220, 90%, 60%, 0.15);
    color: hsl(220, 90%, 50%);
}

.delivery-status.delivered {
    background: hsla(142, 71%, 45%, 0.15);
    color: hsl(142, 71%, 35%);
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s ease-in-out infinite;
}

.delivery-details {
    margin-bottom: 1rem;
}

.delivery-order,
.delivery-address,
.delivery-eta,
.delivery-time {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.delivery-order {
    font-weight: 600;
}

.delivery-address {
    color: hsl(var(--muted-foreground));
}

.delivery-eta,
.delivery-time {
    display: flex;
    gap: 1rem;
    color: hsl(var(--muted-foreground));
}

.delivery-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Packer Stats */
.packer-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Packing Queue */
.packing-queue {
    display: grid;
    gap: 1.5rem;
}

.packing-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
}

.packing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.packing-order {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.packing-priority.urgent {
    padding: 0.35rem 0.85rem;
    background: hsla(0, 85%, 60%, 0.15);
    color: hsl(0, 85%, 50%);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.packing-delivery {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.packing-customer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.packing-guests {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.packing-checklist {
    margin-bottom: 1.5rem;
}

.packing-checklist h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: hsl(var(--muted));
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.checklist-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.checklist-item span:first-of-type {
    flex: 1;
    font-size: 0.875rem;
}

.check-mark {
    color: hsl(142, 71%, 45%);
    font-weight: 700;
}

.equipment-section {
    margin-bottom: 1.5rem;
}

.equipment-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: hsl(var(--muted));
    border: 2px solid transparent;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.equipment-item:hover {
    background: hsl(var(--accent));
}

.equipment-item.selected {
    background: hsla(280, 65%, 60%, 0.1);
    border-color: hsl(var(--primary));
}

.qty {
    font-weight: 700;
    color: hsl(var(--primary));
}

.packing-actions {
    display: flex;
    gap: 0.75rem;
}

/* Customers List */
.customers-list {
    display: grid;
    gap: 1.5rem;
}

.customer-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.customer-card.vip {
    border-color: hsla(45, 100%, 50%, 0.4);
    background: hsla(45, 100%, 50%, 0.02);
}

.customer-card:hover {
    box-shadow: 0 8px 25px hsla(0, 0%, 0%, 0.08);
}

.vip-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, hsl(45, 100%, 50%), hsl(30, 100%, 50%));
    color: white;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.customer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.customer-contact,
.customer-location {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

.customer-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: hsl(var(--muted));
    border-radius: 0.75rem;
}

.customer-stat {
    text-align: center;
}

.customer-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: hsl(var(--foreground));
}

.customer-stat .stat-label {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

.customer-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Business Benefits Section */
.business-benefits {
    padding: 6rem 0;
    background: hsl(var(--background));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-category {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-category h3 {
    margin-bottom: 1.5rem;
}

.benefit-list {
    text-align: left;
}

.benefit-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Integration Showcase Section */
.integration-showcase {
    padding: 6rem 0;
    background: hsl(var(--muted));
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.integration-category {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 2rem;
}

.integration-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.integration-category h3 {
    margin-bottom: 1.5rem;
}

.integration-list {
    display: grid;
    gap: 1rem;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: hsl(var(--accent));
    border-radius: 0.75rem;
}

.integration-logo {
    font-size: 1.5rem;
    width: 2rem;
    text-align: center;
}

.integration-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.integration-info p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.integration-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
}

/* Case Study Badge */
.case-study-badge {
    background: linear-gradient(135deg, hsl(280 65% 60%), hsl(330 80% 65%));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Metrics */
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.metric {
    background: hsl(var(--accent));
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.company-size {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.25rem;
}

.pricing-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: hsl(var(--accent));
    border-radius: 0.75rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .demo-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .demo-tab {
        min-width: 100px;
        padding: 0.875rem 1rem;
        font-size: 0.8rem;
    }
    
    .tab-icon {
        font-size: 1.25rem;
    }
    
    .demo-screen {
        padding: 1.5rem 1rem;
    }
    
    .demo-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-title h3 {
        font-size: 1.5rem;
    }
    
    .dashboard-time {
        text-align: left;
    }
    
    .time-display {
        font-size: 1.25rem;
    }
    
    .stats-dashboard {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .search-filter-bar {
        flex-direction: column;
    }
    
    .demo-search {
        width: 100%;
        min-width: auto;
    }
    
    .demo-filter {
        width: 100%;
    }
    
    .station-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .delivery-summary,
    .packer-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .customer-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .order-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-actions,
    .delivery-actions,
    .prep-actions,
    .packing-actions,
    .customer-actions {
        flex-direction: column;
    }
    
    .action-btn,
    .demo-btn.small {
        width: 100%;
    }
    
    .chart-card {
        padding: 1rem;
    }
    
    .mini-chart {
        height: 120px;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .benefits-grid,
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .demo-tab {
        min-width: 90px;
        padding: 0.75rem 0.75rem;
    }
    
    .demo-tab span:not(.tab-icon) {
        font-size: 0.7rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .customer-avatar.large {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
}
