/* Polish Investment Guide - Professional Styles */

:root {
    /* Professional Color Palette */
    --primary-navy: #1e3a8a;
    --primary-blue: #2563eb;
    --accent-red: #dc2626;
    --secondary-red: #b91c1c;
    --light-blue: #dbeafe;
    --dark-navy: #1e293b;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #64748b;
    --dark-gray: #334155;
    --border-gray: #e2e8f0;
    
    /* Success & Status Colors */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0891b2;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-padding: 2rem;
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: var(--font-weight-normal);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-normal);
    margin-bottom: 0;
}

/* Button Styles */
.btn {
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-navy);
    color: var(--primary-navy);
}

.btn-outline-primary:hover {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary-navy);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Text Colors */
.text-primary {
    color: var(--primary-navy) !important;
}

.text-success {
    color: var(--success) !important;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    padding: 0.75rem 1rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-navy);
}

/* Hero Section */

.stat-item {
    padding: 1rem 0.75rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
}

/* Value Proposition Section */

.value-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-gray);
}

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

.value-card h5 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--medium-gray);
    margin: 0;
}

/* Company Intelligence Banner */

/* Products Section */

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-gray);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Company Grid */

.company-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-gray);
    position: relative;
}

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

.company-card h6 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    color: var(--dark-navy);
    font-size: 1.125rem;
}

.company-card .price {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

/* About Section */

.author-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-gray);
    overflow: hidden;
}

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

/* Request Analysis Section */

/* Sample Section */

/* Form Styles */
.form-control {
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
    outline: none;
}

.form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

/* Upsell Card */

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-navy);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.cookie-consent.show {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: linear-gradient(rgba(30, 58, 138, 0.25), rgba(30, 58, 138, 0.25)), url("../bg_dark.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Loading Animation */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.loading.show {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .company-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .value-card,
.author-card {
        padding: 1.5rem;
    }
    
    .stat-item {
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-navy {
    color: var(--primary-navy) !important;
}

.bg-navy {
    background-color: var(--primary-navy) !important;
}

.text-muted {
    color: var(--medium-gray) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.border-0 {
    border: none !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-navy);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .footer,
.cookie-consent {
        display: none;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* ============================================================================
   COMPANY INTELLIGENCE PAGES
   ============================================================================ */

/* Companies Index Page - Hero */
.companies-hero {
    background: var(--primary-navy);
    color: var(--white);
    padding: 4rem 0 3rem;
}

.companies-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.companies-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

.companies-count-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.companies-count-badge .count {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.companies-count-badge .label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Companies Grid */

.company-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-gray);
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Companies with a full, purchasable analysis available */

.company-ticker {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', monospace;
}

/* About Section */

/* ============================================================================
   COMPANY DETAIL PAGE
   ============================================================================ */

/* Company Header */
.company-header {
    background: var(--primary-navy);
    color: var(--white);
    padding: 2rem 0 2.5rem;
}

.company-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.company-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.company-header .breadcrumb-item a:hover {
    color: var(--white);
}

.company-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.company-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.company-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.company-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.ticker-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: var(--border-radius);
    font-family: 'SF Mono', 'Monaco', monospace;
    font-weight: 600;
    font-size: 0.9375rem;
}

.sector-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.company-tags-inline {
    display: flex;
    gap: 0.5rem;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.company-quick-metrics {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 0.75rem;
}

.quick-metric {
    text-align: center;
    flex-shrink: 0;
}

.quick-metric .qm-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.quick-metric .qm-value.positive {
    color: #4ade80;
}

.quick-metric .qm-label {
    display: block;
    font-size: 0.6875rem;
    opacity: 0.8;
    margin-top: 0.2rem;
    white-space: nowrap;
}

/* Tab Navigation */
.company-nav-section {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.company-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.company-tab {
    padding: 1rem 1.25rem;
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.company-tab:hover {
    color: var(--dark-navy);
    background: var(--light-gray);
}

.company-tab.active {
    color: var(--primary-navy);
    border-bottom-color: var(--primary-navy);
}

/* Tab Panes */
.company-content {
    padding: 2.5rem 0 4rem;
    background: var(--light-gray);
    min-height: 60vh;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.content-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-gray);
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-calendar-table .period-cell {
    font-weight: 600;
}

.report-calendar-table tr.report-past {
    color: #9ca3af;
}

.report-calendar-table tr.report-past td {
    color: #9ca3af;
}

/* Key Metrics Section */
.key-metrics-intro {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
}

.key-metrics-intro .lead {
    margin-bottom: 0;
    font-size: 1rem;
}

.placeholder-metrics {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.placeholder-metrics .badge {
    font-weight: 500;
    font-size: 0.8125rem;
}

/* Key Metrics Charts */
.key-metrics-charts .chart-wrapper {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.key-metrics-charts .chart-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.key-metrics-charts .chart-header h5 i {
    color: var(--primary-blue);
}

.unit-badge {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--medium-gray);
    margin-left: 0.25rem;
}

.key-metrics-charts .chart-legend {
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-gray);
}

.key-metrics-charts .legend-item {
    display: inline-flex;
    align-items: center;
    margin: 0 0.75rem;
    font-size: 0.8125rem;
    color: var(--dark-gray);
}

.key-metrics-charts .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 0.375rem;
    display: inline-block;
}

/* Overview Section */
.overview-description {
    margin-bottom: 1.5rem;
}

.overview-description .lead {
    font-size: 1.125rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.info-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

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

.info-list li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--dark-gray);
    font-size: 0.9375rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-gray);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.drivers-card { border-left: 4px solid var(--success); }
.risks-card { border-left: 4px solid var(--danger); }
.watch-card { border-left: 4px solid var(--info); }

/* Analysis Section */
.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.analysis-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.version-badge {
    background: var(--primary-navy);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
    font-weight: 600;
}

.update-date {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.analysis-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.analysis-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.analysis-block h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
}

.analysis-block p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.thesis-breakers {
    background: #fef2f2;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--danger);
}

.thesis-breakers h4 {
    color: var(--danger);
}

.thesis-breakers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.thesis-breakers li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark-gray);
}

.thesis-breakers li::before {
    content: '⚠';
    position: absolute;
    left: 0;
}

/* Full Analysis Purchase Card */
.analysis-purchase-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--light-blue);
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--primary-navy);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.analysis-purchase-info {
    flex: 1 1 320px;
}

.analysis-purchase-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.analysis-purchase-desc {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

.analysis-purchase-action {
    flex: 0 0 auto;
    text-align: center;
}

.analysis-purchase-secure {
    font-size: 0.8125rem;
    color: var(--dark-gray);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Contracts Section */

.contracts-table {
    width: 100%;
    border-collapse: collapse;
}

.contracts-table thead {
    background: var(--light-gray);
}

.contracts-table th {
    padding: 1rem;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-navy);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-bottom: 2px solid var(--border-gray);
}

.contracts-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
    font-size: 0.9375rem;
    color: var(--dark-gray);
}

/* Financials Section */
.financials-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.currency-badge {
    background: var(--success);
    color: var(--white);
    padding: 0.25rem 0.625rem;
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
    font-weight: 600;
}

.update-info {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.ltm-summary-card {
    background: var(--primary-navy);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.ltm-summary-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.ltm-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.ltm-metric .ltm-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.ltm-metric .ltm-label {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.quarterly-data h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.financials-table {
    width: 100%;
    border-collapse: collapse;
}

.financials-table thead {
    background: var(--light-gray);
}

.financials-table th,
.financials-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.financials-table th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-navy);
    text-transform: uppercase;
}

.financials-table td {
    font-size: 0.9375rem;
    color: var(--dark-gray);
}

/* Enhanced Financials Section - SQL Data */

/* Financials Data Table */
.financials-data-table {
    font-size: 0.8125rem;
}

.financials-data-table .metric-col {
    min-width: 200px;
    position: sticky;
    left: 0;
    background: var(--white);
    z-index: 1;
}

.financials-data-table .quarter-col {
    min-width: 90px;
    text-align: right;
}

.financials-data-table thead th {
    background: var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 2;
}

.financials-data-table thead .metric-col {
    z-index: 3;
}

.financials-data-table .metric-name {
    font-weight: 500;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.financials-data-table .quarter-value {
    font-variant-numeric: tabular-nums;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

.financials-data-table .selected-metric-row {
    background: rgba(37, 99, 235, 0.08) !important;
    border-left: 3px solid var(--primary-blue);
}

.financials-data-table .selected-metric-row .metric-name {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Secondary (overlaid) metric row: orange accent to match the right axis / line */
.financials-data-table .secondary-metric-row {
    background: rgba(245, 158, 11, 0.10) !important;
    border-left: 3px solid #f59e0b;
}

.financials-data-table .secondary-metric-row .metric-name {
    color: #b45309;
}

/* Clickable metric rows */
.financials-data-table .financial-metric-row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.financials-data-table .financial-metric-row:hover {
    background: rgba(37, 99, 235, 0.05);
}

.financials-data-table .financial-metric-row:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: -2px;
}

/* Quarterly Data header with toggle */
.quarterly-data-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.quarterly-data-header h4 {
    margin-bottom: 0;
}

/* Quarterly / LTM toggle */
.metric-type-toggle {
    display: inline-flex;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.metric-toggle-btn {
    background: #fff;
    color: var(--dark-navy);
    border: none;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.metric-toggle-btn + .metric-toggle-btn {
    border-left: 1px solid var(--border-gray);
}

.metric-toggle-btn:hover {
    background: var(--light-gray);
}

.metric-toggle-btn.active {
    background: var(--primary-blue);
    color: #fff;
}

/* Metric Category Badges */
.metric-category-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.025em;
    white-space: nowrap;
    width: fit-content;
    flex-shrink: 0;
}

.metric-category-badge.income-statement { background: #dbeafe; color: #1e40af; }
.metric-category-badge.costs { background: #fef3c7; color: #92400e; }
.metric-category-badge.cash-flow { background: #d1fae5; color: #065f46; }
.metric-category-badge.ltm-metrics { background: #e0e7ff; color: #3730a3; display: inline-block; }
.metric-category-badge.profitability { background: #fce7f3; color: #9d174d; }
.metric-category-badge.balance-sheet { background: #f3e8ff; color: #6b21a8; }
.metric-category-badge.ratios { background: #ccfbf1; color: #0f766e; }

/* Charts Section */
.financials-charts {
    margin-top: 2rem;
}

.financials-charts > h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-navy);
}

.chart-wrapper {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.chart-header {
    margin-bottom: 1rem;
}

.chart-header h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin: 0;
}

.chart-container {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.chart-legend {
    font-size: 0.8125rem;
    color: var(--medium-gray);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Simple Bar Chart */
.chart-container h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

/* News Section */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    width: 100px;
}

.news-date .date-day {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.news-content {
    flex: 1;
}

.news-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.news-source-badge {
    background: var(--light-gray);
    color: var(--medium-gray);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
}

.sentiment-badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.sentiment-badge.positive {
    background: #dcfce7;
    color: #166534;
}

.sentiment-badge.negative {
    background: #fef2f2;
    color: #dc2626;
}

.sentiment-badge.neutral {
    background: var(--light-gray);
    color: var(--medium-gray);
}

/* Sentiment Indicator Dots */
.sentiment-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.sentiment-indicator.positive {
    background-color: #22c55e;
}

.sentiment-indicator.neutral {
    background-color: #9ca3af;
}

.sentiment-indicator.negative {
    background-color: #ef4444;
}

/* Sentiment Summary Section */
.sentiment-summary .card {
    border: none;
    border-radius: var(--border-radius);
}

.sentiment-summary .table td {
    padding: 0.5rem 0;
    vertical-align: middle;
}

.news-text {
    color: var(--dark-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.news-text h2 {
    font-size: 1.125rem;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.news-text p {
    margin-bottom: 0.5rem;
}

.news-source-link {
    font-size: 0.8125rem;
    color: var(--primary-blue);
    text-decoration: none;
    margin-top: 0.75rem;
    display: inline-block;
}

.news-source-link:hover {
    text-decoration: underline;
}

/* EPS Estimates Section */
.eps-meta {
    margin-bottom: 2rem;
}

.eps-scenarios {
    margin-bottom: 2rem;
}

.scenario-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    border: 2px solid var(--border-gray);
}

.scenario-card.bear {
    border-color: #fecaca;
    background: #fef2f2;
}

.scenario-card.base {
    border-color: var(--primary-navy);
    background: var(--light-blue);
}

.scenario-card.bull {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.scenario-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.scenario-card.bear .scenario-header { color: var(--danger); }
.scenario-card.base .scenario-header { color: var(--primary-navy); }
.scenario-card.bull .scenario-header { color: var(--success); }

.scenario-header span {
    font-weight: 600;
    font-size: 0.9375rem;
}

.scenario-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.scenario-assumptions-label {
    font-size: 0.8125rem;
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.scenario-assumptions {
    font-size: 0.875rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.scenario-assumptions .assumptions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-assumptions .assumptions-list li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.scenario-assumptions .assumptions-list li:last-child {
    border-bottom: none;
}

.scenario-assumptions .assumptions-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--medium-gray);
}

.eps-disclaimer {
    background: #fefce8;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    border-left: 4px solid #eab308;
}

.eps-disclaimer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

/* Empty States */
.empty-state-inline {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.empty-state-inline p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* ============================================================================
   CONTRACTS DATA TABLES (used in company_detail and company_contracts)
   ============================================================================ */

.contracts-data-table {
    font-size: 0.95rem;
    margin-bottom: 0;
    width: 100%;
    table-layout: auto;
}

.contracts-data-table thead th {
    background-color: var(--dark-navy);
    color: white;
    font-weight: var(--font-weight-semibold);
    border: none;
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
}

.contracts-data-table thead th.contract-info-col {
    min-width: 250px;
    max-width: 350px;
}

.contracts-data-table thead th.quarter-col {
    min-width: 90px;
    width: 110px;
}

.contracts-data-table thead th.total-col {
    min-width: 110px;
    width: 130px;
    background-color: #1a3a52;
}

.contracts-data-table tbody tr {
    border-bottom: 1px solid var(--border-gray);
}

.contracts-data-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.contract-info {
    padding: 1rem 0.75rem;
}

.contract-title {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    word-wrap: break-word;
    max-width: 350px;
}

.contract-meta {
    font-size: 0.85rem;
    color: var(--medium-gray);
    white-space: nowrap;
}

.contract-link {
    color: var(--primary-blue);
    text-decoration: none;
}

.contract-link:hover {
    text-decoration: underline;
}

.contract-period {
    color: var(--medium-gray);
}

.quarter-value,
.total-value {
    padding: 0.75rem 0.5rem;
    font-family: 'Courier New', monospace;
}

.quarter-value,
.quarter-total {
    white-space: nowrap;
}

.totals-row {
    background-color: rgba(0, 123, 255, 0.05);
    border-top: 2px solid var(--dark-navy) !important;
}

.totals-label {
    padding: 1rem 0.75rem;
    color: var(--dark-navy);
}

.quarter-total,
.grand-total {
    padding: 0.75rem 0.5rem;
    font-family: 'Courier New', monospace;
    color: var(--dark-navy);
}

.grand-total {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Currency Notice Styles */
.currency-notice {
    padding: 1rem;
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid #17a2b8;
    border-radius: var(--border-radius);
}

.currency-notice p {
    color: #0c5460;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.currency-notice i {
    color: #17a2b8;
}

/* AI Notice Styles */
.ai-notice {
    padding: 1rem;
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    border-radius: var(--border-radius);
}

.ai-notice p {
    color: #856404;
    font-size: 0.85rem;
    line-height: 1.6;
}

.ai-notice i {
    color: #ffc107;
}

/* Robot Deliveries Table Styles */
.robot-deliveries-table {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.robot-deliveries-table thead th {
    background-color: #28a745;
    color: white;
    font-weight: var(--font-weight-semibold);
    border: none;
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
}

.robot-deliveries-table thead th.model-col {
    min-width: 200px;
}

.robot-deliveries-table thead th.quarter-col {
    min-width: 90px;
    width: 110px;
}

.robot-deliveries-table thead th.year-total-col {
    min-width: 100px;
    width: 120px;
    background-color: #218838;
    border-left: 2px solid #1e7e34;
}

.robot-deliveries-table thead th.total-col {
    min-width: 110px;
    width: 130px;
    background-color: #1e7e34;
}

.robot-deliveries-table tbody tr {
    border-bottom: 1px solid var(--border-gray);
}

.robot-deliveries-table tbody tr:hover {
    background-color: rgba(40, 167, 69, 0.05);
}

.robot-deliveries-table .totals-row {
    background-color: rgba(40, 167, 69, 0.05);
    border-top: 2px solid #28a745 !important;
}

.robot-deliveries-table .model-name {
    font-weight: var(--font-weight-semibold);
    color: var(--dark-navy);
    padding: 1rem 0.75rem;
}

.robot-deliveries-table .quarter-value,
.robot-deliveries-table .year-value,
.robot-deliveries-table .total-value {
    padding: 0.75rem 0.5rem;
    font-family: 'Courier New', monospace;
}

.robot-deliveries-table .year-value,
.robot-deliveries-table .year-total {
    background-color: rgba(40, 167, 69, 0.08);
    border-left: 2px solid rgba(40, 167, 69, 0.2);
    font-weight: var(--font-weight-semibold);
}

.robot-deliveries-table .grand-total {
    background-color: rgba(40, 167, 69, 0.1);
}

.robot-notice {
    padding: 1rem;
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    border-radius: var(--border-radius);
}

.robot-notice p {
    color: #155724;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.robot-notice i {
    color: #28a745;
}

/* Responsive Adjustments for Company Pages */
@media (max-width: 991px) {
    .companies-hero-title {
        font-size: 2rem;
    }
    
    .company-quick-metrics {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .ltm-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .company-tabs {
        gap: 0;
    }
    
    .company-tab {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }
    
    .company-page-title {
        font-size: 1.75rem;
    }
    
    .company-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .news-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .news-date {
        width: auto;
    }
    
    .scenario-card {
        margin-bottom: 1rem;
    }
    
    .contracts-data-table {
        font-size: 0.85rem;
    }
    
    .contract-title {
        font-size: 0.9rem;
    }
    
    .contract-meta {
        font-size: 0.8rem;
    }
    
    .contracts-data-table thead th {
        padding: 0.75rem 0.5rem;
    }
    
    .quarter-value,
.total-value,
.quarter-total,
.grand-total {
        padding: 0.75rem 0.5rem;
    }
    
    /* Financials responsive styles */
    
    .financials-data-table {
        font-size: 0.75rem;
    }
    
    .financials-data-table .metric-col {
        min-width: 150px;
    }
    
    .financials-data-table .quarter-col {
        min-width: 70px;
    }
    
    .metric-category-badge {
        font-size: 0.5625rem;
        padding: 0.0625rem 0.25rem;
    }
    
    .chart-wrapper {
        padding: 1rem;
    }
    
    .chart-container {
        height: 250px !important;
    }
}

/* ========================================
   INTELLIGENCE PLATFORM STYLES
   ======================================== */

/* Intelligence Hero Section */

/* Hero Search Bar */

/* Hero Stats Alternative */

/* Social Proof Bar */

/* Section Badge */
.section-badge {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-navy);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.1em;
}

/* Features Section */

/* How It Works / Product Tour */

/* Dashboard Preview */

/* Pricing Section */

/* Sign-up Section */

/* Research Library Section */

/* Request Section */

/* Report Modal Items */

/* Responsive Adjustments */

/* ============================================================
   LANDING PAGE REDESIGN (2026) — light theme, green accent
   Scoped to .lp plus nav .btn-cta / .navbar-tagline
   ============================================================ */

:root {
    --brand-green: #1e3a8a;
    --brand-green-dark: #152a63;
    --brand-green-light: #dbeafe;
    --brand-gold: #c1a15a;
    --brand-gold-dark: #a8883f;
    --brand-gold-light: #f4ecd8;
    --lp-navy: #0e2a4a;
    --lp-text: #1f2937;
    --lp-muted: #6b7280;
    --lp-bg-soft: #b6d7f8;
    --lp-bg-light: #fdf9f5;
    --lp-border: #e5e7eb;
}

/* Gold CTA — matches the checkered flag in the logo */
.btn-gold {
    background-color: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    color: #1f2937;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(193, 161, 90, 0.35);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-gold:hover,
.btn-gold:focus {
    background-color: var(--brand-gold-dark);
    border-color: var(--brand-gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(168, 136, 63, 0.45);
}

/* Primary green CTA button (nav, hero, footer, bands) */
.btn-cta {
    background-color: var(--brand-green);
    border: 1px solid var(--brand-green);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-cta:hover,
.btn-cta:focus {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.30);
}
.btn-outline-cta {
    background-color: #fff;
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
    font-weight: 600;
    border-radius: 8px;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-outline-cta:hover,
.btn-outline-cta:focus {
    border-color: var(--brand-gold);
    color: var(--brand-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}

/* Nav tagline beside the logo */
.navbar-nav .dropdown-menu {
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.navbar-nav .dropdown-item:active {
    background-color: var(--brand-green);
}

.lp {
    color: var(--lp-text);
    background: #fff;
}
.lp .lp-accent { color: var(--brand-green); }

.lp-section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--lp-text);
    margin-bottom: 0.5rem;
}
.lp-section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--brand-gold);
    margin-top: 0.85rem;
}
.lp-section-title.text-center::after { margin-left: auto; margin-right: auto; }

/* Hero eyebrow badge */
.lp-badge {
    display: inline-block;
    background: var(--brand-gold-light);
    color: var(--brand-gold-dark);
    border: 1px solid rgba(193, 161, 90, 0.4);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

/* ---------- Hero ---------- */
.lp-hero {
    padding: 5.5rem 0 4.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(248, 250, 252, 0.55) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.lp-hero .container { max-width: 1240px; }
.lp-hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}
.lp-hero-title .lp-accent { display: block; }
.lp-hero-subtitle {
    font-size: 1.18rem;
    color: var(--lp-muted);
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 48em;
}
.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}
.lp-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    justify-content: center;
}
.lp-stat { display: flex; align-items: center; gap: 0.6rem; }
.lp-stat i { color: var(--brand-green); font-size: 1.25rem; }
.lp-stat-img { width: 1.5rem; height: 1.5rem; object-fit: contain; flex-shrink: 0; }
.lp-stat strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.lp-stat span { font-size: 0.82rem; color: var(--lp-muted); }

/* ---------- Hero dashboard preview ---------- */

/* ---------- Section 1: features ---------- */
.lp-features { padding: 4rem 0; background: var(--lp-bg-light); }
.lp-feature-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-top: 3px solid transparent;
    border-radius: 12px;
    padding: 1.6rem 1.4rem;
    text-decoration: none;
    color: var(--lp-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border-color: var(--lp-border);
    border-top-color: var(--brand-gold);
    color: var(--lp-text);
}
.lp-feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-green-light);
    color: var(--brand-green);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.lp-feature-card:hover i { background: var(--brand-gold-light); color: var(--brand-gold-dark); }
.lp-feature-card h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.lp-feature-card p { color: var(--lp-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Section 2: how it works + designed for ---------- */
.lp-how { padding: 4rem 0; }
.lp-steps { display: flex; align-items: flex-start; gap: 0.25rem; margin-top: 1.5rem; }
.lp-step { flex: 1; text-align: center; }
.lp-step-icon {
    width: 56px; height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--brand-green-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}
.lp-step h6 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.lp-step p { font-size: 0.8rem; color: var(--lp-muted); margin: 0; }
.lp-step-arrow { color: #cbd5e1; padding-top: 1.1rem; }
.lp-designed-for {
    background: var(--brand-green-light);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    height: 100%;
}
.lp-designed-for h5 { font-weight: 800; margin-bottom: 1rem; }
.lp-designed-for ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.lp-designed-for li { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; font-weight: 600; }
.lp-designed-for li i { color: var(--brand-green); }

/* ---------- Section 3: why we built ---------- */
.lp-why {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--lp-bg-soft) 100%);
    color: #000;
    text-align: center;
}
.lp-why-title { color: #000; font-weight: 800; font-size: 1.9rem; margin-bottom: 1.25rem; }
.lp-why-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--brand-gold);
    margin: 0.85rem auto 0;
}
.lp-why p { color: #000; line-height: 1.7; }

/* ---------- About the authors ---------- */
.lp-author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.1rem;
    border: 3px solid var(--brand-gold-light);
}
.lp-author-title {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.lp-feature-card .lp-author-title + p { color: var(--lp-muted); font-size: 0.92rem; }
.lp-author-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1.1rem;
}
.lp-author-credentials .lp-badge { margin-bottom: 0; }

/* ---------- Free-trial CTA band ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .lp-hero-title { font-size: 2.3rem; }
    .lp-steps { flex-direction: column; align-items: stretch; gap: 1rem; }
    .lp-step { display: flex; align-items: center; gap: 0.9rem; text-align: left; }
    .lp-step-icon { margin: 0; flex: 0 0 auto; }
    .lp-step-arrow { display: none; }
    .navbar-nav .btn-cta,
.navbar-nav .btn-outline-secondary { display: inline-block; }
}
@media (max-width: 575.98px) {
    .lp-hero-title { font-size: 1.9rem; }
}