/* Custom styles for JetVideoDownload */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Platform Cards */
.platform-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.platform-icon {
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Download Form */
.card {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Video Info Section */
#videoInfo {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Share Buttons */
.btn-sm {
    border-radius: 6px;
    font-size: 0.875rem;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #667eea;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .platform-card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .platform-card,
    .feature-card,
    .card {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .text-muted {
        color: #a0aec0 !important;
    }
    
    .bg-light {
        background-color: #2d3748 !important;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

/* Loading animation for download buttons */
.btn:active {
    transform: scale(0.98);
}

/* Success animation for copy button */
.btn-success {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Error message styling */
.alert-danger {
    border-left: 4px solid #dc3545;
}

.alert-info {
    border-left: 4px solid #17a2b8;
}

/* Video thumbnail styling */
.img-fluid.rounded {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.img-fluid.rounded:hover {
    transform: scale(1.02);
}

/* Download options grid */
.row.g-3 > .col-md-6 {
    margin-bottom: 0.75rem;
}

/* Social share buttons */
.btn-outline-info:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Legal notice styling */
.alert-info {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: #1565c0;
}

/* How to use section */
.bg-light {
    background-color: #f8f9fa !important;
}

ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Platform-specific colors */
.text-danger {
    color: #e4405f !important;
}

.text-primary {
    color: #1877f2 !important;
}

.text-dark {
    color: #000000 !important;
}

.text-info {
    color: #1da1f2 !important;
}

/* Button outline colors */
.btn-outline-danger {
    color: #e4405f;
    border-color: #e4405f;
}

.btn-outline-danger:hover {
    background-color: #e4405f;
    border-color: #e4405f;
}

.btn-outline-primary {
    color: #1877f2;
    border-color: #1877f2;
}

.btn-outline-primary:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.btn-outline-dark {
    color: #000000;
    border-color: #000000;
}

.btn-outline-dark:hover {
    background-color: #000000;
    border-color: #000000;
}

.btn-outline-info {
    color: #1da1f2;
    border-color: #1da1f2;
}

.btn-outline-info:hover {
    background-color: #1da1f2;
    border-color: #1da1f2;
} 