/* Order Udye — Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green: #16a34a;
    --green-dark: #15803d;
    --green-light: #dcfce7;
    --black: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--black);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    z-index: 9999;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }

/* Hero */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.hero h1 span { color: var(--green); }

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.flag-colors {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 2rem;
}

.flag-colors span {
    width: 24px;
    height: 4px;
    border-radius: 2px;
}

.flag-green { background: #319c49; }
.flag-yellow { background: #ffd200; }
.flag-red { background: #de2010; }
.flag-black { background: #000000; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
    font-size: 1rem;
}

.btn:hover { transform: translateY(-2px); }

.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.btn-green { background: var(--green); color: white; }
.btn-outline { border: 2px solid var(--green); color: var(--green); }
.btn-white { background: white; color: var(--green); }
.btn-outline-white { border: 2px solid white; color: white; }

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Demo Section */
.demo {
    background: var(--light);
    padding: 5rem 2rem;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.demo-phone {
    background: var(--white);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 2px solid #e2e8f0;
    max-width: 320px;
    margin: 0 auto;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.demo-avatar {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
}

.demo-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-bubble {
    padding: 0.6rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
}

.bubble-bot {
    background: #e2e8f0;
    color: var(--black);
}

.bubble-user {
    background: var(--green);
    color: white;
    margin-left: auto;
}

.demo-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.demo-text p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.demo-text ul {
    list-style: none;
    padding: 0;
}

.demo-text li {
    padding: 0.5rem 0;
    color: var(--gray);
}

.demo-text li::before {
    content: "✓ ";
    color: var(--green);
    font-weight: 700;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h4 { margin-bottom: 0.5rem; }
.step p { color: var(--gray); font-size: 0.95rem; }

/* Pricing */
.pricing {
    background: var(--light);
    padding: 5rem 2rem;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green);
}

.pricing-per {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--black);
}

.pricing-features li::before {
    content: "✓ ";
    color: var(--green);
    font-weight: 700;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

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

/* CTA */
.cta {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--green);
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

footer a { color: var(--green); text-decoration: none; }

/* ─── Restaurants Page ─── */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.restaurant-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.2s;
}

.restaurant-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.restaurant-cta-card {
    border: 2px dashed #cbd5e1;
    background: var(--light);
}

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

.restaurant-avatar {
    width: 48px;
    height: 48px;
    background: var(--green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.restaurant-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

.restaurant-location {
    font-size: 0.85rem;
    color: var(--gray);
}

.restaurant-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.restaurant-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

/* ─── About Page ─── */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-photo {
    position: sticky;
    top: 6rem;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--light);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.photo-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-facts {
    list-style: none;
    padding: 0;
}

.about-facts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: background 0.2s;
}

.contact-item:hover {
    background: var(--green-light);
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    nav { padding: 1rem; }
    .nav-links { gap: 1rem; font-size: 0.85rem; }
    .hero { padding: 6rem 1.5rem 3rem; }
    .section { padding: 3rem 1.5rem; }
    .demo-container { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .about-photo { position: static; max-width: 200px; margin: 0 auto; }
}
