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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1d4ed8;
    --accent-color: #f59e0b;
    --contrast-color: #dc2626;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-accent: #fef3c7;
    --border-color: #e2e8f0;
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #1e1b4b 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-contrast: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px 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);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.5rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.nav-cta {
    background: var(--gradient-accent) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.alt-bg {
    background: linear-gradient(135deg, var(--background-alt) 0%, #f1f5f9 100%);
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Introduction Section */
.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.7;
}

.intro-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.application-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.application-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.application-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.application-item h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.application-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.intro-conclusion {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(245, 158, 11, 0.08));
    border-radius: 1rem;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.intro-conclusion em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 600;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.summary-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.summary-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Hardware Grid */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.hardware-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.hardware-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--warning) 100%);
    opacity: 0.1;
    border-radius: 0 1rem 0 100%;
}

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

.hardware-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hardware-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hardware-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hardware-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.companies h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.highlights h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlights ul {
    list-style: none;
}

.highlights li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.highlights li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Scorecard Table */
.scorecard-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

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

.scorecard-table th {
    background: var(--gradient-accent);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.scorecard-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modality-name {
    font-weight: 600;
    color: var(--text-primary);
}

.score-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    background: #f3f4f6;
    border-radius: 0.25rem;
    height: 1.5rem;
    overflow: hidden;
    min-width: 80px;
}

.score-fill {
    background: var(--gradient-accent);
    height: 100%;
    border-radius: 0.25rem;
    transition: width 0.6s ease;
}

.score-bar span {
    position: absolute;
    right: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 1;
}

.overall-score {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
    text-align: center;
}

.table-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
}

/* Company Analysis */
.company-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.company-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.company-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.company-card.public {
    border-left: 4px solid var(--success);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.company-card.private {
    border-left: 4px solid var(--warning);
    background: linear-gradient(135deg, #ffffff 0%, var(--background-accent) 100%);
}

.company-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.company-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ticker {
    background: var(--gradient-contrast);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modality {
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.company-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.company-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.metric-label {
    font-weight: 600;
    color: var(--text-primary);
}

/* Investment Section */
.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.investment-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--accent-color);
    position: relative;
}

.investment-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 0 0 1rem 1rem;
    opacity: 0.7;
}

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

.investment-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.investment-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.investment-card ul {
    list-style: none;
    margin-top: 1rem;
}

.investment-card li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    color: var(--text-secondary);
}

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

.funding-highlights {
    background: linear-gradient(135deg, #ffffff 0%, var(--background-accent) 100%);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-color);
    position: relative;
}

.funding-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 1rem 1rem 0 0;
}

.funding-highlights h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.funding-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.funding-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 0.5rem;
}

.funding-company {
    font-weight: 600;
    color: var(--text-primary);
}

.funding-amount {
    font-weight: 600;
    color: var(--success);
}

.funding-date {
    color: var(--text-secondary);
}

.funding-valuation {
    color: var(--primary-color);
    font-weight: 500;
}

/* Download Section */
.download-section {
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--accent-color);
    position: relative;
}

.download-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.1;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1.5rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hardware-grid,
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .scorecard-table {
        overflow-x: auto;
    }
    
    .funding-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .investment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
    
    .nav-cta {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

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

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}