/* Learning Page Specific Styles */

/* Learning Hero Section */
.learning-hero {
    background: linear-gradient(135deg, #ff8c42, #ffa726);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.learning-hero::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="books" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" x="2" y="5" width="4" height="10"/><rect fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" x="7" y="3" width="4" height="12"/><rect fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5" x="12" y="6" width="4" height="9"/></pattern></defs><rect width="100" height="100" fill="url(%23books)"/></svg>') repeat;
    opacity: 0.3;
}

.learning-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.learning-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.learning-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-icon {
    color: #ff8c42;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.coming-soon-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Features Preview */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.feature-preview {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.15);
    border-color: rgba(255, 140, 66, 0.3);
}

.feature-preview .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-preview h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-preview p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Notification Section */
.notify-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid #ff8c42;
    animation: fadeInUp 1s ease 0.6s both;
}

.notify-section h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.email-subscribe {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-subscribe input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.email-subscribe input:focus {
    border-color: #ff8c42;
}

.subscribe-btn {
    background: #ff8c42;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.subscribe-btn:active {
    transform: translateY(0);
}

/* Quick Links Section */
.quick-links-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.quick-link-card:hover {
    transform: translateY(-8px);
    border-color: #ff8c42;
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.15);
    color: inherit;
    text-decoration: none;
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.quick-link-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.quick-link-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    padding: 1rem 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.success-content h2 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.success-content p {
    color: #666;
    font-size: 1.1rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .learning-hero {
        padding: 120px 0 80px;
    }
    
    .learning-hero h1 {
        font-size: 2.2rem;
    }
    
    .learning-hero p {
        font-size: 1.1rem;
    }
    
    .coming-soon-section {
        padding: 60px 0;
    }
    
    .coming-soon-content h2 {
        font-size: 2rem;
    }
    
    .coming-soon-content > p {
        font-size: 1.1rem;
    }
    
    .features-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .feature-preview {
        padding: 1.5rem;
    }
    
    .notify-section {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .email-subscribe {
        flex-direction: column;
        align-items: center;
    }
    
    .email-subscribe input {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .subscribe-btn {
        width: 100%;
    }
    
    .quick-links-section {
        padding: 60px 0;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-link-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .learning-hero h1 {
        font-size: 1.8rem;
    }
    
    .coming-soon-content h2 {
        font-size: 1.8rem;
    }
    
    .coming-soon-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .feature-preview .feature-icon {
        font-size: 2.5rem;
    }
    
    .link-icon {
        font-size: 2.5rem;
    }
    
    .notify-section h3 {
        font-size: 1.3rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .coming-soon-section {
        background: #1a1a1a;
    }
    
    .coming-soon-content h2 {
        color: #f8f9fa;
    }
    
    .coming-soon-content > p {
        color: #adb5bd;
    }
    
    .feature-preview {
        background: #2d3436;
        color: #f8f9fa;
    }
    
    .feature-preview h3 {
        color: #f8f9fa;
    }
    
    .feature-preview p {
        color: #adb5bd;
    }
    
    .quick-link-card {
        background: #2d3436;
        color: #f8f9fa;
    }
    
    .quick-link-card h3 {
        color: #f8f9fa;
    }
    
    .quick-link-card p {
        color: #adb5bd;
    }
}