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

:root {
    --primary-color: #000000;
    --secondary-color: #1d1d1f;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --background-secondary: #f5f5f7;
    --accent: #6e6e73;
    --border-radius: 18px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    z-index: 1000;
    border-bottom: 1px solid #333333;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    padding-left: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #3a3a3a 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background: linear-gradient(135deg, #000000 0%, #3a3a3a 100%);
}

.carousel-slide:nth-child(2) {
    background: linear-gradient(135deg, #2a2a2a 0%, #5a5a5a 100%);
}

.carousel-slide:nth-child(3) {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 32px;
}

.carousel-btn.next {
    right: 32px;
}

.carousel-indicators {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 980px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--background-secondary);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.btn-large {
    padding: 18px 48px;
    font-size: 19px;
}

/* Content Sections */
.content-section {
    padding: 100px 22px;
}

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

.section-heading {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: var(--background-secondary);
    padding: 48px 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Dark Section */
.dark-section {
    background: var(--secondary-color);
    color: white;
}

.dark-section .section-heading {
    color: white;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.checkmark {
    font-size: 28px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    line-height: 1;
}

.feature-item p {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Quote Section */
.quote-section {
    background: var(--background-secondary);
    padding: 120px 22px;
}

.testimonial {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 80px 22px;
    background: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--secondary-color);
}

.cta-buttons .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-buttons .btn-secondary:hover {
    background: var(--background-secondary);
}

/* Bios Page */
.bios-page {
    padding: 100px 22px 120px;
    scroll-margin-top: 100px;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.page-header h1 {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-header p {
    font-size: clamp(19px, 2.5vw, 24px);
    color: var(--text-secondary);
    font-weight: 400;
}

/* Bio Cards */
.founder-section {
    max-width: 1200px;
    margin: 0 auto 120px;
}

.bio-card {
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.bio-card.featured {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--background-secondary);
    padding: 60px;
}

.bio-image {
    flex-shrink: 0;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    overflow: hidden;
}

.bio-card.featured .placeholder-image {
    width: 200px;
    height: 200px;
}

.bio-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.bio-content h3 {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.bio-content h4 {
    font-size: 17px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.bio-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Advisors Grid */
.advisors-section {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.advisors-grid .bio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
}

.advisors-grid .bio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advisors-grid .placeholder-image {
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
}

.advisors-grid .bio-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Footer */
footer {
    background: var(--background-secondary);
    padding: 32px 22px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

#login-container {
    display: none;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

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

.login-close-btn {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.login-close-btn:hover {
    opacity: 0.7;
}



/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 20px 0 0;
    }

    .logo {
        padding-left: 16px;
    }

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

    .carousel-btn {
        display: none;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-subtitle {
        font-size: clamp(17px, 4vw, 21px);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .content-section {
        padding: 60px 22px;
    }

    .section-heading {
        font-size: clamp(28px, 6vw, 36px);
        margin-bottom: 40px;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .testimonial {
        font-size: clamp(19px, 5vw, 28px);
    }

    .quote-section {
        padding: 80px 22px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .bio-card.featured {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

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

    .nav-links {
        gap: 20px;
    }
}
