* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #0a0a0a;
}

body {
    width: 100%;
    position: relative;
    z-index: 0;
    background: transparent;
    color: #fff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('zastavka2.png') center / cover no-repeat;
    background-color: #0a0a0a;
}

/* Единый бесшовный фон: контейнеры секций прозрачны */
.hero,
.section-header,
.products-grid {
    background: transparent;
    box-shadow: none;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 20px;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.top-text {
    font-size: 24px;
    letter-spacing: 6px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    animation: fadeIn 1.2s ease-out 0.1s both;
}

h1 {
    font-size: 88px;
    font-weight: 700;
    letter-spacing: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.subtitle {
    margin-top: 16px;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 5px;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease-out 0.35s both;
}

.description {
    margin-top: 8px;
    font-size: 26px;
    letter-spacing: 4px;
    color: #f0f0f0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease-out 0.5s both;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 18px 0;
    font-size: 18px;
    animation: fadeIn 1.2s ease-out 0.45s both;
}

.divider span {
    width: 100px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1px;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 50px;
    animation: fadeIn 1.2s ease-out 0.65s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: background 0.3s, transform 0.3s;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.feature i {
    font-size: 30px;
    width: 36px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.feature h3 {
    margin: 0;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.feature p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #ccc;
}

/* ========== PRODUCTS ========== */
.section-header {
    text-align: center;
    padding: 100px 20px 40px;
}

.section-header h2 {
    font-size: 52px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.section-header p {
    color: #aaa;
    font-size: 18px;
    letter-spacing: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.about-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    gap: 24px;
    padding: 32px 20px;
    background-color: rgba(18, 18, 18, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 15% cover 25%;
}

.product-image { order: 1; }
.product-text  { order: 2; }

.product-image img {
    width: 100%;
    max-width: 430px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s, box-shadow 0.4s;
}

.product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.product-text {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.product-text h2 {
    font-size: 56px;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.product-text .tagline {
    font-size: 26px;
    color: #ffcadc;
    margin-bottom: 22px;
    font-weight: 400;
}

.product-text .desc {
    line-height: 1.8;
    color: #c5c5c5;
    margin-bottom: 20px;
    font-size: 17px;
    min-height: 7.2em; /* 4 строки: выравнивает блок описания между карточками */
}

.product-text .highlights {
    list-style: none;
    margin-top: auto;      /* прижимает теги вниз к кнопке */
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* центрирует теги по горизонтали */
    align-items: center;
    gap: 8px;
    width: 100%;
}

.product-text .highlights li {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #eee;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s;
}

.product-text .highlights li:hover {
    background: rgba(0, 0, 0, 0.6);
}

.product-text .highlights li i {
    font-size: 14px;
    color: #79c46d;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: center;
    padding: 16px 45px;
    background: #79c46d;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.buy-btn:hover {
    background: #5cab50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(121, 196, 109, 0.35);
}

.buy-btn i {
    font-size: 18px;
}

/* ========== FOOTER ========== */
.site-footer {
    text-align: center;
    padding: 50px 20px;
    background: transparent;
    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-phone {
    margin-top: 12px;
    font-size: 18px;
    color: #aaa;
}

.footer-phone a {
    color: #79c46d;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-phone a:hover {
    color: #9ee094;
}

.footer-phone i {
    margin-right: 6px;
}

/* ========== DESKTOP GRID ========== */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    h1 { font-size: 48px; letter-spacing: 4px; }
    .subtitle   { font-size: 22px; letter-spacing: 3px; }
    .top-text   { font-size: 18px; letter-spacing: 4px; }
    .description { font-size: 18px; letter-spacing: 3px; }

    .features {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        align-items: center;
    }
    .feature { width: 260px; justify-content: flex-start; }

    .section-header h2 { font-size: 36px; }
    .section-header p  { font-size: 15px; }

    .about-product {
        gap: 40px;
        padding: 60px 5%;
    }

    .product-image img { width: 280px; }

    .product-text h2 { font-size: 40px; }
    .product-text .tagline { font-size: 22px; }

    .product-text .highlights {
        justify-content: center;
    }
}