/* ===== Design Tokens ===== */
:root {
    --color-primary: #2d8c3c;
    --color-primary-light: #3ba34d;
    --color-primary-soft: #e8f5ea;
    --color-primary-bg: #f0f9f1;
    --color-accent: #1a6b28;
    --color-dark: #1a1a2e;
    --color-text: #333;
    --color-text-secondary: #666;
    --color-text-light: #999;
    --color-bg: #fafcfa;
    --color-white: #ffffff;
    --color-border: #e0e8e1;
    --color-card-bg: #ffffff;
    --color-grey-triangle: #4a5a4d;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(45, 140, 60, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 140, 60, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 140, 60, 0.12);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 8px 32px rgba(45, 140, 60, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-card,
.about__card,
.about__stat,
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-card:nth-child(2).animate-in {
    transition-delay: 0.1s;
}

.product-card:nth-child(3).animate-in {
    transition-delay: 0.2s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(45, 140, 60, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 140, 60, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--color-primary-soft);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(250, 252, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header--scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
}

.header__subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

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

.header__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 4px 0;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: var(--transition);
}

.header__link:hover {
    color: var(--color-primary);
}

.header__link:hover::after {
    width: 100%;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.header__burger span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.header__burger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger--active span:nth-child(2) {
    opacity: 0;
}

.header__burger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-primary-soft) 50%, var(--color-bg) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.hero__circle--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-primary-light), transparent);
    top: -100px;
    right: -100px;
    animation: pulse 6s ease-in-out infinite;
}

.hero__circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    bottom: -50px;
    left: -50px;
    animation: pulse 8s ease-in-out infinite 2s;
}

.hero__circle--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-primary-light), transparent);
    top: 50%;
    left: 50%;
    animation: pulse 7s ease-in-out infinite 1s;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--color-white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__copyright {
    font-size: 1.8rem;
    vertical-align: super;
    opacity: 0.5;
}

.hero__desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    opacity: 0;
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease forwards 0.4s;
    opacity: 0;
}

.hero__logo-img {
    width: 360px;
    height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(45, 140, 60, 0.15));
    animation: float 6s ease-in-out infinite;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header__tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.section-header__desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Products ===== */
.products {
    padding: 120px 0;
    background: var(--color-white);
}

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

.product-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card--featured {
    border-color: var(--color-primary);
    background: linear-gradient(to bottom, var(--color-primary-bg), var(--color-white));
}

.product-card--featured::before {
    opacity: 1;
}

.product-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.product-card__icon-wrap--green {
    background: linear-gradient(135deg, #e8f5ea, #d5ecd8);
    color: var(--color-primary);
}

.product-card__icon-wrap--emerald {
    background: linear-gradient(135deg, #d5ecd8, #c2e3c6);
    color: var(--color-accent);
}

.product-card__icon-wrap--teal {
    background: linear-gradient(135deg, #e0f2e4, #cce8d0);
    color: #1a7a2e;
}

.product-card:hover .product-card__icon-wrap {
    transform: scale(1.05);
}

.product-card__icon {
    width: 32px;
    height: 32px;
}

.product-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.product-card__desc {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.product-card__features {
    list-style: none;
    margin-bottom: 28px;
}

.product-card__features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card__features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    flex-shrink: 0;
    position: relative;
}

.product-card__features li::after {
    content: '✓';
    position: absolute;
    margin-left: 4px;
    font-size: 0.7rem;
    color: var(--color-primary);
    font-weight: 700;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.product-card__link:hover {
    border-bottom-color: var(--color-primary);
}

.product-card__link svg {
    transition: var(--transition);
}

.product-card__link:hover svg {
    transform: translateX(4px);
}

/* ===== About ===== */
.about {
    padding: 120px 0;
    background: var(--color-bg);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 16px 0 20px;
    line-height: 1.2;
}

.about__text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.about__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.about__stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.about__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.about__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.about__card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.about__card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.about__card--1 {
    animation-delay: 0.1s;
}

.about__card--2 {
    animation-delay: 0.2s;
    transform: translateX(40px);
}

.about__card--3 {
    animation-delay: 0.3s;
}

.about__card--2.animate-in {
    transform: translateX(40px);
}

.about__card--2:hover {
    transform: translateX(48px);
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
}

.cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0;
    background: var(--color-dark);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer__name {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.footer__links {
    display: flex;
    gap: 28px;
}

.footer__links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.5;
    margin-top: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 2.8rem;
    }

    .hero__logo-img {
        width: 280px;
        height: 280px;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about__inner {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .header__nav--open {
        right: 0;
    }

    .header__burger {
        display: flex;
        z-index: 1001;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .hero__desc {
        margin: 0 auto 36px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__logo-img {
        width: 200px;
        height: 200px;
    }

    .products__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__card--2,
    .about__card--2.animate-in {
        transform: translateX(0);
    }

    .about__card--2:hover {
        transform: translateX(8px);
    }

    .section-header__title {
        font-size: 2rem;
    }

    .cta__title {
        font-size: 2rem;
    }

    .about__stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.9rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
    }

    .about__stats {
        gap: 24px;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
.product-card__icon-wrap--blue {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}
