/* Navigation */
.floating-nav {
    display: flex;
    max-width: fit-content;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 5000;
    padding: 6px 20px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

/* Hide floating nav on pages with page headers to avoid conflicts */
body.has-page-header .floating-nav {
    top: 120px;
    opacity: 0.9;
}

/* Show floating nav on scroll on pages with page headers */
body.has-page-header .floating-nav.scrolled {
    top: 40px;
    opacity: 1;
}

.floating-nav:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(-50%) translateY(-3px);
}

.floating-nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.floating-nav.hidden {
    opacity: 0.7;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(214, 230, 63, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-item {
    position: relative;
    color: #a3a3a3;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 20px;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    color: #d6e63f;
    background: rgba(214, 230, 63, 0.1);
}

.nav-login-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-login-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000000;
    padding: 120px 20px 0;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* QENJIN Text Hover Effect */
.qenjin-text-container {
    height: 50vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInSlow 3s ease-out forwards;
}

.text-hover-effect {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text Flip Container */
.text-flip-container {
    display: inline-block;
    position: relative;
    background: linear-gradient(to bottom, #374151, #1f2937);
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 
        inset 0 -1px #10171e,
        inset 0 0 0 1px hsla(205,89%,46%,.24),
        0 4px 8px #00000052;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0 8px;
    overflow: hidden;
}

.flip-text {
    color: #ffffff !important;
    font-weight: bold;
    white-space: nowrap;
    display: inline-block;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.flip-text .letter {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transition: all 0.3s ease;
}

.flip-text .letter.animate-in {
    opacity: 1;
    filter: blur(0px);
    animation: letterSlideIn 0.4s ease-out forwards;
}

/* Hero Title */
.hero-title {
    font-size: 72px;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.1;
    color: #ffffff !important;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: -0.025em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-title.visible {
    animation: slideUpDelay 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 24px;
    color: #a3a3a3;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 400;
    line-height: 1.5;
}

.hero-subtitle.visible {
    animation: slideUpDelay 1s ease-out 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 100;
}

.hero-buttons.visible {
    animation: slideUpDelay 1s ease-out 0.4s forwards;
}

.privacy-note {
    color: #a3a3a3;
    font-size: 14px;
    text-align: center;
    max-width: 600px;
    margin: 20px auto 0;
    opacity: 0;
    transform: translateY(30px);
}

.privacy-note.visible {
    animation: slideUpDelay 1s ease-out 0.8s forwards;
}

/* Gemini Effect Section */
.gemini-section {
    height: 100vh;
    background: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gemini-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gemini-content {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 10;
}

.gemini-title {
    font-size: 72px;
    font-weight: normal;
    margin-bottom: 16px;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.gemini-description {
    font-size: 20px;
    color: #a3a3a3;
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gemini-svg {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.gemini-path {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    opacity: 0;
    transition: all 0.3s ease;
    stroke-width: 3;
}

.gemini-path.animate {
    opacity: 1;
    animation: drawPath 2s ease-in-out forwards;
}

/* Individual path glow effects */
.path-1.animate {
    filter: drop-shadow(0 0 4px #FFB7C5) drop-shadow(0 0 8px #FFB7C5);
    animation: drawPath 2s ease-in-out forwards, glowPulse1 3s ease-in-out infinite;
}

.path-2.animate {
    filter: drop-shadow(0 0 4px #FFDDB7) drop-shadow(0 0 8px #FFDDB7);
    animation: drawPath 2s ease-in-out forwards, glowPulse2 3s ease-in-out infinite;
}

.path-3.animate {
    filter: drop-shadow(0 0 4px #B1C5FF) drop-shadow(0 0 8px #B1C5FF);
    animation: drawPath 2s ease-in-out forwards, glowPulse3 3s ease-in-out infinite;
}

.path-4.animate {
    filter: drop-shadow(0 0 4px #4FABFF) drop-shadow(0 0 8px #4FABFF);
    animation: drawPath 2s ease-in-out forwards, glowPulse4 3s ease-in-out infinite;
}

.path-5.animate {
    filter: drop-shadow(0 0 4px #076EFF) drop-shadow(0 0 8px #076EFF);
    animation: drawPath 2s ease-in-out forwards, glowPulse5 3s ease-in-out infinite;
}

/* Footer - Floating Style to Match Nav */
.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
    position: static;
    overflow: visible;
}

.footer-content::before {
    display: none;
}

.footer-logo-section {
    flex: none;
    max-width: none;
}

.footer-logo {
    font-family: "greycliff-cf", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.footer-tagline {
    display: none;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex: none;
    justify-content: center;
}

.footer-link-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.footer-link-group a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
    white-space: nowrap;
}

.footer-link-group a::after {
    display: none;
}

.footer-link-group a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.footer-bottom {
    display: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        bottom: 15px;
        padding: 10px 20px;
        border-radius: 40px;
    }
    
    .footer-content {
        gap: 16px;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-link-group {
        gap: 12px;
    }
    
    .footer-link-group a {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .footer-logo {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer {
        bottom: 10px;
        padding: 8px 16px;
        border-radius: 30px;
    }
    
    .footer-content {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-link-group {
        gap: 8px;
    }
    
    .footer-link-group a {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .footer-logo {
        font-size: 14px;
    }
}

/* Page Header for Sub-pages */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(214, 230, 63, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 24px;
    color: #a3a3a3;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: #a3a3a3;
}

.breadcrumb a {
    color: #d6e63f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    color: #666;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background: #000000;
}

.content-section:nth-child(even) {
    background: #0a0a0a;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.content-section h3 {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #a3a3a3;
    margin-bottom: 24px;
}

.content-section ul {
    margin-bottom: 24px;
}

.content-section li {
    font-size: 18px;
    line-height: 1.8;
    color: #a3a3a3;
    margin-bottom: 12px;
}

.highlight-box {
    background: rgba(214, 230, 63, 0.1);
    border: 1px solid rgba(214, 230, 63, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.highlight-box h3 {
    color: #d6e63f;
    margin-bottom: 16px;
    margin-top: 0;
}

.highlight-box p {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: rgba(214, 230, 63, 0.3);
    box-shadow: 0 25px 50px rgba(214, 230, 63, 0.1);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #d6e63f, #5a7e9a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #000;
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.team-role {
    font-size: 16px;
    color: #d6e63f;
    margin-bottom: 16px;
    font-weight: 500;
}

.team-bio {
    font-size: 16px;
    color: #a3a3a3;
    line-height: 1.6;
} 