@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand requested tokens */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-cyan: #06b6d4;
    --color-indigo: #4f46e5;
    --color-navy: #0f172a;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --color-bg-soft: #f8fafc;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --radius-card: 20px;
    --radius-button: 12px;
    --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.06);

    /* Map existing variables for full compatibility across all pages */
    --bg-darker: var(--color-bg-soft);
    --bg-dark: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.86);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(226, 232, 240, 0.9);
    --border-hover: rgba(15, 23, 42, 0.12);
    --text-primary: var(--color-navy);
    --text-secondary: #475569;
    --text-muted: var(--color-muted);
    --accent-indigo: var(--color-indigo);
    --accent-cyan: var(--color-cyan);
    --accent-purple: #9333ea;
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cyan) 100%);
    --gradient-secondary: linear-gradient(135deg, #9333ea 0%, var(--color-primary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
    --shadow-main: var(--shadow-card);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.1);
    --font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base resets & styles */
body {
    background:
      radial-gradient(circle at top left, rgba(59,130,246,0.12), transparent 35%),
      radial-gradient(circle at top right, rgba(6,182,212,0.10), transparent 30%),
      var(--color-bg-soft);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
}

/* Ambient Glowing Background Orbs (Light Mode) */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb-1 {
    position: absolute;
    top: -10%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.glow-orb-2 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
}

.glow-orb-3 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(120px);
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* Slate 300 */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* Slate 400 */
}

/* Navigation glassmorphism */
.navbar-custom {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    z-index: 1050;
}
.navbar-custom.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: var(--bg-dark) !important;
    box-shadow: var(--shadow-main);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
}
.navbar-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}
.nav-link:hover {
    color: var(--color-primary) !important;
    transform: translateY(-1px);
}
.nav-link.active {
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* Custom Hamburger menu toggle icon filter for light theme */
.navbar-toggler-icon {
    filter: invert(0.8) !important;
}

/* Glassmorphism Card styling */
.glass-card {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.glass-card:hover {
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

/* Gradient Buttons */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    color: #fff !important;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-button) !important;
    padding: 0.8rem 1.8rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}
.btn-gradient-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.35);
}
.btn-gradient-primary:active {
    transform: translateY(0);
}

.btn-glass {
    background: #ffffff;
    color: var(--color-navy);
    border: 1px solid #dbeafe;
    border-radius: var(--radius-button) !important;
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.btn-glass:hover {
    background: rgba(37, 99, 235, 0.03);
    color: var(--color-primary);
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}
.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}
.stat-badge {
    padding: 0.5rem 1rem;
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-indigo);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.stat-badge i {
    color: var(--accent-cyan);
}
.hero-section .glass-card .bg-white.bg-opacity-3 {
    background-color: rgba(15, 23, 42, 0.03) !important;
    border-color: rgba(15, 23, 42, 0.06) !important;
}
.hero-section .glass-card .text-white {
    color: var(--text-primary) !important;
}
.hero-section .glass-card .text-secondary {
    color: var(--text-muted) !important;
}
.hero-stat-box {
    text-align: center;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
}
.hero-stat-box:last-child {
    border-right: none !important;
}
@media (max-width: 768px) {
    .hero-stat-box {
        border-right: none !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .hero-stat-box:last-child {
        border-bottom: none !important;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}
.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-section .border-top.border-white.border-opacity-5 {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

/* Sections Global Styling */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}
.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

/* Control Board & Inputs styling */
.form-select-custom, .form-control-custom {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: var(--text-primary) !important;
    padding: 0.6rem 1rem !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}
.form-select-custom:focus, .form-control-custom:focus {
    border-color: var(--accent-indigo) !important;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.15) !important;
    outline: none !important;
}
.form-select-custom option {
    background-color: #ffffff;
    color: var(--text-primary);
}
.input-group-text {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: var(--text-muted) !important;
}

/* Proxy Table Styling (Responsive Scroll Fix) */
.table-responsive-container {
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */
    border: 1px solid var(--border-color);
}
.table-custom {
    margin-bottom: 0;
    vertical-align: middle;
    background-color: #ffffff;
    min-width: 950px; /* Forces layout size on mobile to enable neat horizontal scrolling */
}
.table-custom th {
    background-color: #f1f5f9 !important; /* Slate 100 */
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    padding: 1.1rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
.table-custom td {
    padding: 1rem;
    color: var(--text-secondary);
    background-color: transparent !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
}
.table-custom tr {
    transition: background-color 0.2s ease;
}
.table-custom tr:hover {
    background-color: #f8fafc !important;
}

/* Custom Badges (Light theme colors) */
.badge-proto-http, .badge-proto-https, .badge-proto-socks, .badge-anon-elite, .badge-anon-anonymous, .badge-anon-transparent {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

/* Protocol Badges */
.badge-proto-http {
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}
.badge-proto-https {
    background: rgba(79, 70, 229, 0.08) !important;
    color: var(--color-indigo) !important;
    border: 1px solid rgba(79, 70, 229, 0.15) !important;
}
.badge-proto-socks {
    background: rgba(6, 182, 212, 0.08) !important;
    color: var(--color-cyan) !important;
    border: 1px solid rgba(6, 182, 212, 0.15) !important;
}

/* Anonymity Badges */
.badge-anon-elite {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}
.badge-anon-anonymous {
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}
.badge-anon-transparent {
    background: rgba(100, 116, 139, 0.08) !important;
    color: var(--color-muted) !important;
    border: 1px solid rgba(100, 116, 139, 0.12) !important;
}
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
}
.badge-status-unchecked {
    background: rgba(100, 116, 139, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(100, 116, 139, 0.12);
}
.badge-status-online {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.05);
}
.badge-status-offline {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.12);
}
.badge-status-checking {
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.12);
}

/* Action Check Button */
.btn-check-proxy {
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-check-proxy:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: rotate(180deg) scale(1.1);
}
.btn-check-proxy.checking i {
    animation: rotateInfinite 1s linear infinite;
}

@keyframes rotateInfinite {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Country Flag Indicator */
.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Latency Indicator */
.latency-bar {
    width: 80px;
    height: 4px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.latency-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}
.latency-fast { background: #10b981; }
.latency-medium { background: #f59e0b; }
.latency-slow { background: #ef4444; }

/* Pagination styling */
.pagination-custom .page-link {
    background-color: var(--bg-dark);
    border-color: var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.pagination-custom .page-link:hover {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    border-color: var(--border-hover);
}
.pagination-custom .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}
.pagination-custom .page-item.disabled .page-link {
    background-color: #f8fafc;
    border-color: var(--border-color);
    color: var(--text-muted);
}

/* Bulk Checker Section */
.bulk-textarea {
    height: 480px !important;
    min-height: 450px !important;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    resize: vertical;
}
.stats-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
#bulk-checker-section .stats-number.text-white {
    color: var(--text-primary) !important;
}
#bulk-checker-section .bg-dark.bg-opacity-50 {
    background-color: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

/* Progress bar dynamic coloring */
.progress-custom {
    height: 8px;
    background-color: rgba(15, 23, 42, 0.06);
    border-radius: 50px;
    overflow: hidden;
}
.progress-bar-custom {
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 0.4s ease;
}

/* Bulk Results Terminal (Keep Dark for Premium contrast) */
.terminal-card {
    background: #0b0f19 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
}
.terminal-header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}
.terminal-dots {
    display: flex;
    gap: 6px;
}
.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-body {
    padding: 1.2rem;
    max-height: 320px;
    min-height: 300px;
    overflow-y: auto;
    font-size: 0.85rem;
    line-height: 1.5;
}
.terminal-row {
    margin-bottom: 0.4rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
    padding-bottom: 0.25rem;
    color: #e2e8f0;
}
.text-terminal-success { color: #34d399; }
.text-terminal-fail { color: #f87171; }
.text-terminal-info { color: #38bdf8; }

/* Info Section Feature Cards */
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--gradient-glow);
    border: 1px solid rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-indigo);
    position: relative;
}
.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 14px;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glass-card:hover .feature-icon-wrapper::after {
    opacity: 1;
}

/* Comparison Tables */
.compare-card {
    position: relative;
    overflow: hidden;
}
.compare-card.recommended::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-secondary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    letter-spacing: 1px;
}
.compare-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}
.compare-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.compare-list li i {
    color: var(--accent-cyan);
    font-size: 1rem;
}
.compare-list li .text-danger {
    color: #dc2626 !important;
}

/* Testimonial slider */
.testimonials-slider {
    position: relative;
    padding: 1rem 0;
}
.carousel-indicators-custom {
    bottom: -40px;
}
.carousel-indicators-custom [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: none;
    transition: all 0.3s ease;
}
.carousel-indicators-custom .active {
    background-color: var(--accent-indigo);
    width: 25px;
    border-radius: 5px;
}
.testimonial-card-inner {
    padding: 2rem 1.5rem;
}
@media (min-width: 992px) {
    .testimonial-card-inner {
        padding: 2.5rem 2rem;
    }
}
@media (min-width: 768px) {
    .testimonial-divider {
        border-right: 1px solid var(--border-color);
    }
}
.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 1rem;
}
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-indigo);
}
.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQs Accordion Custom styling */
.accordion-custom .accordion-item {
    background-color: #ffffff !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-custom .accordion-item:hover {
    border-color: rgba(79, 70, 229, 0.2);
}
.accordion-custom .accordion-button {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1.25rem;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}
.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--accent-cyan) !important;
}
.accordion-custom .accordion-button::after {
    filter: none !important; /* Forces normal dark chevron icon */
    background-size: 1rem;
    transition: transform 0.2s ease-in-out;
}
.accordion-custom .accordion-body {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1.25rem;
    font-size: 0.9rem;
}

/* Blog Cards styling */
.blog-card {
    overflow: hidden;
    background-color: #ffffff !important;
}
.blog-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.glass-card:hover .blog-img {
    transform: scale(1.05);
}
.blog-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}
.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}
.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
    color: var(--text-primary);
}
.blog-title:hover {
    color: var(--accent-cyan);
}
.blog-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}
.blog-link {
    color: var(--accent-indigo);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}
.blog-link:hover {
    color: var(--accent-cyan);
    gap: 0.5rem;
}

/* Contact Page specific */
.contact-info-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--accent-indigo);
}

/* Footer Styling (Deep slate grounder is balanced and premium) */
.footer-custom {
    background-color: #0f172a; /* Keep dark slate footer for strong baseline contrast */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
    padding-bottom: 30px;
    position: relative;
}
.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
}
.footer-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.footer-socials {
    display: flex;
    gap: 0.75rem;
}
.footer-social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}
.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.newsletter-form .form-control-custom {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.newsletter-form .form-control-custom:focus {
    border-color: var(--accent-indigo) !important;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2) !important;
}
.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.footer-custom .text-muted {
    color: #64748b !important;
}

/* Legal content pages */
.legal-container {
    padding-top: 140px;
    padding-bottom: 80px;
}
.legal-card {
    padding: 3rem;
    background-color: #ffffff !important;
}
@media (max-width: 768px) {
    .legal-card {
        padding: 1.5rem;
    }
}
.legal-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.legal-card h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.legal-card .text-white {
    color: var(--text-primary) !important;
}
.legal-card .border-bottom {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

/* Toast alert styling */
.toast-custom-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
}
.toast-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-custom.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-custom .text-white {
    color: var(--text-primary) !important;
}
.toast-icon {
    font-size: 1.25rem;
}
.toast-icon.success { color: #10b981; }
.toast-icon.info { color: #0891b2; }
hr {
    border-color: rgba(15, 23, 42, 0.08) !important;
    opacity: 1;
}

/* Light Theme overrides for Bootstrap dark utilities */
.bg-dark.bg-opacity-30,
#bulk-checker-section.bg-dark.bg-opacity-30,
#blog-section.bg-dark.bg-opacity-30,
#faq-section.bg-dark.bg-opacity-30 {
    background-color: #f1f5f9 !important; /* Slate 100 */
}

.border-white.border-opacity-5,
.border-white.border-opacity-10 {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

.text-white.text-opacity-75 {
    color: var(--text-secondary) !important;
}

/* Highlight elements */
.text-cyan {
    color: var(--accent-cyan) !important;
}

.text-indigo {
    color: var(--accent-indigo) !important;
}

/* Header menu custom hover underline effects */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 0.8rem !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important; /* Semi-bold links */
    transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 20px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
    left: 10%;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-indigo) !important;
}

.navbar-nav .nav-link.active {
    color: var(--accent-indigo) !important;
}

/* Stay Updated Section Input Placeholder to White */
.newsletter-form .form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
}

.newsletter-form .form-control-custom::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
}

.newsletter-form .form-control-custom::-moz-placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
}

.newsletter-form .form-control-custom:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
}

/* Bold Proxies List & Pitch Black IP styling */
.table-custom td {
    font-weight: 700 !important; /* Bold for all values (ip, port, country, type, anonymity, uptime, latency) */
    color: #1e293b !important; /* Slate 800 for high-contrast visibility */
}

/* Pitch black and heavy bold for IP column */
.table-custom td:first-child,
.table-custom td.text-white,
.table-custom td:first-child.text-white {
    color: #000000 !important;
    font-weight: 800 !important; /* Ultra bold */
}

/* Keep secondary indicators and sub-texts bold */
.table-custom td .text-secondary {
    color: #334155 !important; /* Slate 700 */
    font-weight: 700 !important;
}

.badge-type, .badge-status {
    font-weight: 700 !important;
}

.table-custom td .latency-fill {
    font-weight: 700 !important;
}

/* Light Theme global text overrides for Bootstrap white text utility classes inside light cards and sections */
.glass-card .text-white,
.glass-card h1.text-white,
.glass-card h2.text-white,
.glass-card h3.text-white,
.glass-card h4.text-white,
.glass-card h5.text-white,
.glass-card h6.text-white,
.glass-card div.text-white,
.glass-card span.text-white,
.legal-card .text-white,
#features-section .text-white,
#features-section h2.text-white,
#features-section h3.text-white,
#features-section span.text-white {
    color: var(--text-primary) !important; /* Forces rich slate dark color (#0f172a) on light cards/layouts */
}

/* Explicitly preserve light/neon styling for terminal contents inside the dark terminal block */
.terminal-card,
.terminal-card *,
.terminal-card .text-white,
.terminal-card .terminal-row {
    color: #e2e8f0 !important;
}

.terminal-card .text-terminal-success {
    color: #34d399 !important;
}

.terminal-card .text-terminal-fail {
    color: #f87171 !important;
}

.terminal-card .text-terminal-info {
    color: #38bdf8 !important;
}

/* Copy button custom transitions */
.btn-copy-proxy {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-copy-proxy:hover {
    transform: scale(1.15);
    color: var(--accent-indigo) !important;
}
.btn-copy-proxy:active {
    transform: scale(0.9);
}

/* Page Subheaders & Header Badges Light Theme Overrides */
.legal-container .text-white,
.legal-container h1.text-white,
.legal-container h2.text-white,
.legal-container h3.text-white,
.legal-container .section-title {
    color: var(--text-primary) !important;
}

.legal-container .text-secondary {
    color: var(--text-secondary) !important; /* Slate 600 instead of faint grey */
    opacity: 1 !important;
}

/* Beautiful Brand Gradient for any span inside page titles/headers */
.legal-container h1 span,
.legal-container h2 span,
.legal-container h3 span,
.legal-container .section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800 !important;
}

/* Premium stat-badge adjustments */
.stat-badge {
    background: rgba(79, 70, 229, 0.05) !important;
    border: 1px solid rgba(79, 70, 229, 0.12) !important;
    color: var(--accent-indigo) !important;
    font-weight: 600 !important;
}

/* High-contrast dashboard statistics numbers (invisible white fix) */
#bulk-total.stats-number,
.stats-number.text-white {
    color: var(--text-primary) !important; /* Total is slate dark */
}
#bulk-rate.stats-number,
.stats-number.text-cyan {
    color: var(--accent-cyan) !important; /* Success rate is cyan */
}

/* Custom code tag styling for instruction badges */
.glass-card code {
    background-color: rgba(79, 70, 229, 0.05) !important;
    color: var(--accent-indigo) !important;
    border: 1px solid rgba(79, 70, 229, 0.12) !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.85em !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
}
.glass-card code::before,
.glass-card code::after {
    content: none !important; /* Remove browser auto-ticks */
}

/* Blinking status dot animation */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Decorative background elements */
.hero-radial-glow {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: -2;
    pointer-events: none;
}

/* Micro-interactions: Card translate and shadow transition */
.transition-all-custom {
    transition: all 0.2s ease-in-out;
}
.card-hover-lift {
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
}

/* Accessibility visible focus states */
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible {
    outline: 2px solid var(--color-primary) !important;
    outline-offset: 2px !important;
}

/* ---------------------------------------------------------
   13. Responsive Mobile Menu & Slide-In Drawer Styles
   --------------------------------------------------------- */

/* Custom Mobile Menu Toggle Button */
.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.9);
    display: none; /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    background: #f1f5f9;
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--color-primary);
    transform: scale(1.02);
}
.mobile-menu-toggle:active {
    transform: scale(0.96);
}

/* Breakpoint controls for Desktop vs Mobile */
@media (max-width: 1023px) {
    .navbar-custom {
        height: 68px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex;
        align-items: center;
    }
    .navbar-custom .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }
    .desktop-nav-wrapper {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
}
@media (min-width: 1024px) {
    .desktop-nav-wrapper {
        display: flex !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
    .mobile-drawer,
    .mobile-backdrop {
        display: none !important;
    }
}

/* Backdrop overlay */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1060;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}
.mobile-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Slide-in Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(88vw, 360px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.18);
    z-index: 1070;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 220ms ease;
}
.mobile-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
}
.mobile-drawer-header .navbar-brand {
    font-size: 1.35rem;
    margin-bottom: 0;
    display: inline-block;
}
.mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.mobile-drawer-close:hover,
.mobile-drawer-close:focus-visible {
    background: #f1f5f9;
    color: var(--color-primary);
}

/* Drawer Body Scroll Panel */
.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}
/* Custom slim scrollbar inside drawer body */
.mobile-drawer-body::-webkit-scrollbar {
    width: 4px;
}
.mobile-drawer-body::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px;
}

/* Navigation Groups and Spacing */
.mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mobile-nav-link {
    height: 48px;
    border-radius: 12px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    color: #475569 !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-primary) !important;
    border-color: rgba(37, 99, 235, 0.08);
}
.mobile-nav-link.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(6, 182, 212, 0.10)) !important;
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.14) !important;
}

/* Separator Line */
.mobile-nav-separator {
    border-top: 1px solid #e2e8f0;
    margin: 14px 0;
}

/* Account Actions */
.mobile-account-group {
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.mobile-signin-btn {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1px solid #dbeafe;
    background: #ffffff;
    color: #0f172a !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}
.mobile-signin-btn:hover,
.mobile-signin-btn:focus-visible {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--color-primary) !important;
}

.mobile-premium-btn {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
    transition: all 0.2s ease;
}
.mobile-premium-btn:hover,
.mobile-premium-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}

/* Drawer Footer */
.mobile-drawer-footer {
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
}

/* Body Scroll Lock Styling */
body.menu-open {
    overflow: hidden !important;
    height: 100dvh !important;
}

/* Screen widths below 480px adjustments */
@media (max-width: 480px) {
    .mobile-drawer {
        width: 90vw;
        padding: 16px;
    }
    .mobile-nav-link {
        height: 46px;
        font-size: 14px;
    }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    .mobile-drawer,
    .mobile-backdrop,
    .mobile-menu-toggle,
    .mobile-drawer-close,
    .mobile-signin-btn,
    .mobile-premium-btn {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
