/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-umber: #a67c52;
    --color-green: #6b8e6f;
    --color-eggshell: #f5f5f0;
    --color-stone: #6b5d54;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-eggshell);
    min-height: 100vh;
    padding: 0;
}

/* Desktop Layout - Hero at Top */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--color-stone);
    padding: 60px 40px;
    text-align: center;
    align-items: center;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/homventory-head-on.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-umber);
    position: relative;
    z-index: 1;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 540px;
    position: relative;
    z-index: 1;
}

/* Email Signup Form */
.email-signup {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid var(--color-stone);
    border-radius: 8px;
    background: white;
    color: var(--color-stone);
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(107, 93, 84, 0.5);
}

.email-input:focus {
    border-color: var(--color-umber);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.cta-button {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: var(--color-green);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 142, 111, 0.3);
    background: #5a7a5e;
}

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

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    color: var(--color-green);
    font-weight: 500;
    margin-top: -8px;
    position: relative;
    z-index: 1;
}

.success-message.hidden {
    display: none;
}

/* Hero Image Section */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Problem Section */
.problem-section {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    padding: 80px 60px;
    align-items: center;
    background: white;
}

.problem-image {
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
}

.kitchen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-item {
    padding: 0;
}

.stat-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-stone);
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/homeventory-angle.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.feature-panel {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.feature-panel:nth-child(1) {
    background-color: var(--color-umber);
}

.feature-panel:nth-child(2) {
    background-color: var(--color-green);
}

.feature-panel:nth-child(3) {
    background-color: var(--color-stone);
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    margin: 0;
}

/* Audience Section */
.audience-section {
    padding: 80px 60px;
    background: var(--color-eggshell);
    position: relative;
}

.audience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/homeventory-kitchen.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.audience-heading {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--color-stone);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.audience-tile {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid var(--color-stone);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.audience-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 93, 84, 0.15);
}

.audience-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-stone);
    margin: 0;
}

/* Vision Statement Section */
.vision-section {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    padding: 80px 60px;
    align-items: center;
    background: var(--color-stone);
}

.vision-image {
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
}

.ceo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vision-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-statement {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5;
    color: white;
    margin: 0 0 24px 0;
}

.vision-attribution {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
}

/* Mobile Layout */
@media (max-width: 900px) {
    .content-section {
        padding: 40px 30px;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        max-width: 100%;
    }

    .email-signup {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .cta-button {
        width: 100%;
    }

    .problem-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 30px;
    }

    .problem-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .stat-highlight {
        font-size: 1.25rem;
    }

    .features-section {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        padding: 60px 30px;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .audience-section {
        padding: 60px 30px;
    }

    .audience-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

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

    .audience-tile {
        padding: 60px 30px;
    }

    .audience-title {
        font-size: 1.5rem;
    }

    .vision-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 30px;
    }

    .vision-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .vision-statement {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .content-section {
        padding: 32px 20px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .headline {
        font-size: 2rem;
    }

    .subheadline {
        font-size: 1.1rem;
    }

    .problem-section {
        padding: 40px 20px;
        gap: 32px;
    }

    .stat-highlight {
        font-size: 1.1rem;
    }

    .feature-panel {
        padding: 40px 20px;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .audience-section {
        padding: 40px 20px;
    }

    .audience-heading {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .audience-tile {
        padding: 40px 20px;
    }

    .audience-title {
        font-size: 1.25rem;
    }

    .vision-section {
        padding: 40px 20px;
        gap: 32px;
    }

    .vision-statement {
        font-size: 1.25rem;
    }
}
