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

:root {
    /* Quantum Lab Color Palette - Neumorphic */
    --quantum-gold: #D4AF37;
    --quantum-gold-light: #FFD700;
    --quantum-gold-dark: #B8960E;
    --bg-primary: #E8ECF1;
    --bg-secondary: #E8ECF1;
    --bg-card: #E8ECF1;
    --bg-dark: #0A0E1A;
    --text-primary: #1A1F36;
    --text-secondary: #697386;
    --text-light: #8792A2;
    --border-color: #E3E8EE;

    /* Neumorphic Shadows */
    --neuro-shadow-light: #ffffff;
    --neuro-shadow-dark: #c5c9d1;
    --neuro-shadow-inset-light: inset 6px 6px 12px #c5c9d1, inset -6px -6px 12px #ffffff;
    --neuro-shadow-outset: 8px 8px 16px #c5c9d1, -8px -8px 16px #ffffff;
    --neuro-shadow-subtle: 4px 4px 8px #c5c9d1, -4px -4px 8px #ffffff;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(250, 251, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: 40px;
    filter: brightness(2);
    transition: filter 0.3s ease;
}

.header.scrolled .logo {
    filter: brightness(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header.scrolled .logo-text {
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(197, 201, 209, 0.4), -1px -1px 2px rgba(255, 255, 255, 0.6);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--quantum-gold-light);
}

.header.scrolled .nav-menu a {
    color: var(--text-secondary);
}

.header.scrolled .nav-menu a:hover {
    color: var(--quantum-gold-dark);
}

.btn-apply {
    background: linear-gradient(135deg, var(--quantum-gold-light), var(--quantum-gold));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 8px rgba(197, 201, 209, 0.5), -2px -2px 6px rgba(255, 255, 255, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-apply:hover {
    background: linear-gradient(135deg, var(--quantum-gold), var(--quantum-gold-dark));
    color: white;
    transform: translateY(-1px);
    box-shadow: 5px 5px 10px rgba(197, 201, 209, 0.6), -3px -3px 8px rgba(255, 255, 255, 0.5);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header.scrolled .hamburger-line {
    background-color: var(--text-primary);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }

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

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-right {
        gap: 1rem;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 1;
    }

    .btn-apply {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        order: 2;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1rem);
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        background: rgba(232, 236, 241, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        order: 0;
    }

    .header.scrolled .nav-menu {
        background: rgba(232, 236, 241, 0.95);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        color: var(--text-primary);
        font-size: 0.95rem;
        display: block;
        padding: 0.75rem 1.25rem;
        transition: background 0.2s ease;
    }

    .nav-menu a:hover {
        background: rgba(212, 175, 55, 0.1);
        color: var(--quantum-gold-dark);
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0 0.75rem;
    }

    .logo {
        height: 28px;
        width: 28px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .btn-apply {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

    .nav-menu {
        min-width: 180px;
    }
}

@media (max-width: 400px) {
    .logo-text {
        font-size: 0.9rem;
    }

    .btn-apply {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .nav-menu {
        min-width: 160px;
        font-size: 0.9rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }
}

.header.scrolled .btn-apply {
    box-shadow: 4px 4px 8px rgba(197, 201, 209, 0.5), -2px -2px 6px rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0E1A 0%, #141B2E 50%, #1A2332 100%);
}

.quantum-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    z-index: 0;
}

.quantum-grid-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.cohort-badge {
    display: inline-block;
    background: rgba(232, 236, 241, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--quantum-gold-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD700 50%, #D4AF37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--quantum-gold-light), var(--quantum-gold));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.1s ease;
    border: none;
    cursor: pointer;
    box-shadow: 6px 6px 12px rgba(197, 201, 209, 0.6), -6px -6px 12px rgba(255, 255, 255, 0.5);
    transform-style: preserve-3d;
    will-change: transform;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--quantum-gold), var(--quantum-gold-dark));
    box-shadow: 8px 8px 16px rgba(197, 201, 209, 0.7), -8px -8px 16px rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: perspective(1000px) translateY(0px) scale(0.98) !important;
    box-shadow: 4px 4px 8px rgba(197, 201, 209, 0.5), -4px -4px 8px rgba(255, 255, 255, 0.4);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
}

/* Investment Themes Section */
.themes-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(197, 201, 209, 0.5), -2px -2px 4px rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 1px 1px 2px rgba(197, 201, 209, 0.3), -1px -1px 2px rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 1000px) {
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }
}

.theme-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: none;
    box-shadow: var(--neuro-shadow-outset);
    transition: all 0.3s ease;
}

.theme-card:hover {
    box-shadow: 10px 10px 20px #c5c9d1, -10px -10px 20px #ffffff, inset 0 0 0 2px var(--quantum-gold-light);
    transform: translateY(-2px);
}

.theme-icon {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.theme-icon img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.theme-card:hover .theme-icon img {
    transform: scale(1.1);
}

.theme-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(197, 201, 209, 0.4), -1px -1px 2px rgba(255, 255, 255, 0.6);
}

.theme-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Portfolio Section */
/* Coming Soon Section */
.coming-soon-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.coming-soon-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: var(--bg-card);
    border-radius: 30px;
    box-shadow: var(--neuro-shadow-outset);
}

.coming-soon-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 2rem 0;
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--quantum-gold-light), var(--quantum-gold));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    box-shadow: 4px 4px 8px rgba(197, 201, 209, 0.5), -2px -2px 6px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .coming-soon-section {
        padding: 5rem 0;
    }

    .coming-soon-content {
        padding: 3rem 2rem;
    }

    .coming-soon-text {
        font-size: 1.1rem;
    }
}


/* Apply Section */
.apply-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #141B2E 100%);
    color: white;
}

.apply-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.apply-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(255, 255, 255, 0.05);
}

.apply-content > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 900px) {
    .apply-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 500px) {
    .apply-stats {
        grid-template-columns: 1fr;
    }
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--quantum-gold-light);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), -1px -1px 2px rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
    .stat {
        min-height: 100px;
    }

    .stat-value {
        font-size: 2.2rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(197, 201, 209, 0.4), -1px -1px 2px rgba(255, 255, 255, 0.6);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--quantum-gold-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

    .nav-menu {
        gap: 1rem;
    }

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

    .apply-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

    .hero {
        padding: 6rem 1rem 3rem;
    }

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

    .nav-menu {
        font-size: 0.9rem;
    }
}
