/* ============================================
   STORY PAGE STYLES
   ============================================ */

.story-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    background: radial-gradient(circle at 30% 50%, rgba(213, 255, 255, 0.08) 0%, transparent 50%);
}

.story-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.story-title {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--cyan);
}

.story-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--gray-light);
    font-weight: 400;
}

/* Story Content */
.story-content {
    padding: 80px 20px 120px;
}

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

.story-chapter {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-chapter.in-view {
    opacity: 1;
    transform: translateY(0);
}

.chapter-number {
    font-size: 80px;
    font-weight: 900;
    color: rgba(213, 255, 255, 0.15);
    line-height: 1;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.chapter-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.chapter-content p {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.chapter-content p:last-child {
    margin-bottom: 0;
}

/* Timeline */
.timeline-section {
    margin: 120px 0;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan) 0%, transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.in-view {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -66px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.timeline-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--gray-light);
}

/* Story CTA */
.story-cta {
    text-align: center;
    padding: 80px 40px;
    background: rgba(213, 255, 255, 0.03);
    border-radius: 20px;
    margin-top: 120px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-cta.in-view {
    opacity: 1;
    transform: translateY(0);
}

.story-cta h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.story-cta p {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--gray-light);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--cyan);
    color: var(--black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .story-hero {
        min-height: 50vh;
        padding: 100px 20px 60px;
    }

    .story-chapter {
        grid-template-columns: 60px 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .chapter-number {
        font-size: 48px;
        top: 100px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-item::before {
        left: -46px;
    }

    .story-cta {
        padding: 60px 30px;
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .story-chapter {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chapter-number {
        position: relative;
        top: 0;
        font-size: 60px;
    }
}
