/* ============================================================
   CleanLabel.Life — 02-public.css
   Hero, sections, features, demo, result-card, steps, CTA, footer
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
    padding: 78px 0 90px;
    background:
        radial-gradient(circle at 10% 10%, rgba(200, 232, 107, .22), transparent 28%),
        radial-gradient(circle at 90% 30%, rgba(190, 226, 211, .35), transparent 30%),
        var(--mint);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 7px 13px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 24px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background: #67b883;
    border-radius: 50%;
}

.hero-content h1 {
    font-size: clamp(44px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 850;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--green);
}

.hero-description {
    color: var(--muted);
    font-size: 19px;
    max-width: 620px;
    margin: 0 auto 38px;
}

.search-box {
    background: #fff;
    padding: 8px;
    border-radius: 20px;
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 76, 59, .08);
}

.search-box .search-icon {
    width: 52px;
    font-size: 21px;
}

.search-box input {
    flex: 1;
    border: 0;
    outline: 0;
    min-width: 0;
    font-size: 16px;
    color: var(--text);
    background: transparent;
}

.search-box input::placeholder {
    color: #a1aaa6;
}

.search-button {
    border: 0;
    background: var(--green);
    color: #fff;
    padding: 0 25px;
    height: 52px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: .2s;
}

.search-button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.search-hint {
    margin-top: 14px;
    font-size: 12px;
    color: #89958f;
}

.trust-row {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 38px;
    flex-wrap: wrap;
    color: #66736d;
    font-size: 13px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* ---------- СЕКЦИИ ГЛАВНОЙ ---------- */
/* Ограничиваем padding ТОЛЬКО для секций с классом .hero, .features, .demo, .cta */
.hero,
.features,
.demo,
.cta,
section#how {
    padding: 100px 0;
}

.hero {
    padding: 78px 0 90px;
}

.section-header {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-label {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

section h2,
.section-header h2 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.section-description {
    color: var(--muted);
    font-size: 17px;
}

/* ---------- FEATURES ---------- */
.features {
    background: #fff;
}

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

.feature-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: .25s;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--green-light);
    font-size: 23px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: -.3px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}

/* ---------- DEMO ---------- */
.demo {
    background: var(--mint);
}

.demo-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.demo-copy h2 {
    margin-bottom: 20px;
}

.demo-copy p {
    color: var(--muted);
    margin-bottom: 28px;
}

.demo-points {
    list-style: none;
    display: grid;
    gap: 13px;
}

.demo-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.check {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
    font-weight: bold;
    flex-shrink: 0;
}

/* ---------- RESULT CARD ---------- */
.result-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.product-info {
    display: flex;
    gap: 14px;
    align-items: center;
}

.product-image {
    width: 60px;
    height: 60px;
    background: #edf2ec;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 27px;
    flex-shrink: 0;
}

.product-name {
    font-weight: 800;
}

.product-meta {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.score {
    text-align: center;
    background: #edf7df;
    color: #4c7528;
    border-radius: 15px;
    padding: 9px 13px;
    min-width: 74px;
}

.score strong {
    display: block;
    font-size: 20px;
}

.score small {
    font-size: 10px;
}

.additives-title {
    margin: 23px 0 13px;
    font-size: 14px;
    font-weight: 800;
}

.additive {
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.additive-main {
    display: flex;
    align-items: center;
    gap: 11px;
}

.additive-code {
    font-size: 12px;
    font-weight: 800;
    background: #f0f3f1;
    border-radius: 8px;
    padding: 6px 8px;
}

.additive-name {
    font-size: 13px;
    font-weight: 700;
}

.additive-purpose {
    font-size: 11px;
    color: var(--muted);
}

.badge {
    font-size: 10px;
    font-weight: 800;
    padding: 6px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-safe { background: #e8f4df; color: #4b7c2d; }
.badge-attention { background: #fff3d2; color: #946f1d; }
.badge-info { background: #e7f0f6; color: #4c7187; }

.details-link {
    display: block;
    text-align: center;
    margin-top: 17px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

/* ---------- STEPS ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    position: relative;
    padding: 30px;
    background: #fafcfb;
    border-radius: var(--radius);
}

.step-number {
    font-size: 13px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 40px;
}

.step h3 { margin-bottom: 9px; font-size: 19px; }
.step p  { color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; }

.cta-card {
    background: var(--green);
    border-radius: 32px;
    color: #fff;
    text-align: center;
    padding: 75px 30px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(200, 232, 107, .14);
    border-radius: 50%;
    top: -150px;
    left: -80px;
}

.cta-card h2 {
    position: relative;
    max-width: 700px;
    margin: 0 auto 18px;
    color: #fff;
}

.cta-card p {
    position: relative;
    max-width: 560px;
    margin: 0 auto 28px;
    color: #c9d8d1;
}

.cta-button {
    position: relative;
    display: inline-block;
    background: var(--lime);
    color: var(--green);
    padding: 15px 24px;
    border-radius: 13px;
    font-weight: 800;
}

/* ---------- FOOTER ---------- */
footer {
    margin-top: 70px;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.footer,
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copy,
.footer-links {
    color: var(--muted);
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--green);
}