* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f7f8f3;
    color: #203326;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    width: 100%;
    padding: 20px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(247, 248, 243, 0.95);

    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid #e5e8df;
}

.logo {
    font-size: 22px;
    font-weight: 800;
}

.logo span {
    color: #4d8b55;
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    font-size: 14px;
    font-weight: 600;
    color: #506054;
}

.navbar nav a:hover {
    color: #4d8b55;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 700px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    padding: 80px 7%;

    background:
        linear-gradient(
            135deg,
            #f7f8f3 0%,
            #edf4e8 100%
        );
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;

    padding: 8px 15px;

    border-radius: 30px;

    background: #e1efdc;
    color: #4c8051;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 82px);

    line-height: 1.05;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #4d8b55;
}

.hero p {
    max-width: 580px;

    font-size: 19px;

    color: #647066;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 14px 25px;

    border-radius: 10px;

    font-weight: 700;

    transition: 0.3s;
}

.primary-btn {
    background: #397346;
    color: white;
}

.primary-btn:hover {
    background: #2e6038;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #cbd6c8;
    color: #39513e;
}

.secondary-btn:hover {
    background: white;
}


/* Hero Garden */

.hero-garden {
    height: 430px;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.sun {
    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: #dceab8;

    position: absolute;

    top: 20px;
    right: 30px;

    opacity: 0.8;
}

.garden-card {
    width: 330px;

    padding: 35px;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 30px 70px rgba(50, 80, 50, 0.12);

    position: relative;

    z-index: 2;
}

.plant-icon {
    font-size: 50px;

    margin-bottom: 15px;
}

.garden-card h3 {
    margin-bottom: 10px;
}

.garden-card p {
    font-size: 15px;

    margin-bottom: 25px;
}

.progress {
    height: 8px;

    border-radius: 20px;

    background: #edf0ea;

    overflow: hidden;

    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;

    width: 65%;

    background: #4d8b55;
}


/* =========================
   SECTIONS
========================= */

.how-section,
.planner-section,
.open-ai-section,
.about-section {
    padding: 100px 7%;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading span,
.about-content > span,
.mission-content > span {
    color: #4d8b55;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 42px;

    line-height: 1.2;

    margin: 10px 0 15px;
}

.section-heading p {
    color: #68736b;
}


/* =========================
   HOW IT WORKS
========================= */

.steps {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.step-card {
    background: white;

    padding: 35px;

    border-radius: 18px;

    border: 1px solid #e4e9e0;
}

.step-number {
    color: #4d8b55;

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 30px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    color: #6a746c;

    font-size: 15px;
}


/* =========================
   PLANNER
========================= */

.planner-section {
    background: #eef3ea;
}

.planner-container {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 30px;
}

.planner-form,
.result-container {
    background: white;

    border-radius: 20px;

    padding: 35px;

    border: 1px solid #e0e7dc;
}

.planner-form h3 {
    font-size: 25px;

    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}

label {
    display: block;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 7px;
}

input,
select {
    width: 100%;

    padding: 13px 14px;

    border-radius: 9px;

    border: 1px solid #d5ddd1;

    background: #fafcf9;

    color: #243529;

    outline: none;

    font-size: 14px;
}

input:focus,
select:focus {
    border-color: #5b9762;

    box-shadow:
        0 0 0 3px rgba(77, 139, 85, 0.1);
}

.generate-btn {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 10px;

    background: #397346;

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.generate-btn:hover {
    background: #2d6038;
}


/* =========================
   RESULT
========================= */

.empty-result {
    min-height: 500px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;
}

.empty-icon {
    font-size: 65px;

    margin-bottom: 20px;
}

.empty-result p {
    max-width: 350px;

    color: #717b73;
}

.hidden {
    display: none !important;
}

.result-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 30px;
}

.result-label {
    font-size: 11px;

    color: #4d8b55;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.result-header h3 {
    font-size: 27px;

    margin-top: 5px;
}

.ai-badge {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #e5f0e1;

    color: #4d8b55;

    font-weight: 800;
}

.recommendation {
    padding: 20px 0;

    border-top: 1px solid #e7ebe4;
}

.recommendation h4 {
    margin-bottom: 15px;
}

.plant-list {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.plant {
    padding: 8px 13px;

    border-radius: 30px;

    background: #edf5e9;

    color: #3e7046;

    font-size: 13px;

    font-weight: 700;
}

.recommendation > p {
    color: #626d65;

    font-size: 14px;
}

.mission-preview {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 18px;

    border-radius: 12px;

    background: #f2f7ef;
}

.mission-time {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #4d8b55;

    color: white;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: 800;
}

.mission-time small {
    font-size: 8px;
}

.mission-preview p {
    font-size: 13px;

    color: #68736b;

    margin-top: 3px;
}

.mission-btn {
    width: 100%;

    padding: 13px;

    border: 1px solid #4d8b55;

    border-radius: 9px;

    background: transparent;

    color: #397346;

    font-weight: 700;

    cursor: pointer;
}


/* =========================
   OUTDOOR MISSION
========================= */

.mission-section {
    padding: 110px 7%;

    background:
        linear-gradient(
            135deg,
            #315f3a,
            #4f8755
        );

    color: white;
}

.mission-content {
    max-width: 900px;

    margin: auto;

    text-align: center;
}

.mission-content > span {
    color: #d7edce;
}

.mission-content h2 {
    font-size: 52px;

    line-height: 1.1;

    margin: 15px 0 20px;
}

.mission-content > p {
    max-width: 600px;

    margin: 0 auto 35px;

    color: #dcebd9;
}

.mission-box {
    max-width: 650px;

    margin: auto;

    padding: 25px;

    display: flex;

    gap: 20px;

    text-align: left;

    align-items: center;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 18px;
}

.mission-icon {
    font-size: 45px;
}

.mission-box h3 {
    margin-bottom: 5px;
}

.mission-box p {
    color: #dcebd9;

    font-size: 14px;
}

.complete-btn {
    margin-top: 25px;

    padding: 14px 25px;

    border: none;

    border-radius: 9px;

    background: white;

    color: #315f3a;

    font-weight: 800;

    cursor: pointer;
}

.completion-message {
    margin-top: 20px;

    font-weight: 700;

    color: #e0f4d8;
}


/* =========================
   OPEN AI
========================= */

.open-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.open-card {
    padding: 30px;

    background: white;

    border: 1px solid #e1e7dd;

    border-radius: 16px;
}

.open-icon {
    font-size: 30px;

    margin-bottom: 20px;
}

.open-card h3 {
    margin-bottom: 10px;
}

.open-card p {
    color: #6b756d;

    font-size: 14px;
}


/* =========================
   ABOUT
========================= */

.about-section {
    background: #edf2e9;
}

.about-content {
    max-width: 800px;

    margin: auto;

    text-align: center;
}

.about-content h2 {
    font-size: 45px;

    line-height: 1.2;

    margin: 15px 0 25px;
}

.about-content p {
    color: #667168;

    margin-bottom: 15px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 45px 7%;

    text-align: center;

    background: #203326;

    color: white;
}

.footer-logo {
    font-size: 22px;

    font-weight: 800;

    margin-bottom: 8px;
}

footer p {
    color: #bfcbbf;

    font-size: 14px;
}

footer .copyright {
    margin-top: 20px;

    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .navbar nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 60px;
    }

    .hero-content {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-garden {
        margin-top: 30px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .planner-container {
        grid-template-columns: 1fr;
    }

    .open-grid {
        grid-template-columns:
            1fr 1fr;
    }
}


@media (max-width: 600px) {

    .navbar {
        padding: 16px 5%;
    }

    .hero {
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 16px;
    }

    .how-section,
    .planner-section,
    .open-ai-section,
    .about-section {
        padding: 70px 5%;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .planner-form,
    .result-container {
        padding: 22px;
    }

    .mission-content h2 {
        font-size: 38px;
    }

    .mission-box {
        flex-direction: column;

        text-align: center;
    }

    .open-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 34px;
    }
}