/* ===================================================== */
/*          SORA2DL – FULL CSS ĐẸP + RESPONSIVE          */
/* ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1e293b;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.wide { 
    max-width: 1180px; 
    padding: 0 20px; 
}

/* ================== HEADER ================== */
header {
    background: rgba(240, 249, 255, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid #cbd5e1;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Menu */
.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #0d9488;
    background: #ecfdf5;
}

/* Mobile menu */
.mobile-menu-btn { 
    display: none; 
    cursor: pointer; 
    font-size: 1.5rem;
    padding: 0.5rem;
}

/* ================== MAIN CONTENT ================== */
.main-title {
    text-align: center;
    margin: 2rem 0 3rem;
    color: #1e293b;
    font-size: 1.35rem;
    font-weight: 500;
}

/* Form box */
.form-box {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin: 0 auto 3rem;
    max-width: 680px;
    border: 1px solid #e2e8f0;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

input[type="text"] {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #1e293b;
    transition: all 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

input::placeholder {
    color: #94a3b8;
}

/* Nút tải */
button {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 6px 15px rgba(13,148,136,0.3);
}

button:hover {
    background: linear-gradient(135deg, #0a6d63, #0c5d56);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,148,136,0.4);
}

/* ================== PHẦN HƯỚNG DẪN ================== */
.guide-section {
    padding: 40px 0 60px;
    background: #fff;
    margin-top: 30px;
}

.guide-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.guide-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.guide-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Notice box */
.notice-box {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.2rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
    color: #1e40af;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Step cards */
.step-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    padding: 1.5rem;
}

.step-number {
    background: linear-gradient(135deg, #0d9488, #0ea5e9);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 15px rgba(13,148,136,0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0f172a;
    text-align: center;
}

.step-grid {
    display: block;
}

.step-text p {
    margin-bottom: 1rem;
    color: #475569;
}

.step-img {
    text-align: center;
    margin-top: 1.5rem;
}

.step-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
}

/* Formats grid */
.formats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.format-item {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.format-icon {
    font-size: 0.7rem;
    background: #dc2626;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 6px;
}

.recommended { background:#16a34a !important; }

/* CTA button */
.big-cta-btn {
    background: linear-gradient(135deg, #0d9488, #0ea5e9);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(13,148,136,0.4);
    transition: all 0.4s;
    display: inline-block;
    text-align: center;
}

.big-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13,148,136,0.5);
}

/* ================== FOOTER ================== */
.site-footer {
    background: #0b1120;
    color: #e2e8f0;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1180px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-brand h3 a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0ea5e9;
    text-decoration: none;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.6;
}

.footer-links strong,
.footer-contact strong,
.footer-social strong {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
    color: #cbd5e1 !important;
    text-decoration: none;
    line-height: 2.2;
    font-size: 0.95rem;
    display: block;
    transition: all 0.3s;
    padding: 3px 0;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #0ea5e9 !important;
    padding-left: 5px;
}

.footer-social a {
    color: #cbd5e1;
    font-weight: 600;
    margin-right: 20px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ================== VIDEO PAGE ================== */
.video-page-wrapper {
    padding: 30px 15px 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
}

.video-badge {
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto 25px;
    box-shadow: 0 6px 15px rgba(16,185,129,0.3);
}

.video-card {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h3 {
    font-size: 1.3rem;
    margin: 0 0 10px;
    color: #0f172a;
}

.size-text {
    font-size: 1rem;
    color: #475569;
    margin: 10px 0;
}

.download-main-btn {
    display: block;
    background: linear-gradient(135deg, #0d9488, #0ea5e9);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: 14px;
    text-decoration: none;
    margin: 1.5rem auto;
    max-width: 90%;
    box-shadow: 0 8px 20px rgba(13,148,136,0.4);
    transition: all 0.3s;
}

.download-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13,148,136,0.5);
}

.extra-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1.2rem 0;
}

.extra-links a {
    color: #0d9488;
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.9rem;
}

.tip {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1.2rem;
}

/* Nút Back */
.btn-back {
    display: inline-block;
    background: #0d9488;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

/* ================== MEDIA QUERIES ================== */
/* Tablet */
@media (min-width: 768px) {
    header h1 { font-size: 2.3rem; }
    
    .form-box { 
        padding: 3rem 2.5rem; 
        border-radius: 20px;
    }
    
    .guide-title { font-size: 2.5rem; }
    
    .step-card {
        display: flex;
        align-items: center;
        padding: 2rem;
    }
    
    .step-number {
        margin: 0 2rem 0 0;
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
    
    .step-content h3 { text-align: left; }
    
    .step-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .step-img { margin-top: 0; }
    
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .formats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
    
    .step-card.reverse {
        flex-direction: row-reverse;
    }
    
    .step-card.reverse .step-number {
        margin: 0 0 0 2rem;
    }
}

/* Mobile menu */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: 0.4s ease;
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
        z-index: 9999;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #1e293b;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }
    
    /* Ẩn phần hướng dẫn chi tiết trên mobile, chỉ hiển thị form đơn giản */
    .guide-section {
        padding: 30px 0 40px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .form-box {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .form-box h2 {
        font-size: 1.3rem;
    }
    
    input[type="text"] {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .guide-title {
        font-size: 1.5rem;
    }
    
    .guide-subtitle {
        font-size: 1rem;
    }
    
    .step-card {
        padding: 1.2rem;
    }
    
    .video-info {
        padding: 1.2rem;
    }
}

/* Đảm bảo không còn chỗ nào chữ trắng */
header p, .main-title, .form-box h2, .support-text, footer, small, span, p {
    color: #1e293b !important;
}

/* Fix cho code blocks */
code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #1e293b;
}
/* ================== MOBILE MENU FIX ================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #0f172a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #1e293b !important;
        padding: 16px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        text-align: left;
        border-radius: 10px;
        margin: 4px 0;
        transition: all 0.3s;
    }

    .nav-menu a:hover {
        background: #f1f5f9;
        color: #0d9488 !important;
        transform: translateX(5px);
    }

    /* Overlay khi menu mở */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Animation cho hamburger icon */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Đảm bảo header không bị che bởi menu */
header {
    z-index: 1000;
}

/* Ngăn scroll body khi menu mở */
body.menu-open {
    overflow: hidden;
}
/* ================== MOBILE MENU FIX ================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1e293b;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 40px;
        transition: 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 9998;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #1e293b !important;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        margin: 5px 0;
        transition: all 0.3s;
        text-decoration: none;
    }

    .nav-menu a:hover {
        background: #f8fafc;
        color: #0d9488 !important;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9997;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hamburger animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Desktop menu */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
}
/* ================== FOOTER FIX ================== */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 3px solid #0d9488;
}

.site-footer .container.wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 50px;
}

/* Footer Brand */
.footer-brand h3 a {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #94a3b8 !important;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 12px;
}

/* Footer Sections */
.footer-links,
.footer-contact,
.footer-social {
    margin-bottom: 0;
}

.footer-links strong,
.footer-contact strong,
.footer-social strong {
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    position: relative;
    padding-bottom: 10px;
}

.footer-links strong::after,
.footer-contact strong::after,
.footer-social strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #0d9488, #0ea5e9);
    border-radius: 2px;
}

/* Remove default list styles */
.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

/* Footer Links */
.footer-links a,
.footer-contact a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 1.05rem;
    display: block;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-radius: 5px;
    position: relative;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #0ea5e9 !important;
    padding-left: 15px;
    background: rgba(14, 165, 233, 0.1);
}

/* Add arrow on hover */
.footer-links a:hover::before,
.footer-contact a:hover::before {
    content: '→';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #0ea5e9;
}

/* Social Links */
.footer-social a {
    color: #cbd5e1 !important;
    font-weight: 600;
    text-decoration: none;
    margin-right: 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 0;
}

.footer-social a:hover {
    color: #0ea5e9 !important;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom p {
    margin: 5px 0;
    color: #94a3b8 !important;
}

.footer-bottom p:last-child {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #64748b !important;
}

/* ================== MOBILE MENU FIX ================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1e293b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 25px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
        z-index: 9998;
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #1e293b !important;
        padding: 18px 20px;
        font-size: 1.2rem;
        font-weight: 600;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        text-align: left;
        border-radius: 12px;
        margin: 6px 0;
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .nav-menu a:hover {
        background: linear-gradient(135deg, #0d9488, #0ea5e9);
        color: white !important;
        transform: translateX(8px);
        box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
    }

    /* Menu overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 9997;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hamburger animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: #0d9488;
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #0d9488;
    }

    /* Header background when menu is open */
    header.menu-open {
        background: rgba(240, 249, 255, 0.95);
    }
}

/* Footer Mobile Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 25px;
        margin-top: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links strong::after,
    .footer-contact strong::after,
    .footer-social strong::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover,
    .footer-contact a:hover {
        padding-left: 0;
        background: rgba(14, 165, 233, 0.15);
    }
    
    .footer-links a:hover::before,
    .footer-contact a:hover::before {
        display: none;
    }
    
    .footer-social a {
        margin: 0 15px;
        font-size: 1rem;
    }
    
    .footer-brand h3 a {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-links a,
    .footer-contact a {
        font-size: 1rem;
        padding: 6px 0;
    }
    
    .footer-links strong,
    .footer-contact strong,
    .footer-social strong {
        font-size: 1.2rem;
    }
}

/* Desktop menu */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
}
/* ================== MOBILE MENU SIMPLE ================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1e293b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: #1e293b !important;
        padding: 15px;
        font-size: 1.1rem;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        text-decoration: none;
        display: block;
    }

    .nav-menu a:hover {
        background: #f8fafc;
        color: #0d9488 !important;
    }

    /* Menu overlay */
    .menu-open body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }

}