/* ========================================
   FRANKMASOTTI.COM STYLE.CSS
   Core Design System
   White body, blue header, gold accents, black footer
======================================== */

/* ========================================
   ROOT VARIABLES
======================================== */

:root {
    --blue: #1565C0;
    --blue-dark: #0D47A1;
    --gold: #D4AF37;
    --gold-hover: #F5D76E;
    --black: #111111;
    --footer-black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --soft-gray: #FAFAFA;
    --border: #E5E5E5;
    --text-muted: #555555;
    --text-light: #666666;

    --container-width: 1200px;
    --article-width: 850px;

    --radius: 6px;
    --radius-pill: 999px;

    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.12);

    --transition: all 0.2s ease;
}

/* ========================================
   GLOBAL RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* ========================================
   CONTAINERS
======================================== */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.article-content,
.width-article {
    max-width: var(--article-width);
}

.width-narrow {
    max-width: 750px;
}

.width-medium {
    max-width: 950px;
}

.width-wide {
    max-width: 1200px;
}

.centered-content {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 34px;
    margin-top: 50px;
}

h3 {
    font-size: 28px;
    margin-top: 40px;
}

h4 {
    font-size: 24px;
    margin-top: 35px;
}

p {
    margin-bottom: 24px;
}

ul,
ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
}

strong {
    font-weight: 700;
}

small {
    font-size: 14px;
}

blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    margin: 40px 0;
    font-style: italic;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 60px 0;
}

/* ========================================
   LINKS
======================================== */

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

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

a:focus,
button:focus {
    outline: 3px solid var(--gold-hover);
    outline-offset: 3px;
}

/* ========================================
   HEADER
======================================== */

.site-header {
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    max-height: 63px;
    width: auto;
}

/* ========================================
   NAVIGATION
======================================== */

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 0;
    margin-bottom: 0;
}

.main-nav li {
    position: relative;
    margin-bottom: 0;
}

.main-nav a {
    color: var(--gold);
    font-weight: 700;
    transition: var(--transition);
}

.main-nav a:hover,
.nav-current > a {
    color: var(--white);
}

.nav-highlight > a {
    background: var(--gold);
    color: var(--black);
    padding: 10px 18px;
    border-radius: var(--radius);
}

.nav-highlight > a:hover {
    background: var(--gold-hover);
    color: var(--black);
}

/* ========================================
   DROPDOWN MENUS
======================================== */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    padding: 15px 0;
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius);
    z-index: 999;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--black);
    display: block;
    padding: 12px 20px;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--blue);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ========================================
   MEGA MENU SYSTEM
======================================== */

.mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 1000px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    padding: 40px;
    display: none;
    z-index: 3000;
}

.dropdown:hover .mega-menu {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-menu-column h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.mega-menu-column ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mega-menu-column li {
    margin-bottom: 12px;
}

.mega-menu-column a {
    color: var(--black);
}

.mega-menu-column a:hover {
    color: var(--blue);
}

/* ========================================
   MOBILE MENU BUTTON
======================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 3px;
}

/* ========================================
   BREADCRUMBS
======================================== */

.breadcrumb-wrapper {
    padding: 25px 0;
    border-bottom: 1px solid #EAEAEA;
    background: #FCFCFC;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 15px;
    margin: 30px 0;
}

.breadcrumbs a {
    color: var(--blue);
}

.breadcrumbs span {
    color: var(--black);
}

.breadcrumb-separator {
    color: #999999;
}

/* ========================================
   HERO SYSTEMS
======================================== */

.hero {
    padding: 100px 0;
}

.hero h1 {
    max-width: 900px;
}

.hero p {
    font-size: 22px;
    max-width: 850px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image img {
    border-radius: var(--radius);
    width: 100%;
    box-shadow: var(--shadow-light);
}

.landing-hero {
    padding: 120px 0;
    text-align: center;
}

.landing-hero h1 {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero p {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
}

.landing-hero .cta-button {
    margin-top: 35px;
}

.article-header {
    padding: 90px 0 50px;
}

.article-header h1 {
    max-width: 950px;
}

.article-header p {
    max-width: 850px;
    font-size: 24px;
    color: #444444;
}

/* ========================================
   SECTION SYSTEM
======================================== */

.content-section {
    padding: 80px 0;
}

.section-small {
    padding: 50px 0;
}

.section-medium {
    padding: 80px 0;
}

.section-large {
    padding: 120px 0;
}

.section-intro {
    max-width: 900px;
    margin-bottom: 50px;
}

.section-intro p {
    font-size: 22px;
    color: #444444;
}

.section-divider {
    width: 120px;
    height: 4px;
    background: var(--gold);
    margin: 50px 0;
    border-radius: var(--radius-pill);
}

.center-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BACKGROUND UTILITIES
======================================== */

.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--soft-gray);
}

.bg-blue {
    background: var(--blue);
    color: var(--white);
}

.bg-black {
    background: var(--footer-black);
    color: var(--white);
}

.bg-gold {
    background: var(--gold);
    color: var(--black);
}

.bg-blue h1,
.bg-blue h2,
.bg-blue h3,
.bg-blue p,
.bg-black h1,
.bg-black h2,
.bg-black h3,
.bg-black p {
    color: var(--white);
}

/* ========================================
   BUTTONS
======================================== */

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--gold-hover);
    color: var(--black);
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}

.secondary-button:hover {
    background: var(--blue);
    color: var(--white);
}

.cta-stack {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 35px;
}

/* ========================================
   CARDS AND GRIDS
======================================== */

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.content-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

.content-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ========================================
   INSIGHT CARDS
======================================== */

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.insight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
}

.insight-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.insight-card-content {
    padding: 25px;
}

.insight-card h3 {
    margin-top: 0;
    font-size: 24px;
}

.insight-card p {
    color: var(--text-muted);
}

/* ========================================
   ANSWER GRID SYSTEM
======================================== */

.answer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.answer-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.answer-card:hover {
    box-shadow: var(--shadow-light);
    transform: translateY(-3px);
}

.answer-card h3 {
    margin-top: 0;
    font-size: 24px;
}

.answer-card p:last-child {
    margin-bottom: 0;
}

/* ========================================
   REPORT SYSTEM
======================================== */

.report-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.report-header {
    margin-bottom: 60px;
}

.report-title {
    margin-bottom: 20px;
}

.report-subtitle {
    font-size: 22px;
    color: #444444;
    max-width: 800px;
}

.report-meta {
    margin-top: 30px;
    font-size: 15px;
    color: var(--text-light);
}

.report-section {
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
}

.report-section:last-child {
    border-bottom: none;
}

.report-section-title {
    margin-bottom: 25px;
}

.report-summary-box {
    background: var(--light-gray);
    border-left: 5px solid var(--gold);
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.report-highlight {
    background: #FFF9E8;
    border: 1px solid #F2D57C;
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.report-warning {
    background: #FFF4F4;
    border: 1px solid #E2A4A4;
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.report-success {
    background: #F4FFF7;
    border: 1px solid #9FD6AD;
    padding: 25px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.featured-report {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin: 60px 0;
}

.featured-report-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.featured-report-content {
    padding: 40px;
}

.featured-report-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   AI RESPONSE BLOCKS
======================================== */

.ai-response {
    background: #FAFAFA;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px 0;
}

.ai-response-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.ai-model-name {
    font-size: 22px;
    font-weight: 700;
}

.ai-confidence {
    background: var(--gold);
    color: var(--black);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
}

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

.interpretation-panel {
    background: #FAFAFA;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px;
    margin: 50px 0;
}

.interpretation-panel h3 {
    margin-top: 0;
}

.interpretation-label {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ========================================
   SCORE SYSTEM
======================================== */

.score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.score-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.score-number {
    font-size: 52px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 15px;
}

.score-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.score-description {
    font-size: 15px;
    color: var(--text-muted);
}

.score-bar-group {
    margin: 40px 0;
}

.score-bar {
    margin-bottom: 25px;
}

.score-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
}

.score-bar-track {
    width: 100%;
    height: 14px;
    background: var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: var(--blue);
    border-radius: var(--radius-pill);
}

/* ========================================
   TABLES
======================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table th,
table td {
    border: 1px solid #DDD;
    padding: 14px;
    text-align: left;
}

table th {
    background: var(--light-gray);
}

.comparison-table,
.feature-matrix {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table table {
    min-width: 700px;
}

.feature-matrix table {
    min-width: 900px;
}

.comparison-table th,
.feature-matrix th {
    background: var(--blue);
    color: var(--white);
}

.comparison-table td {
    vertical-align: top;
}

.feature-matrix th,
.feature-matrix td {
    text-align: center;
}

/* ========================================
   ENTITY / TERM PAGES
======================================== */

.entity-header {
    padding: 90px 0 50px;
    border-bottom: 1px solid var(--border);
}

.entity-header h1 {
    max-width: 900px;
}

.entity-definition {
    font-size: 24px;
    line-height: 1.6;
    max-width: 900px;
    color: #333333;
    margin-top: 30px;
}

.entity-meta {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
}

.term-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.term-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    background: var(--white);
}

.term-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
}

.term-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.term-card p:last-child {
    margin-bottom: 0;
}

.related-entities {
    margin-top: 80px;
}

.related-entities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.related-entity-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    background: var(--white);
    transition: var(--transition);
}

.related-entity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.related-entity-card h3 {
    margin-top: 0;
    font-size: 20px;
}

/* ========================================
   FEATURED SECTIONS
======================================== */

.featured-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-main {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.featured-main-content {
    padding: 35px;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
}

.feature-split,
.horizontal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin: 100px 0;
}

.feature-split-image img,
.horizontal-content-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
}

/* ========================================
   REPORT PREVIEW PANELS
======================================== */

.report-preview {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 70px 0;
    background: var(--white);
}

.report-preview-header {
    background: var(--blue);
    color: var(--white);
    padding: 25px 35px;
}

.report-preview-header h2,
.report-preview-header p {
    color: var(--white);
    margin-bottom: 0;
}

.report-preview-content {
    padding: 40px;
}

.report-preview-footer {
    padding: 25px 40px;
    background: #FAFAFA;
    border-top: 1px solid var(--border);
}

/* ========================================
   COMPARISON BLOCKS
======================================== */

.before-after-grid,
.feature-comparison-grid,
.report-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 70px 0;
}

.report-comparison-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.before-block,
.after-block,
.feature-comparison-card,
.report-comparison-card {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
}

.before-block {
    background: #FFF4F4;
    border: 1px solid #E7B0B0;
}

.after-block {
    background: #F4FFF7;
    border: 1px solid #A8D7B5;
}

.before-block h3,
.after-block h3,
.feature-comparison-card h3,
.report-comparison-card h3 {
    margin-top: 0;
}

.report-comparison-score {
    font-size: 54px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 15px;
}

/* ========================================
   PROCESS SYSTEMS
======================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 70px 0;
}

.process-step {
    text-align: center;
}

.process-number {
    width: 70px;
    height: 70px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 25px;
}

.process-step h3 {
    margin-top: 0;
}

.timeline {
    position: relative;
    margin: 60px 0;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
}

.timeline-date {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.timeline-item h3 {
    margin-top: 0;
}

/* ========================================
   NOTICE / CALLOUT SYSTEM
======================================== */

.notice-box {
    background: #F8F9FA;
    border-left: 5px solid var(--blue);
    padding: 25px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

.notice-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.notice-warning {
    border-left-color: #D97706;
    background: #FFF7ED;
}

.notice-success {
    border-left-color: #15803D;
    background: #F0FDF4;
}

.notice-danger {
    border-left-color: #B91C1C;
    background: #FEF2F2;
}

.notice-strip {
    background: var(--blue);
    color: var(--white);
    padding: 18px 24px;
    border-radius: var(--radius);
    margin: 40px 0;
    font-size: 16px;
    font-weight: 600;
}

.notice-strip a {
    color: var(--gold);
}

.highlight-panel,
.content-callout,
.emphasis-block {
    background: #FFF9E8;
    border-radius: var(--radius);
    padding: 40px;
    border-left: 5px solid var(--gold);
    margin: 60px 0;
}

.highlight-panel h2,
.highlight-panel h3,
.content-callout h3 {
    margin-top: 0;
}

.recommendation-box {
    border-left: 5px solid var(--blue);
    background: #F8F9FA;
    padding: 30px;
    margin: 40px 0;
    border-radius: var(--radius);
}

.recommendation-box h3 {
    margin-top: 0;
}

.recommendation-box p:last-child,
.emphasis-block p:last-child {
    margin-bottom: 0;
}

.content-warning {
    background: #FEF2F2;
    border-left: 5px solid #B91C1C;
    padding: 30px;
    border-radius: var(--radius);
    margin: 50px 0;
}

.content-warning h3 {
    margin-top: 0;
}

.callout-panel {
    background: var(--blue);
    color: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    margin: 60px 0;
}

.callout-panel h2,
.callout-panel h3,
.callout-panel p,
.callout-panel a {
    color: var(--white);
}

.callout-panel .cta-button {
    margin-top: 20px;
}

/* ========================================
   QUOTES AND STATEMENTS
======================================== */

.featured-quote,
.authority-quote,
.pull-quote,
.article-callout-quote,
.key-statement {
    text-align: center;
    max-width: 950px;
    margin: 80px auto;
}

.featured-quote {
    font-size: 30px;
    line-height: 1.5;
    font-weight: 300;
    color: var(--blue);
}

.authority-quote p,
.pull-quote p {
    font-size: 34px;
    line-height: 1.5;
    font-weight: 300;
    color: var(--blue);
}

.article-callout-quote p {
    font-size: 42px;
    line-height: 1.5;
    color: var(--blue);
    font-weight: 300;
}

.key-statement p {
    font-size: 48px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--blue);
}

.authority-quote cite,
.pull-quote cite {
    display: block;
    margin-top: 25px;
    font-style: normal;
    font-weight: 700;
    color: var(--black);
}

/* ========================================
   CATEGORY / ARTICLE SYSTEM
======================================== */

.category-header {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 60px;
}

.category-header p {
    max-width: 850px;
    font-size: 22px;
}

.page-intro {
    max-width: 900px;
    margin-bottom: 60px;
}

.page-intro h1 {
    margin-bottom: 25px;
}

.page-intro p {
    font-size: 24px;
    color: #444444;
}

.article-meta,
.timestamp-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 15px;
}

.timestamp-bar {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 14px;
}

.article-meta span,
.timestamp-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 30px;
    margin: 50px 0;
}

.table-of-contents h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.table-of-contents ul {
    margin-bottom: 0;
}

.table-of-contents li {
    margin-bottom: 12px;
}

.key-takeaways {
    background: #F8F9FA;
    border-radius: var(--radius);
    padding: 35px;
    margin: 60px 0;
    border-left: 5px solid var(--blue);
}

.key-takeaways h3 {
    margin-top: 0;
}

.key-takeaways ul {
    margin-bottom: 0;
}

/* ========================================
   RELATED CONTENT
======================================== */

.related-content {
    margin-top: 100px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
}

.related-card-content {
    padding: 25px;
}

.related-card h3 {
    margin-top: 0;
    font-size: 24px;
}

/* ========================================
   TAGS / TOPICS
======================================== */

.tag-list,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.tag,
.tag-cloud a {
    display: inline-block;
    background: var(--light-gray);
    color: var(--black);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
}

.tag-cloud a {
    padding: 10px 16px;
}

.tag-cloud a:hover {
    background: var(--blue);
    color: var(--white);
}

/* ========================================
   FAQ / ACCORDION SYSTEM
======================================== */

.accordion {
    margin-top: 50px;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 24px 40px 24px 0;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    color: var(--black);
}

.accordion-button::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 24px;
    font-size: 26px;
    color: var(--blue);
}

.accordion-item.active .accordion-button::after {
    content: "−";
}

.accordion-content {
    display: none;
    padding-bottom: 30px;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* ========================================
   VIDEO / FIGURE SYSTEM
======================================== */

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 50px 0;
    border-radius: var(--radius);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

figure {
    margin: 50px 0;
}

figure img {
    border-radius: var(--radius);
}

figcaption {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

.float-image-left {
    float: left;
    width: 45%;
    margin: 10px 30px 20px 0;
    border-radius: var(--radius);
}

.float-image-right {
    float: right;
    width: 45%;
    margin: 10px 0 20px 30px;
    border-radius: var(--radius);
}

/* ========================================
   MODAL SYSTEM
======================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 5000;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-content {
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--black);
}

/* ========================================
   SIDEBAR AND SPLIT CONTENT
======================================== */

.content-split {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    position: sticky;
    top: 130px;
}

.sidebar-module,
.sidebar-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.sidebar-nav {
    background: #FAFAFA;
}

.sidebar-module h3,
.sidebar-nav h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.sidebar-nav ul,
.sidebar-module ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sidebar-nav li,
.sidebar-module li {
    margin-bottom: 14px;
}

.sidebar-nav a {
    color: var(--black);
}

.sidebar-nav a:hover {
    color: var(--blue);
}

/* ========================================
   METRICS / STATS
======================================== */

.metric-grid,
.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 60px 0;
}

.metric-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.metric-number,
.stats-banner-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 12px;
}

.metric-label,
.stats-banner-label {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.stats-banner {
    background: var(--blue);
    color: var(--white);
    padding: 80px 0;
}

.stats-banner-grid {
    gap: 40px;
    text-align: center;
    margin: 0;
}

.stats-banner-number {
    font-size: 58px;
    color: var(--white);
}

.stats-banner-label {
    color: var(--white);
}

/* ========================================
   TRUST / SOCIAL PROOF
======================================== */

.trust-bar,
.social-proof-strip {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #FAFAFA;
}

.social-proof-strip {
    padding: 25px 0;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    align-items: center;
    text-align: center;
}

.trust-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.trust-item p,
.social-proof-item {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 600;
}

/* ========================================
   TESTIMONIALS
======================================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px;
    background: var(--white);
}

.testimonial-card p:last-child {
    margin-bottom: 0;
}

.testimonial-author {
    margin-top: 25px;
    font-weight: 700;
}

.testimonial-company {
    color: var(--text-light);
    font-size: 15px;
}

/* ========================================
   BANNERS
======================================== */

.banner-cta {
    background: var(--gold);
    color: var(--black);
    padding: 70px 0;
    text-align: center;
}

.banner-cta h2 {
    margin-top: 0;
}

.banner-cta p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-cta .cta-button {
    margin-top: 25px;
    background: var(--black);
    color: var(--white);
}

.banner-cta .cta-button:hover {
    background: #222222;
}

.entity-banner {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 70px;
    margin: 80px 0;
}

.entity-banner h2,
.entity-banner p {
    color: var(--white);
}

.entity-banner .cta-button {
    margin-top: 25px;
}

.authority-strip {
    background: var(--blue-dark);
    color: var(--white);
    padding: 18px 0;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.authority-strip strong {
    color: var(--gold);
}

/* ========================================
   LABELS AND SMALL ELEMENTS
======================================== */

.inline-label,
.floating-label {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
}

.floating-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--black);
    padding: 8px 14px;
    z-index: 10;
}

/* ========================================
   SEARCH BAR
======================================== */

.search-form {
    margin: 50px 0;
}

.search-wrapper {
    display: flex;
    gap: 15px;
}

.search-wrapper input {
    margin-bottom: 0;
}

.search-wrapper button {
    min-width: 140px;
}

/* ========================================
   BASIC INPUTS
   For search fields or future simple utility inputs only
======================================== */

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid #CCC;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 16px;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--blue);
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    background: var(--footer-black);
    color: var(--white);
    padding: 60px 0;
    margin-top: 80px;
}

.site-footer a {
    color: var(--gold);
}

.site-footer a:hover {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    font-size: 15px;
}

/* ========================================
   UTILITIES
======================================== */

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

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

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.flex {
    display: flex;
}

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hidden {
    display: none;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   SELECTION COLOR
======================================== */

::selection {
    background: var(--gold);
    color: var(--black);
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

@media (max-width: 992px) {

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 30px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .hero-split,
    .feature-split,
    .horizontal-content,
    .content-split,
    .featured-grid,
    .insight-hero-grid {
        grid-template-columns: 1fr;
    }

    .score-grid,
    .report-comparison-grid,
    .process-grid,
    .testimonial-grid,
    .mini-faq-grid,
    .resource-grid,
    .data-panel-grid,
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-grid,
    .term-grid,
    .related-grid,
    .content-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .answer-grid,
    .before-after-grid,
    .feature-comparison-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .content-grid-4,
    .footer-grid,
    .icon-box-grid,
    .metric-grid,
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-entities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-proof-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-sidebar {
        position: relative;
        top: auto;
    }

    .mega-menu {
        width: 100%;
        left: 0;
        right: 0;
    }
}

@media (max-width: 768px) {

    body {
        font-size: 17px;
    }

    .header-inner {
        min-height: 80px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        background: var(--blue);
        padding: 20px 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .dropdown-menu,
    .mega-menu {
        position: relative;
        display: none;
        background: rgba(255,255,255,0.08);
        box-shadow: none;
        padding: 15px;
        width: 100%;
    }

    .dropdown.active .dropdown-menu,
    .dropdown.active .mega-menu {
        display: block;
    }

    .dropdown-menu a,
    .mega-menu a {
        color: var(--white);
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 20px;
    }

    .content-section {
        padding: 60px 0;
    }

    .landing-hero {
        padding: 90px 0;
    }

    .landing-hero p,
    .article-header p,
    .page-intro p,
    .category-header p,
    .entity-definition,
    .section-intro p {
        font-size: 20px;
    }

    .content-grid-2,
    .content-grid-3,
    .content-grid-4,
    .footer-grid,
    .icon-box-grid,
    .metric-grid,
    .trust-bar-grid,
    .social-proof-grid,
    .score-grid,
    .insight-grid,
    .term-grid,
    .related-grid,
    .related-entities-grid,
    .testimonial-grid,
    .resource-grid,
    .data-panel-grid,
    .summary-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .search-wrapper,
    .cta-stack {
        flex-direction: column;
    }

    .featured-quote,
    .authority-quote p,
    .pull-quote p {
        font-size: 24px;
    }

    .article-callout-quote p {
        font-size: 30px;
    }

    .key-statement p {
        font-size: 34px;
    }

    .entity-banner,
    .authority-panel,
    .callout-panel,
    .featured-answer {
        padding: 45px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .float-image-left,
    .float-image-right {
        float: none;
        width: 100%;
        margin: 30px 0;
    }

    .modal-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 22px;
    }

    .hero p,
    .landing-hero p,
    .article-header p,
    .page-intro p,
    .category-header p,
    .entity-definition,
    .section-intro p {
        font-size: 18px;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }

    .section-large {
        padding: 80px 0;
    }

    .report-summary-box,
    .report-highlight,
    .report-warning,
    .report-success,
    .featured-report-content,
    .report-preview-content,
    .modal-content,
    .key-takeaways,
    .highlight-panel,
    .content-warning,
    .content-callout,
    .emphasis-block,
    .entity-banner,
    .authority-panel,
    .callout-panel,
    .featured-answer,
    .interpretation-panel,
    .recommendation-box {
        padding: 25px;
    }

    .score-number,
    .metric-number,
    .data-point-number,
    .report-comparison-score {
        font-size: 42px;
    }

    .stats-banner-number {
        font-size: 42px;
    }

    .featured-quote,
    .authority-quote p,
    .pull-quote p,
    .article-callout-quote p {
        font-size: 22px;
    }

    .key-statement p {
        font-size: 28px;
    }

    .comparison-slide {
        min-width: 280px;
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {

    .site-header,
    .site-footer,
    .menu-toggle,
    .cta-button,
    .secondary-button,
    .sticky-cta,
    .modal-overlay {
        display: none !important;
    }

    body {
        background: #FFFFFF;
        color: #000000;
        font-size: 12pt;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }

    .container,
    .article-content,
    .report-wrapper {
        width: 100%;
        max-width: none;
    }

    .report-section,
    .content-section {
        page-break-inside: avoid;
    }
}
