/* 
   TeraBoxDownloaderPro - Premium CSS Styles
   Light Mode Theme with Premium Design
*/

:root {
    --primary-color: #4361ee;
    --primary-color-dark: #3a56d4;
    --secondary-color: #ff6b6b;
    --accent-color: #4cc9f0;
    --background-color: #f8fafc;
    --card-color: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #4361ee, #3a56d4);
    --gradient-secondary: linear-gradient(135deg, #4cc9f0, #3d9fc3);
    --gradient-accent: linear-gradient(135deg, #4f46e5, #7c3aed);
    --gradient-modern: linear-gradient(135deg, #6366f1, #4f46e5);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color-dark);
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text .highlight {
    color: var(--primary-color);
    margin: 0 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a.active, 
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after, 
.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../images/pattern.svg');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Downloader Box */
.downloader-box {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.downloader-box:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.input-group {
    display: flex;
    margin-bottom: 25px;
}

.input-group input {
    flex: 1;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    outline: none;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a56d4, #3049bf);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background-color: #f0f5ff;
    color: var(--primary-color);
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.btn-secondary:hover {
    background-color: #e6ebff;
    color: var(--primary-color-dark);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.input-group .btn-secondary {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 25px;
}

#preview-btn {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    letter-spacing: 0.5px;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.feature {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.feature i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 10px;
}

/* Preview Section */
.preview-section {
    padding: 80px 0;
    transition: all 0.5s ease;
}

.preview-section.hidden {
    display: none;
}

.preview-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(to right, rgba(67, 97, 238, 0.08), rgba(76, 201, 240, 0.08));
    border-bottom: 1px solid var(--border-color);
}

.preview-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-header h2 i {
    color: var(--primary-color);
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.preview-content {
    display: flex;
    padding: 30px;
    gap: 30px;
}

.preview-media {
    flex: 0 0 45%;
}

.video-thumbnail {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: auto;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 1;
}

.video-thumbnail.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 4px solid rgba(67, 97, 238, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

.video-thumbnail img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    transition: transform 0.5s ease;
    object-fit: contain;
}

.file-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-overlay i {
    color: white;
    font-size: 50px;
    width: 90px;
    height: 90px;
    background: rgba(67, 97, 238, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.video-thumbnail:hover .play-overlay i {
    transform: scale(1);
}

.video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-header {
    margin-bottom: 20px;
}

.video-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.file-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.file-date i {
    color: var(--primary-color);
}

.video-info p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-details {
    background: rgba(67, 97, 238, 0.03);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex-grow: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.status-ready {
    color: var(--success-color);
}

.video-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.video-actions .btn {
    padding: 14px 25px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-actions .btn:hover {
    transform: translateY(-3px);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 3px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background-color: var(--card-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(76, 201, 240, 0.1));
    position: relative;
}

.step-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-question i {
    font-size: 18px;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background-color: rgba(67, 97, 238, 0.03);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Footer */
footer {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    max-width: 400px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo-text .highlight {
    color: var(--primary-color);
    margin: 0 2px;
}

.footer-logo p {
    margin-top: 15px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-links-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-column a {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-up {
    animation: fadeUp 1s ease forwards;
}

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

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

/* Loader and Toast Styles */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loader-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(67, 97, 238, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .preview-content {
        flex-direction: column;
    }
    
    .steps {
        grid-template-columns: repeat(1, 1fr);
        max-width: 500px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 70px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .feature {
        flex-basis: calc(50% - 15px);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .post-featured-image,
    .step-image {
        height: 300px;
    }
    
    .logo-text,
    .footer-logo-text {
        font-size: 20px;
    }
    
    /* Updated preview section responsive styles */
    .preview-section {
        padding: 60px 0;
    }
    
    .preview-content {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }
    
    .preview-media {
        flex: 0 0 100%;
    }
    
    .video-thumbnail {
        max-height: 300px;
        min-height: 200px;
    }
    
    .video-thumbnail img {
        max-height: 300px;
    }
    
    .file-header {
        margin-bottom: 15px;
    }
    
    .video-info h3 {
        font-size: 22px;
    }
    
    .video-details {
        padding: 15px;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .detail-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .video-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .video-actions .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .features {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature {
        width: 100%;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .input-group .btn-secondary {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        width: 100%;
    }
    
    /* Enhanced preview section for mobile */
    .preview-section {
        padding: 40px 0;
    }
    
    .preview-header {
        padding: 15px 20px;
    }
    
    .preview-header h2 {
        font-size: 18px;
    }
    
    .preview-content {
        padding: 15px;
        gap: 20px;
    }
    
    .video-thumbnail {
        max-height: 220px;
        min-height: 180px;
    }
    
    .video-thumbnail img {
        max-height: 220px;
    }
    
    .file-type-badge {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .play-overlay i {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
    
    .video-info h3 {
        font-size: 20px;
    }
    
    .file-meta {
        font-size: 12px;
    }
    
    .video-details {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
    }
    
    .detail-item {
        gap: 10px;
    }
    
    .detail-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .detail-label {
        font-size: 10px;
    }
    
    .detail-value {
        font-size: 14px;
    }
    
    .video-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .video-actions .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Show Nav Links when active in mobile */
.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--card-color);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* Image Container Standardization */
/* Blog thumbnails in grid */
.blog-image {
    width: 100%;
    height: 220px; /* Fixed height */
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio, crops if needed */
}

/* Featured post image */
.featured-post-image {
    width: 100%;
    aspect-ratio: 16/9; /* Maintains aspect ratio */
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post featured image */
.post-featured-image {
    width: 100%;
    height: 450px;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tutorial step images */
.step-image {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full image without cropping */
    background-color: #f9fafb; /* Light background for screenshots */
}

/* Author Images */
.post-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Add Responsive adjustments */
@media (max-width: 768px) {
    /* These styles are already handled in the main responsive section */
}

/* Enhanced UI Elements */
.modern-section-title {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 15px;
    background: var(--gradient-modern);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.modern-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-modern);
    border-radius: 4px;
}

/* Modern Steps */
.steps-modern-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.step-modern {
    position: relative;
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
    overflow: hidden;
    z-index: 1;
}

.step-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-modern);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.step-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-left: 5px solid transparent;
}

.step-modern:hover::before {
    opacity: 1;
}

.step-modern:hover .step-modern-content h4,
.step-modern:hover .step-modern-content p {
    color: white;
}

.step-modern-number {
    font-size: 64px;
    font-weight: 800;
    color: rgba(67, 97, 238, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: var(--transition);
}

.step-modern:hover .step-modern-number {
    color: rgba(255, 255, 255, 0.2);
}

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

.step-modern-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

.step-modern-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.step-modern-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition);
}

.step-modern:hover .step-modern-icon {
    background: rgba(255, 255, 255, 0.2);
}

.step-modern-icon i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.step-modern:hover .step-modern-icon i {
    color: white;
}

/* Enhanced CTA Box */
.cta-box-modern {
    position: relative;
    background: var(--gradient-modern);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 60px 0;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
    color: white;
    text-align: center;
}

.cta-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-content-modern {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box-modern h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.cta-box-modern h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.cta-box-modern p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-box-modern .btn-modern {
    background-color: white;
    color: var(--primary-color-dark);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid white;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-box-modern .btn-modern:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-box-gradient {
    position: relative;
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(118, 75, 162, 0.3);
}

.cta-box-gradient::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -50%;
    left: -50%;
    transform: rotate(30deg);
}

.cta-content-gradient {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box-gradient h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-box-gradient p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-box-gradient .btn-gradient {
    background-color: white;
    color: #764ba2;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-box-gradient .btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: 0.5s ease;
    z-index: -1;
}

.cta-box-gradient .btn-gradient:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-box-gradient .btn-gradient:hover::before {
    width: 100%;
}

/* Experience Section */
.experience-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff, #f8fafc);
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('../images/pattern.svg');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 0;
}

.experience-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.experience-content h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.experience-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.experience-content .btn-experience {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.experience-content .btn-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color-dark);
    transition: 0.5s ease;
    z-index: -1;
    border-radius: 50px;
}

.experience-content .btn-experience:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(67, 97, 238, 0.4);
}

.experience-content .btn-experience:hover::before {
    width: 100%;
}

/* Media Queries for Enhanced UI */
@media (max-width: 768px) {
    .modern-section-title {
        font-size: 28px;
    }
    
    .steps-modern-container {
        grid-template-columns: 1fr;
    }
    
    .cta-box-modern,
    .cta-box-gradient {
        padding: 30px 20px;
    }
    
    .cta-box-modern h3,
    .cta-box-gradient h3,
    .experience-content h3 {
        font-size: 28px;
    }
    
    .cta-box-modern p,
    .cta-box-gradient p,
    .experience-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .modern-section-title {
        font-size: 24px;
    }
    
    .cta-box-modern h3,
    .cta-box-gradient h3,
    .experience-content h3 {
        font-size: 24px;
    }
}