* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #25D366;
    --primary-dark: #20BA5A;
    --secondary-color: #128C7E;
    --restaurant-red: #E63946;
    --restaurant-orange: #F77F00;
    --restaurant-warm: #FCBF49;
    --restaurant-dark: #D62828;
    --text-color: #2D3436;
    --text-light: #636E72;
    --bg-color: #FFF8F0;
    --bg-warm: #FFF5E6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4;
    color: var(--text-color);
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFA07A 100%);
    background-attachment: fixed;
    height: 100vh;
    padding: 10px;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

header {
    background: linear-gradient(135deg, var(--restaurant-red) 0%, var(--restaurant-orange) 100%);
    color: var(--white);
    padding: 12px 30px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.05) 10px, rgba(255, 255, 255, 0.05) 20px);
    pointer-events: none;
}

.header-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 0.8rem;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

main {
    padding: 10px 30px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-warm) 100%);
}

.hero-section {
    text-align: center;
    margin-bottom: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.restaurant-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.restaurant-icons .icon {
    font-size: 1.4rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.restaurant-icons .icon:nth-child(1) {
    animation-delay: 0s;
}

.restaurant-icons .icon:nth-child(2) {
    animation-delay: 0.3s;
}

.restaurant-icons .icon:nth-child(3) {
    animation-delay: 0.6s;
}

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

.hero-section h2 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.2;
}

.restaurant-tagline {
    font-size: 0.75rem;
    color: var(--restaurant-orange);
    font-weight: 500;
    margin-bottom: 8px;
    font-style: italic;
}

.description {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 15px;
    line-height: 1.4;
}

/* Phone Showcase Container */
.phone-showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    padding: 8px 10px;
    flex: 1;
    min-height: 0;
}

.phone-showcase {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 100%;
    max-height: 380px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--white) 100%);
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.1);
}

/* Phone Mockup Styles */
.phone-mockup {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: relative;
    width: 180px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                0 0 0 3px #2a2a2a,
                inset 0 0 0 2px #0a0a0a;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 16px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.bot-gif[src="bot-flow.gif"] {
    display: none;
}

.phone-screen .placeholder-text {
    color: #666;
    font-size: 0.7rem;
    text-align: center;
    padding: 10px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Screenshot Cards Positioning */
.screenshot-card {
    position: absolute;
    width: 110px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    z-index: 5;
}

.screenshot-card:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    border-color: var(--restaurant-red);
    z-index: 15;
}

/* Left side cards */
.card-left-top {
    top: 20px;
    left: 15px;
    transform: rotate(8deg);
}

.card-left-bottom {
    bottom: 20px;
    left: 25px;
    transform: rotate(-12deg);
    z-index: 4;
}

/* Right side cards */
.card-right-top {
    top: 25px;
    right: 20px;
    transform: rotate(-10deg);
}

.card-right-bottom {
    bottom: 18px;
    right: 15px;
    transform: rotate(15deg);
    z-index: 4;
}

.screenshot-placeholder {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 16:9 aspect ratio */
    background: var(--bg-color);
    overflow: hidden;
}

.screenshot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

.screenshot-image[src="screenshot1.jpg"],
.screenshot-image[src="screenshot2.jpg"],
.screenshot-image[src="screenshot3.jpg"],
.screenshot-image[src="screenshot4.jpg"] {
    display: none;
}

.screenshot-placeholder .placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 0.7rem;
    text-align: center;
    padding: 8px;
    font-style: italic;
    z-index: 1;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin: 6px auto;
    flex-shrink: 0;
}

.whatsapp-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover), 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:active {
    transform: translateY(0);
}

.whatsapp-icon {
    width: 16px;
    height: 16px;
}

.note {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}


footer {
    background: linear-gradient(to top, var(--bg-warm) 0%, var(--white) 100%);
    padding: 8px 30px;
    text-align: center;
    color: var(--text-light);
    border-top: 2px solid rgba(230, 57, 70, 0.1);
    flex-shrink: 0;
}

footer p {
    font-size: 0.7rem;
    margin-bottom: 5px;
}

/* Terms and Conditions Button */
.terms-button {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 5px 12px;
    font-size: 0.65rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.terms-button:hover {
    background: var(--restaurant-red);
    color: var(--white);
    border-color: var(--restaurant-red);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--restaurant-red) 0%, var(--restaurant-orange) 100%);
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    transition: opacity 0.3s ease;
}

.close:hover,
.close:focus {
    opacity: 0.7;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    color: var(--text-color);
}

.modal-body h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-body h3:first-of-type {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-light);
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 8px;
}

.modal-body strong {
    color: var(--text-color);
    font-weight: 600;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    background: var(--bg-color);
    border-radius: 0 0 15px 15px;
}

.modal-close-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-close-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 5px;
    }

    header {
        padding: 15px 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    main {
        padding: 10px 15px;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .whatsapp-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .phone-showcase-container {
        padding: 10px 5px;
        margin: 5px 0;
    }

    .phone-showcase {
        max-height: 400px;
        padding: 15px 20px;
    }

    .phone-frame {
        width: 160px;
        height: 320px;
    }

    .phone-frame::before {
        width: 60px;
        height: 14px;
    }

    .screenshot-card {
        width: 100px;
    }

    .card-left-top {
        top: 20px;
        left: 10px;
        transform: rotate(8deg);
    }

    .card-left-bottom {
        bottom: 20px;
        left: 20px;
        transform: rotate(-12deg);
    }

    .card-right-top {
        top: 25px;
        right: 15px;
        transform: rotate(-10deg);
    }

    .card-right-bottom {
        bottom: 15px;
        right: 10px;
        transform: rotate(15deg);
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 80vh;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h3 {
        font-size: 1rem;
    }

    .modal-body p,
    .modal-body li {
        font-size: 0.85rem;
    }

    .terms-button {
        font-size: 0.65rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .container {
        border-radius: 15px;
    }

    header {
        padding: 12px 15px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .subtitle {
        font-size: 0.75rem;
    }

    main {
        padding: 8px 10px;
    }

    .hero-section h2 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .description {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .whatsapp-button {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .phone-showcase-container {
        margin: 5px 0;
        padding: 8px 5px;
    }

    .phone-showcase {
        max-height: 350px;
        padding: 10px 15px;
    }

    .phone-frame {
        width: 140px;
        height: 280px;
    }

    .phone-frame::before {
        width: 50px;
        height: 12px;
    }

    .screenshot-card {
        width: 80px;
    }

    .card-left-top {
        top: 15px;
        left: 5px;
    }

    .card-left-bottom {
        bottom: 15px;
        left: 10px;
    }

    .card-right-top {
        top: 20px;
        right: 5px;
    }

    .card-right-bottom {
        bottom: 10px;
        right: 5px;
    }

    .modal-content {
        width: 98%;
        margin: 5% auto;
        max-height: 90vh;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-header h2 {
        font-size: 1rem;
    }

    .close {
        font-size: 24px;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-body h3 {
        font-size: 0.95rem;
        margin-top: 15px;
    }

    .modal-body p,
    .modal-body li {
        font-size: 0.8rem;
    }

    .modal-footer {
        padding: 12px 15px;
    }

    .modal-close-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .terms-button {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
}
