/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #0284c7;
    --accent-color: #0891b2;
    --text-dark: #0f172a;
    --text-light: #475569;
    --bg-light: #d8e8ff;
    --bg-white: #f2f7ff;
    --bg-tint: #e6f0ff;
    --bg-dark: #0f172a;
    --border-color: #b9cfe8;
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 16px -4px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 16px 24px -6px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 24px 32px -8px rgba(0, 0, 0, 0.25);
    /* Pitch deck PNG slides — shared border, radius, stack gap */
    --deck-slide-radius: 12px;
    --deck-slide-gap: 1.75rem;
    --deck-slide-border: 1px solid rgba(30, 64, 175, 0.12);
    --deck-slide-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-tint);
}

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

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

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-wordmark {
    height: 36px;
    width: auto;
    max-width: min(48vw, 200px);
    object-fit: contain;
    object-position: left center;
    display: block;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    gap: 3rem;
    background: var(--bg-white);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.2));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 550px;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px -6px rgba(30, 64, 175, 0.4);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(30, 64, 175, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-left: 2rem;
    z-index: 2;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 60px -12px rgba(30, 64, 175, 0.4),
                0 0 0 1px rgba(30, 64, 175, 0.2);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15) 0%, rgba(2, 132, 199, 0.1) 50%, rgba(30, 64, 175, 0.15) 100%);
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
    border: 3px solid rgba(30, 64, 175, 0.3);
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(2, 132, 199, 0.2));
    border-radius: 24px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Neovi Introduction Section */
.neovi-intro {
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-top: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.neovi-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.neovi-intro-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    flex-shrink: 0;
}

.neovi-logo-large {
    width: 160px;
    height: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.neovi-intro-wordmark {
    max-width: min(100%, 400px);
    width: auto;
    height: auto;
    max-height: 100px;
    display: block;
    object-fit: contain;
}

.neovi-intro-text {
    flex: 1;
    min-width: 300px;
}

.neovi-intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 400;
}

.neovi-intro-description strong {
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(30, 64, 175, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.prototype-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-tint) 50%, var(--bg-light) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

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

.about-text p {
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-stats {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 32px -8px rgba(30, 64, 175, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 350px;
    max-width: 550px;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px -10px rgba(30, 64, 175, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.stat-detail {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Product Section */
.product-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.placeholder-content {
    text-align: center;
    color: var(--text-light);
}

.placeholder-content svg {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.placeholder-content p {
    font-size: 0.9rem;
}

.product-details h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.product-details > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.feature-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(30, 64, 175, 0.15);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Video Section */
.video-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-tint) 50%, var(--bg-light) 100%);
    position: relative;
    padding: 6rem 0;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

/* Prototypes Section */
.prototypes {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
}

.prototypes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.gallery-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border-bottom: 1px solid var(--border-color);
}

.gallery-placeholder svg {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.gallery-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.gallery-caption {
    padding: 1.5rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
}

/* Team Section — portrait photos match 2:3 source frames (e.g. 3720×5580) */
.team {
    background: linear-gradient(135deg, var(--bg-tint) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 1101px) {
    #team .container {
        max-width: 1440px;
    }

    .team-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem 1.25rem;
    }

    .team-member {
        padding: 1.5rem 0.85rem;
    }

    #team .team-member .member-name {
        font-size: 1.25rem;
    }

    #team .team-member .member-bio {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

.team-member {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #d6deea;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.member-photo {
    margin-bottom: 1.75rem;
    width: 100%;
    max-width: min(100%, 280px);
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.member-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: linear-gradient(180deg, transparent 50%, rgba(30, 64, 175, 0.12) 100%);
}

.team-member:hover .member-photo::after {
    opacity: 1;
}

.member-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 32%;
    transform-origin: center 32%;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.team-member:hover .member-img {
    transform: scale(1.05);
    box-shadow: 0 12px 32px -12px rgba(30, 64, 175, 0.35);
}

.member-photo-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.member-link-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
    color: #ffffff;
    background: rgba(2, 132, 199, 0.92);
    box-shadow: 0 10px 18px -10px rgba(15, 23, 42, 0.6);
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.member-photo-link:hover .member-link-badge,
.member-photo-link:focus-visible .member-link-badge {
    opacity: 1;
    transform: translateY(0);
}

.member-photo-link:focus-visible {
    outline: 3px solid #1e40af;
    outline-offset: 3px;
}

.photo-placeholder {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-color);
}

.photo-placeholder svg {
    color: var(--primary-color);
}

.member-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.member-role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.member-bio {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

/* Mentors Section */
.mentors {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-tint) 50%, var(--bg-light) 100%);
    position: relative;
}

.mentors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mentor-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 2px solid #d6deea;
    position: relative;
    overflow: hidden;
}

.mentor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mentor-card:hover::before {
    transform: scaleX(1);
}

.mentor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.mentor-photo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.mentor-photo::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mentor-card:hover .mentor-photo::after {
    opacity: 0.1;
}

.mentor-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 28%;
    transform-origin: center 28%;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.mentor-img.mentor-img--lower {
    object-position: center 18%;
    transform-origin: center 18%;
}

.mentor-img.mentor-img--lower-khine {
    object-position: center 1%;
    transform-origin: center 1%;
}

.mentor-card:hover .mentor-img {
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -10px rgba(30, 64, 175, 0.4);
}

.mentor-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.mentor-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.mentor-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--primary-color);
}

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

.footer-brand-lockup {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.footer-logo-icon {
    height: 36px;
    width: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-wordmark {
    height: 28px;
    width: auto;
    max-width: min(100%, 220px);
    object-fit: contain;
    object-position: left center;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .neovi-intro {
        padding: 4rem 1rem 3rem;
        margin-top: 70px;
    }

    .neovi-intro-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .neovi-intro-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .neovi-logo-large {
        width: 130px;
        height: 130px;
    }

    .neovi-intro-wordmark {
        max-width: min(100%, 320px);
        max-height: 88px;
    }

    .neovi-intro-description {
        font-size: 1.1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 4rem;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-visual {
        margin-top: 2rem;
        padding-left: 0;
    }

    .hero-image {
        max-width: 100%;
        max-height: 500px;
        padding: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-card {
        max-width: 100%;
    }

    .product-content {
        grid-template-columns: 1fr;
    }

    .video-container {
        margin: 0 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mentors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 32px;
        width: 32px;
    }

    .logo-wordmark {
        height: 26px;
        max-width: min(46vw, 152px);
    }

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

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

    .hero-image {
        max-width: 100%;
        max-height: 400px;
        padding: 0.75rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .mentors-grid {
        grid-template-columns: 1fr;
    }

    .home-logo-mark {
        width: 140px;
        height: 140px;
    }

    .home-logo-wordmark {
        max-width: min(100%, 300px);
        max-height: 72px;
    }

    .home-landing-tagline {
        font-size: 1rem;
    }
}

/* ——— Multi-page layout, home landing, pitch, competitors, market ——— */
.nav-container {
    max-width: 1280px;
}

.nav-menu {
    gap: 1.15rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.page-main {
    padding-top: 80px;
}

.page-hero-sub {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(135deg, var(--bg-tint) 0%, #dce9fb 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.page-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 720px;
}

/* Home landing */
.home-landing {
    min-height: auto;
    padding: calc(5.5rem + 40px) 2rem 3rem;
    background: linear-gradient(180deg, #fbfdff 0%, var(--bg-tint) 100%);
    border-bottom: 1px solid rgba(30, 64, 175, 0.08);
}

.home-landing-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.home-landing-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.home-logo-mark {
    width: min(52vw, 220px);
    height: min(52vw, 220px);
    object-fit: contain;
}

.home-logo-wordmark {
    width: auto;
    max-width: min(92vw, 560px);
    max-height: 120px;
    height: auto;
    object-fit: contain;
}

.home-landing-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-light);
    font-weight: 600;
    max-width: 640px;
    line-height: 1.55;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

/* Pitch embed */
.pitch-section {
    background: var(--bg-white);
}

.pitch-embed-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--shadow-lg);
}

.pitch-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pitch-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 2px dashed rgba(148, 163, 184, 0.5);
    margin: 1rem;
    border-radius: 12px;
}

.pitch-placeholder code {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Introduction block on home */
.introduction-section {
    background: linear-gradient(135deg, #e8f1fc 0%, var(--bg-white) 100%);
}

.introduction-block--lead {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(30, 64, 175, 0.11);
}

.introduction-block--visual {
    margin: 0 auto;
    max-width: 100%;
    padding: 1.5rem 1rem 0.25rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(225, 236, 255, 0.45) 100%);
    border: 1px solid rgba(30, 64, 175, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.introduction-lead {
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.introduction-lead strong {
    color: var(--primary-color);
}

.approach-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Needs statement */
.needs-statement {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-tint) 100%);
}

.needs-statement-text p {
    font-size: 1.05rem;
    line-height: 1.85;
}

/* Competitors table */
.competitors-section {
    padding: 3.5rem 0 6rem;
    background: var(--bg-white);
}

.competitors-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.7;
    padding: 0 0.25rem;
}

.table-scroll {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border-color);
}

.competitor-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.competitor-table th,
.competitor-table td {
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
}

.competitor-table thead th {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    padding: 1rem 1.1rem;
}

.competitor-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.competitor-table tbody td {
    color: var(--text-dark);
    padding: 1rem 1.1rem;
    line-height: 1.45;
}

/* Market strategy + TAM SAM SOM */
.market-strategy-section {
    padding: 3.5rem 0 2.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.market-strategy-section .section-title {
    margin-bottom: 1.25rem;
}

.market-strategy-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 1.25rem;
}

.market-strategy-list {
    max-width: 800px;
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-dark);
    line-height: 1.85;
}

.market-strategy-list li {
    margin-bottom: 0.65rem;
}

.tam-sam-som-section {
    padding: 3.5rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-tint) 100%);
}

.tam-sam-som-section .section-title {
    margin-bottom: 0.75rem;
}

.tam-sam-som-figure {
    margin: 2rem auto 0;
    max-width: 720px;
}

.tam-sam-som-svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.tam-sam-som-caption {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    text-align: center;
}

/* About page prototype strip */
.about-prototype-strip {
    padding-top: 3rem;
}

.about-prototype-visual {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.about-prototype-img {
    max-width: 100%;
    width: min(100%, 720px);
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(30, 64, 175, 0.2);
}

/* In-page anchors (fixed nav) */
#introduction,
#needs,
#solution,
#pitch,
#approach,
#how-it-works,
#team,
#mentors {
    scroll-margin-top: 96px;
}

/* Home page: alternating subsection backgrounds (no divider lines) */
.page-home main > section:nth-of-type(2),
.page-home main > section:nth-of-type(4),
.page-home main > section:nth-of-type(6),
.page-home main > section:nth-of-type(8) {
    background: var(--bg-white);
}

.page-home main > section:nth-of-type(3),
.page-home main > section:nth-of-type(5),
.page-home main > section:nth-of-type(7),
.page-home main > section:nth-of-type(9) {
    background: linear-gradient(178deg, #d2e3f8 0%, var(--bg-tint) 55%, var(--bg-white) 100%);
}

/* Defer layout/paint work for long below-the-fold sections */
#team,
#mentors {
    content-visibility: auto;
    contain-intrinsic-size: auto 1400px;
}

/* Competitors / Market page hero */
.page-hero-sub--accent {
    text-align: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    padding: 4.25rem 0 3.25rem;
}

.page-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.page-competitors .page-hero-title,
.page-market .page-hero-title {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
}

.page-competitors .page-hero-subtitle,
.page-market .page-hero-subtitle {
    margin-top: 0.75rem;
    line-height: 1.65;
}

/* Subtle hairline between stacked main sections (inner pages) */
body.page-competitors main > section + section,
body.page-market main > section + section {
    border-top: 1px solid rgba(30, 64, 175, 0.08);
}

.container--narrow {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Pitch deck slides — shared across home, competitors, market */
.deck-slides-section {
    padding: 2.5rem 0 3.5rem;
}

.deck-slides-section:first-of-type {
    padding-top: 0;
}

/* Pitch deck slides — one full-width row per slide within .container max-width */
.deck-slide-stack {
    display: flex;
    flex-direction: column;
    gap: var(--deck-slide-gap);
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.deck-slide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--deck-slide-gap);
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* All pitch deck PNGs: same card chrome site-wide (home, competitors, market) */
.deck-figure {
    margin: 0;
    border-radius: var(--deck-slide-radius);
    overflow: hidden;
    box-shadow: var(--deck-slide-shadow);
    border: var(--deck-slide-border);
    background: var(--bg-white);
}

.deck-slide-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.competitors-deck-section {
    padding: 2rem 0 2.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.introduction-block--visual .deck-slide-stack {
    margin-top: 0;
}

.needs-statement .deck-slide-stack {
    margin-top: 2.5rem;
}

.solution-section {
    padding: 5rem 0;
}

.solution-section .section-subtitle {
    margin-bottom: 2rem;
}

.product .deck-slide-stack {
    margin-top: 2rem;
    margin-bottom: 0;
}

.pitch-embed-wrap .pitch-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a1628;
}

.market-deck-section {
    padding: 2rem 0 2.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}
