/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2a2a2a;
    --accent-blue: #0066ff;
    --accent-blue-hover: #0052cc;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --border-color: #333333;
    --success-green: #00ff88;
    --warning-yellow: #ffaa00;
    --error-red: #ff4444;
    --burrito-orange: #ff6b35;
    --burrito-brown: #8b4513;
    --spicy-red: #ff4757;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: rotate(5deg) scale(1.05);
    color: var(--burrito-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1f1f1f 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px) rotate(1deg);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
    animation: burritoWiggle 0.5s ease-in-out;
}

@keyframes burritoWiggle {
    0%, 100% { transform: translateY(-2px) rotate(1deg); }
    25% { transform: translateY(-2px) rotate(-1deg); }
    75% { transform: translateY(-2px) rotate(2deg); }
}

/* Code Window */
.hero-visual {
    display: flex;
    justify-content: center;
}

.code-window {
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}

.window-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.code-content {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.keyword { color: #ff79c6; }
.function { color: #50fa7b; }
.string { color: #f1fa8c; }
.comment { color: #6272a4; }

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.solution-card {
    background: var(--primary-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px) rotate(1deg);
    border-color: var(--burrito-orange);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    animation: steamEffect 2s ease-in-out infinite;
}

@keyframes steamEffect {
    0%, 100% { box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2); }
    50% { box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3); }
}

.solution-icon {
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.solution-features li::before {
    content: "→";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

/* Case Studies Section */
.case-studies {
    padding: 100px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-study {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--spicy-red);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.2);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.case-study-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.case-study-tag {
    background: linear-gradient(45deg, var(--burrito-orange), var(--spicy-red));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: spiceGlow 3s ease-in-out infinite;
}

@keyframes spiceGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 53, 0.5); }
    50% { box-shadow: 0 0 15px rgba(255, 71, 87, 0.8); }
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-green);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.case-study-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--primary-bg);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, var(--burrito-orange), var(--accent-blue));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.process-step:hover .step-number::before {
    opacity: 1;
    animation: shine 1s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.step-deliverables {
    list-style: none;
}

.step-deliverables li {
    color: var(--text-muted);
    margin-bottom: 6px;
    position: relative;
    padding-left: 20px;
}

.step-deliverables li::before {
    content: "✓";
    color: var(--success-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-label {
    color: var(--text-muted);
    font-weight: 500;
}

.contact-value {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-info {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .solutions-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .case-study-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .case-study-metrics {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .solution-card,
    .case-study,
    .contact-form {
        padding: 24px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.solution-card,
.case-study,
.process-step {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--accent-blue);
    color: white;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burrito-orange);
}

/* Kitchen Status Section */
.kitchen-status {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.kitchen-dashboard {
    display: grid;
    gap: 60px;
}

.kitchen-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.kitchen-stat {
    background: var(--primary-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.kitchen-stat:hover {
    transform: translateY(-5px);
    border-color: var(--burrito-orange);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burrito-orange);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Current Orders */
.current-orders {
    background: var(--primary-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.orders-title {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--burrito-orange);
}

.order-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order-type {
    color: var(--accent-blue);
    font-weight: 600;
}

.order-client {
    color: var(--text-secondary);
}

.progress-bar {
    background: var(--border-color);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    background: linear-gradient(90deg, var(--burrito-orange), var(--spicy-red));
    height: 100%;
    border-radius: 4px;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Spice Level Selector */
.spice-level-selector {
    background: var(--primary-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.spice-title {
    color: var(--text-primary);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.spice-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spice-btn {
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.spice-btn:hover {
    border-color: var(--burrito-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

.spice-btn.selected {
    border-color: var(--spicy-red);
    background: rgba(255, 71, 87, 0.1);
}

.spice-emoji {
    font-size: 2rem;
}

.spice-name {
    color: var(--text-primary);
    font-weight: 600;
}

.spice-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.spice-result {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 8px;
    color: var(--text-primary);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

/* Easter Eggs */
.easter-eggs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.manifesto-btn,
.game-btn {
    background: linear-gradient(135deg, var(--burrito-orange), var(--spicy-red));
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.manifesto-btn:hover,
.game-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    animation: burritoWiggle 0.5s ease-in-out;
}

/* Burrito Catch Game */
.burrito-game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burrito-game.hidden {
    display: none;
}

.game-container {
    background: var(--primary-bg);
    border-radius: 12px;
    border: 2px solid var(--burrito-orange);
    width: 90%;
    max-width: 600px;
    height: 80%;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.game-header {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.game-header h3 {
    color: var(--text-primary);
    margin: 0;
}

.game-stats {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
}

.game-close {
    background: var(--spicy-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
}

.game-area {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.game-instructions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    text-align: center;
    font-size: 1.2rem;
}

.game-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.game-start {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-start:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
}

.falling-burrito {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    animation: fall linear;
    user-select: none;
}

@keyframes fall {
    from {
        top: -50px;
    }
    to {
        top: 100%;
    }
}

.falling-burrito:hover {
    transform: scale(1.2);
}

/* Hero content burrito roll animation */
.hero-content {
    animation: burritoRoll 1.2s ease-out;
}

@keyframes burritoRoll {
    0% {
        transform: translateX(-100%) rotate(-180deg);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

/* Additional responsive styles for kitchen status */
@media (max-width: 768px) {
    .kitchen-stats {
        grid-template-columns: 1fr;
    }
    
    .spice-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .easter-eggs {
        flex-direction: column;
        align-items: center;
    }
    
    .order-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .game-container {
        width: 95%;
        height: 90%;
    }
}