/* ================================
   1. FONT IMPORTS
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =====================================
   2. ROOT VARIABLES
====================================== */
:root {
    --brand-purple: #803089;
    --brand-purple-dull: #7b4d83; /* softer, muted purple */
    --brand-purple-hover: #5f2366;
    --black: #111111;
    --charcoal: #1A1A1A;
    --white: #ffffff;
    --grey: #555555;

    --font-header: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --max-width: 1300px;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 28px;
    --space-lg: 48px;
    --space-xl: 80px;
}

/* =====================================
   3. GLOBAL RESET
====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    line-height: 1.65;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =====================================
   HEADER & NAVIGATION
===================================== */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 9999;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.brand img {
    height: 46px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.2px;
    position: relative;
    transition: color 0.25s ease;
}

/* Subtle editorial hover */
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand-purple);
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--brand-purple);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Primary CTA */
.nav-cta {
    background: var(--brand-purple);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--brand-purple-hover);
    transform: translateY(-1px);
}

/* =====================================
   MOBILE NAVIGATION
===================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: var(--charcoal);
    transition: 0.3s ease;
}

@media (max-width: 980px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 78px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 78px);
        background: var(--white);
        padding: 48px 32px;
        transition: right 0.4s ease;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .main-nav a {
        font-size: 1.1rem;
    }
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =====================================
   5. RESPONSIVE MOBILE NAV
====================================== */
@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        padding: 40px;
        transition: 0.4s ease;
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        align-items: flex-start;
    }
}

/* =====================================
   6. TYPOGRAPHY
====================================== */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    font-weight: 600;
    color: var(--black);
}

h1 { font-size: 3.2rem; margin-bottom: var(--space-md); }
h2 { font-size: 2.4rem; margin-bottom: var(--space-sm); }
h3 { font-size: 1.8rem; margin-bottom: var(--space-xs); }

p {
    font-size: 1.1rem;
    color: var(--grey);
    margin-bottom: var(--space-md);
}














/* ==============================
   INSIGHTS HERO (VISUAL ONLY)
=============================== */
.insights-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
}

.insights-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

/* ==============================
   SECTION HEADER (REUSED)
=============================== */
.section-header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--grey);
}



/* =====================================
   INSIGHTS – ARTICLES
===================================== */

.insights-section {
    padding: var(--space-xl) 28px;
    background: var(--white);
}

.insights-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    max-width: 680px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.section-header p {
    margin-bottom: 0;
}

/* Grid layout */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Article card */
.insight-card {
    padding: var(--space-md);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--white);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.insight-card h3 {
    font-size: 1.4rem;
    line-height: 1.35;
}

.insight-card p {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

/* Read link */
.insight-link {
    display: inline-block;
    font-weight: 600;
    color: var(--brand-purple);
    transition: color 0.25s ease, transform 0.25s ease;
}

.insight-link:hover {
    color: var(--brand-purple-hover);
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 980px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}



/* ==============================
   VIDEO INSIGHTS
=============================== */

.insights-video {
    padding: 100px 24px;
    background: #f8f8f8;
}

.video-insights-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.video-insight video {
    width: 100%;
    border-radius: 6px;
}

.video-insight p {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--grey);
    text-align: center;
}


/* ==============================
   GUEST PERSPECTIVES
=============================== */

.guest-perspectives {
    padding: 80px 24px;
    background: var(--brand-purple-dull);
}

.guest-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.guest-inner h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 16px;
}

.guest-inner p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.9);
}


/* ==============================
   RESPONSIVE
=============================== */

@media (max-width: 980px) {
    .articles-grid,
    .video-insights-grid {
        grid-template-columns: 1fr;
    }

    .insights-hero {
        height: 60vh;
    }
}

@media (max-width: 600px) {
    .insights-hero-content p {
        font-size: 1rem;
    }
}




















/* ==============================
   FOOTER
=============================== */
.site-footer {
    background: #111;
    color: #eee;
    padding: 80px 24px 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ==============================
   QUICK LINKS
=============================== */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-bottom: 42px;
}

.footer-links a {
    font-size: 0.95rem;
    color: #eee;
    text-decoration: none;
    opacity: 0.8;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.25s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links a:hover::after {
    width: 100%;
}

/* ==============================
   NEWSLETTER / CTA
=============================== */
.footer-newsletter {
    max-width: 560px;
    margin: 0 auto 46px;
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.6;
}

/* CTA button */
.footer-cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(
        90deg,
        var(--brand-purple),
        var(--brand-purple-dull)
    );
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* ==============================
   SOCIAL ICONS
=============================== */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 36px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    font-size: 1rem;
    opacity: 0.85;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.footer-social a:hover {
    background: var(--brand-purple);
    opacity: 1;
    transform: translateY(-2px);
}

/* ==============================
   COPYRIGHT
=============================== */
.footer-copy {
    font-size: 0.85rem;
    color: #aaa;
}

/* ==============================
   RESPONSIVE
=============================== */
@media (max-width: 600px) {
    .footer-links {
        gap: 16px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }
}
