: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);
}

.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 {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#forecastMap,
#trackRecordMap {
    height: 500px;
    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;
}

.data-table {
    width: 100%;
    background-color: var(--bg-white);
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    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);
}

.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: #d4edda;
    color: #155724;
}

.outcome-badge.false-alarm {
    background-color: #e2e3e5;
    color: #383d41;
}

.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-content {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 600px;
    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;
}

@media (max-width: 768px) {
    .disclaimer-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .disclaimer-content h2 {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .teaser-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .flow-arrow {
        display: none;
    }
    
    .time-comparison {
        gap: 1rem;
    }
}
