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

/* CSS 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: #1e293b;
    background-color: #f8fafc;
    max-width: 1180px;
    margin: 0 auto;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #475569;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Section - Block 1 */
.hero-section {
    min-height: 430px;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #dc2626 100%);
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.03) 50%, transparent 51%);
    background-size: 100px 100px, 150px 150px, 20px 20px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Section Spacing and Alternating Colors */
section {
    padding: 4rem 0;
}

.specialists-section {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.subscription-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top: 4px solid #dc2626;
}

.reviews-section {
    background: white;
}

.products-section {
    background: #f8fafc;
    border-top: 4px solid #1e40af;
}

.contact-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

/* Section Headers */
section h2 {
    text-align: center;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #1e40af);
}

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

.specialist-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.specialist-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.specialist-card strong {
    color: #dc2626;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

/* Subscription Form */
.subscription-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.form-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.subscription-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscription-form input[type="email"]:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.subscription-form .btn {
    min-width: 140px;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #dc2626;
    position: relative;
}

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

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.reviewer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.reviewer strong {
    color: #1e40af;
    font-family: 'JetBrains Mono', monospace;
}

.reviewer span {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.25rem;
}

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

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border-color: #dc2626;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #1e40af);
    border-radius: 16px 16px 0 0;
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin: 1rem 0;
    font-family: 'JetBrains Mono', monospace;
}

.product-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.product-card li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.product-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Trading Article */
.trading-article {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-top: 3rem;
    position: relative;
}

.trading-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #dc2626);
    border-radius: 16px 16px 0 0;
}

.trading-article h2 {
    color: #1e40af;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.trading-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section h2,
.contact-section h3 {
    color: white;
}

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

.address {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address p {
    color: rgba(255, 255, 255, 0.9);
}

.map iframe {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 2.5rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .subscription-form input[type="email"] {
        margin-bottom: 1rem;
    }

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

    .trading-article {
        padding: 2rem;
    }

    .trading-article h2 {
        font-size: 1.4rem;
    }

    .trading-article p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 380px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

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

    .price {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specialist-card,
.review-card,
.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-section {
        background: #1e40af !important;
        color: white !important;
    }

    .btn {
        border: 2px solid #dc2626 !important;
    }
}
