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

:root {
    /* HSL Theme Colors - Premium Obsidian Navy & Gold Harmony */
    --h-primary: 224;
    --h-accent: 38;
    
    /* Theme Tokens - Light Mode */
    --primary: hsl(var(--h-primary), 64%, 15%);
    --primary-light: hsl(var(--h-primary), 60%, 94%);
    --primary-dark: hsl(var(--h-primary), 64%, 10%);
    --accent: hsl(var(--h-accent), 92%, 46%);
    --accent-hover: hsl(var(--h-accent), 96%, 38%);
    --accent-light: hsl(var(--h-accent), 100%, 95%);
    
    --bg-main: hsl(var(--h-primary), 32%, 97%);
    --bg-card: hsl(0, 0%, 100%);
    --bg-header: rgba(255, 255, 255, 0.85);
    
    --text-main: hsl(var(--h-primary), 44%, 15%);
    --text-muted: hsl(var(--h-primary), 20%, 45%);
    --text-inverse: hsl(0, 0%, 100%);
    
    --border: hsl(var(--h-primary), 24%, 90%);
    --border-hover: hsl(var(--h-primary), 32%, 82%);
    
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 22px 48px -8px rgba(15, 23, 42, 0.12), 0 8px 24px -4px rgba(15, 23, 42, 0.05);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-fast: 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: hsl(var(--h-primary), 80%, 82%);
        --primary-light: hsl(var(--h-primary), 40%, 16%);
        --primary-dark: hsl(var(--h-primary), 80%, 90%);
        --accent: hsl(var(--h-accent), 92%, 52%);
        --accent-hover: hsl(var(--h-accent), 100%, 60%);
        --accent-light: hsl(var(--h-accent), 40%, 14%);
        
        --bg-main: hsl(var(--h-primary), 45%, 7%);
        --bg-card: hsl(var(--h-primary), 35%, 11%);
        --bg-header: rgba(13, 18, 30, 0.85);
        
        --text-main: hsl(var(--h-primary), 20%, 90%);
        --text-muted: hsl(var(--h-primary), 12%, 68%);
        
        --border: hsl(var(--h-primary), 28%, 18%);
        --border-hover: hsl(var(--h-primary), 24%, 28%);
        
        --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.4);
        --shadow-md: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 4px 12px -2px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 22px 48px -8px rgba(0, 0, 0, 0.6), 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.75;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

@media (prefers-color-scheme: dark) {
    h1, h2, h3, h4, h5, h6 {
        color: var(--primary);
    }
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
}

code, pre, .research-data {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background-color: var(--primary-light);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Header & Glassmorphic Navbar */
header {
    background-color: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color var(--transition-normal), border var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.5rem;
    gap: 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

@media (prefers-color-scheme: dark) {
    .logo a {
        color: var(--primary);
    }
}

.logo img {
    height: 38px;
    width: auto;
    margin-right: 12px;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast);
}

.logo a:hover img {
    transform: scale(1.06);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0;
    margin-bottom: 0;
}

nav ul li a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-dark);
    background-color: var(--primary-light);
}

@media (prefers-color-scheme: dark) {
    nav ul li a:hover, nav ul li a.active {
        color: var(--text-inverse);
        background-color: var(--primary-light);
    }
}

/* Search Bar styling */
.search-container {
    position: relative;
}

.search-container input {
    padding: 0.5rem 1rem 0.5rem 2.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    width: 200px;
    transition: all var(--transition-normal);
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    width: 250px;
    background-color: var(--bg-card);
}

.search-container::before {
    content: "🔍";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    .search-container input {
        width: 100%;
    }
    .search-container input:focus {
        width: 100%;
    }
}

/* Hero Section */
.hero {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, var(--accent-light) 0%, transparent 60%);
    opacity: 0.45;
    pointer-events: none;
}

.hero h1 {
    margin-bottom: 1.25rem;
    z-index: 2;
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    line-height: 1.6;
}

/* Grid & Layout */
main {
    max-width: 1240px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

@media (max-width: 1024px) {
    main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

article {
    background-color: var(--bg-card);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: border var(--transition-normal);
}

@media (max-width: 640px) {
    article {
        padding: 2rem 1.25rem;
    }
}

/* AdSense Layout & Safe Containers to prevent CLS */
.ad-top-banner, .ad-mid-article, .ad-sticky-sidebar {
    background-color: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ad-top-banner {
    width: 100%;
    min-height: 90px;
    height: 90px;
    max-width: 970px;
    margin: 1.5rem auto;
    padding: 0.25rem;
}

.ad-mid-article {
    margin: 3rem 0;
    padding: 0.5rem;
    width: 100%;
    min-height: 250px;
    height: 250px;
}

.ad-sticky-sidebar {
    width: 100%;
    min-height: 600px;
    height: 600px;
    position: sticky;
    top: 6.5rem;
    padding: 0.25rem;
}

.ad-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: absolute;
    top: 4px;
    left: 8px;
    z-index: 10;
}

/* Article Cards Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin: 2.5rem 0;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-4px) scale(1.005);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.article-card.has-image {
    padding: 0;
    overflow: hidden;
}

.article-card.has-image .card-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    transition: transform var(--transition-normal);
}

.article-card.has-image:hover .card-image {
    transform: scale(1.02);
}

.article-card.has-image .card-content {
    padding: 1.75rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.article-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-card a {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.article-card a::after {
    content: " →";
    transition: transform var(--transition-fast);
}

.article-card a:hover::after {
    transform: translateX(4px);
}

/* Table of Contents (TOC) */
.toc {
    background-color: var(--primary-light);
    border-left: 4px solid var(--accent);
    padding: 1.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.toc h4 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: var(--primary-dark);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

@media (prefers-color-scheme: dark) {
    .toc h4 {
        color: var(--primary);
    }
}

.toc ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.toc ul li {
    margin-bottom: 0.65rem;
    padding-left: 1.25rem;
    position: relative;
}

.toc ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0.25rem;
    font-weight: bold;
}

.toc ul li a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.toc ul li a:hover {
    color: var(--accent);
}

/* AI Summary (Key Takeaways / BLUF) */
.ai-summary {
    background-color: var(--accent-light) !important;
    border-left: 4px solid var(--accent) !important;
    border-radius: var(--radius-sm);
    padding: 1.75rem !important;
    margin: 2.5rem 0 !important;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    color: var(--text-main);
    font-size: 1.05rem;
    position: relative;
    line-height: 1.7;
}

.ai-summary::before {
    content: "💡 Summary & Insights";
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--accent-hover);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Store Module (PDF Bundle Purchase Box) */
.store-module {
    margin: 2.5rem 0 !important;
    padding: 2.2rem !important;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-main)) !important;
    border: 2px dashed var(--accent) !important;
    border-radius: var(--radius-md) !important;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.store-module:hover {
    transform: scale(1.02);
}

.store-module h4 {
    color: var(--primary-dark) !important;
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 800;
}

@media (prefers-color-scheme: dark) {
    .store-module h4 {
        color: var(--primary) !important;
    }
}

.store-module p {
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
    max-width: 600px;
    margin: 0 auto 1.5rem auto !important;
    line-height: 1.6;
}

.store-module form {
    margin-top: 1rem;
}

/* PayPal Button override */
.pp-BPYVX5XFD6Z2G {
    border: none;
    border-radius: var(--radius-sm) !important;
    padding: 0 2.5rem !important;
    height: 3.2rem !important;
    font-weight: 700 !important;
    background-color: var(--accent) !important;
    color: var(--text-inverse) !important;
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast) !important;
}

.pp-BPYVX5XFD6Z2G:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
#contact-form {
    margin-top: 1.5rem;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
    background-color: var(--bg-card);
}

#contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

#contact-form button[type="submit"] {
    background-color: var(--accent);
    color: var(--text-inverse);
    border: none;
    padding: 0.95rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

#contact-form button[type="submit"]:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Author Bio block (EEAT) */
.author-bio {
    margin: 3.5rem 0 1.5rem 0 !important;
    padding: 2.2rem !important;
    background-color: var(--primary-light);
    border-top: 4px solid var(--accent) !important;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.65;
    box-shadow: var(--shadow-sm);
}

.author-bio strong {
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

@media (prefers-color-scheme: dark) {
    .author-bio strong {
        color: var(--primary);
    }
}

/* Citations & Sources (EEAT) */
.article-citations {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.article-citations h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.citations-list {
    list-style: none;
    padding-left: 0;
}

.citations-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.citations-list li a {
    color: var(--accent);
    font-weight: 500;
}

.citations-list li::before {
    content: "🔗";
    font-size: 0.85rem;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.byline {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* Featured Images and fallbacks */
.featured-image, .article-image-fallback {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 1.5rem 0 2.5rem 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.article-image-fallback {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-weight: 700;
}

/* Footer Section */
footer {
    background-color: var(--primary-dark);
    color: var(--text-inverse);
    padding: 5rem 1.5rem;
    text-align: center;
    margin-top: 6rem;
    border-top: 4px solid var(--accent);
    transition: background-color var(--transition-normal);
}

footer p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

footer p:first-of-type {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-inverse);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

footer a {
    color: var(--text-inverse);
    opacity: 0.75;
    margin: 0 0.85rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: var(--accent);
    opacity: 1;
    border-bottom-color: var(--accent);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

article, .article-card, .store-module, .hero {
    animation: fadeIn var(--transition-normal) forwards;
}

/* Calculator Styles */
.calculator-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.calc-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.calc-tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
}

.calc-tab-btn:hover {
    color: var(--primary-dark);
    background-color: var(--bg-main);
}

.calc-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.calc-form-section {
    display: none;
}

.calc-form-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.calc-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.calc-group label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.calc-group input[type="number"],
.calc-group select {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.calc-group input[type="number"]:focus,
.calc-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.calc-radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.25rem;
}

.calc-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500 !important;
}

.calc-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
    background-color: var(--bg-main);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.calc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

.calc-checkbox-label input {
    margin-top: 0.2rem;
}

.calc-btn-container {
    margin-top: 2rem;
    text-align: center;
}

.calc-btn {
    background-color: var(--accent);
    color: var(--text-inverse);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    width: 100%;
    max-width: 320px;
}

.calc-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Results Box */
.calc-results-box {
    display: none;
    margin-top: 2.5rem;
    padding: 2rem;
    border-radius: var(--radius-md);
    animation: fadeIn var(--transition-normal) forwards;
}

.calc-results-box.eligible {
    background-color: rgba(34, 197, 94, 0.1);
    border: 2px solid rgb(34, 197, 94);
    color: var(--text-main);
}

.calc-results-box.partial {
    background-color: rgba(245, 158, 11, 0.1);
    border: 2px solid rgb(245, 158, 11);
    color: var(--text-main);
}

.calc-results-box.ineligible {
    background-color: rgba(239, 68, 68, 0.1);
    border: 2px solid rgb(239, 68, 68);
    color: var(--text-main);
}

.results-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.results-icon {
    font-size: 2rem;
}

.results-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.results-summary-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.results-details-list {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.results-details-list h5 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

@media (prefers-color-scheme: dark) {
    .results-details-list h5 {
        color: var(--primary);
    }
}

.results-details-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.results-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.results-details-list li:last-child {
    margin-bottom: 0;
}

.status-indicator {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-top: 0.25rem;
}

.status-indicator.pass {
    background-color: rgb(34, 197, 94);
}

.status-indicator.fail {
    background-color: rgb(239, 68, 68);
}

.calc-promo-box {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.calc-promo-box h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-size: 1.25rem;
}

.calc-promo-box p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.85);
}

.calc-promo-box .pp-BPYVX5XFD6Z2G {
    background-color: var(--accent) !important;
    color: var(--text-inverse) !important;
}

.calc-promo-box .pp-BPYVX5XFD6Z2G:hover {
    background-color: var(--accent-hover) !important;
}
