/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4a7c3f;
    --primary-dark: #3d6634;
    --primary-light: #5a9c4f;
    --secondary: #2c3e2d;
    --accent: #ff6b35;
    --accent-dark: #e55a25;
    --dark: #1a1a1a;
    --dark-light: #2a2a2a;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #888888;
    --success: #4caf50;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Section Title */
.section-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 60px 16px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/image1.jpg') center center / cover no-repeat;
    opacity: 0.15;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 12px;
}

.hero-price {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray);
    text-decoration: line-through;
}

.price-current {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
}

.price-discount {
    background: var(--success);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.hero-btn {
    width: 100%;
    max-width: 320px;
    font-size: 18px;
    padding: 20px 40px;
}

/* Timer Section */
.timer-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    padding: 32px 16px;
    text-align: center;
}

.timer-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.timer-block {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 20px;
    border-radius: 12px;
    min-width: 80px;
}

.timer-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.timer-text {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-top: 4px;
}

.timer-separator {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

/* Social Proof Section */
.social-proof {
    padding: 20px 16px;
    background: var(--dark);
    border-bottom: 1px solid rgba(74, 124, 63, 0.2);
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.proof-stat {
    text-align: center;
    padding: 12px 16px;
    flex: 1;
    max-width: 120px;
}

.proof-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.proof-label {
    display: block;
    font-size: 10px;
    color: var(--gray);
    margin-top: 2px;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Description Section */
.description {
    padding: 60px 16px;
    background: var(--dark);
}

.description-intro {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    color: var(--light);
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.feature-card {
    background: linear-gradient(135deg, var(--dark-light), var(--secondary));
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(74, 124, 63, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-light);
}

.feature-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

/* Gallery Section */
.gallery {
    padding: 60px 16px;
    background: var(--dark-light);
}

.gallery-main {
    position: relative;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-arrow:hover {
    background: var(--primary);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-light);
}

/* Guarantees Section */
.guarantees {
    padding: 60px 16px;
    background: var(--dark-light);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.guarantee-card {
    background: var(--dark);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(74, 124, 63, 0.3);
    transition: transform 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-2px);
}

.guarantee-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.guarantee-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-light);
}

.guarantee-card p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

/* Reviews Section */
.reviews {
    padding: 60px 16px;
    background: var(--dark);
}

.reviews-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: linear-gradient(135deg, var(--dark-light), var(--secondary));
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(74, 124, 63, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.review-info {
    flex: 1;
}

.review-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 4px;
}

.review-stars {
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    font-style: italic;
}

/* Gift Section */
.gift {
    padding: 48px 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.gift-content {
    text-align: center;
}

.gift-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--white);
}

.gift-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.gift-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.gift-icon {
    font-size: 24px;
}

.gift-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Order Section */
.order {
    padding: 60px 16px;
    background: var(--dark-light);
}

.order-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.order-summary {
    background: var(--dark);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(74, 124, 63, 0.3);
}

.order-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.order-item.order-gift {
    color: var(--primary-light);
}

.order-price {
    font-weight: 600;
}

.order-free {
    color: var(--success);
    font-weight: 600;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

/* Order Form */
.order-form {
    background: var(--dark);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(74, 124, 63, 0.3);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    background: var(--dark-light);
    border: 2px solid rgba(74, 124, 63, 0.3);
    border-radius: 10px;
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    font-size: 18px;
    padding: 18px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 20px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 14px;
    color: var(--gray);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-light);
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(74, 124, 63, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--white);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--white);
}

.modal-content p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.modal-content .btn {
    min-width: 150px;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 48px;
    }

    .hero {
        padding: 80px 32px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .price-current {
        font-size: 56px;
    }

    .timer-block {
        min-width: 100px;
        padding: 20px 28px;
    }

    .timer-value {
        font-size: 48px;
    }

    .timer-text {
        font-size: 14px;
    }

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

    .feature-card {
        padding: 20px;
    }

    .gallery-main-img {
        aspect-ratio: 4 / 3;
        max-height: 500px;
    }

    .gallery-thumbs {
        justify-content: center;
        gap: 12px;
    }

    .gallery-thumb {
        width: 100px;
        height: 100px;
    }

    .reviews-slider {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .review-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 300px;
    }

    .gift-items {
        flex-direction: row;
        justify-content: center;
    }

    .gift-item {
        padding: 20px 32px;
    }

    .order-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .order-summary {
        flex: 1;
        max-width: 400px;
        position: sticky;
        top: 32px;
    }

    .order-form {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .feature-icon {
        margin-bottom: 12px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.review-card,
.gift-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
