:root { 
    --primary: #6366f1; 
    --primary-hover: #4f46e5; 
    --bg-body: #f8fafc; 
    --bg-card: #ffffff; 
    --text-main: #0f172a; 
    --text-muted: #64748b; 
    --border-color: #e2e8f0; 
    --radius-lg: 16px; 
    --radius-md: 12px; 
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05); 
}
body { 
    background-color: var(--bg-body); 
    font-family: 'Inter', sans-serif; 
    color: var(--text-main); 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.navbar { 
    background: rgba(255, 255, 255, 0.8) !important; 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--border-color); 
    padding: 1rem 0; 
}
.navbar-brand { 
    font-weight: 800; 
    font-size: 1.5rem; 
    letter-spacing: -0.5px; 
    color: var(--text-main) !important; 
}
.navbar-brand span { color: var(--primary); }

.btn-brand { 
    background: var(--primary); 
    color: white; 
    border: none; 
    font-weight: 600; 
    padding: 0.5rem 1.25rem; 
    border-radius: 8px; 
    transition: all 0.2s; 
}
.btn-brand:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-upgrade-nav { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
    color: white; 
    font-weight: 700; 
    border-radius: 8px; 
    border:none; 
    padding: 0.4rem 1rem; 
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); 
}

.hero-section { text-align: center; padding: 3rem 1rem 2rem; }
.hero-title { font-size: 3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; color: var(--text-main); }

.glass-panel { 
    background: var(--bg-card); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-lg); 
    border: 1px solid var(--border-color); 
    padding: 2rem; 
    margin-bottom: 1.5rem; 
}

/* 自定义靓号输入组 */
.custom-input-group {
    border-radius: 16px;
    overflow: visible; 
    border: 2px solid #e2e8f0;
    background: #fff;
    transition: all 0.3s;
}
.custom-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.custom-input-group input, .custom-input-group button { box-shadow: none !important; }
.domain-cb:checked + label { color: var(--primary); }

.address-box { 
    background: #f1f5f9; 
    border-radius: var(--radius-md); 
    padding: 1.5rem; 
    text-align: center; 
    border: 1px dashed #cbd5e1; 
    cursor: pointer; 
    transition: all 0.3s; 
}
.address-box:hover { border-color: var(--primary); background: #f8fafc; }

#current-email { 
    font-size: 1.75rem; 
    font-weight: 700; 
    color: var(--primary); 
    background: transparent; 
    border: none; 
    text-align: center; 
    width: 100%; 
    outline: none; 
    cursor: pointer; 
    pointer-events: none;
}

.list-group-item { border: none; border-bottom: 1px solid var(--border-color); padding: 1.25rem 1rem; margin-bottom: 0; border-radius: 0 !important; cursor: pointer; }
.list-group-item:hover { background: #f8fafc; }
.mail-sender { font-weight: 600; font-size: 0.95rem; }
.mail-subject { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.25rem; }

.vip-badge { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; display: none; }

.pulse-dot { width: 8px; height: 8px; background-color: #22c55e; border-radius: 50%; display: inline-block; margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.modal-content { border-radius: var(--radius-lg); border: none; overflow: hidden; }
#email-content-iframe { width: 100%; height: 60vh; border: none; background: #fff; border-top: 1px solid var(--border-color); }
.hide { display: none !important; }

.address-history-item, .favorite-mail-item { cursor: pointer; transition: 0.2s; border-radius: 6px; }
.address-history-item:hover, .favorite-mail-item:hover { background: #f1f5f9; color: var(--primary); }

.pricing-card { border: 2px solid var(--border-color); border-radius: 12px; padding: 1.25rem; text-align: center; transition: 0.3s; background: #fff; cursor: pointer; }
.pricing-card:hover, .pricing-card.selected { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15); }
.pricing-card.popular { border-color: #f59e0b; position: relative; }
.pricing-card.popular::before { content: "MOST POPULAR"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #f59e0b; color: #fff; font-size: 0.65rem; font-weight: bold; padding: 2px 8px; border-radius: 10px; }

.ad-container { width: 100%; text-align: center; overflow: hidden; }
#paypal-button-container { min-height: 150px; }

.accordion-item { border: 1px solid var(--border-color); border-radius: 10px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-button { font-weight: 600; color: var(--text-main); background-color: #fff; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--primary); background-color: #f8fafc; }

.compare-table th { font-weight: 700; padding: 12px; background: #f8fafc; }
.compare-table td { padding: 12px; border-bottom: 1px solid var(--border-color); }
#footer-links-container a.hover-primary { color: var(--text-muted); transition: color 0.2s; }
#footer-links-container a.hover-primary:hover { color: var(--primary); }

.privacy-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); color: #fff; padding: 15px 20px; z-index: 9999; box-shadow: 0 -4px 15px rgba(0,0,0,0.1); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.privacy-banner.show { transform: translateY(0); }
.privacy-banner a { color: #93c5fd; text-decoration: underline; cursor: pointer; }

/* =========================================
   移动端响应式与底部 Tab Bar
========================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 0.6rem 0;
    z-index: 1040;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 15px rgba(0,0,0,0.03);
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: 0.2s;
    cursor: pointer;
}
.mobile-bottom-nav .nav-item i {
    font-size: 1.35rem;
    margin-bottom: 2px;
}
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    body { padding-bottom: 80px; }
    .hero-title { font-size: 2.2rem; }
    .glass-panel { padding: 1.25rem; }
    
    .custom-input-group { flex-wrap: wrap; border-radius: 16px !important; }
    .custom-input-group .form-control { width: 55%; border-radius: 16px 0 0 0 !important; }
    .custom-input-group #domain-selector-btn { width: 45%; border-radius: 0 16px 0 0 !important; border-left: 2px solid var(--border-color) !important; font-size: 0.9rem; }
    .custom-input-group #btn-generate-custom { width: 100%; border-radius: 0 0 14px 14px !important; border-top: 2px solid var(--border-color) !important; padding: 0.8rem; font-size: 1.1rem; }
}
/* =========================================
   移动端响应式与底部 Tab Bar (高级出海风格)
========================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(65px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1040;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.04);
}
.mobile-bottom-nav .nav-item {
    flex: 1; /* 自动平分宽度，如果某一项隐藏，另一项自动100%宽 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    cursor: pointer;
    height: 100%;
}
.mobile-bottom-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    body { padding-bottom: 80px; }
    .hero-title { font-size: 2.2rem; }
    .glass-panel { padding: 1.25rem; }
    
    .custom-input-group { flex-wrap: wrap; border-radius: 16px !important; }
    .custom-input-group .form-control { width: 55%; border-radius: 16px 0 0 0 !important; }
    .custom-input-group #domain-selector-btn { width: 45%; border-radius: 0 16px 0 0 !important; border-left: 2px solid var(--border-color) !important; font-size: 0.9rem; }
    .custom-input-group #btn-generate-custom { width: 100%; border-radius: 0 0 14px 14px !important; border-top: 2px solid var(--border-color) !important; padding: 0.8rem; font-size: 1.1rem; }
}
/* =========================================
   移动端响应式与底部 Tab Bar (高级出海风格)
========================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(65px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1040;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.04);
}
.mobile-bottom-nav .nav-item {
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
    cursor: pointer;
    height: 100%;
}
.mobile-bottom-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    body { padding-bottom: 80px; }
    .hero-title { font-size: 2.2rem; }
    .glass-panel { padding: 1.25rem; }
    
    .custom-input-group { flex-wrap: wrap; border-radius: 16px !important; }
    .custom-input-group .form-control { width: 55%; border-radius: 16px 0 0 0 !important; }
    .custom-input-group #domain-selector-btn { width: 45%; border-radius: 0 16px 0 0 !important; border-left: 2px solid var(--border-color) !important; font-size: 0.9rem; }
    .custom-input-group #btn-generate-custom { width: 100%; border-radius: 0 0 14px 14px !important; border-top: 2px solid var(--border-color) !important; padding: 0.8rem; font-size: 1.1rem; }
}