html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.mlm-page {
    background: #f6fbf8;
    color: #071411;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

.mlm-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.mlm-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #dbe8e1;
    background: rgba(246, 251, 248, 0.94);
    backdrop-filter: blur(14px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(7, 20, 17, 0.08);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    display: block;
    color: #0f5b45;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.brand-subtitle {
    display: block;
    margin-top: 2px;
    color: #52645c;
    font-size: 12px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #52645c;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #071411;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #10a56f;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(16, 165, 111, 0.24);
}

.btn-primary:hover {
    background: #0b8b5d;
}

.btn-dark {
    background: #071411;
    color: #ffffff;
}

.btn-dark:hover {
    background: #10241d;
}

.btn-outline {
    border-color: #a8c8bb;
    background: #ffffff;
    color: #071411;
}

.btn-outline:hover {
    border-color: #10a56f;
}

.btn-light {
    background: #ffffff;
    color: #071411;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: 0 0 auto;
    height: 260px;
    background:
        radial-gradient(circle at 20% 10%, rgba(16, 165, 111, 0.2), transparent 34%),
        radial-gradient(circle at 80% 0%, rgba(21, 184, 191, 0.14), transparent 30%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 42px;
    padding-top: 64px;
    padding-bottom: 72px;
}

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

.eyebrow,
.section-label {
    width: fit-content;
    margin: 0;
    color: #0f6b4f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow {
    border: 1px solid #b7d9c9;
    border-radius: 999px;
    background: #ffffff;
    padding: 9px 16px;
}

.hero-copy h1,
.section-intro h2,
.features-grid h2,
.lead-grid h2 {
    margin: 20px 0 0;
    color: #071411;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.04;
}

.section-intro h2,
.features-grid h2,
.lead-grid h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.hero-text,
.section-intro p,
.features-grid p,
.lead-grid > div > p {
    max-width: 680px;
    color: #52645c;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 640px;
    margin-top: 38px;
}

.stat-card {
    border: 1px solid #dbe8e1;
    border-radius: 8px;
    background: #ffffff;
    padding: 16px;
}

.stat-card strong {
    display: block;
    color: #0f6b4f;
    font-size: 26px;
    font-weight: 900;
}

.stat-card span {
    display: block;
    margin-top: 5px;
    color: #52645c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-shell {
    border: 1px solid #cfdfd6;
    border-radius: 8px;
    background: #071411;
    padding: 16px;
    box-shadow: 0 32px 80px rgba(7, 20, 17, 0.22);
}

.dashboard-card {
    border-radius: 8px;
    background: #0d1f19;
    padding: 22px;
    color: #ffffff;
}

.dashboard-head,
.tree-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-head p {
    margin: 0;
    color: #53d9a6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.dashboard-head h2 {
    margin: 8px 0 0;
    font-size: 26px;
    font-weight: 900;
}

.dashboard-head span,
.tree-head span {
    border-radius: 999px;
    background: #103c2d;
    color: #7af0bd;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.mini-stats div {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.mini-stats span {
    display: block;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mini-stats strong {
    display: block;
    margin-top: 12px;
    font-size: 25px;
    font-weight: 900;
}

.tree-card {
    margin-top: 20px;
    border-radius: 8px;
    background: #ffffff;
    color: #071411;
    padding: 18px;
}

.tree-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.tree-head span {
    background: #e9fbf3;
    color: #0f6b4f;
}

.tree-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    border: 1px solid #e1ebe5;
    border-radius: 8px;
    padding: 14px;
}

.tree-row p {
    margin: 0;
    font-weight: 900;
}

.tree-row small {
    display: block;
    margin-top: 6px;
    color: #52645c;
    font-size: 14px;
}

.tree-row strong {
    color: #0f6b4f;
    font-size: 14px;
    font-weight: 900;
}

.pricing-section,
.lead-section {
    background: #ffffff;
    padding: 70px 0;
}

.pricing-section {
    border-top: 1px solid #dbe8e1;
    border-bottom: 1px solid #dbe8e1;
}

.section-intro {
    max-width: 760px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 42px;
}

.price-card {
    border: 1px solid #dbe8e1;
    border-radius: 8px;
    background: #f6fbf8;
    padding: 26px;
}

.price-card.featured {
    border-color: #10a56f;
    background: #071411;
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(7, 20, 17, 0.18);
}

.recommended {
    width: fit-content;
    margin: 0 0 16px;
    border-radius: 999px;
    background: #10a56f;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.price-card h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
}

.plan-note {
    min-height: 42px;
    margin: 10px 0 0;
    color: #52645c;
    font-size: 14px;
    line-height: 1.6;
}

.featured .plan-note {
    color: rgba(255, 255, 255, 0.68);
}

.plan-price {
    margin: 24px 0 0;
    font-size: 38px;
    font-weight: 900;
}

.price-card ul {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}

.price-card li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.price-card li span {
    display: inline-grid;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: #dff6ec;
    color: #0f6b4f;
    font-size: 12px;
    font-weight: 900;
}

.featured li span {
    background: #10a56f;
    color: #ffffff;
}

.features-section {
    background: #f6fbf8;
    padding: 70px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
}

.feature-table {
    overflow: hidden;
    border: 1px solid #dbe8e1;
    border-radius: 8px;
    background: #ffffff;
}

.feature-row {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 16px;
    border-bottom: 1px solid #dbe8e1;
    padding: 20px;
}

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

.feature-row p {
    margin: 0;
    color: #071411;
    font-weight: 900;
}

.feature-row span {
    color: #52645c;
    line-height: 1.65;
}

.demo-section {
    background: #071411;
    color: #ffffff;
    padding: 70px 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.demo-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    padding: 26px;
}

.demo-grid h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

.demo-grid p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.lead-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
}

details {
    border: 1px solid #dbe8e1;
    border-radius: 8px;
    background: #f6fbf8;
    margin-top: 16px;
    padding: 20px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    margin: 12px 0 0;
    color: #52645c;
    line-height: 1.7;
}

.lead-form {
    border: 1px solid #cfe2d8;
    border-radius: 8px;
    background: #f6fbf8;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(7, 20, 17, 0.1);
}

.form-head h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
}

.form-head p,
.form-note {
    color: #52645c;
    font-size: 14px;
    line-height: 1.6;
}

.success-message,
.validation-summary {
    border-radius: 8px;
    margin: 16px 0;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
}

.success-message {
    border: 1px solid #b9e8d2;
    background: #e9fbf3;
    color: #0f6b4f;
}

.validation-summary {
    border: 1px solid #f0c4c4;
    background: #fff1f1;
    color: #b42318;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-grid label {
    display: block;
}

.form-grid label > span:first-child {
    display: block;
    color: #263a31;
    font-size: 14px;
    font-weight: 900;
}

.full-row {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bcd3c8;
    border-radius: 8px;
    background: #ffffff;
    color: #071411;
    margin-top: 8px;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #10a56f;
    box-shadow: 0 0 0 4px rgba(16, 165, 111, 0.15);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.field-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.submit-btn {
    width: 100%;
    margin-top: 12px;
}

.form-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.mlm-footer {
    border-top: 1px solid #dbe8e1;
    background: #f6fbf8;
    color: #52645c;
    padding: 30px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .hero-grid,
    .features-grid,
    .lead-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .demo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .mlm-container {
        padding: 0 16px;
    }

    .nav-inner {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .hero-grid {
        padding-top: 42px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .stats-grid,
    .mini-stats,
    .form-grid,
    .feature-row {
        grid-template-columns: 1fr;
    }

    .dashboard-shell,
    .lead-form {
        padding: 14px;
    }

    .tree-row {
        grid-template-columns: 1fr;
    }
}
