/* Variables CSS */
:root {
    --primary-burgundy: #C11F3F;
    --dark-slate: #2B2D42;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --border-gray: #E9ECEF;
    --shadow: 0 4px 20px rgba(43, 45, 66, 0.1);
    --shadow-hover: 0 8px 30px rgba(43, 45, 66, 0.15);
    --font-family: 'Poppins', sans-serif;
    --max-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-burgundy), #a01836);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-burgundy);
    padding: 12px 24px;
    border: 2px solid var(--primary-burgundy);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-burgundy);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark-slate);
    padding: 14px 28px;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

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

/* Navegación */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
}

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

.nav-link {
    color: var(--dark-slate);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-burgundy);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-slate);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    color: var(--primary-burgundy);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    position: relative;
    perspective: 1000px;
}

.mockup-screen {
    width: 400px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.mockup-screen:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: var(--light-gray);
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
}

.mockup-dots span:first-child { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:last-child { background: #27CA3F; }

.mockup-content {
    padding: 2rem;
}

.order-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-burgundy);
}

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

.order-number {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark-slate);
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.order-status.preparing {
    background: #FFF3CD;
    color: #856404;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-item {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--dark-slate);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--medium-gray);
}

/* Cómo funciona */
.how-it-works {
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-burgundy), #a01836);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.feature-card h3 {
    color: var(--dark-slate);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Beneficios */
.benefits {
    padding: 100px 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    color: var(--dark-slate);
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-burgundy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--dark-slate);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

.benefits-visual {
    display: flex;
    justify-content: center;
}

.stats-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    min-width: 300px;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--light-gray);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Screenshots */
.screenshots {
    background: var(--light-gray);
    padding: 100px 0;
}

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

.screenshot-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.screenshot-mockup {
    height: 280px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

.screenshot-mockup.waiter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.screenshot-mockup.kitchen {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.screenshot-mockup.admin {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.mockup-header {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.mockup-body {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 180px;
}

.table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-content: center;
    height: 100%;
}

.table-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.8rem;
    text-align: center;
}

.table-item.active {
    background: rgba(255, 255, 255, 0.4);
}

.order-queue {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.queue-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.8rem;
}

.queue-item.pending { border-left: 3px solid #ffc107; }
.queue-item.preparing { border-left: 3px solid #fd7e14; }
.queue-item.ready { border-left: 3px solid #28a745; }

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.8rem;
}

.screenshot-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: transparent;
}

.screenshot-card h4 {
    color: #1e1f2b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.screenshot-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Testimonios */
.testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-burgundy);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--dark-slate);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.author-info h4 {
    color: var(--dark-slate);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* CTA Final */
.final-cta {
    background: linear-gradient(135deg, var(--primary-burgundy), #a01836);
    color: var(--white);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select {
    padding: 1rem;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-burgundy);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-slate);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-item a {
    margin-bottom: 0;
    display: inline;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.newsletter-content h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-burgundy);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mockup-screen {
        width: 300px;
        height: 200px;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshot-card {
        min-height: 450px;
    }
    
    .screenshot-mockup {
        height: 220px;
        padding: 1.25rem;
    }
    
    .mockup-body {
        min-height: 140px;
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .mockup-screen {
        width: 250px;
        height: 180px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .testimonial-card,
    .feature-card {
        padding: 2rem;
    }
    
    .screenshot-card {
        min-height: 500px;
    }
    
    .screenshot-mockup {
        height: 260px;
        padding: 1.5rem;
    }
    
    .mockup-header {
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
    }
    
    .mockup-body {
        min-height: 160px;
        padding: 1.25rem;
    }
    
    .screenshot-card-content {
        padding: 1.5rem;
    }
    
    .screenshot-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .screenshot-card p {
        font-size: 0.95rem;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.testimonial-card,
.screenshot-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}