/* Novitrac Investor Deck - Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--gradient);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-light {
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Content Boxes */
.content-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.content-box.highlight {
    background: var(--gradient);
    color: white;
}

.content-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: inherit;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Lists */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.content-box.highlight .check-list li::before {
    color: white;
}

/* Columns */
.two-column,
.three-column {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.two-column {
    grid-template-columns: repeat(2, 1fr);
}

.three-column {
    grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.traction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.traction-item {
    text-align: center;
}

.traction-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.segment-card,
.feature-card,
.economics-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.segment-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.segment-card h4,
.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.economics-card {
    text-align: center;
}

.big-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Market Size */
.market-size {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.market-item {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.market-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.market-arrow {
    font-size: 2rem;
    color: white;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    padding: 0.4rem 0;
    color: var(--text-light);
}

/* Revenue Streams */
.revenue-streams {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.revenue-item {
    text-align: center;
}

.revenue-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Table */
.projection-table {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

thead {
    background: var(--gradient);
    color: white;
}

th, td {
    padding: 1.2rem;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--bg-light);
}

.highlight-row {
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.team-photo-placeholder {
    width: 150px;
    height: 150px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.team-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Investment Section */
.investment-ask {
    text-align: center;
    padding: 3rem;
}

.investment-ask h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.funds-breakdown {
    margin-top: 3rem;
}

.fund-item {
    margin-bottom: 2rem;
}

.fund-bar {
    background: var(--gradient);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.fund-details h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.fund-details ul {
    list-style: none;
    color: var(--text-light);
}

.fund-details li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.fund-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.milestone-list,
.assumption-list,
.trend-list {
    list-style: none;
}

.milestone-list li,
.assumption-list li,
.trend-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.milestone-list li:last-child,
.assumption-list li:last-child,
.trend-list li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.tagline {
    font-style: italic;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Documentation Styles */
.doc-section {
    margin-bottom: 3rem;
}

.doc-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.doc-section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.doc-section h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.8rem;
}

.code-block {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.info-box {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.warning-box {
    background: #fffaf0;
    border-left: 4px solid #ed8936;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.success-box {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats,
    .two-column,
    .three-column,
    .traction-grid,
    .feature-grid,
    .tech-stack,
    .revenue-streams,
    .team-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .market-size {
        flex-direction: column;
    }

    .market-arrow {
        transform: rotate(90deg);
    }

    .stat h3 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .investment-ask h3 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
    }
}
