:root {
    --bg-main: #0B0F19;
    --bg-card: rgba(20, 27, 45, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-blue: #00F0FF;
    --accent-mint: #39FF14;
    --accent-amber: #FFC72C;
    --text-primary: #F3F4F6;
    --text-muted: #9CA3AF;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0b0f19 70%);
    min-height: 100vh;
}

header {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    font-weight: 500;
}

nav a.active, nav a:hover {
    color: #fff;
}

main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Updated, Stable Bento Grid Layout Fix */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Set distinct row heights so containers don't collapse or distort */
    grid-template-rows: 170px 170px auto; 
    gap: 1.2rem;
}

/* Explicit Grid Coordinate Maps */
.bento-hero-text {
    grid-column: span 6;
    grid-row: 1 / 3; /* Extends fully from top to middle row split line */
    align-self: center;
    padding-right: 2rem;
}

.main-feature {
    grid-column: span 3;
    grid-row: 1 / 3; /* Spans top to bottom of the primary row block */
}

.stack-top {
    grid-column: span 3;
    grid-row: 1; /* Locked tightly to Row 1 */
}

.stack-bottom {
    grid-column: 10 / span 3; /* Explicit column boundary placement */
    grid-row: 2; /* Locked tightly to Row 2 */
}

.row-left {
    grid-column: span 4;
    grid-row: 3;
    aspect-ratio: 2.1 / 1;
}

.row-center {
    grid-column: span 4;
    grid-row: 3;
    aspect-ratio: 2.1 / 1;
}

.row-right {
    grid-column: span 4;
    grid-row: 3;
    aspect-ratio: 2.1 / 1;
}

/* Typography elements mimicking screenshot */
.hero-sys-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bento-hero-text h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 4.2rem;
    line-height: 0.95;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.4;
}

/* Core Bento Container Styling */
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 100%; /* Force child container boxes to respect explicit row configurations */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.bento-card:hover {
    transform: scale(1.01);
    border-color: rgba(0, 240, 255, 0.4);
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: grayscale(30%);
    transition: opacity 0.4s, filter 0.4s;
}

.bento-card:hover .bento-img {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* Overlay Coordinates system */
.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(11,15,25,0.4) 0%, transparent 40%, rgba(11,15,25,0.6) 100%);
}

.bento-rating {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 0.8;
    color: #fff;
}

.rating-label {
    font-family: monospace;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* UI Badges Styling */
.signal-badge {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
}

.signal-high {
    background: var(--accent-blue);
    color: #000;
}

.signal-emerging {
    background: var(--accent-mint);
    color: #000;
}

.signal-value, .signal-growth {
    background: var(--accent-amber);
    color: #000;
}

.bento-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Stacking Rules for Mobile Screens */
@media (max-width: 1024px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    .bento-hero-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    .bento-card {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   Value Pillars Formatting 
   ========================================================================== */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 6rem 0;
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pillar-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.pillar-icon {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--accent-blue);
    padding: 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-content h3 {
    font-family: 'Times New Roman', Times, serif; /* Aligning with original Serif subheads */
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pillar-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================
   Featured Research Section 
   =========================*/
.featured-research-section {
    margin: 5rem 0;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 4rem;
}

.header-left {
    max-width: 720px;
}

.section-sys-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.header-left h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.template-link-btn {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-blue);
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.template-link-btn:hover {
    color: var(--accent-mint);
    border-color: var(--accent-mint);
}

/* Three-Column Horizontal Card Matrix Row */
.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feed-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Smooth rounded radius corner profiles seen in second screenshot */
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feed-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
}

.feed-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #141B2D;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.feed-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.4s ease;
}

.feed-card:hover .feed-img-box img {
    transform: scale(1.03);
    opacity: 1;
}

.feed-card-body {
    padding: 1.5rem;
}

.feed-card-body h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.feed-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===================================
   Responsive Multi-Screen Adaptations
   =================================== */
@media (max-width: 1024px) {
    .pillars-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 4rem 0;
    }
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .research-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================
   Article Template Hero Layout 
   ============================ */
.article-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin: 3rem 0 5rem 0;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

/* Left Showcase Frame Box */
.article-hero-image-frame {
    background: #060911;
    border: 1px solid var(--border-color);
    padding: 2.5rem; /* Clean intentional border inset alignment */
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    border-radius: 2px;
}

/* Right Meta Fields */
.article-sys-category {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 4.2rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Numeric Rating Variant */
.article-score-display {
    margin-bottom: 2rem;
}

.score-number {
    font-family: 'Times New Roman', Times, serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent-mint); /* Cyber neon alternative to original green */
    line-height: 1;
}

.article-sys-label-caps {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

/* Secure Price Button Component */
.secure-price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #004BFF; /* Deep atmospheric anchor color */
    color: #fff;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 380px;
    transition: background 0.3s, border-color 0.3s;
}

.secure-price-btn:hover {
    background: #00F0FF; /* Glow shift toggle on hover */
    color: #000;
    border-color: #00F0FF;
}

.article-disclaimer {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 380px;
    margin-top: 1.5rem;
}

/* ==========================
   Article Text Document Body
   ========================== */
.article-body-content {
    max-width: 800px;
    margin: 0 auto;
}

.body-section-block h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
}

.body-section-block p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stacking fallback for tablet viewports */
@media (max-width: 900px) {
    .article-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .secure-price-btn, .article-disclaimer {
        max-width: 100%;
    }
}

/* ==================================
   Recommendation Callout Box Layout 
   ==================================*/
.recommendation-box {
    background: rgba(20, 27, 45, 0.4);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-mint); /* High potential neon mint brand accent mark */
    padding: 2.5rem;
    margin: 3.5rem 0;
    border-radius: 0 6px 6px 0;
}

.recommendation-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.recommendation-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Custom list layout with customized symbol markers */
.recommendation-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.recommendation-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.plus-sign {
    color: var(--accent-blue);
    font-weight: 700;
    margin-right: 0.8rem;
    font-family: monospace;
}

/* Secondary Amazon Action Link */
.secondary-price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #004BFF;
    color: #fff;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s, color 0.2s;
}

.secondary-price-btn:hover {
    background: var(--accent-mint);
    color: #000;
    border-color: var(--accent-mint);
}

/* Technical Deep Dive Segments */
.structural-dive-block {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border-color);
}

.dive-subsection {
    margin-top: 2rem;
}

.dive-subsection h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}

/* ===================================
   Opportunity & Final Verdict Blocks 
   =================================== */
.opportunity-analysis-block {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.center-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.action-deal-btn {
    background: #004BFF;
    color: #fff;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-deal-btn:hover {
    background: var(--accent-blue);
    color: #000;
}

/* Central Cinematic Box Component */
.verdict-panel {
    background: #060911;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 3.5rem;
    margin: 6rem auto 2rem auto;
    max-width: 800px;
    text-align: center;
}

.verdict-label-mini {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.verdict-title-main {
    font-family: 'Times New Roman', Times, serif;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent-mint); /* Dynamic green highlight variant */
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.verdict-product-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.verdict-explanation {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
}

.verdict-guidance {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 620px;
    margin: 0 auto;
}

.verdict-amazon-btn {
    background: #fff;
    color: #000;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: 1px solid #fff;
}

.verdict-amazon-btn:hover {
    background: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* ==============================
   Expanded Extended Site Footer 
   ==============================*/
footer {
    border-top: 1px solid var(--border-color);
    margin-top: 8rem;
    padding: 5rem 2rem 3rem 2rem;
    background: rgba(6, 9, 17, 0.6);
}

.footer-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand-column p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 320px;
    line-height: 1.5;
}

.footer-links-column h5 {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-links-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-links-column a:hover {
    color: var(--accent-blue);
}

.footer-copyright {
    max-width: 1400px;
    margin: 4rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: left;
}

@media (max-width: 768px) {
    .footer-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .verdict-panel {
        padding: 2rem 1.5rem;
    }
    .verdict-title-main {
        font-size: 4rem;
    }
}
