/* =========================================
   MOBILE MENU - TƏK VERSİYA
   ========================================= */
   /* ===== NUNITO FONT - MOBİL SAYT ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after {
    font-family: 'Nunito', sans-serif !important;
}
@media (max-width: 980px) {
    /* Hamburger düyməsi */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        margin-left: 10px !important;
        padding: 0 !important;
    }
    
    .menu-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #0f172a !important;
        margin: 3px 0 !important;
        border-radius: 2px !important;
        transition: all 0.2s ease !important;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }
    
    /* Drawer (menyu paneli) */
    .mobile-nav-drawer {
        display: block !important;
        position: fixed !important;
        top: 70px !important;
        left: 16px !important;
        right: 16px !important;
        background: white !important;
        border-radius: 24px !important;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25) !important;
        z-index: 9999 !important;
        padding: 16px !important;
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
        transition: all 0.3s ease !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .mobile-nav-drawer.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .mobile-nav-drawer ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .mobile-nav-drawer li {
        width: 100% !important;
    }
    
    .mobile-nav-drawer a {
        display: block !important;
        padding: 16px 20px !important;
        border-radius: 16px !important;
        background: #f8fafc !important;
        color: #0f172a !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        border: 1px solid #f1f5f9 !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-nav-drawer a:hover {
        background: #eef2ff !important;
        color: #2563eb !important;
        border-color: #2563eb !important;
    }
    
    /* Overlay */
    .menu-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(15,23,42,0.5) !important;
        z-index: 9998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(4px) !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
    }
    
    body.menu-open .menu-overlay {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Desktop menyunu gizlət */
    .nav-capsule {
        display: none !important;
    }
    
    /* GTranslate gizlət */
    .gtranslate-header {
        display: none !important;
    }
}
/* Header Styling */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.header-logo {
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    font-size: 1.2rem;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menyu Paneli */
.mobile-nav-drawer {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    z-index: 9999;
    padding: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.mobile-nav-drawer.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-drawer a {
    display: block;
    padding: 16px 20px;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.mobile-nav-drawer a:hover {
    background: #eef2ff;
    color: #2563eb;
    border-color: #2563eb;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}
/* ===== STICKY PILL BACK BUTTON ===== */
.mobile-back-btn {
    position: sticky;
    top: 10px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 16px;
    border-radius: 999px; /* silindrik pill */
    text-decoration: none;

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 10px 25px rgba(2, 6, 23, 0.12);
    backdrop-filter: blur(10px);

    color: rgba(15, 23, 42, 0.90);
    font-weight: 700;
    font-size: 0.95rem;
    width: fit-content;
}

.mobile-back-btn svg {
    flex: 0 0 auto;
}

.mobile-back-btn:active {
    transform: scale(0.98);
}
/* ===== PREMIUM REGISTER SECTION ===== */
.mobile-register {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.mobile-register::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mobile-register__content {
    background: white;
    border-radius: 40px;
    padding: 40px 25px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.mobile-register__text {
    position: relative;
    z-index: 2;
}

.mobile-register__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 15px;
    line-height: 1.2;
}

.mobile-register__title-gradient {
    background: linear-gradient(135deg, var(--accent), var(--success));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.mobile-register__description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 25px;
}

.mobile-register__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.mobile-register__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--gray-50);
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.mobile-register__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success), #34d399);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.mobile-register__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.mobile-register__btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.mobile-register__btn svg {
    transition: transform 0.3s ease;
}

.mobile-register__btn:hover svg {
    transform: translateX(5px);
}

/* Register Visual */
.mobile-register__visual {
    position: relative;
    height: 150px;
    margin: 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-register__circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.1;
    animation: pulseRegister 3s ease-in-out infinite;
}

.mobile-register__circle.circle-1 {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.mobile-register__circle.circle-2 {
    width: 90px;
    height: 90px;
    border-color: var(--success);
    animation-delay: 0.5s;
}

.mobile-register__circle.circle-3 {
    width: 60px;
    height: 60px;
    border-color: var(--warning);
    animation-delay: 1s;
}

@keyframes pulseRegister {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.mobile-register__icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    animation: floatRegister 3s ease-in-out infinite;
}

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

/* Tablet */
@media (min-width: 768px) {
    .mobile-register__content {
        padding: 50px;
    }
    
    .mobile-register__title {
        font-size: 2.2rem;
    }
    
    .mobile-register__features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mobile-register__feature {
        width: calc(50% - 8px);
    }
    
    .mobile-register__visual {
        height: 180px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .mobile-register__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
        padding: 60px;
    }
    
    .mobile-register__visual {
        margin: 0;
        height: 200px;
    }
    
    .mobile-register__circle.circle-1 {
        width: 160px;
        height: 160px;
    }
    
    .mobile-register__circle.circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .mobile-register__circle.circle-3 {
        width: 80px;
        height: 80px;
    }
    
    .mobile-register__icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}
