/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color scheme */
    --dark-blue: #0E172A;
    --mint: #00D084;
    --orange: #FF8C42;
    --milk: #F2F2F2;
    --transparent-white: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--mint), var(--orange));
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-blue);
    color: var(--milk);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--milk);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--mint);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--orange);
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gradient);
    color: var(--milk);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 208, 132, 0.3);
    color: var(--milk);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--milk);
    border: 2px solid var(--mint);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--mint);
    color: var(--dark-blue);
}

.btn-cookie {
    padding: 8px 16px;
    background: var(--mint);
    color: var(--dark-blue);
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-cookie:hover {
    background-color: var(--orange);
}

/* Header */
.main-header {
    padding: 20px 0;
    background-color: rgba(14, 23, 42, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--milk);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--mint);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(to bottom, rgba(14, 23, 42, 0.9), rgba(14, 23, 42, 1)), url('../img/28tIzm.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.benefits h2 {
    text-align: center;
}

.benefits h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.benefits-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background-color: var(--transparent-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 208, 132, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--mint);
}

/* How it Works */
.how-it-works {
    padding: 100px 0;
}

.how-it-works h2 {
    text-align: center;
}

.how-it-works h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps:before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--gradient);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 25%;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--milk);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Products */
.products {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.products h2 {
    text-align: center;
}

.products h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.product-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-item {
    background-color: var(--transparent-white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 208, 132, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint);
    margin: 15px 0;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials h2 {
    text-align: center;
}

.testimonials h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-item {
    background-color: var(--transparent-white);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    backdrop-filter: blur(5px);
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info p {
    color: var(--mint);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Comparison */
.comparison {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.comparison h2 {
    text-align: center;
}

.comparison h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.comparison-table {
    width: 100%;
    margin-top: 50px;
    border-collapse: collapse;
    background-color: var(--transparent-white);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background-color: rgba(0, 208, 132, 0.1);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.highlight {
    color: var(--mint);
    font-weight: 600;
}

/* Order Form */
.order {
    padding: 100px 0;
}

.order h2 {
    text-align: center;
}

.order h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.order-form {
    max-width: 600px;
    margin: 50px auto 0;
    background-color: var(--transparent-white);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--milk);
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--mint);
}

/* Исправление для выпадающего списка, чтобы текст был виден */
select.form-control {
    color: var(--milk);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F2F2F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

select.form-control option {
    color: var(--dark-blue);
    background-color: var(--milk);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background-color: rgba(10, 17, 33, 0.95);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3 {
    margin-bottom: 20px;
}

.footer-contact ul,
.footer-links ul {
    margin-top: 20px;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(242, 242, 242, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 17, 33, 0.95);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .benefits-items,
    .product-items,
    .testimonial-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .steps:before {
        display: none;
    }
    
    .step {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .benefits-items,
    .product-items,
    .testimonial-items {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-form {
        padding: 30px 20px;
    }
} 