:root {
    --ink: #061436;
    --muted: #5d6a82;
    --green: #10a66a;
    --green-dark: #08784d;
    --blue: #0b86e8;
    --orange: #ff9416;
    --purple: #7055e8;
    --line: #dfe8f3;
    --soft: #f6fbff;
    --shadow: 0 22px 55px rgba(15, 37, 75, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#home,
#shop,
#testimoni,
#contact {
    scroll-margin-top: 112px;
}

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 0, #dfeeff 0 210px, transparent 330px),
        linear-gradient(180deg, #ffffff 0, #f8fbff 54%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
}

main {
    flex: 1 0 auto;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.home-icon { width: 22px; height: 22px; flex: 0 0 22px; }

.home-header,
main,
.home-footer {
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    gap: 28px;
    margin-top: 0;
    padding: 12px 18px;
    border: 1px solid rgba(223, 232, 243, 0.86);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 35px rgba(15, 37, 75, 0.08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: 0;
}

.home-brand .brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, #20b875, #0b8f5a);
    box-shadow: 0 12px 26px rgba(15, 166, 106, 0.24);
}

.home-brand strong {
    white-space: nowrap;
}

.home-brand strong span { color: var(--green); }

.home-nav {
    display: flex;
    justify-content: center;
    gap: 42px;
    font-weight: 850;
}

.home-login,
.primary-action,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, #11aa6e, #068653);
    box-shadow: 0 16px 34px rgba(11, 147, 91, 0.25);
    font-weight: 950;
}

.home-login {
    justify-self: end;
    min-height: 48px;
    padding-inline: 26px;
}

.home-account {
    position: relative;
    justify-self: end;
}

.home-account summary {
    list-style: none;
    cursor: pointer;
}

.home-account summary::-webkit-details-marker { display: none; }

.home-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #ffffff;
    border-radius: 15px;
    background: linear-gradient(135deg, #11aa6e, #068653);
    box-shadow: 0 16px 34px rgba(11, 147, 91, 0.24);
    font-size: 15px;
    font-weight: 950;
}

.home-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 80;
    width: 220px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #dfe8f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(10, 32, 70, 0.16);
}

.home-account-menu strong,
.home-account-menu small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-account-menu small {
    color: #66738a;
    font-size: 12px;
    font-weight: 800;
}

.home-account-menu a,
.home-account-menu button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    color: #142340;
    border: 1px solid #e5edf6;
    border-radius: 11px;
    background: #f8fbff;
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.home-account-menu form { margin: 0; }
.home-account-menu button { width: 100%; color: #b42318; }

.hero-section {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(540px, 1.18fr);
    align-items: center;
    gap: 54px;
    padding: 42px 0 34px;
}

.hero-copy h1 {
    max-width: 620px;
    margin: 0 0 22px;
    font-size: clamp(44px, 5.2vw, 82px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-copy h1 span,
.section-copy h2 span { color: var(--green); }

.hero-copy p {
    max-width: 500px;
    margin: 0;
    color: #243451;
    font-size: 24px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 40px 0 28px;
}

.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    color: var(--green-dark);
    border: 1px solid #10a66a;
    border-radius: 14px;
    background: #ffffff;
    font-weight: 950;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #22334d;
    font-weight: 750;
}

.hero-note span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 50%;
    background: var(--green);
}

.dashboard-mockup {
    overflow: hidden;
    border: 1px solid #d9e5f2;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.dashboard-mockup header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 26px;
    border-bottom: 1px solid #e9eef6;
}

.dashboard-mockup header div:first-child {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 950;
}

.dashboard-mockup header div:first-child span {
    width: 16px;
    height: 16px;
    border-top: 3px solid #31425f;
    border-bottom: 3px solid #31425f;
}

.mock-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #53627a;
    font-size: 12px;
    font-weight: 900;
}

.mock-profile i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5c4aa, #6b3f2d);
}

.mock-body {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.mock-body aside {
    display: grid;
    align-content: start;
    gap: 10px;
}

.mock-body aside span {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #62708a;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 900;
}

.mock-body aside .is-active {
    color: #0b7f50;
    background: #eaf8f1;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mock-stats article,
.mock-chart,
.mock-summary,
.mock-products article {
    border: 1px solid #e5edf6;
    border-radius: 12px;
    background: #ffffff;
}

.mock-stats article {
    min-height: 90px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 12px;
}

.mock-stats small,
.mock-summary strong,
.mock-products small { color: #68768f; font-size: 11px; font-weight: 900; }
.mock-stats strong { font-size: 16px; }
.mock-stats em { color: var(--green); font-size: 11px; font-style: normal; font-weight: 900; }

.mock-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px;
    margin-top: 12px;
}

.mock-chart {
    padding: 16px;
}

.mock-chart > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mock-chart span {
    padding: 7px 10px;
    color: #637088;
    border: 1px solid #e6edf6;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
}

.mock-chart svg { width: 100%; height: 170px; display: block; }

.mock-summary {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.mock-summary span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
}

.mock-summary .home-icon { width: 16px; height: 16px; color: var(--green); }

.mock-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.mock-products article {
    min-width: 0;
    padding: 10px;
}

.mock-products img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    border-radius: 9px;
    object-fit: cover;
}

.mock-products strong {
    display: block;
    overflow: hidden;
    margin-top: 8px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 34px 0;
}

.feature-card {
    min-height: 230px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 28px;
    border: 1px solid #e1e9f3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(10, 32, 70, 0.06);
    text-align: center;
}

.feature-card > span {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 18px;
}

.feature-store > span { color: var(--green); background: #eaf9f1; }
.feature-wa > span { color: #0b944f; background: #e8fff2; }
.feature-box > span { color: var(--orange); background: #fff2df; }
.feature-chart > span { color: var(--purple); background: #f0edff; }

.feature-card h2 { margin: 0; font-size: 22px; }
.feature-card p { margin: 0; color: #43516b; line-height: 1.45; }

.impact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 8px 0 36px;
    padding: 30px 44px;
    border: 1px solid #e2eef1;
    border-radius: 30px;
    background: linear-gradient(135deg, #f2fbf7, #f7fbff);
}

.impact-strip div {
    display: grid;
    grid-template-columns: 54px 1fr;
    grid-template-areas: "icon value" "icon label";
    column-gap: 18px;
    align-items: center;
}

.impact-strip .home-icon { grid-area: icon; width: 54px; height: 54px; color: var(--green); }
.impact-strip strong { grid-area: value; color: var(--green); font-size: 30px; }
.impact-strip span { grid-area: label; color: #243451; font-weight: 800; }

.dashboard-section {
    display: grid;
    grid-template-columns: minmax(300px, .54fr) minmax(520px, 1fr);
    align-items: center;
    gap: 36px;
    margin: 36px 0 52px;
    padding: 34px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f7fbff, #ffffff);
    box-shadow: inset 0 0 0 1px #e6eef7;
}

.section-copy h2,
.testimonial-section h2,
.cta-section h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.22;
}

.section-copy ul {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: #243451;
    font-weight: 850;
}

.section-copy li { display: flex; align-items: center; gap: 10px; }
.section-copy .home-icon { color: var(--green); }
.wide-mockup .dashboard-mockup { transform: none; }

.testimonial-section { margin: 30px 0 28px; text-align: center; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    text-align: left;
}

.testimonial-card {
    min-height: 220px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 8px 18px;
    padding: 22px;
    border: 1px solid #e1e9f3;
    border-radius: 20px;
    background: #ffffff;
}

.avatar {
    grid-row: 1 / 5;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 50%;
    font-size: 30px;
    font-weight: 950;
}

.avatar-0 { background: linear-gradient(135deg, #e8b89b, #8b4f32); }
.avatar-1 { background: linear-gradient(135deg, #8dc7ff, #1d5c9e); }
.avatar-2 { background: linear-gradient(135deg, #dfb6ff, #6d47b2); }

.testimonial-card blockquote { margin: 0; color: #22334d; line-height: 1.5; font-weight: 750; }
.testimonial-card small { color: #5d6a82; font-weight: 800; }
.testimonial-card em { color: #ffb11b; font-style: normal; letter-spacing: 1px; }

.cta-section {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    margin: 36px 0 42px;
    padding: 34px 48px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 28px;
    background: linear-gradient(135deg, #17ae68, #0587e8);
}

.cta-section h2 { margin-bottom: 8px; color: #ffffff; }
.cta-section p { margin: 0 0 20px; font-size: 20px; }
.cta-button { color: var(--green-dark); background: #ffffff; box-shadow: none; }

.cta-illustration { position: relative; height: 170px; }
.mini-shop,
.growth-card { position: absolute; display: block; }
.mini-shop { left: 16px; bottom: 8px; width: 190px; height: 128px; border-radius: 18px; background: linear-gradient(180deg, #ffffff, #d9efff); box-shadow: 0 18px 35px rgba(0,0,0,.18); }
.mini-shop::before { content: ""; position: absolute; left: -10px; right: -10px; top: -28px; height: 38px; border-radius: 16px 16px 8px 8px; background: repeating-linear-gradient(90deg, #0b86e8 0 34px, #ffffff 34px 68px); }
.growth-card { right: 16px; bottom: 20px; width: 92px; height: 110px; border-radius: 18px; background: rgba(255,255,255,.32); }
.growth-card::before { content: ""; position: absolute; left: 20px; right: 20px; bottom: 22px; height: 54px; border-left: 10px solid #fff; border-bottom: 10px solid #fff; transform: skewY(-20deg); }

.home-footer {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 42px 0 0;
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(160px, 1fr));
    gap: 34px;
    padding: 46px max(32px, calc((100% - 1320px) / 2)) 34px;
    border-top: 1px solid #e1e9f3;
    background: linear-gradient(180deg, #ffffff 0, #f4f9ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.home-footer > div {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 11px;
}

.home-footer > div:not(:first-child) { padding-top: 8px; }
.home-footer .home-brand { font-size: 25px; }
.home-footer p,
.home-footer a,
.home-footer span { margin: 0; color: #40506a; font-weight: 750; }
.home-footer strong { color: var(--ink); font-size: 15px; }
.home-footer a { width: max-content; }
.home-footer a:hover { color: var(--green); }
.home-footer small {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: 22px;
    color: #52617a;
    border-top: 1px solid #dde8f4;
    line-height: 1.45;
    text-align: center;
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
    .home-header { grid-template-columns: 1fr auto; }
    .home-nav { display: none; }
    .hero-section {
        grid-template-columns: minmax(320px, .78fr) minmax(440px, 1.22fr);
        gap: 34px;
    }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-section { padding: 28px; }
}

@media (max-width: 900px) {
    .hero-section,
    .dashboard-section { grid-template-columns: 1fr; }
    .hero-section { gap: 30px; }
}

@media (max-width: 760px) {
    .home-header,
    main { width: min(100% - 32px, 1320px); }
    .home-header { min-height: 76px; gap: 12px; }
    .home-brand { font-size: 22px; }
    .home-login { min-height: 42px; padding-inline: 16px; }
    .home-avatar { width: 44px; height: 44px; border-radius: 14px; }
    .hero-section { min-height: auto; padding-top: 20px; }
    .hero-copy p { font-size: 18px; }
    .mock-body { grid-template-columns: 1fr; }
    .mock-body aside { display: none; }
    .mock-stats,
    .mock-main,
    .mock-products,
    .feature-grid,
    .impact-strip,
    .testimonial-grid,
    .cta-section,
    .home-footer { grid-template-columns: 1fr; }
    .mock-summary { display: none; }
    .feature-card { min-height: 190px; }
    .impact-strip { padding: 24px; }
    .dashboard-section { padding: 22px; }
    .testimonial-card { grid-template-columns: 70px 1fr; }
    .avatar { width: 62px; height: 62px; }
    .cta-section { padding: 26px; }
    .cta-illustration { display: none; }
}

@media (max-width: 600px) {
    .home-header,
    main {
        width: min(360px, calc(100% - 32px));
        max-width: 360px;
        margin-left: 16px;
        margin-right: auto;
    }

    .home-footer {
        width: 100%;
        max-width: none;
        margin-left: 0;
        padding: 34px 16px 28px;
    }

    .home-header {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: stretch;
        padding: 10px 12px;
    }

    .home-header .home-brand {
        min-width: 0;
        gap: 8px;
        font-size: 20px;
    }

    .home-header .home-brand .brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .home-avatar { width: 42px; height: 42px; border-radius: 13px; }
    .home-account-menu { right: -2px; width: 210px; }
    .home-login {
        justify-self: end;
        width: auto;
        min-height: 40px;
        padding-inline: 14px;
        font-size: 14px;
        white-space: nowrap;
    }
    .hero-copy,
    .hero-section,
    .dashboard-mockup {
        min-width: 0;
        max-width: 100%;
    }

    .hero-copy h1 { font-size: 44px; line-height: 1.08; }
    .hero-copy h1 span { display: block; }
    .hero-copy p { max-width: 100%; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .primary-action,
    .secondary-action { width: 100%; }
    .dashboard-mockup { border-radius: 18px; }
    .dashboard-mockup header { padding-inline: 16px; }
    .mock-profile { display: none; }
    .mock-body { padding: 14px; }
    .mock-stats { grid-template-columns: 1fr; }
    .mock-products { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .home-header .home-brand { font-size: 18px; }
    .home-account-menu { left: auto; right: 0; width: min(210px, calc(100vw - 32px)); }
    .home-login { padding-inline: 12px; }
}
