/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #13294B;
    --navy-light: #1a3a6b;
    --orange: #ff6900;
    --orange-dark: #e55d00;
    --orange-light: #ff8533;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --text: #1a1a2e;
    --text-muted: #5a6577;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(19, 41, 75, 0.06);
    --shadow-md: 0 4px 16px rgba(19, 41, 75, 0.08);
    --shadow-lg: 0 12px 40px rgba(19, 41, 75, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header & Navigation === */
header {
    background: var(--bg);
    color: var(--navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
    background: var(--bg-alt);
}

/* === Breadcrumb === */
.breadcrumb {
    background: var(--bg-alt);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--navy);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--orange);
}

/* === Hero Section === */
.hero {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 105, 0, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(255, 105, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* === Project Hero (detail pages) === */
.project-hero {
    background: var(--navy);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 105, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.project-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: center;
    max-width: 720px;
    width: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    color: var(--orange);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* === Buttons === */
.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

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

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

/* === Value Propositions === */
.value-props {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.value-props h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.prop-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.prop-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.prop-card h3 {
    margin-bottom: 0.75rem;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.15rem;
}

.prop-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === Projects Showcase (homepage) === */
.projects-showcase {
    padding: 5rem 0;
    background: var(--bg);
}

.projects-showcase .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-showcase .section-header h2 {
    font-size: 2.25rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.projects-showcase .section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

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

.project-card-header {
    padding: 2rem 1.75rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.project-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.project-card-icon.orange {
    background: rgba(255, 105, 0, 0.1);
}

.project-card-icon.navy {
    background: rgba(19, 41, 75, 0.08);
}

.project-card-icon.teal {
    background: rgba(6, 182, 212, 0.1);
}

.project-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.project-card-header .project-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--orange);
}

.project-card-body {
    padding: 0 1.75rem;
    flex: 1;
}

.project-card-body p {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
}

.project-card-stats {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 1.75rem;
    margin-top: 0.5rem;
}

.project-card-stats .stat {
    font-size: 0.825rem;
    color: var(--text-muted);
}

.project-card-stats .stat strong {
    color: var(--navy);
    font-weight: 700;
}

.project-card-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
}

.project-card-footer .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.project-card-footer .btn-sm-primary {
    background: var(--orange);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.project-card-footer .btn-sm-primary:hover {
    background: var(--orange-dark);
}

.project-card-footer .btn-sm-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.project-card-footer .btn-sm-outline:hover {
    border-color: var(--navy);
    background: var(--bg-alt);
}

/* Tech tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
}

.tech-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--bg-alt);
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* === VentureBots Showcase (homepage) === */
.venturebot-showcase {
    padding: 5rem 0;
    background: white;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.showcase-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* === Journey Timeline === */
.journey-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0;
    position: relative;
    overflow-x: auto;
    padding: 20px 0;
}

.journey-step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 140px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(255, 105, 0, 0.25);
}

.step-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--navy);
}

.step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.journey-arrow {
    font-size: 1.25rem;
    color: var(--border);
    margin: 0 6px;
    font-weight: 300;
}

/* === Journey Deep Dive (detail pages) === */
.journey-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.journey-steps {
    display: grid;
    gap: 1.5rem;
}

.step-detail {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--orange);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content p {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.agent-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-top: 0.75rem;
}

.agent-name {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.outputs-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.outputs-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.outputs-list li::before {
    content: "\2713 ";
    color: #22c55e;
    font-weight: bold;
}

/* === News Section === */
.news-section {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.news-header h2 {
    font-size: 2.25rem;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.news-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    margin-bottom: 0.75rem;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
}

.news-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.925rem;
    line-height: 1.6;
}

.read-more {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* === Technical Architecture === */
.tech-section {
    padding: 5rem 0;
    background: var(--bg-alt);
}

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

.tech-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tech-card h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tech-list li::before {
    content: "\2022 ";
    color: var(--orange);
    font-weight: bold;
}

/* === Content Sections === */
.content-section {
    padding: 5rem 0;
    background: white;
}

.content-section:nth-child(even) {
    background: var(--bg-alt);
}

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

.content-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.content-card h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.content-card p {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
}

/* === Contributors Section === */
.contributors-section {
    padding: 5rem 0;
    background: white;
}

.team-phase { margin-bottom: 3rem; }
.phase-header { margin-bottom: 1.5rem; }
.phase-title { font-size: 1.6rem; color: var(--navy); font-weight: 700; margin-bottom: 0.35rem; }
.phase-description { color: var(--text-muted); font-style: italic; }

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

.contributor-card {
    background: var(--bg-alt);
    padding: 1.75rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--orange);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contributor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contributor-name { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.contributor-role { color: var(--orange); font-weight: 600; margin-bottom: 0.75rem; font-size: 0.9rem; }
.contributor-description { color: var(--text-muted); line-height: 1.6; font-size: 0.925rem; }

/* === Demo / CTA Section === */
.demo-section {
    padding: 5rem 0;
    background: var(--navy);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 105, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.demo-section .container {
    position: relative;
    z-index: 1;
}

.demo-content {
    max-width: 640px;
    margin: 0 auto;
}

.demo-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.demo-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* === Featured Project (projects page) === */
.featured-project { margin-bottom: 0; }

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.status-badge.development { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.status-badge.planning { background: rgba(234, 179, 8, 0.1); color: #ca8a04; }
.status-badge.pilot { background: rgba(168, 85, 247, 0.1); color: #9333ea; }

/* === Footer === */
footer {
    background: var(--navy);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero { padding: 3.5rem 0; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.05rem; }

    .hero-text h1 { font-size: 2.25rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .stat-number { font-size: 1.5rem; }

    .nav-links { gap: 0.25rem; }

    .props-grid,
    .project-cards {
        grid-template-columns: 1fr;
    }

    .journey-timeline {
        flex-direction: column;
        gap: 0.75rem;
    }

    .journey-arrow { transform: rotate(90deg); }

    .step-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2,
    .value-props h2,
    .showcase-header h2,
    .news-header h2 {
        font-size: 1.75rem;
    }

    .news-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}
