@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #bce2e1;
    position: relative;
    overflow-x: hidden;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #0f0f0f;
    z-index: 100;
    border-bottom: 2px solid #FFD700;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0 20px;
    height: 100%;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #e6e6e6;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    display: inline-block;
    cursor: pointer;
}

.nav-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 215, 0, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: #FFD700;
    transition: width 0.3s ease;
    z-index: 101;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:active {
    color: #FFD700;
}

/* Active nav link (scroll-based highlighting) */
.nav-link.active {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.15);
}

.nav-link.active::after {
    width: 80%;
}

/* ===== CHECKERBOARD OVERLAY ===== */
.checkerboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.15) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.15) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

/* ===== SECTIONS ===== */
.content,
.section {
    scroll-margin-top: 80px;
}

/* ===== HOME / HERO SECTION ===== */
.content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 20px 20px;
}

.logo {
    max-width: 400px;
    width: auto;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: fadeIn 1s ease-out;
    margin-bottom: 8px;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #1a1a1a;
    text-align: center;
    margin-top: 16px;
    padding: 0 20px;
    line-height: 1.35;
    max-width: 600px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #444;
    text-align: center;
    margin-top: 12px;
    padding: 0 24px;
    line-height: 1.5;
    max-width: 500px;
    animation: fadeIn 1.5s ease-out 0.7s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MAIN SECTIONS ===== */
.section {
    position: relative;
    z-index: 2;
    padding: 110px 20px 80px 20px;
    max-width: 980px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}

.page-title {
    text-align: center;
}

.section p {
    font-size: 1rem;
    color: #222;
    line-height: 1.6;
    max-width: 70ch;
}

/* ===== HERO STATEMENT ===== */
.hero-statement {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.hero-statement h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f0f0f;
    line-height: 1.25;
    margin-bottom: 16px;
}

.hero-statement p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== VALUE CARDS ===== */
.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    background: #FFFBF0; /* light cream */
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 5px 5px 0 #0f0f0f;
    border: 3px solid #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.value-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 10px;
    line-height: 1.3;
}

.value-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.55;
    font-weight: 400;
}

.value-card .card-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: block;
}

/* ===== FEATURE BOX ===== */
.feature-box {
    background: #FFFBF0; /* light cream */
    border-radius: 8px;
    padding: 40px 36px;
    max-width: 600px;
    margin: 32px auto;
    box-shadow: 5px 5px 0 #0f0f0f;
    border: 3px solid #0f0f0f;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-box:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.feature-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 14px;
}

.feature-box p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* ===== STRATEGY TOOLS (Streamlit apps) ===== */
.strategy-tools {
    margin-top: 40px;
}

.strategy-tools-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f0f0f;
    text-align: center;
    margin-bottom: 24px;
}

.strategy-app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.strategy-app-card {
    display: block;
    background: #FFD700;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 5px 5px 0 #0f0f0f;
    border: 3px solid #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.strategy-app-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.strategy-app-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 10px;
    line-height: 1.3;
}

.strategy-app-cta {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    margin-top: 56px;
    padding: 32px 24px;
    background: #FFFBF0; /* light cream */
    border-radius: 8px;
    box-shadow: 5px 5px 0 #0f0f0f;
    border: 3px solid #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-section:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.cta-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin: 0 auto;
    max-width: none;
}

/* ===== DISCLOSURE NOTICE ===== */
.disclosure-notice {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px 25px;
    background: #FFF3CD;
    border: 2px solid #856404;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.disclosure-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.disclosure-notice p {
    font-size: 0.9rem;
    color: #856404;
    margin: 0;
    line-height: 1.5;
}

.disclosure-notice strong {
    color: #664d03;
}

/* ===== SOCIAL LINKS (Contact) ===== */
.contact-section .hero-statement {
    margin-bottom: 28px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 40px;
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 16px;
    box-shadow: 6px 6px 0 #0f0f0f;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #0f0f0f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    background: #fff;
    box-shadow: 3px 3px 0 #0f0f0f;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #0f0f0f;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFEC8B 100%);
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.contact-submit:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.social-divider {
    text-align: center;
    margin: 30px 0;
}

.social-divider span {
    font-weight: 600;
    color: #444;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.contact-section .social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    text-decoration: none;
    color: #0f0f0f;
    background: #FFD700;
    border: 3px solid #0f0f0f;
    padding: 12px 18px;
    border-radius: 6px;
    min-width: 200px;
    text-align: center;
    font-weight: 600;
    overflow-wrap: anywhere;
    box-shadow: 4px 4px 0 #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-links a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 2;
    background: #0f0f0f;
    color: #999;
    padding: 48px 24px 32px 24px;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-disclaimer {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #888;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-disclaimer strong {
    color: #FFD700;
    font-weight: 600;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #666;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    text-align: center;
}

.about-content {
    background: #FFFBF0; /* light cream */
    border-radius: 8px;
    padding: 40px 36px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 5px 5px 0 #0f0f0f;
    border: 3px solid #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.about-content:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.about-content p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .logo {
        max-width: 90%;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-top: 5px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .content {
        padding-top: 90px;
    }
    
    
    .hero-statement h1 {
        font-size: 1.7rem;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .value-card {
        padding: 22px 20px;
    }
    
    .feature-box {
        padding: 28px 22px;
        margin: 24px 16px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }
    
    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .logo {
        max-width: 95%;
    }
    
    .tagline {
        font-size: 1rem;
        margin-top: 5px;
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .content {
        padding-top: 85px;
    }
    
    
    .hero-statement h1 {
        font-size: 1.5rem;
    }
    
    .value-card h3 {
        font-size: 1.05rem;
    }
}

/* ===== VISUAL ENHANCEMENTS ===== */

/* 1. Section-specific box colors - light cream */
#about .about-content,
#strategy-lab .feature-box,
#strategy-lab .cta-section,
#the-brew .feature-box,
#the-brew .cta-section,
#philosophy .value-card {
    background: #FFFBF0; /* lighter cream */
}

/* 2. Text highlight effect */
.highlight {
    background: linear-gradient(transparent 55%, #FFD700 55%);
    padding: 0 4px;
    margin: 0 -4px;
}

.highlight-box {
    background: #FFD700;
    padding: 2px 8px;
    border-radius: 4px;
    color: #0f0f0f;
}

/* 3. Hero section enhancements */
.hero-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 28px;
    background: #FFD700;
    color: #0f0f0f;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    border: 3px solid #0f0f0f;
    box-shadow: 4px 4px 0 #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #444;
    margin-top: 16px;
    max-width: 500px;
    text-align: center;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* 4. Decorative shapes */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: floatBubble 8s ease-in-out infinite;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Home section circles */
.circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 215, 0, 0.12);
    top: 15%;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(15, 15, 15, 0.04);
    bottom: 20%;
    left: -80px;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 215, 0, 0.08);
    top: 60%;
    right: 10%;
    animation-delay: 4s;
}

/* Additional circles for other sections */
.circle-4 {
    width: 180px;
    height: 180px;
    background: rgba(255, 215, 0, 0.1);
    top: 10%;
    left: 5%;
    animation-delay: 1s;
}

.circle-5 {
    width: 120px;
    height: 120px;
    background: rgba(15, 15, 15, 0.03);
    bottom: 15%;
    right: 8%;
    animation-delay: 3s;
}

.circle-6 {
    width: 250px;
    height: 250px;
    background: rgba(255, 215, 0, 0.06);
    top: 40%;
    left: -120px;
    animation-delay: 5s;
}

.circle-7 {
    width: 100px;
    height: 100px;
    background: rgba(255, 215, 0, 0.15);
    top: 25%;
    right: 15%;
    animation-delay: 2.5s;
}

.circle-8 {
    width: 220px;
    height: 220px;
    background: rgba(15, 15, 15, 0.03);
    bottom: 30%;
    left: 10%;
    animation-delay: 6s;
}

.circle-9 {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.18);
    top: 70%;
    right: 20%;
    animation-delay: 1.5s;
}

.circle-10 {
    width: 160px;
    height: 160px;
    background: rgba(255, 215, 0, 0.08);
    top: 5%;
    right: -60px;
    animation-delay: 4.5s;
}

.circle-11 {
    width: 90px;
    height: 90px;
    background: rgba(255, 215, 0, 0.14);
    top: 35%;
    left: 8%;
    animation-delay: 0.5s;
}

.circle-12 {
    width: 140px;
    height: 140px;
    background: rgba(15, 15, 15, 0.04);
    top: 80%;
    right: 5%;
    animation-delay: 3.5s;
}

.circle-13 {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.2);
    top: 20%;
    right: 25%;
    animation-delay: 7s;
}

.circle-14 {
    width: 200px;
    height: 200px;
    background: rgba(255, 215, 0, 0.05);
    bottom: 10%;
    left: -90px;
    animation-delay: 2.2s;
}

.circle-15 {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.18);
    top: 50%;
    right: 3%;
    animation-delay: 5.5s;
}

.circle-16 {
    width: 110px;
    height: 110px;
    background: rgba(15, 15, 15, 0.03);
    top: 15%;
    left: 15%;
    animation-delay: 1.8s;
}

.circle-17 {
    width: 180px;
    height: 180px;
    background: rgba(255, 215, 0, 0.07);
    bottom: 25%;
    right: -70px;
    animation-delay: 6.5s;
}

.circle-18 {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.22);
    top: 45%;
    left: 20%;
    animation-delay: 0.8s;
}

.circle-19 {
    width: 130px;
    height: 130px;
    background: rgba(15, 15, 15, 0.04);
    top: 65%;
    left: 5%;
    animation-delay: 4s;
}

.circle-20 {
    width: 75px;
    height: 75px;
    background: rgba(255, 215, 0, 0.16);
    top: 10%;
    right: 30%;
    animation-delay: 2.8s;
}

/* 5. Better typography */
.hero-statement h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tagline {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 650px;
}

.section p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* 6. Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for cards */
.value-card:nth-child(1) { transition-delay: 0s; }
.value-card:nth-child(2) { transition-delay: 0.1s; }
.value-card:nth-child(3) { transition-delay: 0.2s; }
.value-card:nth-child(4) { transition-delay: 0.3s; }
.value-card:nth-child(5) { transition-delay: 0.4s; }
.value-card:nth-child(6) { transition-delay: 0.5s; }

/* Section divider effect */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-statement h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .decorative-circle {
        display: none;
    }
}

/* ===== NEW FEATURES ===== */

/* 1. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FFD700;
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

/* 2. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 60px;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    z-index: 99;
    transition: width 0.1s ease;
}

/* 3. Substack Embed */
.substack-embed {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.substack-embed iframe {
    max-width: 100%;
}

/* Newsletter Signup Form (legacy, kept for reference) */
.newsletter-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.newsletter-input {
    padding: 14px 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    background: #fff;
    min-width: 280px;
    box-shadow: 4px 4px 0 #0f0f0f;
    transition: all 0.2s ease;
}

.newsletter-input:focus {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.newsletter-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background: #FFD700;
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

/* 4. Featured Quote */
.featured-quote {
    max-width: 800px;
    margin: 60px auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    position: relative;
}

.featured-quote::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.quote-mark {
    font-size: 8rem;
    font-family: Georgia, 'Times New Roman', serif;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.6;
    display: block;
    font-weight: bold;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.15));
    opacity: 0;
    transition: all 0.6s ease;
}

.featured-quote.visible .quote-mark {
    opacity: 1;
}

.quote-open {
    text-align: left;
    margin-left: 20px;
    margin-bottom: -20px;
    animation: floatQuoteLeft 3s ease-in-out infinite;
}

.quote-close {
    text-align: right;
    margin-right: 20px;
    margin-top: -30px;
    animation: floatQuoteRight 3s ease-in-out infinite;
}

@keyframes floatQuoteLeft {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    50% { transform: translate(-5px, -8px) rotate(0deg); }
}

@keyframes floatQuoteRight {
    0%, 100% { transform: translate(0, 0) rotate(3deg); }
    50% { transform: translate(5px, 8px) rotate(0deg); }
}

.quote-text {
    font-size: 2.4rem;
    font-style: italic;
    color: #0f0f0f;
    line-height: 1.6;
    margin: 0;
    padding: 30px 50px;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.featured-quote.visible .quote-text {
    opacity: 1;
    transform: translateY(0);
}

.quote-author {
    font-size: 1.15rem;
    color: #0f0f0f;
    font-style: normal;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #FFD700 0%, #FFEC8B 100%);
    border-radius: 30px;
    border: 3px solid #0f0f0f;
    box-shadow: 4px 4px 0 #0f0f0f;
    margin-top: 10px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(15px);
}

.featured-quote.visible .quote-author {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.6s, box-shadow 0.2s ease, transform 0.2s ease;
}

.quote-author:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.quote-author::before {
    content: '☕';
    font-size: 1.2rem;
    display: inline-block;
    animation: steamCoffee 2s ease-in-out infinite;
}

@keyframes steamCoffee {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(-5deg); }
    75% { transform: translateY(-2px) rotate(5deg); }
}

/* 5. Hover Glow on Cards */
.value-card:hover,
.feature-box:hover,
.about-content:hover,
.cta-section:hover,
.strategy-app-card:hover {
    box-shadow: 8px 8px 0 #0f0f0f, 0 0 20px rgba(255, 215, 0, 0.3);
}

/* 6. Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #bce2e1;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* 7. Dark Mode */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background: #0a0a0a;
}

body.dark-mode .value-card,
body.dark-mode .feature-box,
body.dark-mode .about-content,
body.dark-mode .cta-section {
    background: #2a2a2a;
}

body.dark-mode .strategy-app-card {
    background: #E6B800;
    color: #0f0f0f;
}

body.dark-mode .strategy-app-card h4,
body.dark-mode .strategy-app-card .strategy-app-cta {
    color: #0f0f0f;
}

body.dark-mode .value-card h3,
body.dark-mode .feature-box h3,
body.dark-mode .cta-section h3,
body.dark-mode .hero-statement h1,
body.dark-mode .strategy-tools-title,
body.dark-mode .strategy-app-card h4 {
    color: #f0f0f0;
}

body.dark-mode .value-card p,
body.dark-mode .feature-box p,
body.dark-mode .cta-section p,
body.dark-mode .hero-statement p,
body.dark-mode .about-content p,
body.dark-mode .strategy-app-cta {
    color: #b0b0b0;
}

body.dark-mode .checkerboard-overlay {
    opacity: 0.3;
}

body.dark-mode .tagline {
    color: #f0f0f0;
}

body.dark-mode .newsletter-input {
    background: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #0f0f0f;
    color: #FFD700;
    border: 3px solid #FFD700;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #FFD700;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 99;
}

.dark-mode-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #FFD700;
}

body.dark-mode .dark-mode-toggle {
    background: #FFD700;
    color: #0f0f0f;
    border-color: #0f0f0f;
    box-shadow: 4px 4px 0 #0f0f0f;
}

/* 8. Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e6e6e6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #0f0f0f;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input {
        min-width: 100%;
        max-width: 300px;
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
    
    .featured-quote {
        margin: 40px 15px;
    }
    
    .quote-text {
        font-size: 1.5rem;
        padding: 20px 25px;
    }
    
    .quote-mark {
        font-size: 5rem;
    }
    
    .quote-open {
        margin-left: 10px;
    }
    
    .quote-close {
        margin-right: 10px;
    }
    
    .quote-author {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    .contact-form {
        padding: 25px;
        margin: 0 15px 30px 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
}

/* ===== STRATEGY LAB TOOL PAGES ===== */

/* Tool Container */
.tool-container {
    width: 100%;
    max-width: 1200px;
    margin: 32px auto;
    position: relative;
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 12px;
    box-shadow: 6px 6px 0 #0f0f0f;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tool-container:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.tool-container iframe {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 0 0 9px 9px;
    display: block;
}

/* Tool Loading Spinner */
.tool-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFFBF0;
    z-index: 10;
    gap: 16px;
}

.tool-loading p {
    font-weight: 600;
    color: #444;
    font-size: 1rem;
}

.tool-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(15, 15, 15, 0.1);
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    animation: toolSpin 0.8s linear infinite;
}

@keyframes toolSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tool Breadcrumb */
.tool-breadcrumb {
    margin-bottom: 24px;
}

.tool-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #0f0f0f;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    background: #FFD700;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 3px 3px 0 #0f0f0f;
    transition: all 0.15s ease;
}

.tool-breadcrumb a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #0f0f0f;
}

/* Tool Page Section */
.tool-page {
    max-width: 1200px;
}

.tool-page .hero-statement {
    max-width: 800px;
}

/* Tool Info Section */
.tool-info {
    margin-top: 40px;
}

.tool-info .value-cards {
    grid-template-columns: repeat(3, 1fr);
}

/* Strategy App Card Enhancements */
.strategy-app-card .card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.strategy-app-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 8px 0 14px 0;
    font-weight: 400;
}

/* Strategy How It Works */
.strategy-how-it-works {
    margin-top: 48px;
}

/* Tool Page Responsive */
@media (max-width: 768px) {
    .tool-container iframe {
        height: 600px;
    }

    .tool-info .value-cards {
        grid-template-columns: 1fr;
    }

    .tool-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tool-breadcrumb a {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .tool-container iframe {
        height: 500px;
    }
}

/* ===== ARTICLE CARDS (Homepage & Listing) ===== */

.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
    padding: 0 20px;
}

.article-card {
    background: #FFD700;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 5px 5px 0 #0f0f0f;
    text-decoration: none;
    color: #0f0f0f;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

.article-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0;
}

.article-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f0f0f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.article-excerpt {
    font-size: 0.92rem;
    color: #0f0f0f;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.article-read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f0f0f;
    margin-top: 8px;
}

.article-view-all {
    text-align: center;
    margin-top: 40px;
}

/* ===== ARTICLE PAGE ===== */

.article-page {
    max-width: 800px;
    margin: 0 auto;
}

.article-breadcrumb {
    margin-bottom: 20px;
}

.article-breadcrumb a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f0f0f;
    text-decoration: none;
    padding: 10px 20px;
    background: #FFD700;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-block;
}

.article-breadcrumb a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.article-meta {
    font-size: 0.95rem;
    color: #0f0f0f;
    font-weight: 600;
    opacity: 0.6;
}

.article-content {
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 6px 6px 0 #0f0f0f;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #0f0f0f;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #0f0f0f;
}

.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content h4 { font-size: 1.1rem; }

.article-content p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 28px auto;
    display: block;
    border: 2px solid #e8e2d6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-content figure {
    margin: 32px 0;
    text-align: center;
}

.article-content figure img {
    margin-bottom: 12px;
}

.article-content figcaption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

/* Chart/graph containers — use class="chart" on a div wrapping charts */
.article-content .chart {
    background: #fff;
    border: 2px solid #e8e2d6;
    border-radius: 12px;
    padding: 20px;
    margin: 28px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.article-content .chart img {
    border: none;
    box-shadow: none;
    margin: 0 auto 12px;
    border-radius: 4px;
}

.article-content .chart-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #999;
    margin-top: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Callout/highlight boxes — use class="callout" on a div */
.article-content .callout {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.article-content .callout p {
    margin: 0;
    font-weight: 600;
    color: #0f0f0f;
}

/* Data table styling */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 0.9rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e8e2d6;
}

.article-content thead {
    background: #0f0f0f;
    color: #FFD700;
}

.article-content th {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
}

.article-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8e2d6;
    font-family: 'Montserrat', sans-serif;
}

.article-content tbody tr:nth-child(even) {
    background: rgba(255, 215, 0, 0.05);
}

.article-content tbody tr:hover {
    background: rgba(255, 215, 0, 0.12);
}

.article-content a {
    color: #0f0f0f;
    text-decoration: underline;
    text-decoration-color: #FFD700;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition: text-decoration-color 0.2s;
}

.article-content a:hover {
    text-decoration-color: #FFD700;
}

.article-content blockquote {
    border-left: 4px solid #FFD700;
    background: rgba(255, 215, 0, 0.12);
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.article-content th,
.article-content td {
    border: 1px solid #ddd;
    padding: 10px 14px;
    text-align: left;
}

.article-content th {
    background: #0f0f0f;
    color: #FFD700;
    font-weight: 700;
}

.article-content pre {
    background: #0f0f0f;
    color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.article-content code {
    font-size: 0.9em;
}

.article-content hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 32px 0;
}

.article-footer {
    text-align: center;
    margin: 40px 0;
}

.article-substack-btn {
    display: inline-block;
    background: #FFD700;
    color: #0f0f0f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 36px;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 5px 5px 0 #0f0f0f;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-substack-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0f0f0f;
}

/* ===== ARTICLE RESPONSIVE ===== */

@media (max-width: 768px) {
    .article-cards {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .article-content {
        padding: 28px 20px;
    }

    .article-page {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 20px 16px;
        font-size: 0.95rem;
    }

    .article-card {
        padding: 20px 18px;
    }
}

/* ===== SUBSCRIBE FORM ===== */

.subscribe-section {
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 6px 6px 0 #0f0f0f;
    text-align: center;
    margin-top: 40px;
}

.subscribe-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.subscribe-section p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 20px;
}

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

.subscribe-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    background: #fff;
    color: #0f0f0f;
    outline: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.subscribe-input:focus {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #0f0f0f;
}

.subscribe-input::placeholder {
    color: #999;
}

.subscribe-btn {
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    background: #FFD700;
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.subscribe-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.subscribe-message {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.2em;
}

.subscribe-message.success {
    color: #2e7d32;
}

.subscribe-message.error {
    color: #c62828;
}

@media (max-width: 480px) {
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-input,
    .subscribe-btn {
        width: 100%;
    }

    .subscribe-section {
        padding: 28px 20px;
    }
}

/* ===== AUTH MODAL ===== */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.auth-card {
    position: relative;
    background: #FFFBF0;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #0f0f0f;
    z-index: 1;
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #555;
    line-height: 1;
}

.auth-close:hover {
    color: #0f0f0f;
}

.auth-form-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 24px;
    color: #0f0f0f;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #0f0f0f;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.auth-field input:focus {
    outline: none;
    border-color: #FFD700;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background: #FFD700;
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-error {
    color: #c62828;
    font-size: 0.85rem;
    margin: 8px 0;
    font-family: 'Montserrat', sans-serif;
}

.auth-success {
    color: #2e7d32;
    font-size: 0.85rem;
    margin: 8px 0;
    font-family: 'Montserrat', sans-serif;
}

.auth-toggle {
    margin: 16px 0 0;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.auth-toggle a {
    color: #0f0f0f;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FFD700;
    text-underline-offset: 3px;
}

/* ===== AUTH NAV BUTTON ===== */
.auth-nav-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    background: #FFD700;
    color: #0f0f0f;
    border: 2px solid #0f0f0f;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 2px 2px 0 #0f0f0f;
}

.auth-nav-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #0f0f0f;
}

.auth-nav-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.auth-nav-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFD700;
    color: #0f0f0f;
    font-weight: 800;
    font-size: 0.85rem;
}

.auth-nav-wrapper {
    position: relative;
}

.auth-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #FFFBF0;
    border: 2px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.auth-user-dropdown.active {
    display: block;
}

.auth-dropdown-email {
    display: block;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #888;
    border-bottom: 1px solid #e8e2d6;
    word-break: break-all;
}

.auth-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f0f0f;
    text-decoration: none;
    transition: background 0.15s ease;
}

.auth-dropdown-item:hover {
    background: rgba(255, 215, 0, 0.15);
}

/* ===== RESET PASSWORD PAGE ===== */
.auth-reset-container {
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 400px;
    width: 90%;
    box-shadow: 8px 8px 0 #0f0f0f;
}

.auth-reset-container h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 24px;
    color: #0f0f0f;
}

/* ===== PAYWALL OVERLAY ===== */
.article-content.gated {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.article-content.gated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, #FFFBF0);
    pointer-events: none;
}

.paywall-overlay {
    text-align: center;
    padding: 40px 20px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.paywall-card {
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 8px 8px 0 #0f0f0f;
}

.paywall-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 0 12px;
    color: #0f0f0f;
}

.paywall-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 24px;
}

.paywall-subscribe-btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background: #FFD700;
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.paywall-subscribe-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

.paywall-login-prompt {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #888;
}

.paywall-login-prompt a {
    color: #0f0f0f;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FFD700;
}

/* ===== PREMIUM BADGE ===== */
.premium-badge {
    display: inline-block;
    background: #0f0f0f;
    color: #FFD700;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* ===== PRICING PAGE ===== */
.pricing-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pricing-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
    color: #0f0f0f;
}

.pricing-subtitle {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 16px;
    padding: 36px 32px;
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 6px 6px 0 #0f0f0f;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #0f0f0f;
}

.pricing-card.featured {
    border-color: #FFD700;
    box-shadow: 6px 6px 0 #FFD700;
}

.pricing-card.featured:hover {
    box-shadow: 9px 9px 0 #FFD700;
}

.pricing-card-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 8px;
}

.pricing-card-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #0f0f0f;
    margin-bottom: 4px;
}

.pricing-card-period {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 24px;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.pricing-card-features li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #e8e2d6;
}

.pricing-card-features li::before {
    content: '\2713';
    color: #FFD700;
    font-weight: 800;
    margin-right: 10px;
}

.pricing-card-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background: #FFD700;
    color: #0f0f0f;
    border: 3px solid #0f0f0f;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #0f0f0f;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0f0f0f;
}

/* ===== ACCOUNT PAGE ===== */
.account-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.account-card {
    background: #FFFBF0;
    border: 3px solid #0f0f0f;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 6px 6px 0 #0f0f0f;
}

.account-card h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 24px;
    color: #0f0f0f;
}

.account-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e8e2d6;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.account-row-label {
    color: #888;
    font-weight: 600;
}

.account-row-value {
    color: #0f0f0f;
    font-weight: 700;
}

.account-status-active {
    color: #2e7d32;
}

.account-status-inactive {
    color: #c62828;
}

.account-actions {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
    }

    .auth-nav-btn {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

/* ===== ARTICLE SHARE BUTTONS ===== */
.article-share {
    text-align: center;
    padding: 28px 0;
    margin-top: 20px;
    border-top: 1px solid #e8e2d6;
}

.share-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0f0f0f;
    color: #FFD700;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 2px solid #0f0f0f;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== PRICING PERKS ===== */
.pricing-perks {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pricing-perk {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
}

.pricing-perk-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.pricing-perk h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f0f0f;
    margin: 0 0 8px;
}

.pricing-perk p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.pricing-save {
    display: inline-block;
    background: #0f0f0f;
    color: #FFD700;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ===== PRICING FAQ ===== */
.pricing-faq {
    max-width: 640px;
    margin: 48px auto 0;
}

.pricing-faq h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0f0f0f;
    text-align: center;
    margin-bottom: 24px;
}

.faq-item {
    border-bottom: 1px solid #e8e2d6;
    padding: 16px 0;
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f0f0f;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFD700;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    margin: 12px 0 0;
}

@media (max-width: 480px) {
    .pricing-perks {
        flex-direction: column;
        align-items: center;
    }

    .pricing-perk {
        max-width: 100%;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #0f0f0f;
    margin-bottom: 8px;
}

.legal-updated {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f0f0f;
    margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content a {
    color: #0f0f0f;
    text-decoration: underline;
    text-decoration-color: #FFD700;
    text-underline-offset: 3px;
}
