/* ========================================
   Story Flow Section - Storytelling Styles
   ======================================== */

/* Container */
.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Story Section */
.story-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #d4af37 20%, #d4af37 80%, transparent 100%);
    opacity: 0.3;
    z-index: 0;
}

/* Story Block */
.story-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.story-block:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Story Step Badge */
.story-step {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.story-step.danger {
    background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.story-step.success {
    background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.story-step.primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* Story Title */
.story-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.story-highlight {
    color: #d4af37;
    position: relative;
    display: inline-block;
}

.story-highlight-danger {
    color: #dc3545;
    font-weight: 900;
}

.story-highlight-success {
    color: #28a745;
}

.story-highlight-primary {
    color: #007bff;
    font-weight: 900;
}

.story-subtitle {
    display: block;
    font-size: 1.4rem;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

/* Story Content */
.story-content {
    line-height: 1.8;
}

.story-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.story-text.center {
    text-align: center;
}

.story-text strong {
    color: #d4af37;
    font-weight: 700;
}

/* Story Emphasis */
.story-emphasis {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border-left: 4px solid #d4af37;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.story-emphasis i {
    font-size: 1.5rem;
    color: #d4af37;
    flex-shrink: 0;
}

.story-emphasis p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Story Fact Box */
.story-fact-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.story-fact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-fact-title i {
    color: #17a2b8;
    font-size: 1.5rem;
}

/* Story Warning Box */
.story-warning-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.story-warning-box > i {
    font-size: 2rem;
    color: #dc3545;
    flex-shrink: 0;
    margin-top: 5px;
}

.story-warning-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 10px;
}

.story-warning-box p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

/* Story Comparison */
.story-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.story-comparison-item {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.story-comparison-item.highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.story-comparison-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.story-comparison-header i {
    font-size: 1.5rem;
}

.story-comparison-item:not(.highlight) .story-comparison-header i {
    color: #6c757d;
}

.story-comparison-item.highlight .story-comparison-header i {
    color: #007bff;
}

.story-comparison-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.story-comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.story-comparison-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.story-comparison-list i {
    font-size: 1rem;
    flex-shrink: 0;
}

.story-comparison-item:not(.highlight) .story-comparison-list i {
    color: #dc3545;
}

.story-comparison-item.highlight .story-comparison-list i {
    color: #28a745;
}

/* Story Reason */
.story-reason {
    display: flex;
    gap: 25px;
    margin: 30px 0;
    align-items: flex-start;
}

.story-reason-number {
    background: linear-gradient(135deg, #28a745 0%, #34d058 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.story-reason-content {
    flex: 1;
}

.story-reason-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-reason-title i {
    color: #28a745;
}

.story-reason-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

/* Story Gift Box */
.story-gift-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fffaed 100%);
    border: 3px solid #d4af37;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.story-gift-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-gift-title i {
    color: #d4af37;
    font-size: 1.8rem;
}

.story-gift-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.story-gift-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #333;
}

.story-gift-list i {
    color: #28a745;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.story-gift-list strong {
    color: #dc3545;
    font-weight: 900;
}

/* Story CTA Button */
.story-cta-button {
    text-align: center;
    margin: 40px 0 30px;
}

.story-cta-button .btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 25px 50px;
    font-size: 1.2rem;
}

.story-cta-button .btn-sub {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.8);
    }
}

/* Story Note */
.story-note {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-top: 20px;
}

.story-note i {
    color: #d4af37;
    margin-right: 5px;
}

/* Story Arrow */
.story-arrow {
    text-align: center;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.story-arrow i {
    font-size: 2rem;
    color: #d4af37;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container-narrow {
        padding: 0 15px;
    }
    
    .story-block {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .story-title {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    .story-subtitle {
        font-size: 1rem;
    }
    
    .story-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .story-comparison {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .story-comparison-item {
        padding: 20px;
    }
    
    .story-reason {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }
    
    .story-reason-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    .story-reason-title {
        font-size: 1.1rem;
    }
    
    .story-reason-text {
        font-size: 0.95rem;
    }
    
    .story-emphasis {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .story-emphasis i {
        font-size: 1.2rem;
    }
    
    .story-emphasis p {
        font-size: 1rem;
    }
    
    .story-warning-box {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .story-warning-box > i {
        font-size: 1.5rem;
    }
    
    .story-warning-box h4 {
        font-size: 1.1rem;
    }
    
    .story-fact-box {
        padding: 20px;
    }
    
    .story-gift-box {
        padding: 20px;
    }
    
    .story-gift-title {
        font-size: 1.2rem;
    }
    
    .story-gift-list li {
        font-size: 1rem;
    }
    
    .story-cta-button .btn {
        padding: 18px 25px;
        font-size: 1rem;
        width: 100%;
    }
    
    .story-cta-button .btn-sub {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .story-block {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .story-step {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .story-title {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .story-subtitle {
        font-size: 0.95rem;
    }
    
    .story-text {
        font-size: 0.9rem;
    }
    
    .story-comparison-item {
        padding: 15px;
    }
    
    .story-comparison-header h4 {
        font-size: 1rem;
    }
    
    .story-comparison-list li {
        font-size: 0.9rem;
    }
    
    .story-reason {
        gap: 12px;
    }
    
    .story-reason-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .story-reason-title {
        font-size: 1rem;
    }
    
    .story-reason-text {
        font-size: 0.9rem;
    }
    
    .story-emphasis {
        padding: 12px 15px;
    }
    
    .story-fact-box,
    .story-warning-box,
    .story-gift-box {
        padding: 15px;
    }
    
    .story-gift-list li {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    .story-cta-button .btn {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   Blog Link Box - Story Section Specific
   ======================================== */
.story-content .blog-link-box {
    margin-top: 30px;
    animation: slideInUp 0.6s ease-out;
}

.story-solution .blog-link-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-color: #2d5a8f;
}

.story-solution .blog-link-box:hover {
    border-color: #1e3a5f;
    box-shadow: 0 8px 20px rgba(45, 90, 143, 0.25);
}

.story-solution .blog-link-box::before {
    background: linear-gradient(180deg, #2d5a8f 0%, #1e3a5f 100%);
}

.story-solution .blog-link-box > i {
    color: #2d5a8f;
}

.story-solution .blog-link-box:hover > i {
    color: #1e3a5f;
}

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