/* Ultra-Modern eSIM Theme Styles */
:root {
    --primary-green: #0CE06B;
    --dark-bg: #000000;
    --light-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(12, 224, 107, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    /* Removed overflow-x: hidden to prevent double scrollbar */
}

/* Top Bar - Ultra Minimal */
.top-bar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1000;
}

.top-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-text {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-text i {
    color: var(--primary-green);
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher select,
.currency-switcher select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.account-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.account-link:hover {
    color: var(--primary-green);
}

/* Main Header - Glass Morphism */
.site-header {
    position: fixed;
    top: 41px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
    padding: 0;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    box-shadow: var(--shadow-glow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-title a {
    color: var(--light-text);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.site-title a:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 20px rgba(12, 224, 107, 0.5);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: var(--primary-green);
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), #00ff88);
    transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle,
.cart-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.search-toggle:hover,
.cart-link:hover {
    background: rgba(12, 224, 107, 0.2);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 224, 107, 0.3);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-green);
    color: black;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--light-text);
    transition: all 0.3s ease;
}

.menu-toggle:hover .hamburger-line {
    background: var(--primary-green);
}

/* Search Form */
.header-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.header-search.active {
    transform: translateY(0);
    opacity: 1;
}

.search-form-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.search-form-wrapper input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

.search-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff4757;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .primary-menu {
        gap: 25px;
    }
    
    .header-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .site-header {
        top: 0;
    }
    
    .main-navigation .primary-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .header-actions {
        gap: 15px;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-navigation {
    flex: 1;
    padding: 30px 0;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-green);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    color: black;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 224, 107, 0.4);
}

/* Body padding for fixed header */
body {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}
