/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Raleway:wght@400;600;700&display=swap');

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    background: #1a1a1a;
    color: #ffffff;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Russo One', sans-serif;
    margin-bottom: 1.5rem;
    color: #00ffff;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

h2 {
    font-size: 2.2rem;
    color: #00ccff;
}

/* Header/Offer Block */
header {
    background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%231a1a1a"/><path d="M0 0l50 50l-50 50M50 0l50 50l-50 50" stroke="%23333" stroke-width="1" fill="none"/></svg>');
    background-size: 50px;
    min-height: 400px;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,204,255,0.2));
    z-index: 1;
}

header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #00ccff);
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 2rem;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

/* Form Styles */
#form {
    background: #2a2a2a;
    padding: 3rem 0;
}

form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

input[type="email"] {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-size: 1rem;
}

button[type="submit"] {
    background: linear-gradient(45deg, #00ffff, #00ccff);
    border: none;
    padding: 1rem 2rem;
    color: #000;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.price {
    font-size: 1.5rem;
    color: #00ffff;
    font-weight: 700;
    margin-top: 1rem;
}

/* Article Styles */
.benefits {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    border-left: 5px solid #00ffff;
}

.benefits p {
    margin-bottom: 1rem;
}

/* Specialists Grid */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialist {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.review {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.review cite {
    color: #00ffff;
    display: block;
    margin-top: 1rem;
}

/* Contacts Section */
#contacts {
    background: #2a2a2a;
}

/* Footer */
footer {
    background: #000;
    text-align: center;
    padding: 2rem 0;
}

/* Section Styling */
section {
    padding: 4rem 0;
}

section:nth-child(odd) {
    background: #1a1a1a;
}

section:nth-child(even) {
    background: #222;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        width: 95%;
        padding: 1rem 0;
    }

    header {
        min-height: 300px;
        padding: 2rem 0;
    }

    .products-grid,
    .specialists-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product,
    .specialist,
    .review {
        padding: 1.5rem;
    }

    .benefits {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    section {
        padding: 2rem 0;
    }

    .button {
        padding: 0.8rem 1.5rem;
    }
}

/* Small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0.5rem;
    }

    header {
        min-height: 250px;
    }

    .button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}
