/* PilotX Page Specific Styles */

/* Simplified fade-in - elements always visible and clickable */
.challenge-card,
.intro-section {
    opacity: 1;
    transform: translateY(0);
}

.challenge-card.visible,
.intro-section.visible {
    animation: subtleFadeIn 0.4s ease;
}

@keyframes subtleFadeIn {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

.pilotx-hero {
    min-height: 100vh;
    padding: 10rem 0 4rem;
    background-color: var(--black);
    overflow: visible;
    position: relative;
}

.pilotx-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: block;
    position: relative;
    overflow: visible;
}

/* Left Side: Poster - Completely fixed to viewport */
.pilotx-poster {
    position: fixed !important;
    top: 100px !important;
    left: 2rem !important;
    width: 42%;
    max-width: 600px;
    height: calc(100vh - 120px);
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    z-index: 100 !important;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.poster-image {
    width: 81%;
    height: auto;
    max-width: 495px;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
}

.poster-image:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
}

/* Right Side: Content */
.pilotx-content {
    margin-left: 45%;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    max-width: 850px;
}

/* Adjust content width for medium screens while keeping poster fixed */
@media (max-width: 1400px) and (min-width: 901px) {
    .pilotx-content {
        margin-left: 43%;
        max-width: 750px;
    }
}

.pilotx-title {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    line-height: 1.1;
}

.pilotx-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Introduction Sections */
.pilotx-intro {
    margin-bottom: 1.5rem;
}

/* 口号特殊样式 */
.pilotx-slogan {
    margin: 2rem 0;
    padding: 1.5rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slogan-main {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--white);
    line-height: 1.4;
}

.slogan-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin: 0;
}

.intro-section {
    margin-bottom: 1rem;
}

/* Section标题加粗放大 */
.section-title-large {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.01em;
    color: var(--white);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

/* Make intro sections collapsible */
.intro-section.collapsible {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
    overflow: visible;
    margin: 0.5rem 0;
}

.intro-section.collapsible .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto;
}

.intro-section.collapsible .section-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.intro-section.collapsible .section-header h2 {
    margin-bottom: 0;
    line-height: 1.3;
}

.intro-section .section-toggle {
    font-size: 1.1rem;
    font-weight: 200;
    color: var(--white);
    transition: transform 0.3s ease;
    user-select: none;
    line-height: 1;
}

.intro-section.active .section-toggle {
    transform: rotate(45deg);
}

.intro-section .section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
}

.intro-section.active .section-content {
    max-height: 3000px;
    padding: 0.5rem 1rem 1rem;
}

.intro-section h2 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.intro-section h3 {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.4rem;
    margin-top: 0.85rem;
    letter-spacing: -0.01em;
}

.intro-section h4 {
    font-size: 0.82rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.intro-section p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.intro-section ul {
    list-style: none;
    margin: 0.4rem 0 0.75rem 0;
    padding: 0;
}

.intro-section li {
    padding: 0.3rem 0 0.3rem 1rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.72rem;
}

.intro-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray);
    font-weight: 300;
}

/* Challenges Section */
.challenges-section {
    margin-top: 2rem;
}

.challenges-title {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

/* Challenge Cards - 完全无边框，极简样式 */
.challenge-card {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
    padding: 0;
    background-color: transparent;
    transition: all 0.3s ease;
    overflow: visible;
}

.challenge-card:last-child {
    border-bottom: none;
}

.challenge-card:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto;
}

.challenge-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.challenge-header h3 {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    flex: 1;
    margin: 0;
    line-height: 1.3;
}

.toggle-icon {
    font-size: 1.3rem;
    font-weight: 200;
    color: var(--white);
    transition: transform 0.3s ease;
    margin-left: 0.65rem;
    user-select: none;
    line-height: 1;
}

.challenge-card.active .toggle-icon {
    transform: rotate(45deg);
}

.challenge-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.challenge-card.active .challenge-content {
    max-height: 1000px;
    padding: 0.5rem 0 1rem 0;
}

.challenge-content p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.6rem;
}

.challenge-content strong {
    color: var(--white);
    font-weight: 400;
}

.challenge-content ul {
    list-style: none;
    margin: 0.5rem 0 0.85rem 0;
    padding: 0;
}

.challenge-content li {
    padding: 0.35rem 0 0.35rem 1rem;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    font-size: 0.75rem;
}

.challenge-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gray);
    font-weight: 300;
}

/* FAQ Section */
.faq-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.faq-title {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

/* FAQ Items - 和Challenge卡片一样的样式 */
.faq-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
    padding: 0;
    background-color: transparent;
    transition: all 0.3s ease;
    overflow: visible;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto;
}

.faq-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-header h3 {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    flex: 1;
    margin: 0;
    line-height: 1.3;
}

.faq-toggle {
    font-size: 1.3rem;
    font-weight: 200;
    color: var(--white);
    transition: transform 0.3s ease;
    margin-left: 0.65rem;
    user-select: none;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-item.active .faq-content {
    max-height: 1500px;
    padding: 0.5rem 0 1rem 0;
}

.faq-content p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.6rem;
}

.faq-content strong {
    color: var(--white);
    font-weight: 400;
}

.faq-content ul {
    list-style: none;
    margin: 0.5rem 0 0.85rem 0;
    padding: 0;
}

.faq-content li {
    padding: 0.35rem 0 0.35rem 1rem;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    font-size: 0.75rem;
}

.faq-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray);
    font-weight: 300;
}

/* Timeline Section */
/* Timeline Section - Completely Rewritten */
.timeline-section {
    margin-top: 2rem;
    padding: 1.25rem 0;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.timeline-grid {
    display: flex;
    gap: 1.25rem;
    width: 100%;
}

.timeline-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.timeline-date {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
    color: var(--white);
    white-space: nowrap;
}

.timeline-label {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.timeline-note {
    padding: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.02);
    margin-top: 1rem;
}

.timeline-note p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.6rem;
}

.timeline-note p:last-child {
    margin-bottom: 0;
}

.timeline-note strong {
    color: var(--white);
    font-weight: 400;
}

/* CTA Section */
.pilotx-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.pilotx-cta h3 {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
/* Tablet: show poster at top, not fixed */
@media (max-width: 900px) and (min-width: 769px) {
    .pilotx-poster {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .poster-image {
        width: 70%;
        max-width: 400px;
        max-height: none;
    }

    .pilotx-content {
        margin-left: 0;
        padding: 0;
        max-width: 100%;
    }

    .pilotx-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) and (min-width: 0px) {
    .pilotx-container {
        display: block;
    }

    .pilotx-content {
        margin-left: 0;
        padding: 0;
        max-width: 100%;
    }

    .pilotx-title {
        font-size: 2.75rem;
    }

    .timeline-grid {
        flex-wrap: wrap;
    }
    
    .timeline-item {
        flex: 0 0 calc(50% - 0.625rem);
    }
}

@media (max-width: 768px) {
    .pilotx-hero {
        padding: 8rem 0 2rem;
        display: flex;
        flex-direction: column;
    }

    .pilotx-container {
        padding: 0 1.5rem;
    }

    .pilotx-poster {
        display: none !important;
    }

    .pilotx-content {
        padding: 0;
        order: 1;
    }

    .pilotx-title {
        font-size: 2.25rem;
    }

    .pilotx-subtitle {
        font-size: 0.85rem;
    }

    .intro-section h2 {
        font-size: 1.25rem;
    }

    .intro-section.collapsible .section-header {
        padding: 1rem 1.5rem;
    }

    .intro-section .section-content {
        padding: 0 1.5rem;
    }

    .intro-section.active .section-content {
        padding: 0 1.5rem 1.5rem;
    }

    .intro-section h3 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
    }

    .intro-section h4 {
        font-size: 0.95rem;
        margin-top: 1rem;
    }

    .intro-section p {
        font-size: 0.9rem;
    }

    .challenges-title {
        font-size: 1.5rem;
    }

    .challenge-header {
        padding: 1.25rem 1.5rem;
    }

    .challenge-header h3 {
        font-size: 1rem;
    }

    .challenge-content {
        padding: 0 1.5rem;
    }

    .challenge-card.active .challenge-content {
        padding: 0 1.5rem 1.5rem;
    }

    .timeline-title {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }

    .timeline-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-item {
        padding: 1.5rem 1.25rem;
        flex: 1 1 auto;
        width: 100%;
    }

    .timeline-date {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .timeline-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .timeline-note {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }

    .timeline-note p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .pilotx-cta {
        padding: 2rem 1.5rem;
    }

    .pilotx-cta h3 {
        font-size: 1.5rem;
    }

    .pilotx-cta p {
        font-size: 0.9rem;
    }
}

/* ==========================================
   PilotX Overview Page Styles - New Design
   ========================================== */

/* Hero Section */
.pilotx-hero-new {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10rem 2rem 4rem;
    background-color: var(--black);
}

.pilotx-hero-content {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.1s forwards;
}

.pilotx-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-bottom: 2rem;
}

.pilotx-main-title {
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.pilotx-tagline {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content - Left Right Layout */
.pilotx-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.pilotx-left,
.pilotx-right {
    min-width: 0;
}

.pilotx-section-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.pilotx-description p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.pilotx-description p:last-child {
    margin-bottom: 0;
}

/* Tracks List */
.pilotx-tracks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.track-item {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.01)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.track-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    transform: translateX(5px);
}

.track-item-disabled {
    opacity: 0.5;
    cursor: default;
}

.track-item-disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.track-item-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.track-item-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.track-item-info {
    flex: 1;
}

.track-item-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.track-item-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.track-item-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.track-item-meta {
    display: flex;
    gap: 0.75rem;
}

.track-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: 16px;
    font-weight: 500;
}

.track-badge-active {
    background: rgba(0, 255, 170, 0.1);
    color: #00ffaa;
    border: 1px solid rgba(0, 255, 170, 0.2);
}

.track-badge-duration {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-badge-soon {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Coming Soon Text (Simple) */
.tracks-coming-soon {
    margin-top: 2rem;
    padding: 1.5rem 0;
    text-align: center;
}

.coming-soon-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.coming-soon-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Responsive */
@media (max-width: 1200px) {
    .pilotx-main-content {
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .pilotx-main-title {
        font-size: 3.2rem;
    }

    .pilotx-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pilotx-hero-new {
        padding: 8rem 1.5rem 3rem;
    }
}

@media (max-width: 768px) {
    .pilotx-main-title {
        font-size: 2.5rem;
    }

    .pilotx-tagline {
        font-size: 0.95rem;
    }

    .pilotx-hero-content {
        margin-bottom: 3rem;
    }

    .pilotx-section-title {
        font-size: 1.3rem;
    }

    .track-item {
        padding: 1.25rem;
    }

    .track-item-title {
        font-size: 1.1rem;
    }
}