/* ============================================
   MyDocstor - Global Styles
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   Base
   ============================================ */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #f8fafc;
}

/* ============================================
   Glassmorphism Components
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   Background
   ============================================ */
.bg-gradient-main {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 30%, #f8fafc 60%, #e0f2fe 100%);
    min-height: 100vh;
}

.bg-blob {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-blob::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.bg-blob::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* ============================================
   Navigation
   ============================================ */
.nav-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.2);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

/* ============================================
   Tool Pages
   ============================================ */
.tool-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.tool-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tool-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0f172a, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.tool-input {
    width: 100%;
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    outline: none;
}

.tool-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: white;
}

.tool-input::placeholder {
    color: #94a3b8;
}

/* ============================================
   Pro Banner
   ============================================ */
.pro-banner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 0.875rem;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.pro-banner p {
    color: #5b21b6;
    font-size: 0.875rem;
    font-weight: 500;
}

.pro-banner a {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pro-banner a:hover {
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* ============================================
   Video Downloader
   ============================================ */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 2rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7c3aed;
}

.video-preview {
    background: rgba(15, 23, 42, 0.04);
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.download-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.download-btn:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 1.875rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .pro-banner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ============================================
   MyDocstor - Site Footer
   ============================================ */

.site-footer {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Footer Top */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 280px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 2rem;
    padding: 0.35rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7c3aed;
    width: fit-content;
}

/* Footer Columns */
.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links a:hover {
    color: #7c3aed;
    transform: translateX(3px);
}

/* Footer Pro Card */
.footer-pro-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 1rem;
    padding: 1.25rem;
}

.footer-pro-card p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-pro-price {
    font-size: 2rem;
    font-weight: 800;
    color: #7c3aed;
    margin-bottom: 1rem;
    line-height: 1;
}

.footer-pro-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #94a3b8;
}

.footer-pro-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.footer-pro-btn:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-love {
    font-size: 0.8rem;
    color: #94a3b8;
}