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

:root {
    --bg-primary: #edf2f4;
    --bg-secondary: #ffffff;
    --text-main: #2b2b2b;
    --text-subtle: #52525b;
    --accent: #5ec3c5;
    --accent-darker: #1b585e;
    --gnowbe-yellow: #ffb606;
    --gnowbe-red: #b41f24;
    --gnowbe-purple: #935fee;
    --gnowbe-green: #10b981;
}

.theme-logistics {
    --accent: #5ec3c5;
    --accent-darker: #1b585e;
}

.theme-hospitality {
    --accent: #5ec3c5;
    --accent-darker: #1b585e;
}

body {
    font-family: 'Noto Sans', 'Inter', sans-serif !important;
    background-color: var(--bg-primary);
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans', 'Inter', sans-serif !important;
}

.font-heading {
    /* Default to sans-serif for secondary/tertiary headings */
    font-family: 'Noto Sans', 'Inter', sans-serif !important;
    line-height: 1.4;
}

/* Exception: Keep serif for H1 */
h1.font-heading {
    font-family: 'Noto Serif', serif !important;
}

/* Exception: Keep serif for white label pages */
body.bg-slate-50 .font-heading {
    font-family: 'Noto Serif', serif !important;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-darker), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent-darker);
    display: inline-block !important;
    padding-bottom: 0.1em;
}

.cta-button {
    transition: all 0.3s ease;
    border-radius: 6px;
}

.cta-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.stat-card {
    background-color: var(--bg-secondary);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

h1.font-heading {
    line-height: 1.22;
}

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

.industry-card {
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.07);
}

.feature-card {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

.research-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', serif;
    color: var(--text-main);
}

/* White Paper / Prose Styles */
.prose-custom {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-subtle);
}

.prose-custom p,
.prose-custom ul,
.prose-custom ol,
.prose-custom table {
    margin-bottom: 1.25em;
}

.prose-custom h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
}

.prose-custom h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
    color: var(--text-main);
}

.prose-custom table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.prose-custom th,
.prose-custom td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}

.prose-custom th {
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--text-main);
}

.prose-custom sup a {
    color: inherit;
    text-decoration: none;
    font-size: 0.8em;
    vertical-align: super;
}

.prose-custom sup a:hover {
    text-decoration: underline;
    color: var(--accent-darker);
}

/* Table of Contents */
.toc a {
    transition: all 0.2s ease-in-out;
}

.toc a:hover {
    color: var(--accent-darker);
    transform: translateX(4px);
}

/* Highlights & Citations */
.stat-highlight {
    background-color: #e0f2f1;
    border-left: 4px solid var(--accent-darker);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.25rem;
}

.stat-highlight p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-darker);
}

.works-cited li {
    padding-left: 1.5rem;
    text-indent: -1.5rem;
    margin-bottom: 0.75rem;
}

.works-cited a {
    color: var(--text-subtle);
    word-break: break-all;
    text-decoration: none;
}

.works-cited a:hover {
    text-decoration: underline;
    color: var(--accent-darker);
}

/* Chart Containers (Infographics) */
.chart-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.donut-chart-container {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: 200px;
    margin: 1rem auto;
}

.citation-sup {
    font-weight: normal;
    font-size: 0.6em;
    color: inherit;
    text-decoration: none;
    position: relative;
    top: -0.5em;
    margin-left: 2px;
}

.citation-sup:hover {
    text-decoration: underline;
    color: var(--accent-darker);
}

.doughnut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.flow-arrow {
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
}

/* Prose Custom Styles */
.prose-custom {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-subtle);
}

.prose-custom p,
.prose-custom ul,
.prose-custom ol,
.prose-custom table {
    margin-bottom: 1.25em;
}

.prose-custom h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.25em;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
}

.prose-custom h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
    color: var(--accent-darker);
}

.prose-custom table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
}

.prose-custom th,
.prose-custom td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
    font-size: 0.95rem;
}

.prose-custom th {
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--text-main);
}

.prose-custom sup a {
    color: inherit;
    text-decoration: none;
    font-size: 0.8em;
    vertical-align: super;
}

.prose-custom sup a:hover {
    text-decoration: underline;
    color: var(--accent-darker);
}

.toc a {
    transition: all 0.2s ease-in-out;
}

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


/* Works Cited Styles */
.works-cited li {
    padding-left: 1.5rem;
    text-indent: -1.5rem;
    margin-bottom: 0.75rem;
}

.works-cited a {
    color: var(--text-subtle);
    word-break: break-all;
    text-decoration: none;
}

.works-cited a:hover {
    text-decoration: underline;
    color: var(--accent-darker);
}


/* Citation Styles */
.citation-sup {
    font-weight: normal;
    font-size: 0.6em;
    color: inherit;
    text-decoration: none;
    position: relative;
    top: -0.5em;
    margin-left: 2px;
}

.citation-sup:hover {
    text-decoration: underline;
    color: var(--accent-darker);
}

/* Quote Styling */
blockquote {
    font-family: 'Noto Sans', 'Inter', sans-serif !important;
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-subtle);
    font-size: 1.1em;
    line-height: 1.6;
}

