@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e6ed;
    background: #0a0f1a;
    max-width: 1180px;
    margin: 0 auto;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #2c5aa0);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #b8c4d0;
    line-height: 1.7;
}

/* Hero Section - Block 1 */
.hero-section {
    min-height: 430px;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 25%, #1e2a3a 50%, #0a0f1a 100%),
                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.03'%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");
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #2c3e50;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding: 3rem 20px;
}

.benefits ul {
    list-style: none;
    margin: 2rem 0 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.benefits li {
    font-size: 1.1rem;
    color: #a8b8c8;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #4a90e2;
    border-radius: 0 6px 6px 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefits li:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(5px);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #2c5aa0);
    color: #ffffff;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(74, 144, 226, 0.4);
    border-color: #6bb6ff;
}

.cta-button:hover::before {
    left: 100%;
}

/* Section Styling with Contrast */
section:nth-child(even) {
    background: linear-gradient(135deg, #1a2332, #0f1419);
    border-top: 1px solid #2c3e50;
    border-bottom: 1px solid #2c3e50;
}

section:nth-child(odd) {
    background: linear-gradient(135deg, #0f1419, #1e2a3a);
}

section {
    padding: 4rem 0;
    position: relative;
}

/* Products Section */
.products-section {
    background: linear-gradient(135deg, #1e2a3a, #2c3e50);
}

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

.product {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.product.featured {
    border: 2px solid #4a90e2;
    transform: scale(1.05);
    background: rgba(74, 144, 226, 0.1);
}

.product.featured::before {
    content: 'POPULARNE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4a90e2;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.product:hover {
    transform: translateY(-8px);
    border-color: #4a90e2;
    box-shadow: 0 16px 40px rgba(74, 144, 226, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #4a90e2;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1.5rem;
}

.product ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.product li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c4d0;
}

.product li:last-child {
    border-bottom: none;
}

.product-btn {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: #ffffff;
    border: 2px solid #4a90e2;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.product-btn:hover {
    background: linear-gradient(135deg, #4a90e2, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

/* Article Section - Highlighted */
.article-section {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(44, 90, 160, 0.05));
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.article-section::before {
    content: '📚';
    position: absolute;
    top: -15px;
    left: 30px;
    background: #1e2a3a;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
}

.article-section h3 {
    color: #4a90e2;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Subscribe Section */
.subscribe-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    text-align: center;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.subscribe-form input[type="email"]::placeholder {
    color: #8a9ba8;
}

.subscribe-btn {
    background: linear-gradient(135deg, #4a90e2, #2c5aa0);
    color: #ffffff;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.privacy-note {
    font-size: 0.9rem;
    color: #8a9ba8;
    margin-top: 1rem;
}

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

.specialist {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.specialist:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.2);
}

.specialist .title {
    color: #4a90e2;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.review {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.review::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #4a90e2;
    opacity: 0.3;
    font-family: serif;
}

.review:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.2);
}

.rating {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.address h3 {
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.map iframe {
    border-radius: 12px;
    filter: grayscale(20%) contrast(1.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0f1a, #1a2332);
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid #2c3e50;
}

.footer p {
    color: #8a9ba8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 500px;
        text-align: center;
    }

    .hero-section .container {
        padding: 2rem 20px;
    }

    .benefits ul {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .benefits li {
        font-size: 1rem;
        padding: 1rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product.featured {
        transform: none;
    }

    .subscribe-form {
        flex-direction: column;
        max-width: 100%;
    }

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

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

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .price {
        font-size: 2.5rem;
    }

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

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