/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Color Palette */
    --sage-green: #7FA383;
    --sage-green-light: #A8C5AB;
    --sage-green-dark: #5F7D61;
    --slate-blue: #4A5F7F;
    --slate-blue-light: #6B80A0;
    --slate-blue-dark: #2E3D52;
    --burnt-orange: #D2622A;
    --burnt-orange-hover: #B84E1F;

    /* Neutrals */
    --white: #FFFFFF;
    --light-gray: #F7F8FA;
    --medium-gray: #E5E7EB;
    --dark-gray: #374151;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================
   Navbar
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--sage-green-dark);
    letter-spacing: -0.5px;
}

/* ===========================
   Buttons
   =========================== */
.cta-button {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
}

.primary-cta {
    background: var(--burnt-orange);
    color: var(--white);
}

.primary-cta:hover {
    background: var(--burnt-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 98, 42, 0.3);
}

.hero-cta {
    background: var(--burnt-orange);
    color: var(--white);
    padding: 18px 40px;
    font-size: 18px;
}

.hero-cta:hover {
    background: var(--burnt-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 98, 42, 0.4);
}

.footer-cta {
    background: var(--burnt-orange);
    color: var(--white);
    padding: 16px 36px;
    white-space: nowrap;
}

.footer-cta:hover {
    background: var(--burnt-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 98, 42, 0.4);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    background: var(--white);
    padding: 140px 0 100px;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-headline {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--slate-blue-dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--medium-gray);
}

.mockup-header {
    background: var(--slate-blue);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-title {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

.mockup-content {
    display: flex;
    min-height: 400px;
}

.mockup-sidebar {
    background: var(--light-gray);
    width: 180px;
    padding: 16px 0;
    border-right: 1px solid var(--medium-gray);
}

.mockup-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mockup-menu-item:hover {
    background: var(--white);
}

.mockup-menu-item.active {
    background: var(--white);
    border-left: 3px solid var(--sage-green);
}

.menu-icon {
    font-size: 18px;
}

.menu-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.mockup-main {
    flex: 1;
    padding: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--sage-green-light);
    padding: 20px;
    border-radius: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--sage-green-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--slate-blue-dark);
    margin-top: 8px;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    background: var(--light-gray);
    height: 60px;
    border-radius: 6px;
    border: 1px solid var(--medium-gray);
}

/* ===========================
   Problem Section
   =========================== */
.problem-section {
    background: var(--light-gray);
    padding: var(--section-padding) 0;
}

.problem-content {
    text-align: center;
}

.problem-text {
    font-size: 28px;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto 60px;
    font-weight: 500;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.problem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 24px;
    color: var(--slate-blue-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.problem-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   Solution Section
   =========================== */
.solution-section {
    background: var(--white);
    padding: var(--section-padding) 0;
}

.solution-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.solution-intro h2 {
    font-size: 36px;
    line-height: 1.4;
    color: var(--slate-blue-dark);
    font-weight: 700;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--sage-green);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: 32px;
    color: var(--slate-blue-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
    width: 100%;
    max-width: 400px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--light-gray);
}

.card-icon {
    font-size: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-blue-dark);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.item-price {
    color: var(--sage-green-dark);
    font-weight: 700;
}

.dietary-tags {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    background: var(--sage-green-light);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sage-green-dark);
}

.sync-animation {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 24px;
}

.sync-icon {
    font-size: 48px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sync-text {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sage-green);
}

.calendar-preview {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
}

.calendar-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--slate-blue-dark);
    margin-bottom: 16px;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    border-left: 3px solid var(--sage-green);
}

.admin-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.admin-action:hover {
    background: var(--sage-green-light);
}

.action-icon {
    font-size: 24px;
}

.action-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===========================
   Market Opportunity Section
   =========================== */
.market-section {
    background: var(--slate-blue-dark);
    padding: var(--section-padding) 0;
}

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

.market-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.stat-big {
    font-size: 96px;
    font-weight: 800;
    color: var(--burnt-orange);
    line-height: 1;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--sage-green-light);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-text {
    font-size: 22px;
    line-height: 1.7;
    color: var(--white);
}

/* ===========================
   Vision Section
   =========================== */
.vision-section {
    background: var(--light-gray);
    padding: var(--section-padding) 0;
}

.vision-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.vision-stat {
    background: var(--sage-green);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.vision-number {
    font-size: 72px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.vision-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-top: 12px;
    line-height: 1.3;
}

.vision-text {
    font-size: 22px;
    line-height: 1.7;
    color: var(--text-primary);
}

/* ===========================
   Footer Section
   =========================== */
.footer-section {
    background: var(--burnt-orange);
    padding: 80px 0 40px;
}

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

.footer-headline {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-offer {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.email-capture {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

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

.email-input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.success-message {
    display: none;
    margin-top: 20px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline {
        font-size: 42px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .email-capture {
        flex-direction: column;
    }

    .nav-content {
        gap: 20px;
    }

    .logo {
        font-size: 24px;
    }

    .primary-cta {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .problem-text {
        font-size: 22px;
    }

    .solution-intro h2 {
        font-size: 28px;
    }

    .feature-text h3 {
        font-size: 26px;
    }

    .feature-text p {
        font-size: 16px;
    }

    .stat-big {
        font-size: 64px;
    }

    .market-text,
    .vision-text {
        font-size: 18px;
    }

    .footer-headline {
        font-size: 32px;
    }

    .footer-offer {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .mockup-content {
        flex-direction: column;
    }

    .mockup-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--medium-gray);
    }
}
