:root {
    --primary-color: #2d5a5e;
    --secondary-color: #4a8a8f;
    --accent-color: #E5582D;
    --success-color: #4a9b5f;
    --warning-color: #f39c12;
    --danger-color: #c0392b;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

body.menu-open {
    overflow: hidden;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='2400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,200 L300,200 L302,199 L304,201 L306,200 L500,200 L502,198 L504,202 L900,200 L905,195 L910,205 L915,198 L920,203 L925,200 L930,197 L935,204 L940,199 L945,202 L1000,200 L1010,190 L1020,210 L1030,180 L1040,220 L1050,160 L1060,240 L1070,140 L1080,260 L1090,120 L1100,280 L1110,100 L1120,300 L1130,280 L1140,120 L1150,260 L1160,140 L1170,240 L1180,160 L1190,220 L1200,180 L1210,210 L1220,190 L1230,200 L1240,195 L1250,205 L1260,198 L1270,202 L1280,200 L1400,200 L1405,197 L1410,203 L1415,199 L1420,201 L1600,200 L1605,196 L1610,204 L1800,200 L1802,199 L1804,201 L2000,200 L2002,198 L2004,202 L2400,200' stroke='rgba(255,255,255,0.07)' stroke-width='1.5' fill='none'/%3E%3Cpath d='M0,200 L400,200 L402,199 L404,201 L600,200 L602,199.5 L604,200.5 L900,200 L902,199 L904,201 L1000,200 L1002,199 L1004,201 L1200,200 L1202,199.5 L1204,200.5 L1600,200 L1602,199 L1604,201 L2000,200 L2002,199.5 L2004,200.5 L2400,200' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 200% 100%;
    opacity: 0.7;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #c56f2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

.features {
    padding: 2.5rem 2rem;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-timeline {
    width: 80px;
    height: 80px;
    position: relative;
}

.icon-timeline::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

.icon-timeline::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    box-shadow: 25px 0 0 var(--secondary-color), 50px 0 0 var(--primary-color);
}

.icon-neural {
    width: 80px;
    height: 80px;
    position: relative;
}

.icon-neural::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-neural::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        -15px -15px 0 var(--accent-color),
        15px -15px 0 var(--accent-color),
        -15px 15px 0 var(--accent-color),
        15px 15px 0 var(--accent-color);
}

.icon-gauge {
    width: 80px;
    height: 80px;
    position: relative;
}

.icon-gauge::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 30px;
    border: 4px solid var(--primary-color);
    border-bottom: none;
    border-radius: 60px 60px 0 0;
    top: 35px;
    left: 10px;
}

.icon-gauge::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 25px;
    background-color: var(--accent-color);
    top: 40px;
    left: 38px;
    transform-origin: bottom center;
    transform: rotate(45deg);
    border-radius: 2px;
}

.icon-target {
    width: 80px;
    height: 80px;
    position: relative;
}

.icon-target::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    left: 15px;
    box-shadow: inset 0 0 0 4px var(--bg-light), inset 0 0 0 8px var(--secondary-color);
}

.icon-target::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 34px;
    left: 34px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.forecast-teaser {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

.forecast-teaser h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.teaser-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.teaser-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.teaser-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.detail-item {
    font-size: 1rem;
}

.notifications-prompt {
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

.notification-banner {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
}

.notification-banner h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.research-links {
    text-align: center;
    margin-top: 2rem;
}

.live-forecast-demo {
    padding: 4rem 2rem;
    background-color: var(--bg-white);
}

.live-forecast-demo h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.demo-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

#homeMap {
    height: 500px;
    width: 100%;
}

.demo-cta {
    text-align: center;
    margin-top: 2rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.page-note {
    font-size: 1rem;
    opacity: 0.85;
    font-style: italic;
    margin-top: 0.5rem;
}

.research-citation {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    font-size: 0.95rem;
}

.update-time {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.forecast-map-section,
.historical-map-section {
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

.map-container {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .map-container {
        width: 100vw;
        height: 60vh; /* Reduced from 100vh to fit screen better */
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        border-radius: 0;
    }

    /* Stacked table for mobile */
    .data-table thead {
        display: none; /* Hide headers on mobile */
    }

    .data-table, 
    .data-table tbody, 
    .data-table tr, 
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table tr {
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--bg-white);
        padding: 0.5rem;
    }

    .data-table td {
        text-align: right !important;
        padding: 0.5rem 1rem;
        position: relative;
        border-bottom: 1px solid #eee;
    }

    .data-table td:last-child {
        border-bottom: none;
    }

    .data-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
    }
}

#forecastMap,
#trackRecordMap {
    height: 100%;
    width: 100%;
}

.map-legend {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.map-legend h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

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

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.legend-marker.green {
    background-color: #4a9b5f;
}

.legend-marker.orange {
    background-color: #f39c12;
}

.legend-marker.red {
    background-color: #c0392b;
}

.legend-marker.success {
    background-color: #4a9b5f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.legend-marker.false-alarm {
    background-color: #95a5a6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.legend-info p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.prediction-table-section,
.prediction-outcomes {
    padding: 3rem 2rem;
    background-color: var(--bg-light);
}

.prediction-table-section h2,
.prediction-outcomes h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.table-responsive::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.data-table {
    width: 100%;
    background-color: var(--bg-white);
    border-collapse: collapse;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background-color: var(--bg-light);
}

.data-table th.num-header,
.data-table td.num-cell {
    text-align: right;
}

.tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    margin-left: 6px;
    vertical-align: middle;
}

.tooltip-wrap .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    padding: 10px 12px;
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    text-align: left;
    white-space: normal;
}

.tooltip-wrap .tooltip-text::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 12px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #1a1a2e transparent;
}

.tooltip-wrap:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.region-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.region-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.cta-section {
    padding: 2rem;
    text-align: center;
    background-color: var(--bg-white);
}

.performance-overview {
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stat-card h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.methodology-note {
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

.note-box {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: 5px;
}

.note-box h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.method-intro {
    padding: 2rem;
    background-color: var(--bg-white);
}

.intro-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    font-size: 1.1rem;
}

.method-section {
    padding: 2rem;
    background-color: var(--bg-light);
}

.method-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.method-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.method-card ul {
    margin: 1rem 0 1rem 2rem;
}

.method-card li {
    margin-bottom: 0.5rem;
}

.eps-visual {
    margin-top: 2rem;
}

.eps-gauge {
    max-width: 600px;
    margin: 0 auto;
}

.gauge-bar {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin: 1rem 0;
}

.gauge-fill {
    height: 100%;
}

.gauge-fill.low {
    background-color: #4a9b5f;
}

.gauge-fill.moderate {
    background-color: #f39c12;
}

.gauge-fill.high {
    background-color: #c0392b;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

.gauge-label {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
}

.comparison-visual,
.flow-diagram {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.time-comparison {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.time-type h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event {
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 5px;
}

.validation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.validation-stats .stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.validation-stats .stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.validation-note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

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

.investor-intro {
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

.intro-content .lead-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.technology-summary {
    padding: 3rem 2rem;
    background-color: var(--bg-light);
}

.technology-summary h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tech-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.use-cases {
    padding: 3rem 2rem;
    background-color: var(--bg-white);
}

.use-cases h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.use-case-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.use-case-card ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.use-case-card li {
    margin-bottom: 0.5rem;
}

.partnership-benefits {
    padding: 3rem 2rem;
    background-color: var(--bg-light);
}

.partnership-benefits h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-section {
    padding: 4rem 2rem;
    background-color: var(--bg-white);
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.contact-box h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info {
    margin: 2rem 0;
}

.contact-email a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-email a:hover {
    color: var(--secondary-color);
}

.contact-note {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-light);
}

.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

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

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.outcome-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}

.outcome-badge.success {
    background-color: #2e7d32;
    color: white;
}

.outcome-badge.danger {
    background-color: #c62828;
    color: white;
}

.outcome-badge.warning {
    background-color: #ef6c00;
    color: white;
}

.outcome-badge.gray {
    background-color: #757575;
    color: white;
}

.text-success {
    color: #2e7d32;
    font-weight: 600;
}

.text-danger {
    color: #c62828;
    font-weight: 600;
}

.forecast-timestamp-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #333;
    line-height: 1.5;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.map-toggle-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.eps-toggle-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.eps-toggle-btn:hover {
    background-color: var(--secondary-color);
}

.eps-toggle-btn.active {
    background-color: var(--accent-color);
}

.eps-toggle-btn.active:hover {
    background-color: #c94a24;
}

/* Responsive Map Containers */
.map-container,
.eps-map-iframe {
    width: 100vw;
    height: 100vh;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
}

#forecastMap,
#trackRecordMap,
.eps-map-iframe iframe.eps-preloaded {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (min-width: 769px) {
    .map-container,
    .eps-map-iframe {
        width: 100%;
        height: clamp(300px, 50vh, 500px);
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .page-header {
        padding: 2rem 1rem;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .map-toggle-bar {
        margin-bottom: 0.75rem;
    }
    .eps-toggle-btn {
        width: 100%;
        padding: 0.75rem;
    }
    .map-legend {
        padding: 1rem;
        margin-top: 1rem;
    }
    .legend-items {
        gap: 0.75rem;
    }
    .legend-info p {
        font-size: 0.85rem;
    }
    .data-table th, 
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.disclaimer-accepted .disclaimer-modal {
    display: none !important;
}

.disclaimer-accepted #forecastContent,
.disclaimer-accepted #pageContent {
    display: block !important;
}

.disclaimer-content {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.disclaimer-content h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.disclaimer-text {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.disclaimer-text p {
    margin-bottom: 1rem;
}

.disclaimer-text p strong {
    color: var(--primary-color);
}

.disclaimer-text ul {
    margin: 1rem 0 1rem 2rem;
    list-style-type: disc;
}

.disclaimer-text ul li {
    margin-bottom: 0.5rem;
}

.disclaimer-content .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Blog Styles */
.blog-section {
    padding: 3rem 0;
}

.featured-posts-section {
    margin-bottom: 2.5rem;
}

.featured-card {
    position: relative;
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.featured-card:hover {
    border-color: #d97706;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.2);
}

.featured-ribbon {
    position: absolute;
    top: 0;
    right: 16px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 10px 4px;
    border-radius: 0 0 4px 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.blog-date {
    color: var(--text-light);
}

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

.tag {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
}

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

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-author {
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    color: var(--secondary-color);
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Single Blog Post Styles */
.blog-post-page {
    background-color: var(--bg-white);
}

.blog-post-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
}

.blog-post-header .container {
    max-width: 800px;
}

.back-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: white;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

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

.post-tags .tag {
    background-color: rgba(255,255,255,0.2);
}

.blog-post-content {
    padding: 3rem 2rem;
}

.blog-post-content .container {
    max-width: 800px;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.post-body li {
    margin-bottom: 0.75rem;
}

.post-body h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.post-body h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.blog-post-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 0.5rem 0;
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        display: block;
        border-bottom: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--bg-light);
        border-bottom: none;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo img {
        height: 28px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .page-header h1,
    .section-title,
    h1 {
        font-size: 1.5rem;
    }

    .page-header .page-subtitle {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .blog-grid {
        gap: 1rem;
    }

    .blog-post-header h1 {
        font-size: 1.4rem;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .disclaimer-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .disclaimer-content h2 {
        font-size: 1.3rem;
    }

    .disclaimer-text {
        font-size: 0.9rem;
    }

    .investor-intro {
        padding: 2rem 1rem;
    }

    .tech-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .tech-card {
        padding: 1.5rem;
    }

    .use-cases {
        padding: 2rem 1rem;
    }

    .use-cases h2 {
        font-size: 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .use-case-card {
        padding: 1.5rem;
    }

    .use-case-icon {
        font-size: 2.2rem;
    }

    .partnership-benefits {
        padding: 2rem 1rem;
    }

    .benefit-item {
        padding: 1.2rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-box {
        padding: 1.5rem;
    }

    .contact-box h2 {
        font-size: 1.4rem;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.4rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .teaser-details {
        flex-direction: column;
        gap: 0.5rem;
    }

    .flow-arrow {
        display: none;
    }

    .time-comparison {
        gap: 1rem;
    }

    .map-container,
    #forecastMap {
        height: 250px;
    }

    .forecast-map-section .container,
    .map-container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .outcome-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 6px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .page-header h1,
    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.65rem 1.2rem;
    }

    .investor-intro {
        padding: 1.5rem 0.5rem;
    }

    .lead-text {
        font-size: 0.9rem;
    }

    .tech-card {
        padding: 1rem;
    }

    .tech-card h3 {
        font-size: 1rem;
    }

    .use-cases {
        padding: 1.5rem 0.5rem;
    }

    .use-cases h2 {
        font-size: 1.2rem;
    }

    .use-case-card {
        padding: 1rem;
    }

    .use-case-card h3 {
        font-size: 1rem;
    }

    .use-case-icon {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .use-case-card ul {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .partnership-benefits {
        padding: 1.5rem 0.5rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .benefit-item h4 {
        font-size: 0.95rem;
    }

    .contact-section {
        padding: 1.5rem 0.5rem;
    }

    .contact-box {
        padding: 1rem;
    }

    .contact-box h2 {
        font-size: 1.15rem;
    }

    .contact-box p,
    .contact-note {
        font-size: 0.9rem;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.4rem 0.3rem;
    }

    .map-container,
    #forecastMap {
        height: 200px;
    }

    .forecast-map-section .container,
    .map-container {
        padding-left: 2px;
        padding-right: 2px;
    }

    .disclaimer-content {
        padding: 1rem;
        margin: 0 0.25rem;
    }

    .disclaimer-content h2 {
        font-size: 1.1rem;
    }

    .disclaimer-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

}

/* Event Details Page */
.event-details-section {
    padding: 3rem 2rem;
    background-color: var(--bg-light);
}

.event-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.event-narrative {
    display: flex;
    flex-direction: column;
}

.narrative-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
}

.narrative-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.event-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.prediction-status {
    margin-top: auto;
}

.prediction-success,
.prediction-missed {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
}

.prediction-success {
    background-color: #e8f5e9;
    border-left: 4px solid #4a9b5f;
}

.prediction-missed {
    background-color: #f5f5f5;
    border-left: 4px solid #757575;
}

.status-icon {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.prediction-success .status-icon {
    background-color: #4a9b5f;
    color: white;
}

.prediction-missed .status-icon {
    background-color: #757575;
    color: white;
}

.status-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.prediction-success .status-content h3 {
    color: #2e7d32;
}

.prediction-missed .status-content h3 {
    color: #616161;
}

.status-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.event-map-container {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-map-container h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#eventMap {
    height: 350px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.map-coordinates {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.event-data-table {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.event-data-table h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.event-data-table .data-table {
    max-width: 800px;
}

.event-data-table .data-table th {
    width: 200px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
}

.event-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

@media (max-width: 900px) {
    .event-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .event-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .event-actions .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
