/* ERMITS Professional Presentation Styles */

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

:root {
    --primary-color: #3B6FA8; /* ERMITS Blue */
    --secondary-color: #2563eb;
    --accent-color: #3B6FA8; /* ERMITS Blue */
    --ermits-orange: #FB923C;
    --ermits-green: #10B981;
    --text-color: #1f2937; /* Dark text for light theme */
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-color: #ffffff; /* Light background */
    --bg-gradient: #f9fafb; /* Light grey background */
    --section-bg: #ffffff; /* White card background */
    --section-bg-alt: #f9fafb; /* Light grey for alternate sections */
    --border-color: #e5e7eb;
    --border-light: rgba(59, 111, 168, 0.2);
    --success-color: #10B981; /* ERMITS Green */
    --warning-color: #FB923C; /* ERMITS Orange */
    --danger-color: #ef4444;
    --nav-height: 70px;
    --card-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding-top: var(--nav-height);
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--nav-height);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-brand-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-brand {
    font-size: 1.4rem;
    line-height: 1.2;
}

.nav-brand sup {
    font-size: 0.6em;
    vertical-align: super;
}

.nav-description {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.nav-menu li a:hover {
    background: rgba(59, 111, 168, 0.1);
    color: var(--primary-color);
    border-color: rgba(59, 111, 168, 0.2);
}

.nav-menu li a.active {
    background: rgba(59, 111, 168, 0.15);
    color: var(--primary-color);
    border-color: rgba(59, 111, 168, 0.3);
}

.nav-menu li a i {
    font-size: 0.8rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 40px;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    max-width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
}

.header h1 sup {
    font-size: 0.5em;
    vertical-align: super;
}

.header h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
}

.header h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 300;
    opacity: 0.9;
}

.tagline {
    font-size: 1.1rem;
    margin: 15px 0;
    line-height: 1.6;
    font-weight: 500;
}

.subtitle {
    font-size: 0.95rem;
    margin-top: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Section Styles */
.section {
    background: var(--section-bg);
    padding: 50px 50px;
    margin-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 111, 168, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section h2 {
    color: var(--primary-color);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.02em;
}
    font-weight: 700;
}

.section h2 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.section h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.section h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.section .lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 30px;
}

.section ul, .section ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.section li {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Key Benefits Grid */
.key-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 1100px;
}

.benefit-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 111, 168, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(59, 111, 168, 0.2);
    border-color: var(--primary-color);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin: 0 0 15px 0;
    color: var(--primary-color);
    line-height: 1.3;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.philosophy-item {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.philosophy-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.philosophy-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Challenge Grid */
.challenge-grid {
    display: grid;
    gap: 35px;
    margin: 40px 0;
}

.challenge-item {
    background: white;
    padding: 35px;
    border-radius: 10px;
    border-left: 5px solid var(--danger-color);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.challenge-item i {
    font-size: 2.5rem;
    color: var(--danger-color);
    margin-bottom: 20px;
}

.challenge-item h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.comparison-compact {
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(59, 111, 168, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.comparison-compact strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.comparison-compact em {
    color: var(--text-light);
    font-style: normal;
}

/* Solution Flow */
.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.flow-step i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.flow-step span {
    font-weight: 600;
    color: var(--text-color);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.solution-note {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* Workflow Steps - Compact Layout */
.workflow-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.workflow-step-compact {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 111, 168, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-step-compact:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(59, 111, 168, 0.2);
    transform: translateY(-4px);
}

.step-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.workflow-step-compact h3 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.workflow-step-compact > p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}

.step-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.workflow-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0 10px;
    margin-top: 30px;
}

.workflow-note {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 111, 168, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.workflow-note i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 2px;
}

.workflow-note p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* Legacy workflow-step for backward compatibility */
.workflow-step {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.step-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-header h3 i {
    color: var(--accent-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

table thead {
    background: var(--primary-color);
    color: white;
}

table th {
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

table tbody tr:hover {
    background-color: #f9fafb;
}

table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table {
    margin-top: 25px;
}

/* Risk Badges */
.risk-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.risk-badge.high {
    background: #fee2e2;
    color: #991b1b;
}

.risk-badge.medium {
    background: #fef3c7;
    color: #92400e;
}

.risk-badge.low {
    background: #d1fae5;
    color: #065f46;
}

/* Code */
code {
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--danger-color);
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 20px 25px;
    margin: 25px 0;
    background: #fffbeb;
    border-radius: 4px;
    font-style: italic;
    font-size: 1.05rem;
}

blockquote strong {
    font-style: normal;
    color: var(--text-color);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.highlight-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
    max-width: 900px;
}

.product-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.product-card h4 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Stakeholder Grid */
.stakeholder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 1200px;
}

.stakeholder-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 111, 168, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stakeholder-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(59, 111, 168, 0.18);
    border-color: var(--secondary-color);
}

.stakeholder-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stakeholder-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.3;
}

.metrics-box {
    background: var(--section-bg-alt);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 3px solid var(--secondary-color);
}

.metrics-box strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.metrics-box ul {
    margin: 10px 0 0 20px;
}

/* Comparison */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.comparison-item {
    padding: 35px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.comparison-item h3 {
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-item.traditional {
    background: #fef2f2;
    border-color: var(--danger-color);
}

.comparison-item.traditional h3 i {
    color: var(--danger-color);
}

.comparison-item.ermits {
    background: #f0fdf4;
    border-color: var(--success-color);
}

.comparison-item.ermits h3 i {
    color: var(--success-color);
}

/* Journey Timeline */
.journey-timeline {
    margin: 40px 0;
    position: relative;
    padding-left: 40px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    gap: 25px;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 0 4px white, 0 0 0 6px var(--secondary-color);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.timeline-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Funnel Stages */
.funnel-stages {
    margin: 40px 0;
}

.funnel-stage {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
}

.funnel-stage h4 {
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.funnel-stage h4 i {
    color: var(--secondary-color);
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
    max-width: 1200px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--success-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Value Props */
.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
    max-width: 1200px;
}

.prop-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.prop-item i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.prop-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Summary Tagline */
.summary-tagline {
    font-size: 1.8rem;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    margin: 40px 0;
    font-weight: 600;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 30px;
    background: var(--section-bg);
    border-radius: 12px;
    margin-top: 50px;
    border-top: 3px solid var(--primary-color);
}

.footer .logo {
    filter: none;
    max-width: 150px;
    margin-bottom: 25px;
}

.footer p {
    margin: 12px 0;
    color: var(--text-color);
    font-size: 1rem;
}

.footer p i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* About ERMITS Section */
.about-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
    margin: 30px 0;
}

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

.about-logo-img {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Demo Access Button */
.demo-access {
    margin: 30px 0;
    text-align: center;
}

.demo-button-container {
    margin-bottom: 20px;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(59, 111, 168, 0.3);
}
}

.demo-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    color: white;
}

.demo-button i {
    font-size: 1.1rem;
}

.demo-note {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Text Utilities */
.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-danger {
    color: var(--danger-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .nav-menu li a {
        padding: 15px;
        justify-content: center;
    }

    .nav-toggle {
        display: block;
    }

    .header h1 {
        font-size: 2.2rem;
    }
    
    .header h2 {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 35px 25px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .key-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stakeholder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .value-props {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .comparison {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .solution-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Workflow Responsive */
@media (max-width: 968px) {
    .workflow-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .workflow-step-compact {
        max-width: 100%;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .header {
        padding: 40px 25px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    table {
        font-size: 0.85rem;
    }
    
    table th,
    table td {
        padding: 10px;
    }

    .key-benefits,
    .stakeholder-grid,
    .value-grid,
    .value-props,
    .product-grid,
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .about-logo-img {
        max-width: 150px;
    }
}

/* Case Study Styles */
.case-study {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--danger-color);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.case-study-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.case-study-header h3 i {
    color: var(--danger-color);
    margin-right: 10px;
}

.case-study-date {
    background: var(--section-bg-alt);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.case-study-content h4 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
    max-width: 1000px;
}

.case-study-item {
    background: var(--section-bg-alt);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.case-study-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.case-study-item h5 {
    color: var(--primary-color);
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.case-study-item p {
    color: var(--text-light);
    margin: 0;
}

.case-study-solution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.solution-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.solution-card h5 {
    color: var(--primary-color);
    margin: 15px 0;
    font-size: 1.2rem;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.solution-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.solution-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.findings-box {
    background: #fef3c7;
    border-left: 5px solid var(--warning-color);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.findings-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.findings-box ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.findings-box ul li:last-child {
    border-bottom: none;
}

.findings-box ul li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.findings-box ul li strong {
    color: var(--primary-color);
}

.value-props .prop-item.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid var(--warning-color);
}

.value-props .prop-item.highlight h5 {
    color: var(--primary-color);
}

.value-props .prop-item.highlight strong {
    color: var(--danger-color);
    font-size: 1.1rem;
}

/* Print Styles */
@media print {
    @page {
        size: letter;
        margin: 0.5in;
    }

    body {
        padding-top: 0;
        background: white !important;
    }

    /* Hide navigation */
    .top-nav {
        display: none !important;
    }

    /* Hide spacer for fixed nav */
    .nav-spacer {
        display: none !important;
    }

    /* ===== PREVENT PAGE BREAKS INSIDE ELEMENTS ===== */
    .header,
    .section,
    .benefit-card,
    .stakeholder-card,
    .value-card,
    .value-prop-card,
    .product-card,
    .case-study-card,
    .feature-card,
    .step-card,
    .metric-card,
    .info-box,
    .highlight-box {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* Prevent orphaned headings */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid !important;
        break-after: avoid !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* Keep lists together where possible */
    ul, ol {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* ===== ENSURE BACKGROUNDS PRINT ===== */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* ===== OPTIMIZE LAYOUT FOR PRINT ===== */
    .hero {
        padding: 30px 20px !important;
        page-break-after: avoid;
    }

    .section {
        page-break-inside: avoid;
        border: none;
        box-shadow: none;
        margin-bottom: 30px;
        padding: 20px !important;
    }

    /* Convert grids to single column for reliable printing */
    .key-benefits,
    .stakeholder-grid,
    .value-grid,
    .value-props,
    .product-grid,
    .case-study-grid {
        display: block !important;
    }

    .benefit-card,
    .stakeholder-card,
    .value-card,
    .value-prop-card,
    .product-card,
    .case-study-card {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 20px !important;
    }

    /* Reduce padding for space efficiency */
    .container {
        padding: 20px !important;
    }

    /* Optimize card icons */
    .benefit-card .icon,
    .stakeholder-card .icon,
    .value-card .icon {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }

    /* Hide interactive elements that don't work in PDF */
    button, .cta-button, .btn {
        border: 1px solid var(--primary-color) !important;
        opacity: 0.8;
    }

    /* Remove hover effects and transitions */
    * {
        transition: none !important;
        transform: none !important;
    }

    /* Optimize typography */
    h1 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

    h2 {
        font-size: 1.75rem !important;
        margin-top: 25px !important;
        margin-bottom: 15px !important;
    }

    h3 {
        font-size: 1.4rem !important;
        margin-top: 20px !important;
        margin-bottom: 12px !important;
    }

    /* Ensure good contrast for print */
    .hero {
        color: white !important;
        background: linear-gradient(135deg, #3B6FA8 0%, #2563eb 100%) !important;
    }

    /* Fix card borders and shadows for print */
    .benefit-card,
    .stakeholder-card,
    .value-card,
    .value-prop-card,
    .product-card,
    .case-study-card {
        border: 1px solid #e5e7eb !important;
        box-shadow: none !important;
    }

    /* Optimize lists */
    ul li, ol li {
        margin-bottom: 8px;
    }

    /* Hide decorative elements */
    .decoration,
    .animated {
        display: none !important;
    }

    /* Footer always on new page */
    .footer {
        page-break-before: always;
    }

    /* Compact spacing */
    .section {
        margin-bottom: 25px !important;
    }

    /* Optimize feature highlights */
    .feature-highlight {
        padding: 15px !important;
        margin: 15px 0 !important;
    }

    /* Ensure status badges are visible */
    .badge,
    .tag,
    .label {
        border: 1px solid currentColor !important;
        padding: 4px 8px !important;
    }

    /* Remove box shadows */
    * {
        box-shadow: none !important;
    }

    /* Optimize metrics display */
    .metrics-grid {
        display: block !important;
    }

    .metric-card {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 15px !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Styles */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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