﻿/* ======= BASE STRUCTURE ======= */
html, body {
    height: 100%; /* ensures full height for flex layout */
    margin: 0;
    padding: 0 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #EDEDE9;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0; /* FIXED: allow small screens properly */
    overflow-x: hidden; /* FIXED: no horizontal scroll */
    box-sizing: border-box;
}

/* Padding responsiveness */
@media (min-width: 1440px) {
    body {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 0.8rem;
    }
}

/* ======= MAIN WRAPPER ======= */
.main-wrapper {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100vh; /* FIXED: true sticky footer */
    box-sizing: border-box;
}

/* ======= HEADER ======= */
.top-menu {
    background-color: #EDEDE9;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3vh;
    min-height: 70px;
    padding: 1rem 0;
    box-sizing: border-box;
}

.menu-inner {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.logo {
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-name {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 0.8;
    letter-spacing: 0.05rem;
    margin: 0;
    padding: 0;
}



/* ======= HERO SECTION ======= */
.hero-main {
    width: 100%;
    border-radius: 12px;
    margin: 10px 0 80px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: end;
    background: none;
    flex: 1; /* fills available height when content is small */
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.hero-subtitle-small {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 0.6rem;
    margin-bottom: 2.5rem;
    text-align:left;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    max-width: 520px;
    margin: 0;
}

/* COMING SOON TEXT */
.coming-soon {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c56a43;
    margin-top: 2rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
    .hero-main {
        height: auto;
        padding: 2rem 1.2rem;
        text-align: left;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle-small {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .coming-soon {
        font-size: 1.1rem;
    }
}

/* ======= FOOTER ======= */
.footer {
    background-color: #9caf88;
    border-radius: 12px 12px 0 0;
    padding: 0 0 0.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto; /* ensures it sticks to bottom */
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1a1a1a;
    font-size: 0.95rem;
}

    .footer-logo img {
        height: 24px;
        width: 24px;
        border-radius: 6px;
        object-fit: contain;
    }

/* ======= GENERIC SECTION PLACEHOLDER ======= */
.section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8rem;
    border-radius: 12px;
    background-color: none;
}

/* === Custom highlights for landing === */
.highlight-green {
    color: #9caf88; /* same as footer background */
}

/* Green underline for “AI-powered” */
.underline-green {
    border-bottom: 3px solid #9caf88;
    padding-bottom: 2px;
}

/* Extra top spacing for the last hero subtitle */
.hero-subtitle.spaced {
    margin-top: 3rem;
}


/* Prevent hero title from wrapping on small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        white-space: nowrap;
    }
}

/* Extra safety for ultra-small screens (Fold narrow, SE zoom) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
}
