* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #fefce8;
}

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

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #064e3b 0%, #14532d 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: #fef3c7;
    white-space: nowrap;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    color: #fef3c7;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #fde68a;
}

.auth-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.auth-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn a {
    color: inherit;
    text-decoration: none;
}

.login-btn {
    background: transparent;
    color: #fef3c7;
    border: 1.5px solid #fef3c7;
}

.login-btn:hover {
    background: rgba(254,243,199,0.1);
}

.register-btn {
    background: #eab308;
    color: #14532d;
}

.register-btn:hover {
    background: #ca8a04;
}

.burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    width: 22px;
    height: 2.5px;
    background: #fef3c7;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #ecfccb 0%, #d9f99d 50%, #bef264 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2365a30d' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    color: #14532d;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero-subtitle {
    font-size: 16px;
    color: #166534;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-main {
    padding: 14px 32px;
    background: #15803d;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(21,128,61,0.3);
}

.btn-main:hover {
    background: #166534;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,128,61,0.4);
}

.btn-outline {
    padding: 14px 32px;
    background: #fff;
    color: #15803d;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #15803d;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #f0fdf4;
}

.hero-image {
    max-width: 200px;
}

.logo-img {
    width: 100%;
    filter: drop-shadow(0 4px 10px rgba(21,128,61,0.2));
}

/* ===== CATALOG ===== */
.catalog {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: #14532d;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #65a30d;
    margin-bottom: 40px;
    font-size: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid #f0fdf4;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(21,128,61,0.15);
    border-color: #84cc16;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f7fee7;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #15803d;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-badge.new {
    background: #eab308;
    color: #14532d;
}

.product-info {
    padding: 18px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    font-size: 13px;
    color: #65a30d;
    margin-bottom: 16px;
    line-height: 1.5;
}

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

.product-price {
    font-size: 20px;
    font-weight: 900;
    color: #15803d;
}

.btn-buy {
    padding: 10px 22px;
    background: #15803d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-buy:hover {
    background: #166534;
    transform: scale(1.05);
}

.catalog-footer {
    text-align: center;
    padding-top: 20px;
}

.btn-more {
    display: inline-block;
    padding: 16px 48px;
    background: #fff;
    color: #15803d;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #15803d;
    transition: all 0.3s;
}

.btn-more:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

/* ===== FEATURES ===== */
.features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f7fee7 0%, #ecfccb 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 2px solid #f0fdf4;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(21,128,61,0.12);
    border-color: #84cc16;
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #65a30d;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #064e3b 0%, #14532d 100%);
    color: #d1d5db;
    padding: 50px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fef3c7;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: #a7f3d0;
}

.footer-links h4,
.footer-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #d1fae5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #fef3c7;
}

.footer-info p {
    font-size: 14px;
    color: #a7f3d0;
    margin-bottom: 8px;
}

.footer-info a {
    color: #fde68a;
    text-decoration: none;
    font-weight: 600;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
}

.modal-content {
    background: #fff;
    margin: 60px auto;
    padding: 36px;
    border-radius: 16px;
    width: 92%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #1f2937;
}

.modal-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #14532d;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #166534;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #d1fae5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #15803d;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #15803d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #166534;
    transform: scale(1.02);
}

/* ===== PAGES ===== */
.reviews-page {
    padding: 60px 0;
    min-height: 80vh;
    background: #fefce8;
}

.page-title {
    font-size: 34px;
    font-weight: 900;
    text-align: center;
    color: #14532d;
    margin-bottom: 14px;
}

.page-subtitle {
    text-align: center;
    color: #65a30d;
    margin-bottom: 45px;
    font-size: 16px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.lead-text {
    font-size: 18px;
    line-height: 1.8;
    color: #166534;
    margin-bottom: 32px;
    font-weight: 500;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #14532d;
    margin: 36px 0 18px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 18px;
}

.page-content p b {
    color: #166534;
    font-weight: 700;
}

.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #15803d;
    color: #fff;
    padding: 18px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    z-index: 2000;
    transition: bottom 0.3s;
}

.notification.show {
    bottom: 35px;
}

.notification-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
    .burger {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .hero-text {
        max-width: 600px;
    }
    
    .hero-cta {
        justify-content: flex-start;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 19px;
    }
    
    .hero-image {
        max-width: 320px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #064e3b 0%, #14532d 100%);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        gap: 18px;
    }
    
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 28px 20px;
    }
}

/* ===== REVIEWS PAGE STYLES ===== */
.reviews-list {
    display: grid;
    gap: 24px;
    margin-bottom: 50px;
}

.review-item {
    background: #f7fee7;
    padding: 28px;
    border-radius: 14px;
    border-left: 4px solid #15803d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.review-item:hover {
    box-shadow: 0 6px 20px rgba(21,128,61,0.12);
    transform: translateX(4px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.reviewer-name {
    font-weight: 700;
    font-size: 17px;
    color: #14532d;
}

.review-rating {
    color: #eab308;
    font-size: 18px;
}

.review-date {
    font-size: 13px;
    color: #65a30d;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.review-text b {
    color: #166534;
    font-weight: 600;
}

.review-form-wrapper {
    background: #fff;
    padding: 36px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-top: 50px;
    border: 2px solid #d1fae5;
}

.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #d1fae5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #15803d;
}

@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-form-wrapper {
        padding: 24px 18px;
    }
}
