﻿:root {
    --green: #176b45;
    --green-dark: #123d2b;
    --green-light: #e9f5ed;
    --text: #183329;
    --muted: #718078;
    --white: #ffffff;
    --border: #e7eee8;
    --shadow: 0 18px 55px rgba(20, 59, 40, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "DM Sans", sans-serif; color: var(--text); background: #fff; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }

.header {
    height: 82px; padding: 0 7.5%; display: flex; align-items: center;
    justify-content: space-between; background: rgba(255,255,255,.95);
    border-bottom: 1px solid #edf1ed; position: sticky; top: 0; z-index: 10;
    backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 22px "Manrope", sans-serif; color: var(--green-dark); }
.brand-icon { font-size: 25px; }
.brand-light { color: #65a77b; }
.nav { display: flex; gap: 38px; color: #617067; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--green); }
.btn { border: 0; border-radius: 10px; padding: 13px 21px; cursor: pointer; font-weight: 700; font-size: 14px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; transition: .2s; }
.btn-primary { background: var(--green); color: white; box-shadow: 0 8px 20px rgba(23,107,69,.18); }
.btn-primary:hover { background: #105537; transform: translateY(-2px); }
.btn-outline { background: white; color: var(--green); border: 1px solid #cbded0; }
.btn-outline:hover { background: var(--green-light); }
.btn-ghost { color: var(--green-dark); background: transparent; }
.btn-ghost:hover { background: var(--green-light); }

.hero { min-height: 590px; padding: 80px 10% 75px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 55px; background: linear-gradient(115deg,#f4faf5 0%,#fff 60%,#f0f8f1 100%); overflow: hidden; }
.eyebrow { color: var(--green); font-size: 10px; letter-spacing: 1.8px; font-weight: 800; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6bbd80; margin-right: 7px; box-shadow: 0 0 0 4px #dff1e3; }
.hero h1 { font: 800 clamp(39px,5vw,61px)/1.13 "Manrope", sans-serif; letter-spacing: -2.8px; color: var(--green-dark); margin: 25px 0 20px; max-width: 650px; }
.hero h1 span { color: #4b9b68; }
.hero-content > p { color: #697a70; line-height: 1.9; font-size: 15px; max-width: 510px; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.hero-note { margin-top: 38px; display: flex; gap: 10px; align-items: center; color: #78867e; font-size: 12px; }
.note-icon { font-size: 19px; }
.hero-visual { min-height: 380px; display: flex; justify-content: center; align-items: center; position: relative; }
.visual-glow { position: absolute; width: 340px; height: 340px; background: #dcefe0; border-radius: 50%; filter: blur(3px); }
.visual-card { position: relative; width: min(100%,365px); background: white; padding: 27px; border: 1px solid #e7efe7; border-radius: 24px; box-shadow: 0 25px 70px rgba(31,79,48,.14); transform: rotate(2deg); }
.visual-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: 1px; font-weight: 800; color: #8b9b8f; }
.visual-status { color: #469b61; letter-spacing: 0; }
.earth-art { height: 190px; margin: 20px 0; border-radius: 17px; background: linear-gradient(140deg,#d9efdb,#eef8e9); display: grid; place-items: center; font-size: 100px; }
.visual-card h3 { font: 800 22px "Manrope",sans-serif; color: var(--green-dark); }
.visual-card > p { color: #839087; font-size: 12px; margin-top: 5px; }
.visual-stats { display: flex; justify-content: space-between; border-top: 1px solid #edf1ed; margin-top: 23px; padding-top: 18px; }
.visual-stats div { display: flex; flex-direction: column; gap: 4px; }
.visual-stats strong { color: var(--green); font: 800 19px "Manrope",sans-serif; }
.visual-stats span { color: #89968d; font-size: 10px; }
.floating-leaf { position: absolute; font-size: 36px; filter: drop-shadow(0 8px 8px #8eae8d55); }
.leaf-one { top: 30px; right: 0; transform: rotate(25deg); }
.leaf-two { bottom: 22px; left: 0; font-size: 30px; }

.features-section { padding: 95px 10%; }
.section-heading { text-align: center; max-width: 610px; margin: 0 auto 45px; }
.section-heading h2, .about-section h2 { font: 800 34px/1.2 "Manrope",sans-serif; letter-spacing: -1px; color: var(--green-dark); margin: 14px 0; }
.section-heading p, .about-section p { color: var(--muted); line-height: 1.8; font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card, .panel-feature { padding: 30px; border: 1px solid var(--border); border-radius: 17px; background: white; transition: .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; font-size: 23px; margin-bottom: 22px; }
.icon-green { background: #e8f5e9; }
.icon-blue { background: #e9f2fa; }
.icon-yellow { background: #fff5dc; }
.feature-card h3, .panel-feature h3 { font: 700 17px "Manrope",sans-serif; margin-bottom: 10px; }
.feature-card p, .panel-feature p { font-size: 13px; color: var(--muted); line-height: 1.8; }

.about-section { margin: 10px 10% 90px; padding: 52px; background: #f2f8f2; border-radius: 22px; display: grid; grid-template-columns: 125px 1fr; align-items: center; gap: 30px; }
.about-icon { width: 110px; height: 110px; border-radius: 30px; background: #e0f0e2; display: grid; place-items: center; font-size: 55px; }
.about-section h2 { font-size: 29px; max-width: 620px; }
.footer { border-top: 1px solid var(--border); padding: 28px 8%; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer .brand { font-size: 19px; }
.footer p, .footer > span { font-size: 11px; color: #87938b; }

.modal { position: fixed; inset: 0; z-index: 30; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,29,19,.65); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: 100%; max-width: 445px; max-height: 95vh; overflow-y: auto; padding: 36px; border-radius: 22px; background: white; box-shadow: 0 30px 90px #071e1450; animation: appear .2s ease; }
@keyframes appear { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 19px; border: 0; background: #f1f5f1; width: 32px; height: 32px; border-radius: 50%; font-size: 23px; color: #52675a; cursor: pointer; }
.modal-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--green-light); display: grid; place-items: center; font-size: 25px; margin-bottom: 20px; }
.modal-card h2 { font: 800 27px "Manrope",sans-serif; color: var(--green-dark); margin-top: 10px; }
.modal-description { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 8px 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: #42584a; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 14px; border: 1px solid #dfe8e0; background: #fbfdfb; border-radius: 9px; outline: none; font-size: 13px; color: var(--text); }
.field input:focus { border-color: #65a77b; box-shadow: 0 0 0 3px #e9f5ed; }
.submit-btn { width: 100%; margin-top: 5px; }
.form-message { min-height: 18px; margin: 5px 0 10px; color: #bd4747; font-size: 12px; line-height: 1.5; }
.form-message.success { color: #237c49; }
.switch-text { text-align: center; font-size: 12px; color: var(--muted); margin-top: 22px; }
.switch-text button { color: var(--green); background: none; border: 0; font-weight: 800; cursor: pointer; }
.secure-note { text-align: center; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--border); font-size: 10px; color: #829087; }
.user-panel { min-height: 100vh; padding: 0 8% 70px; background: #f5f9f5; }
.user-panel[hidden] { display: none; }
.panel-top { height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.welcome-card { margin: 45px 0 30px; padding: 42px; border-radius: 20px; color: white; background: linear-gradient(120deg,#123d2b,#267b50); }
.welcome-card .eyebrow { color: #b9e5c4; }
.welcome-card h1 { font: 800 36px "Manrope",sans-serif; margin: 13px 0; }
.welcome-card h1 span { color: #b9e5c4; }
.welcome-card p { color: #d6eadb; font-size: 14px; }
.panel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

@media(max-width:850px) {
    .header { padding: 0 5%; }
    .nav { gap: 18px; }
    .hero { padding: 65px 7%; grid-template-columns: 1fr; gap: 35px; }
    .hero-content { text-align: center; }
    .hero-content > p { margin: auto; }
    .hero-actions, .hero-note { justify-content: center; }
    .hero-visual { min-height: 350px; }
    .features-section { padding: 70px 7%; }
    .about-section { margin: 0 7% 65px; }
}
@media(max-width:600px) {
    .header { height: 70px; }
    .brand { font-size: 19px; }
    .nav { display: none; }
    .header-login { padding: 10px 13px; font-size: 12px; }
    .hero { padding: 55px 6% 45px; }
    .hero h1 { font-size: 39px; letter-spacing: -1.8px; }
    .hero-content > p { font-size: 13px; }
    .hero-actions { flex-wrap: wrap; }
    .hero-visual { min-height: 330px; }
    .visual-card { max-width: 315px; padding: 20px; }
    .earth-art { height: 155px; }
    .feature-grid, .panel-grid { grid-template-columns: 1fr; }
    .features-section { padding: 65px 6%; }
    .section-heading h2 { font-size: 28px; }
    .about-section { margin: 0 6% 55px; padding: 28px; grid-template-columns: 1fr; gap: 18px; }
    .about-icon { width: 75px; height: 75px; font-size: 38px; }
    .about-section h2 { font-size: 25px; }
    .footer { padding: 25px 6%; flex-direction: column; text-align: center; }
    .modal-card { padding: 29px 23px; }
    .welcome-card { padding: 28px; }
    .welcome-card h1 { font-size: 29px; }
}
