/* Story Page Styles */

:root {
    --primary: #007AFF;
    --secondary: #5856D6;
    --success: #34C759;
    --warning: #FF9500;
    --danger: #FF3B30;
    --dark: #1C1C1E;
    --gray-900: #2C3E50;
    --gray-800: #34495E;
    --gray-700: #4A5568;
    --gray-600: #718096;
    --gray-500: #A0AEC0;
    --gray-400: #CBD5E0;
    --gray-300: #E2E8F0;
    --gray-200: #EDF2F7;
    --gray-100: #F7FAFC;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
}

/* Story Hero */
.story-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    margin-top: 72px;
    text-align: center;
}

.story-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.story-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

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

.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Author Section */
.author-section {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-title {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.author-links {
    display: flex;
    gap: 16px;
}

.author-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.author-link:hover {
    opacity: 0.8;
}

/* Story Text */
.story-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.story-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.story-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--gray-700);
}

.story-text strong {
    font-weight: 600;
    color: var(--gray-900);
}

.story-list {
    margin: 24px 0 32px 24px;
}

.story-list li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--gray-700);
}

.story-list li strong {
    color: var(--gray-900);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border-left: 4px solid var(--primary);
    padding: 24px;
    margin: 32px 0;
    border-radius: var(--radius);
}

.highlight-box p {
    font-size: 20px;
    font-style: italic;
    color: var(--gray-800);
    margin: 0;
}

/* Quote Section */
.quote-section {
    margin: 48px 0;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.quote-section blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--gray-800);
    border-left: none;
    margin: 0;
    position: relative;
}

.quote-section blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--primary);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-item {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.1);
    transform: translateY(-2px);
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    margin: 0;
}

/* Closing Section */
.closing-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--gray-200);
}

.cta-section {
    text-align: center;
    margin-top: 48px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border-radius: var(--radius-lg);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-600);
}


/* Responsive */
@media (max-width: 768px) {
    .story-title {
        font-size: 36px;
    }
    
    .story-subtitle {
        font-size: 18px;
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
    }
    
    .author-photo {
        width: 100px;
        height: 100px;
    }
    
    .story-text h2 {
        font-size: 28px;
    }
    
    .story-text p {
        font-size: 16px;
    }
    
    .highlight-box p,
    .quote-section blockquote {
        font-size: 18px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}