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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 250px;
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    transform: translateX(-250px);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.navbar.active {
    transform: translateX(0);
}

.nav-toggle {
    position: fixed;
    left: 10px;
    top: 20px;
    background: #cc3300;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    font-size: 20px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: #ff4400;
}

.nav-links {
    list-style: none;
    padding: 80px 20px 20px;
}

.nav-links li {
    margin: 20px 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: #cc3300;
    transform: translateX(5px);
}

.nav-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Top Right Corner */
.top-right {
    position: fixed;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #cc3300;
}

.header-logo {
    width: 40px;
    height: 40px;
}

/* Start Section */
.start-section {
    min-height: 60vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
}

.main-title {
    font-size: 48px;
    color: #cc3300;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.prompt-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.prompt-input {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.prompt-input:focus {
    border-color: #cc3300;
    box-shadow: 0 0 0 3px rgba(204, 51, 0, 0.1);
}

.prompt-input::placeholder {
    color: #999;
}

/* Scroll Animation - handled in ammend_4 additions below */

/* Progress Section */
.progress-section {
    background: white;
    padding: 60px 20px;
}

.progress-header {
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: left;
    padding-left: 40px;
}

.progress-title {
    font-size: 36px;
    color: #cc3300;
    margin-bottom: 20px;
    font-weight: 700;
}

.progress-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
}

.progress-container-new {
    max-width: 1400px;
    margin: 0 auto;
}

.news-products-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.news-section-new,
.products-section-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-heading {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card-blank {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0 20px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-card-blank:hover {
    border-color: #cc3300;
    background: #fff;
}

.product-card {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 0 20px;
    height: 90px;
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #cc3300;
    box-shadow: 0 4px 12px rgba(204, 51, 0, 0.1);
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.learn-more-link {
    text-align: center;
    margin-top: 20px;
}

.learn-more-link a {
    color: #cc3300;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.learn-more-link a:hover {
    color: #ff4400;
}

/* Footer Section */
.footer-section {
    background: #000;
    color: white;
    padding: 60px 20px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #cc3300;
}

.footer-copyright {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #cc3300;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
}

.social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.social-icon:hover {
    background: #ff4400;
    transform: translateY(-3px);
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    color: #cc3300;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
}

.footer-column a:hover {
    color: #cc3300;
    padding-left: 5px;
}

.footer-column a.active {
    color: white;
}

/* Content Pages */
.content-page {
    min-height: 100vh;
    background: white;
    padding: 120px 20px 60px;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 42px;
    color: #cc3300;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
}

/* Blank Pages */
.blank-page-content {
    min-height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
}

.blank-content {
    text-align: center;
    color: #666;
}

.blank-content h1 {
    font-size: 36px;
    color: #cc3300;
    margin-bottom: 20px;
}

.blank-content p {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .news-products-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }

    .progress-title {
        font-size: 28px;
    }

    .logo-text {
        font-size: 18px;
    }

    .header-logo {
        width: 30px;
        height: 30px;
    }

    .progress-header {
        padding-left: 0;
        text-align: center;
    }
}
/* ===== AMMEND_4 ADDITIONS ===== */

/* Blur Overlay for sidebar */
#blur-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 999;
    transition: backdrop-filter 0.4s ease, background 0.4s ease;
    pointer-events: none;
}
#blur-overlay.active {
    display: block;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.2);
    pointer-events: none;
}

/* Top-right clickable */
.top-right {
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.top-right:hover {
    opacity: 0.8;
}

/* Prompt container send animation */
.prompt-container.sending {
    animation: promptSend 0.5s ease forwards;
}
@keyframes promptSend {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.8; }
    100% { transform: scale(0.98); opacity: 0.5; }
}

/* Model Select inside prompt bar */
.prompt-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.prompt-wrapper:focus-within {
    border-color: #cc3300;
    box-shadow: 0 0 0 3px rgba(204, 51, 0, 0.1);
}
.prompt-wrapper .prompt-input {
    border: none;
    border-radius: 0;
    flex: 1;
    box-shadow: none;
    outline: none;
}
.prompt-wrapper .prompt-input:focus {
    border-color: transparent;
    box-shadow: none;
}
.model-select {
    background: transparent;
    border: none;
    border-left: 1px solid #e0e0e0;
    color: #666;
    font-size: 13px;
    padding: 0 15px;
    height: 100%;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    min-width: 140px;
    font-family: inherit;
}
.model-select:focus {
    outline: none;
}
.prompt-send-btn {
    background: #cc3300;
    border: none;
    color: white;
    width: 46px;
    height: 46px;
    margin: 4px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.prompt-send-btn:hover {
    background: #ff4400;
    transform: scale(1.08);
}

/* Scroll animation — seamless, no gap */
.scroll-animation {
    background: #f5f5f5;
    padding: 30px 0;
    overflow: hidden;
    width: 100%;
}
.scroll-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scroll-loop 30s linear infinite;
}
.scroll-text {
    display: flex;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 600;
    color: #cc3300;
    flex-shrink: 0;
    padding-right: 80px;
}
@keyframes scroll-loop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== TEAM PAGE ===== */
.team-page {
    min-height: 100vh;
    background: #fff;
    padding: 100px 40px 80px;
}

.team-page-title {
    font-size: 48px;
    font-weight: 800;
    color: #cc3300;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.team-section {
    max-width: 1100px;
    margin: 0 auto 70px;
    text-align: center;
}

.team-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    text-align: left;
}

.team-section-subtitle {
    font-size: 15px;
    color: #888;
    margin-bottom: 36px;
    text-align: left;
}

.team-cards-row {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

/* Single founder / advisor: center the lone card */
.team-cards-row.single {
    justify-content: center;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 200px;
}
.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.team-card:hover .team-card-img-wrap {
    transform: translateY(-6px);
}

.team-card-img-wrap {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 18px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* shadow on the container itself — always a clean circle */
    box-shadow:
        0 8px 28px rgba(204, 51, 0, 0.30),
        0 2px 10px rgba(0, 0, 0, 0.18);
    /* white ring */
    outline: 3px solid #fff;
    outline-offset: 0;
    overflow: hidden; /* clips the image into circle */
}

.team-card-img-wrap img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    background: #d8d8d8;
    /* no extra shadow here — the wrap handles it */
}

/* SVG silhouette shown when image is missing */
.team-card-silhouette {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(160deg, #e2e2e2 0%, #b8b8b8 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
/* head */
.team-card-silhouette::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    background: #c0c0c0;
    border-radius: 50%;
    z-index: 1;
}
/* body */
.team-card-silhouette::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 100px;
    background: #c0c0c0;
    border-radius: 50% 50% 0 0;
}

.team-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.team-card-role {
    font-size: 13px;
    color: #888;
    max-width: 180px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .team-page-title { font-size: 32px; }
    .team-section-title { font-size: 22px; }
    .team-cards-row { justify-content: center; }
}

/* ===== TEAM MEMBER PROFILE PAGES ===== */
.member-page {
    min-height: 100vh;
    background: #f4f4f4;
    padding: 80px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Constrained inner wrapper so back btn + card stay aligned */
.member-page-inner {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
}

.member-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cc3300;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding: 8px 16px 8px 12px;
    border: 1.5px solid rgba(204,51,0,0.3);
    border-radius: 24px;
    background: #fff;
    transition: background 0.2s, border-color 0.2s, gap 0.2s;
    width: fit-content;
}
.member-back:hover {
    background: rgba(204,51,0,0.06);
    border-color: #cc3300;
    gap: 10px;
}

/* The white card */
.member-profile {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
    border-radius: 20px;
    padding: 52px 56px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.09);
    width: 100%;
}

/* LEFT: photo */
.member-photo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo-wrap img {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #d8d8d8;
    border: 4px solid #fff;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.06),
        0 8px 32px rgba(204,51,0,0.26),
        0 2px 10px rgba(0,0,0,0.12);
}

/* RIGHT: text info */
.member-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-role-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #cc3300;
    background: rgba(204,51,0,0.08);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.member-name {
    font-size: 36px;
    font-weight: 800;
    color: #0f0f0f;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.member-title {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 400;
}

.member-divider {
    width: 36px;
    height: 3px;
    background: #cc3300;
    border-radius: 2px;
    margin-bottom: 18px;
}

.member-bio {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 28px;
    max-width: 420px;
}

/* Social buttons — exactly matches footer .social-icon */
.member-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.member-social-icon {
    width: 40px;
    height: 40px;
    background: #cc3300;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
    padding: 8px;
    flex-shrink: 0;
}
.member-social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    display: block;
}
.member-social-icon:hover {
    background: #ff4400;
    transform: translateY(-3px);
}

@media (max-width: 760px) {
    .member-page { padding: 80px 16px 60px; }
    .member-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
        padding: 36px 24px;
    }
    .member-divider { margin: 0 auto 18px; }
    .member-bio { font-size: 14px; max-width: 100%; }
    .member-name { font-size: 28px; }
    .member-socials { justify-content: center; }
    .member-role-tag { margin: 0 auto 12px; }
}

/* Profile page photo silhouette fallback */
.member-photo-silhouette {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(160deg, #e2e2e2 0%, #b8b8b8 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    outline: 4px solid #f0f0f0;
    outline-offset: 0;
    box-shadow: 0 8px 28px rgba(204,51,0,0.28), 0 2px 10px rgba(0,0,0,0.14);
    position: relative;
}
.member-photo-silhouette::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 76px;
    background: #c0c0c0;
    border-radius: 50%;
}
.member-photo-silhouette::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 110px;
    background: #c0c0c0;
    border-radius: 50% 50% 0 0;
}
