/* ===================================
   iOS-Style Glassmorphism & Spring Pop Animation
   ================================== */

/* Glassy Container (Nav Bar, Language Button) */
.glassy-ios {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Navigation Item Base */
.nav-item-glass {
    padding: 0.5rem 1.5rem;
    /* py-2 px-6 */
    border-radius: 9999px;
    /* rounded-full */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Springy ease */
    border: 1px solid transparent;
}

/* Navigation Item Hover - The "Pop" */
.nav-item-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Active Navigation Item (Current Page) */
.nav-item-active {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    color: white;
    transform: scale(1.05);
}

/* Language Dropdown Glassy Panel */
.lang-dropdown-glass {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 1rem;
    width: 12rem;
    /* w-48 */
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    /* rounded-2xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================================
   Notification Bar
   ================================== */

.notification-bar {
    z-index: 100 !important;
}

/* Header z-index adjustment */
.site-header {
    z-index: 40 !important;
}

/* Mobile Header Fixes */
@media (max-width: 767px) {
    .notification-bar {
        position: relative !important;
        z-index: 50 !important;
    }

    .site-header {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo-desktop {
        display: none !important;
    }

    .logo-mobile {
        display: inline !important;
    }
}

/* Blog Page Content Offset - Push content below fixed/sticky header */
.blog-content-offset {
    margin-top: 20px !important;
}

@media (min-width: 768px) {
    .logo-mobile {
        display: none !important;
    }

    .logo-desktop {
        display: inline !important;
    }
}

/* ===================================
   Mobile Navigation Menu
   ================================== */

/* Mobile Menu Toggle Button - Flows with Header */
.mobile-menu-btn {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 250;
    position: relative;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Show on mobile only */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Mobile Menu Overlay - iOS Glassmorphism */
/* Mobile Menu Overlay - iOS Glassmorphism */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    bottom: 0;
    left: auto;
    width: 60%;
    min-width: 250px;
    background: rgba(20, 20, 25, 0.98);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    z-index: 99999 !important;
    display: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Mobile Menu Links - Refined */
.mobile-menu-link {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: white;
    padding-left: 0.5rem;
}

.mobile-menu-link.active {
    color: #00f0ff;
}

/* Mobile Language Switcher */
.mobile-lang-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
}

.mobile-lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-lang-btn img {
    width: 2rem;
    height: 1.5rem;
    object-fit: cover;
    border-radius: 4px;
}

.mobile-lang-btn span {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===================================
   Contact Form Submit Button - Responsive
   ================================== */
.contact-submit-btn {
    padding-left: 3rem;
    padding-right: 3rem;
}

@media (min-width: 768px) {
    .contact-submit-btn {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

/* ===================================
   iOS Glassmorphism Form Fields - 3D Pop Effect
   ================================== */
.glass-input {
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top-color: rgba(255, 255, 255, 0.3) !important;
    border-left-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
}

.glass-input:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-3px);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(0, 240, 255, 0.5) !important;
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.55),
        0 10px 28px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(0, 240, 255, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* Glass Select Dropdown - 3D Pop Effect */
.glass-select {
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-top-color: rgba(255, 255, 255, 0.3) !important;
    border-left-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff80' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1rem) center !important;
    padding-right: 2.5rem !important;
}

.glass-select:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-3px);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.glass-select:focus {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(0, 240, 255, 0.5) !important;
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.55),
        0 10px 28px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(0, 240, 255, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

.glass-select option {
    background: #1a1a1f;
    color: white;
    padding: 0.75rem;
}

/* ===================================
   Custom Glassy Dropdown - 3D Pop Effect
   ================================== */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-trigger {
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    border-left-color: rgba(255, 255, 255, 0.22);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    color: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
    position: relative;
}

.custom-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.custom-dropdown.open .custom-dropdown-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.custom-dropdown.open .custom-dropdown-trigger {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(0, 240, 255, 0.5);
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.55),
        0 10px 28px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(0, 240, 255, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.custom-dropdown-trigger .placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.custom-dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(20, 20, 25, 0.95);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.custom-dropdown.open .custom-dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-dropdown-option {
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(0, 240, 255, 0.05));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-dropdown-option:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    padding-left: 1.25rem;
}

.custom-dropdown-option:hover::before {
    opacity: 1;
}

.custom-dropdown-option.selected {
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
}

.custom-dropdown-option.selected::after {
    content: '✓';
    position: absolute;
    right: 1rem;
    color: #00f0ff;
}

/* ===================================
   Order Modal - Glassmorphism
   ================================== */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    background: rgba(20, 20, 25, 0.95);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.order-modal-overlay.active .order-modal {
    transform: translateY(0) scale(1);
}

.order-modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.order-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.order-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

.order-modal-body {
    padding: 1.5rem;
}

.order-plan-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-plan-summary.platinum {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.order-plan-summary.silver {
    border-color: rgba(255, 255, 255, 0.2);
}

.order-form-group {
    margin-bottom: 1.25rem;
}

.order-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.order-form-label .required {
    color: #00f0ff;
}

.order-submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-top: 0.5rem;
}

.order-submit-btn.platinum {
    background: linear-gradient(135deg, #00f0ff, #00c4cc);
    color: black;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.order-submit-btn.platinum:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.4);
}

.order-submit-btn.silver {
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    color: black;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.order-submit-btn.silver:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.order-success {
    text-align: center;
    padding: 2rem 0;
}

.order-success-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #22c55e;
    font-size: 2.5rem;
}