:root {
    --bg-color: #050505;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-faint: rgba(212, 175, 55, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body,
html {
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow: hidden;
    /* Non-scrollable */
}

/* Background */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Let clicks pass through */
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    /* Increased transparency so animation shows through */
    z-index: -1;
}

.content-wrapper {
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 6rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    animation: fadeInDown 1.2s ease-out;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.credibility-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ef-logo {
    height: 20px;
    width: auto;
    border-radius: 2px;
}

.tag-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.5px;
}

.tag-text strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centered layout */
    margin: 0 auto;
    /* Center horizontally */
    text-align: center;
    width: 100%;
    margin-top: -5vh;
    /* Visual optical adjustment */
}

.hero-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 0;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.5s forwards;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 1.2rem;
    border-radius: 1px;
    /* Square */
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 1s forwards;
    /* Delayed appearance */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
    /* Ensure it's above everything */
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
    background-color: #f0f0f0;
}

/* Footer */
.footer {
    display: flex;
    justify-content: flex-end;
    animation: fadeIn 1.5s ease-out 1.5s forwards;
    opacity: 0;
}

.contact-link {
    color: rgba(255, 255, 255, 0.85);
    /* Near white as requested */
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.contact-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* About Page */
.about-wrapper {
    overflow-y: auto;
    /* Allow scrolling for content */
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    /* Reset flex */
}

/* Custom Scrollbar */
.about-wrapper::-webkit-scrollbar {
    width: 8px;
}

.about-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.about-wrapper::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.about-content {
    max-width: 1000px;
    /* margin: 4rem auto 0; */
    /* padding-bottom: 4rem; */
    animation: fadeIn 0.8s ease-out;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    /* margin-bottom: 5rem; */
}

.founder-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.founder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.founder-image-container {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.5);
    padding: 2px;
    /* Inner spacing */
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.founder-card:hover .founder-img {
    filter: grayscale(0%);
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.founder-role {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.founder-bio {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #aeaeae;
    margin-bottom: 1.5rem;
}

.founder-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.arrow-icon {
    height: 12px;
    width: auto;
    transition: transform 0.2s ease;
}

.founder-contact-link:hover {
    text-shadow: 0 0 10px var(--accent-faint);
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem;
    }

    .about-content {
        margin-top: 2rem;
    }

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

    .logo {
        height: 40px;
    }

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

    .sub-text {
        font-size: 0.9rem;
    }
}