.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin: -20px -20px 40px -20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    line-height: 1.5;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.visual-element {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.visual-element:nth-child(1) {
    animation-delay: 0s;
    background: rgba(103, 126, 234, 0.2);
    border-color: rgba(103, 126, 234, 0.3);
}

.visual-element:nth-child(2) {
    animation-delay: 0.5s;
    background: rgba(118, 75, 162, 0.2);
    border-color: rgba(200, 180, 220, 0.6);
}

.visual-element:nth-child(3) {
    animation-delay: 1s;
    background: rgba(240, 147, 251, 0.2);
    border-color: rgba(240, 147, 251, 0.3);
}

.visual-element:nth-child(4) {
    animation-delay: 1.5s;
    background: rgba(0, 122, 204, 0.2);
    border-color: rgba(0, 122, 204, 0.3);
}

.visual-element:nth-child(5) {
    animation-delay: 2s;
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

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

.cta-hero-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 18px 36px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(45deg, #f7931e, #ff6b35);
}

.transformation-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin: 60px 0;
    align-items: start;
}

.before-section {
    background: #ffebee;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #ffcdd2;
    position: relative;
}

.before-section::before {
    content: "BEFORE";
    position: absolute;
    top: -15px;
    left: 20px;
    background: #f44336;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.after-section {
    background: #e8f5e8;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #c8e6c9;
    position: relative;
}

.after-section::before {
    content: "AFTER";
    position: absolute;
    top: -15px;
    left: 20px;
    background: #4caf50;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.transformation-arrow {
    font-size: 3rem;
    color: #007acc;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.chaotic-feed {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    padding: 15px;
}

.linkedin-post {
    padding: 15px;
    margin: 10px 0;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 3px solid #0077b5;
    font-size: 0.9rem;
}

.post-author {
    font-weight: bold;
    color: #0077b5;
    margin-bottom: 5px;
}

.post-content {
    color: #666;
    line-height: 1.4;
}

.post-noise {
    opacity: 0.6;
    font-style: italic;
}

.structured-learning {
    background: white;
    border-radius: 8px;
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.path-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e0e0e0;
}

.suggested-path {
    margin: 12px 0;
    padding: 12px;
    background: #fff3e0;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
    position: relative;
}

.path-suggestion {
    font-size: 0.85rem;
    color: #e65100;
    margin-bottom: 5px;
}

.path-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.path-actions {
    margin-top: 8px;
}

.path-btn {
    background: #ff9800;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 8px;
    display: inline-block;
    transition: all 0.2s ease;
}

.path-btn:hover {
    background: #f57c00;
    transform: translateY(-1px);
}

.path-btn.secondary {
    background: #e0e0e0;
    color: #666;
}

.path-btn.secondary:hover {
    background: #d0d0d0;
}

.learning-path {
    margin: 12px 0;
    padding: 12px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #007acc;
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.path-badges {
    display: flex;
    gap: 5px;
}

.badge {
    background: #007acc;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
}

.badge.star {
    background: #ffc107;
    color: #000;
}

.badge.test {
    background: #28a745;
}

.path-progress {
    background: #e0e0e0;
    height: 4px;
    border-radius: 2px;
    margin: 8px 0;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    height: 100%;
    transition: width 0.3s ease;
}

.current-reading {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
    margin: 8px 0;
    border: 1px solid #e9ecef;
}

.reading-title {
    font-weight: bold;
    font-size: 0.8rem;
    color: #2c3e50;
    margin-bottom: 3px;
}

.reading-source {
    font-size: 0.7rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.reading-actions {
    display: flex;
    gap: 5px;
}

.reading-btn {
    background: #007acc;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.reading-btn:hover {
    background: #005fa3;
    transform: translateY(-1px);
}

.reading-btn.quiz {
    background: #28a745;
}

.reading-btn.quiz:hover {
    background: #1e7e34;
}

.path-stats {
    font-size: 0.75rem;
    color: #5d6d7e;
    margin-top: 5px;
}

.cta-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin: 60px -20px -20px -20px;
}

.cta-button {
    background: white;
    color: #ff6b35;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .transformation-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Reorder sections on mobile: after first, arrow middle, before last */
    .after-section {
        order: 1;
    }
    
    .transformation-arrow {
        order: 2;
        transform: rotate(-90deg);
        font-size: 2rem;
        margin: 10px 0;
    }
    
    .before-section {
        order: 3;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .hero-visual {
        gap: 10px;
    }
    
    .visual-element {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    .chaotic-feed {
        height: 300px;
    }
    
    .structured-learning {
        height: 450px;
    }
    
    .before-section, .after-section {
        padding: 20px;
    }
    
    .path-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .path-btn {
        text-align: center;
    }
    
    .reading-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .reading-btn {
        text-align: center;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-visual {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .visual-element {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .transformation-container {
        gap: 15px;
        margin: 40px 0;
    }
    
    .before-section, .after-section {
        padding: 15px;
    }
    
    .chaotic-feed {
        height: 250px;
    }
    
    .structured-learning {
        height: 400px;
    }
    
    .linkedin-post {
        padding: 10px;
        margin: 8px 0;
    }
    
    .post-content {
        font-size: 0.9rem;
    }
    
    .learning-path {
        padding: 15px;
    }
    
    .path-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .path-badges {
        align-self: flex-start;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.modal-subtitle {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    display: none;
    text-align: center;
    color: #28a745;
    margin-top: 20px;
    padding: 15px;
    background: #d4edda;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
} 