/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --accent-color: #3b82f6;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.shadow-btn {
    background: #fff;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.shadow-btn:hover {
    background: var(--bg-main);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Decorative Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #38bdf8;
    bottom: -50px;
    right: -50px;
}

/* ==========================================================================
   2. Article Section
   ========================================================================== */
.article-section {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.article-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.article-content {
    flex: 1;
}

.article-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 24px;
}

.article-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.premium-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.premium-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   3. Insight Cards Section
   ========================================================================== */
.insight-cards-section {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

.card p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* ==========================================================================
   4. Features Section
   ========================================================================== */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-main);
}

.features-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    color: var(--primary-color);
    display: flex;
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
}

/* ==========================================================================
   5. Final CTA
   ========================================================================== */
.final-cta {
    padding: 100px 0;
    background: #fff;
}

.cta-banner {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm20 20h20v20H20V20z" fill="rgba(255,255,255,0.02)" fill-rule="evenodd"/></svg>');
    opacity: 0.5;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-bottom: 32px;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.125rem;
    color: #94a3b8;
}

.cta-banner .cta-button {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    padding: 32px 0;
    text-align: center;
    background: #0f172a;
    color: #64748b;
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .article-section .container {
        flex-direction: column;
        text-align: center;
    }
    .divider {
        margin: 0 auto 24px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero {
        padding: 80px 0 60px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .features-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .feature-item {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .cta-banner {
        padding: 48px 24px;
    }
    .cta-banner h2 {
        font-size: 2rem;
    }
}
