/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, serif;
}

/* Global font settings */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root {
    --heading-color: #000000;
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --link-shadow: rgba(0, 0, 0, 0.05);
    --link-color: #0000EE;
    --link-visited: #551A8B;
    --border-color: #cccccc;
    --muted-color: #666666;
    --code-bg: #f5f5f5;
}

/* Dark mode */
:root[data-theme="dark"] {
    --heading-color: #cccccc;
    --bg-color: #000000;
    --text-color: #cccccc;
    --card-bg: rgba(0, 0, 0, 0.9);
    --shadow-color: rgba(0, 0, 0, 0.7);
    --link-shadow: rgba(0, 0, 0, 0.6);
    --link-color: #809fff;
    --link-visited: #b19cd9;
    --border-color: #333333;
    --muted-color: #999999;
    --code-bg: #111111;
}

[data-theme="dark"] body {
    background: var(--bg-color);
}
    
    /* Bio section dark mode */
    .bio-text {
        color: var(--text-color);
    }
    
    .bio-text.networking {
        background: rgba(123, 104, 238, 0.2);
        color: #c5b9ff;
        border-left-color: #7b68ee;
    }
    
    .bio-link {
        color: var(--link-color);
    }
    
    .bio-link:hover {
        text-decoration: underline;
    }
    
    /* Profile image dark mode */
    .profile-image {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    /* Links dark mode */
    .link-card {
        background: var(--card-bg);
        color: var(--text-color);
        box-shadow: 0 4px 20px var(--link-shadow);
    }
    
    .link-card:hover {
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    }
    
    
    /* Company links dark mode */
    .company-link {
        background: var(--card-bg);
        color: var(--text-color);
        box-shadow: 0 4px 20px var(--link-shadow);
    }
    
    .company-link:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    }
    
    .company-link i {
        color: var(--muted-color);
    }
    
    .company-link:hover i {
        color: var(--muted-color);
    }
    
    /* Bio toggle dark mode */
    .bio-toggle {
        background: var(--card-bg);
        color: var(--text-color);
        border-color: var(--border-color);
    }
    
    .bio-toggle:hover {
        background: rgba(255, 255, 255, 0.05);
    }
    
    /* Personality badge dark mode */
    .personality-badge {
        background: rgba(102, 126, 234, 0.2);
        color: var(--text-color);
    }
    
    .personality-badge:hover {
        background: rgba(102, 126, 234, 0.3);
    }
    
    /* Beverage section dark mode */
    .favorite-beverage {
        background: rgba(255, 107, 157, 0.15);
    }
    
    .beverage-content h4 {
        color: #ff8bb8;
    }
    
    .beverage-content p {
        color: var(--text-color);
    }
    
    /* Footer dark mode */
    footer p {
        color: var(--muted-color);
    }
    
    /* Floating shapes dark mode */
    .floating-shape {
        display: none;
    }
    
    /* Star animation for dark mode */
    .bg-animation::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            /* North Star - largest and brightest */
            radial-gradient(4px 4px at 75% 15%, #fff, transparent),
            radial-gradient(8px 8px at 75% 15%, rgba(255, 255, 255, 0.3), transparent),
            /* Bright stars */
            radial-gradient(3px 3px at 20% 30%, #ffd4a3, transparent),
            radial-gradient(2.5px 2.5px at 60% 70%, #fff, transparent),
            radial-gradient(3px 3px at 90% 60%, #e6f3ff, transparent),
            /* Medium stars */
            radial-gradient(2px 2px at 45% 85%, #fff, transparent),
            radial-gradient(2px 2px at 80% 40%, #ffe7c7, transparent),
            radial-gradient(1.5px 1.5px at 30% 80%, #fff, transparent),
            radial-gradient(2px 2px at 10% 20%, #f0f8ff, transparent),
            /* Small dim stars */
            radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.8), transparent),
            radial-gradient(0.5px 0.5px at 95% 90%, rgba(255, 255, 255, 0.6), transparent),
            radial-gradient(1px 1px at 5% 5%, rgba(255, 255, 255, 0.7), transparent),
            radial-gradient(0.5px 0.5px at 85% 85%, rgba(255, 255, 255, 0.5), transparent),
            radial-gradient(1px 1px at 25% 60%, rgba(255, 255, 255, 0.7), transparent),
            radial-gradient(0.5px 0.5px at 65% 25%, rgba(255, 255, 255, 0.6), transparent);
        background-size: 100% 100%;
        background-position: 0% 0%;
        opacity: 1;
        animation: twinkle 4s ease-in-out infinite;
    }
    
    .bg-animation::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            /* More varied stars */
            radial-gradient(1.5px 1.5px at 15% 25%, #fff9e6, transparent),
            radial-gradient(2.5px 2.5px at 35% 45%, #fff, transparent),
            radial-gradient(1px 1px at 55% 35%, rgba(255, 255, 255, 0.7), transparent),
            radial-gradient(3px 3px at 85% 25%, #e8f0ff, transparent),
            radial-gradient(0.5px 0.5px at 25% 75%, rgba(255, 255, 255, 0.5), transparent),
            radial-gradient(1.5px 1.5px at 70% 90%, #fff, transparent),
            radial-gradient(2px 2px at 40% 10%, #fffaf0, transparent),
            radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, 0.6), transparent),
            radial-gradient(0.5px 0.5px at 10% 70%, rgba(255, 255, 255, 0.4), transparent),
            radial-gradient(1.5px 1.5px at 95% 50%, #fff, transparent);
        background-size: 100% 100%;
        background-position: 0% 0%;
        opacity: 0.8;
        animation: twinkle 6s ease-in-out infinite reverse;
    }
    
    /* Beta button dark mode */
    .beta-button {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.6);
    }
    
    .beta-button:hover {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.8);
    }

body {
    font-family: Georgia, serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Global link styles to match status.health */
a {
    color: var(--link-color);
    text-decoration: none;
    font-family: Georgia, serif;
}

a:visited {
    color: var(--link-color);
}

a:hover {
    text-decoration: underline;
}

/* Clean background - no animations for professional B2B look */
@media (min-width: 769px) and (min-height: 800px) {
    body {
        background: var(--bg-color);
    }
}


/* iOS Safari and PWA specific fixes */
@supports (-webkit-touch-callout: none) {
    /* Target iOS Safari */
    body {
        background: var(--bg-color) !important;
        background-image: none !important;
        background-attachment: scroll !important;
        animation: none !important;
    }
    
    /* iOS PWA detection - use theme-aware background */
    @media (display-mode: standalone), 
           (display-mode: fullscreen),
           (-webkit-standalone) {
        body {
            background: var(--bg-color) !important;
            background-image: none !important;
            animation: none !important;
        }
        
        .bg-animation {
            display: none !important;
        }
        
        .floating-shape {
            display: none !important;
        }
    }
}

/* Additional PWA detection methods */
@media (display-mode: standalone) {
    body {
        background: var(--bg-color) !important;
        background-image: none !important;
        background-size: auto !important;
        background-attachment: initial !important;
        animation: none !important;
    }
    
    .bg-animation {
        display: none !important;
    }
    
    .floating-shape {
        display: none !important;
    }
    
    .content {
        margin: 1rem auto;
        padding: 2rem 1.5rem;
    }
}

/* Fallback for when all else fails - detect small viewport typical of PWA */
@media (max-height: 700px) and (max-width: 500px) {
    body {
        background: var(--bg-color) !important;
        background-image: none !important;
        animation: none !important;
    }
    
    .bg-animation {
        display: none !important;
    }
    
    .floating-shape {
        display: none !important;
    }
}


.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Background animations */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    display: none; /* Remove floating shapes for clean B2B look */
}




@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
        filter: brightness(0.9);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

/* Main content */
.content {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 3rem 2rem;
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.8s ease-out;
    margin: 2rem auto;
}

/* PWA mode content adjustments */
@media (display-mode: standalone) {
    .content {
        margin: 1rem auto;
        padding: 2rem 1.5rem;
    }
}

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

/* Profile section */
.profile-section {
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
}

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    width: 100px;
    height: 100px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
}

.logo-icon {
    width: 100%;
    height: auto;
    display: block;
}

.profile-image:hover {
    transform: scale(1.05);
}











.name {
    font-size: 2rem;
    font-weight: normal;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    font-family: Georgia, serif;
}



.title {
    font-size: 0.95rem;
    color: var(--muted-color);
    font-weight: normal;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.companies {
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    display: flex;
}

.company-tag {
    color: var(--link-color);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.company-tag:hover {
    background: var(--code-bg);
    color: var(--link-color);
    text-decoration: underline;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow-color);
}

/* Bio section - Expandable with better alignment */
.bio-section {
    margin-bottom: 1.5rem;
}

/* About Us section styling */
.about-us-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

/* Nested sections inside About Us */
.nested-section {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nested-section .bio-toggle {
    min-height: 50px;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
}

[data-theme="dark"] .nested-section {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Values dropdown section */
.values-dropdown-section {
    margin-bottom: 2rem;
}

/* Ensure all expandable sections have the same width and spacing */
.bio-toggle,
.values-toggle,
.resources-toggle {
    width: 100%;
    min-height: 60px;
    box-sizing: border-box;
}

.bio-toggle {
    background: none;
    border: 2px solid #e2e8f0;
    border-radius: 2px;
    padding: 1rem 1.5rem;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0;
    position: relative;
    z-index: 100;
    min-height: 60px;
    box-sizing: border-box;
}

.bio-toggle:hover {
    border-color: #cbd5e0;
    background: rgba(0, 0, 0, 0.02);
}

.bio-toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* Ensure consistent button text styling */
.bio-toggle-text {
    font-size: 1.1rem;
    font-weight: 500;
    flex-grow: 1;
    text-align: left;
}

.bio-toggle[aria-expanded="true"] .bio-toggle-icon {
    transform: rotate(180deg);
}

.bio-content {
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    border-radius: 0 0 2px 2px;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

[data-theme="dark"] .bio-content {
    background: transparent;
}

.bio-content.expanded {
    max-height: none;
    opacity: 1;
    padding: 1.5rem;
    overflow: visible;
}

.bio-text {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bio-link {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.bio-link:hover {
    text-decoration: underline;
    border-bottom-color: transparent;
}

.bio-text.networking {
    color: #7b68ee;
    font-weight: 500;
    background: rgba(123, 104, 238, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #9370db;
    font-size: 0.8rem;
}

/* Personal details section with beverage and MBTI */
.personal-details {
    margin-top: 1rem;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Favorite beverage styling */
.favorite-beverage {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: auto;
    height: auto;
}

.favorite-beverage:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.beverage-emoji {
    font-size: 2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.beverage-content {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.beverage-content h4 {
    margin: 0 0 2px 0;
    font-size: 0.95rem;
    color: #ff6b9d;
    font-weight: 600;
}

.beverage-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.mission-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--link-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mission-link:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

[data-theme="dark"] .mission-link {
    color: var(--link-color);
}

[data-theme="dark"] .mission-link:hover {
    text-decoration: underline;
}


/* Myers-Briggs badge - from team.css */
.personality-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--link-color);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.personality-badge:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    text-decoration: underline;
    color: var(--link-color);
}

.mbti-type {
    font-weight: 600;
    color: var(--link-color);
}

.mbti-divider {
    margin: 0 5px;
    color: #a0aec0;
}

.mbti-name {
    font-style: italic;
    color: var(--text-color);
}

/* Values section */
.values-section {
    margin-bottom: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--link-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}



.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

[data-theme="dark"] .value-card {
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .value-card h4 {
    color: var(--heading-color);
}

/* Links section */
.links-section {
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 2px;
    text-decoration: none;
    color: var(--link-color);
    border: 1px solid var(--border-color);
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: var(--code-bg);
    text-decoration: underline;
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
    color: white;
    transition: opacity 0.2s ease;
}


/* Animated emoji for The gist section */
.animated-emoji {
    display: inline;
    font-size: 1em;
    margin: 0 0.15em;
    vertical-align: baseline;
}

/* Light mode - diva emoji glow */
[data-theme="light"] .animated-emoji {
    filter: drop-shadow(0 0 8px rgba(255, 20, 147, 0.5)) drop-shadow(0 0 4px rgba(255, 105, 180, 0.3));
}

/* Dark mode - lightbulb emoji glow */
[data-theme="dark"] .animated-emoji {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7)) drop-shadow(0 0 4px rgba(255, 223, 0, 0.4));
}

.link-card:hover .link-icon {
    opacity: 0.8;
}

.link-content {
    display: flex;
    flex-direction: column;
}

.link-text {
    font-weight: normal;
    font-size: 1.1rem;
    color: var(--link-color);
    display: block;
}

.link-desc {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    display: block;
    margin-top: 0.25rem;
}

/* Specific link colors with staggered animations */
.email .link-icon { background: var(--muted-color); }
.bluesky .link-icon { background: var(--muted-color); }
.bluesky svg { fill: white; }
.twitter .link-icon { background: var(--muted-color); }
.twitter svg { fill: white; }
.instagram .link-icon { background: var(--muted-color); }
.github .link-icon { background: var(--muted-color); }
.linkedin .link-icon { background: var(--muted-color); }
.developers .link-icon { background: var(--muted-color); }
.calendly .link-icon { background: var(--muted-color); }

/* Companies section */
.companies-section {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* Consistent spacing for all dropdown sections */
.values-dropdown-section,
.resources-dropdown-section,
.protocol-dropdown-section {
    margin-bottom: 1rem;
}

.companies-title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

/* Dropdown styles for Resources and Health Protocol */
.resources-toggle,
.protocol-toggle {
    width: 100%;
    margin-bottom: 0;
}

.values-content,
.resources-content,
.protocol-content {
    margin-top: 0.5rem;
}

.values-content .personal-details,
.resources-content .company-links,
.protocol-content .company-links {
    margin-top: 0;
}

.company-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 2px;
    text-decoration: none;
    color: var(--link-color);
    box-shadow: 0 4px 20px var(--link-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}



.company-link:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.company-info h4 {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--link-color);
    margin-bottom: 0.25rem;
}

.company-info p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.95rem;
}

.company-link i {
    display: none;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-text {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.footer-subtext {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Easter egg dropdown section - hidden by default */
.easter-egg-section {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.easter-egg-section.show {
    opacity: 1;
    visibility: visible;
}

.easter-egg-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.easter-egg-dropdown-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
}

.easter-egg-icon {
    font-size: 1.4rem;
}


.easter-egg-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 500px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: bottom center;
    transform: translateX(-50%) translateY(10px) scale(0.95);
}

.easter-egg-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Enhanced easter egg quote styling with golden egg animation */
.easter-egg-quote {
    position: relative;
    display: block;
    padding: 15px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
    font-style: italic;
    color: #4a5568;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.easter-egg-quote:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.easter-egg-quote.golden-egg {
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 193, 7, 0.1), 
        rgba(255, 215, 0, 0.1));
    border-left-color: #ffd700;
    font-size: 1.5rem;
    font-style: normal;
}

.easter-egg-quote.hint-mode {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: #ffd700;
    color: #b8860b;
    font-size: 0.95rem;
}



.easter-egg-quote.typing::after {
    content: '';
    display: none;
}

.easter-egg-quote.revealed {
    background: rgba(255, 107, 157, 0.1);
    border-left-color: #ff6b9d;
    font-family: 'Courier', monospace;
    font-size: 1rem;
    line-height: 1.4;
}


.attestation-badge {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.badge-link {
    display: inline-block;
    position: relative;
    transition: transform 0.3s;
}

.badge-link:hover {
    transform: translateY(-2px);
}

.badge-link .badge-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.badge-link .badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.badge-link:hover .badge-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Pride badge section with unicorn easter egg */
.pride-section {
    margin: 2rem 0 1rem 0;
}

/* Resources dropdown section */
.resources-dropdown-section {
    margin-bottom: 2rem;
}

.pride-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pride-badge:hover {
    transform: translateY(-2px);
}

.pride-badge.unicorn-mode {
    background: linear-gradient(45deg, 
        rgba(255, 182, 193, 0.9), 
        rgba(255, 222, 173, 0.9), 
        rgba(255, 255, 173, 0.9), 
        rgba(173, 255, 182, 0.9), 
        rgba(173, 216, 255, 0.9), 
        rgba(216, 173, 255, 0.9));
}


.unicorn-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.sparkle {
    position: absolute;
    color: #fff;
    font-size: 12px;
    opacity: 0;
}


.pride-flag {
    width: 40px;
    height: 28px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.pride-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .company-links {
        gap: 0.75rem;
    }
    
    .company-link {
        padding: 1.25rem;
    }
    
    /* Hide icons on mobile for cleaner look */
    .company-link i {
        display: none;
    }
    
    .companies {
        align-items: center;
    }
    
    /* Mobile dropdown adjustments */
    .bio-toggle {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    .bio-toggle-text {
        font-size: 1rem;
    }
    
    .bio-content.expanded {
        padding: 1rem;
    }
    
    /* Pride and beta button mobile */
    .pride-badge,
    .beta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }
    
    .pride-flag {
        width: 24px;
        height: 16px;
    }
    
    .beta-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Nested sections mobile */
    .nested-section {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }
    
    .nested-section .bio-toggle {
        min-height: 44px;
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Pride text mobile styling */
    .pride-text {
        font-size: 0.8rem;
        text-align: left;
    }
    
    /* Company tag buttons mobile - keep original size */
}

@media (max-width: 480px) {
    .theme-toggle {
        width: 32px;
        height: 32px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }
    
    .content {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }
    
    .bio-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .bio-text.networking {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .favorite-beverage {
        padding: 8px;
        margin-top: 8px;
    }
    
    .beverage-emoji {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .beverage-content h4 {
        font-size: 0.85rem;
    }
    
    .beverage-content p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .profile-image-container {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 0.9rem;
    }
    
    .personal-details {
        gap: 0.75rem;
    }
    
    .favorite-beverage {
        padding: 10px;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 15px;
    }
    
    .beverage-emoji {
        font-size: 1.2rem;
        margin-right: 8px;
        margin-bottom: 0;
    }
    
    .favorite-beverage {
        padding: 12px;
        margin-top: 12px;
    }
    
    .beverage-emoji {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .beverage-content h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .beverage-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .mission-link {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .easter-egg-dropdown {
        width: 95vw;
        max-width: 400px;
    }
    
    .easter-egg-quote {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .easter-egg-quote.golden-egg {
        font-size: 1.3rem;
    }
    
    /* Hide icons on small mobile too */
    .company-link i {
        display: none;
    }
}

/* Small mobile screens */
@media (max-width: 375px) {
    /* No additional beverage styles needed - using base mobile styles */
}

/* Theme Toggle Button */
.theme-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Georgia, serif;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-color);
    box-shadow: 0 1px 3px var(--shadow-color);
    z-index: 10000;
}

.theme-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-color);
    background: var(--text-color);
    color: var(--bg-color);
}


/* Pride badge section */
.pride-section {
    margin: 1rem 0 2rem 0;
}

.pride-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pride-badge:hover {
    transform: translateY(-2px);
}

/* Add subtle border in dark mode */
[data-theme="dark"] .pride-badge {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pride-flag {
    width: 30px;
    height: 30px;
    object-fit: cover;
    filter: drop-shadow(none);
    box-shadow: none;
}

.pride-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Unicorn mode easter egg */
.pride-badge.unicorn-mode {
    background: linear-gradient(45deg, 
        rgba(255, 182, 193, 0.9), 
        rgba(255, 222, 173, 0.9), 
        rgba(255, 255, 173, 0.9), 
        rgba(173, 255, 182, 0.9), 
        rgba(173, 216, 255, 0.9), 
        rgba(216, 173, 255, 0.9));
}


.unicorn-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 1rem;
}


/* CTA Button Styles */
.beta-section {
    margin: 2rem 0;
    text-align: center;
}

.beta-button {
    display: inline-block;
    background: var(--card-bg);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    font-family: inherit;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.beta-button:hover {
    background: var(--code-bg);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow-color);
}


.beta-text {
    display: block;
}
/* Complete Dark Mode Styles */
[data-theme="dark"] {
    background: var(--bg-color);
    color: var(--text-color);
}

[data-theme="dark"] .content {
    background: var(--card-bg);
}

[data-theme="dark"] .bio-text {
    color: var(--text-color);
}

[data-theme="dark"] .bio-text.networking {
    background: rgba(123, 104, 238, 0.2);
    color: #c5b9ff;
    border-left-color: #7b68ee;
    font-size: 0.8rem;
}

[data-theme="dark"] .bio-link {
    color: var(--link-color);
}

[data-theme="dark"] .bio-link:hover {
    text-decoration: underline;
}

[data-theme="dark"] .link-card {
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .company-link {
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .bio-toggle {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .bio-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .floating-shape {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05), 
        rgba(191, 90, 242, 0.05), 
        rgba(255, 107, 157, 0.05));
    opacity: 0.3;
}

[data-theme="dark"] .company-link i {
    color: var(--muted-color);
}

[data-theme="dark"] .company-link:hover i {
    color: var(--text-color);
}

[data-theme="dark"] footer p {
    color: var(--muted-color);
}

[data-theme="dark"] .companies-title,
[data-theme="dark"] .section-title {
    color: var(--heading-color);
}

[data-theme="dark"] .link-text {
    color: var(--link-color);
}

[data-theme="dark"] .company-info h4 {
    color: var(--link-color);
}

/* Pride badge dark mode styling is defined above */

[data-theme="dark"] .pride-text {
    color: var(--text-color);
}

[data-theme="dark"] .beta-button {
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

[data-theme="dark"] .footer a[href*="claude.ai"] {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .footer a[href*="claude.ai"]:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    border-radius: 2px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 25px 50px var(--shadow-color);
    font-family: Georgia, serif;
}

[data-theme="dark"] .modal-content {
    background: var(--card-bg);
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s ease;
    color: var(--text-color);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--muted-color);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    font-family: Georgia, serif;
}

.modal-body {
    text-align: center;
}

.modal-body p {
    color: #333333;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

[data-theme="dark"] .modal-body p {
    color: var(--text-color);
}

.email-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .email-display {
    background: rgba(255, 255, 255, 0.05);
}

.email-display:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.email-address {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    font-family: monospace;
}

[data-theme="dark"] .email-address {
    color: #e2e8f0;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    color: var(--link-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.copy-button:hover {
    transform: translateY(-2px);
    background: var(--code-bg);
    box-shadow: 0 6px 25px var(--shadow-color);
    text-decoration: underline;
}

.copy-button.copied {
    background: #48bb78;
}

.copy-button.copied i::before {
    content: "\f00c";
}

.email-client-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--card-bg);
    color: var(--link-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.email-client-button:hover {
    transform: translateY(-2px);
    background: var(--code-bg);
    box-shadow: 0 6px 25px var(--shadow-color);
    text-decoration: underline;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .email-display {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .email-address {
        font-size: 1rem;
    }
    
    .copy-button {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .pride-text {
        font-size: 0.84rem;
    }
    .beta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.84rem;
    }
    
}

/* Desktop-specific enhancements */
@media (min-width: 769px) {
    .content {
        padding: 4rem 3rem;
        max-width: 700px;
    }
    
    .profile-image-container {
        width: 140px;
        height: 140px;
    }
    
    .name {
        font-size: 3rem;
    }
    
    .title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Company tag buttons desktop - removed custom styling */
    
    .companies {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .company-link {
        padding: 1.75rem;
    }
    
    .link-card {
        padding: 1.5rem;
    }
    
    .link-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .company-info h3 {
        font-size: 1.2rem;
    }
    
    .company-info p {
        font-size: 1rem;
    }
    
    .bio-section,
    .values-section,
    .resources-section,
    .protocol-section {
        padding: 2rem;
        margin: 2.5rem 0;
    }
    
    .bio-toggle,
    .values-toggle,
    .resources-toggle,
    .protocol-toggle {
        font-size: 1.2rem;
    }
    
    .bio-content.expanded,
    .values-content.expanded,
    .resources-content.expanded,
    .protocol-content.expanded {
        padding: 2rem 0 0 0;
    }
    
    .value-item {
        padding: 1.25rem;
    }
    
    .value-icon {
        font-size: 1.75rem;
    }
    
    .value-content h4 {
        font-size: 1.1rem;
    }
    
    .value-content p {
        font-size: 1rem;
    }
    
    .footer {
        margin-top: 4rem;
        padding-top: 2.5rem;
    }
    
    .footer-text {
        font-size: 1rem;
    }
    
    .made-with-love {
        font-size: 0.9rem;
    }
}
