/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
    --primary: #0039a6;
    --primary-dark: #001f5c;
    --secondary: #00d4ff;
    --accent: #ff003c;
    --dark: #121212;
    --light: #f0f0f0;
    --gray: #333333;
    --gradient-dark: linear-gradient(135deg, #001f5c 0%, #0039a6 100%);
    --gradient-light: linear-gradient(135deg, #00d4ff 0%, #0039a6 100%);
    --text-shadow: 0 0 5px rgba(0, 212, 255, 0.7);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--light);
    background-color: var(--dark);
    line-height: 1.6;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: var(--secondary);
    text-transform: uppercase;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-shadow: var(--text-shadow);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

h3 {
    font-size: 1.3rem;
    color: var(--light);
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

section {
    padding: 4rem 0;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 60, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Hero Section (Block 1) */
.hero-section {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 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='%230039a6' fill-opacity='0.1'%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"),
                linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    background-size: auto, cover;
    position: relative;
    padding: 4rem 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 4px solid var(--secondary);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, rgba(0, 57, 166, 0) 70%);
}

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

.hero-section h1 {
    margin-bottom: 1.5rem;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.hero-section .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.5);
    }
}

/* Form Section (Block 2) */
.form-section {
    background: var(--gradient-dark);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 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='%23ffffff' 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");
    z-index: 0;
}

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

.form-section form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.form-section input[type="email"] {
    flex: 1;
    padding: 0.8rem 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(240, 240, 240, 0.9);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-section input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary), inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-section button {
    font-size: 1rem;
}

/* Products Section (Block 3) */
.products-section {
    background-color: var(--dark);
    padding: 4rem 0;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product {
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.product h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.product p {
    margin-bottom: 1.5rem;
}

.product .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.product .btn-secondary {
    margin-top: 1rem;
}

/* Article Section */
.article-section {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(0, 31, 92, 0.7) 0%, rgba(0, 57, 166, 0.7) 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--secondary);
}

.article-section h2 {
    color: var(--light);
    border-bottom: 1px solid rgba(240, 240, 240, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.article-section h2::after {
    display: none;
}

.article-section p {
    text-align: justify;
}

/* Specialists Section (Block 4) */
.specialists-section {
    background-color: var(--gray);
    padding: 4rem 0;
}

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

.specialist {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8) 0%, rgba(60, 60, 60, 0.8) 100%);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--secondary);
    transition: all 0.3s ease;
}

.specialist:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.specialist h3 {
    color: var(--light);
    margin-bottom: 1rem;
}

/* Testimonials Section (Block 5) */
.testimonials-section {
    background: var(--dark);
    padding: 4rem 0;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 92, 0.05) 0%, rgba(0, 57, 166, 0.05) 100%);
    background-size: 10px 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: rgba(18, 18, 18, 0.7);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    font-family: 'Orbitron', sans-serif;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial h3 {
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

/* Contact Section (Block 6) */
.contact-section {
    background: var(--gradient-dark);
    padding: 4rem 0;
    text-align: center;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--secondary);
}

.map-container iframe {
    display: block;
}

/* Footer (Block 7) */
footer {
    background-color: var(--dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

footer p {
    font-size: 0.9rem;
    color: var(--light);
    opacity: 0.7;
}

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

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-section {
        min-height: 400px;
        padding: 3rem 1rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .form-section form {
        flex-direction: column;
    }

    .form-section input[type="email"] {
        width: 100%;
    }

    .products-grid,
    .specialists-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .article-section {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .hero-section {
        min-height: 350px;
    }

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