/* ==========================================================================
   NexaVPN Enterprise Design System (vpn.css)
   Ultra-Luxury Enterprise Cybersecurity Theme
   Compatible with Bootstrap 5, Unify Framework, and Custom App Architecture
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');
   @import url('vpn-dashboard.css');
   
   :root {
     /* Surface & Background Palette (Solid Matte Dark Navy) */
     --vpn-bg-space: #070c18;
     --vpn-bg-surface: #0a0f1d;
     --vpn-bg-card: #0d1527;
     --vpn-bg-card-hover: #111c34;
     --vpn-bg-card-inner: #0f192f;
     --vpn-bg-sidebar: #090e1a;
     --vpn-bg-header: #080d19;
   
     /* Accent Colors */
     --vpn-blue-primary: #1e56ed;
     --vpn-blue-hover: #1646c7;
     --vpn-blue-light: #3b82f6;
     --vpn-cyan-glow: #00d2ff;
     --vpn-cyan-dim: rgba(0, 210, 255, 0.12);
     --vpn-emerald-secure: #10b981;
     --vpn-emerald-dim: rgba(16, 185, 129, 0.12);
     --vpn-amber-warn: #f59e0b;
     --vpn-red-alert: #ef4444;
   
     /* Typography Colors */
     --vpn-text-main: #f8fafc;
     --vpn-text-muted: #94a3b8;
     --vpn-text-dim: #64748b;
     --vpn-text-dark: #0f172a;
   
     /* Borders & Shadows */
     --vpn-border-subtle: rgba(148, 163, 184, 0.12);
     --vpn-border-highlight: rgba(59, 130, 246, 0.35);
     --vpn-border-focus: #3b82f6;
     --vpn-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
     --vpn-shadow-glow: 0 0 20px rgba(30, 86, 237, 0.35);
   
     /* Fonts */
     --vpn-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     --vpn-font-mono: 'JetBrains Mono', monospace;
   }
   
   /* Base Body Resets */
   body.vpn-theme {
     background-color: var(--vpn-bg-space) !important;
     color: var(--vpn-text-main) !important;
     font-family: var(--vpn-font-sans) !important;
     min-height: 100vh;
     margin: 0;
     padding: 0;
     overflow-x: hidden;
     background-image: 
       radial-gradient(ellipse at 30% 10%, rgba(30, 86, 237, 0.12) 0%, transparent 60%),
       radial-gradient(ellipse at 80% 40%, rgba(0, 210, 255, 0.08) 0%, transparent 50%);
     background-attachment: fixed;
     -webkit-font-smoothing: antialiased;
   }
   
   /* ==========================================================================
      1. AUTHENTICATION PAGES (login1.html & thankyou1.html)
      ========================================================================== */
   .vpn-auth-wrapper {
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     padding: 40px 20px;
     position: relative;
     z-index: 1;
   }
   
   .vpn-auth-card {
     width: 100%;
     max-width: 440px;
     background: var(--vpn-bg-card);
     border: 1px solid var(--vpn-border-subtle);
     border-radius: 16px;
     padding: 36px 32px;
     box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
     position: relative;
     transition: all 0.25s ease;
   }
   
   .vpn-auth-card:hover {
     border-color: rgba(59, 130, 246, 0.3);
     box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 25px rgba(30, 86, 237, 0.15);
   }
   
   .vpn-auth-header {
     text-align: center;
     margin-bottom: 28px;
   }
   
   .vpn-auth-badge {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: rgba(16, 185, 129, 0.1);
     border: 1px solid rgba(16, 185, 129, 0.25);
     color: #10b981;
     font-size: 0.72rem;
     font-weight: 600;
     padding: 3px 10px;
     border-radius: 9999px;
     margin-bottom: 14px;
     letter-spacing: 0.04em;
     text-transform: uppercase;
   }
   
   .vpn-live-pulse-dot {
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: #10b981;
     box-shadow: 0 0 8px #10b981;
     display: inline-block;
   }
   
   .vpn-auth-title {
     color: #ffffff;
     font-size: 1.55rem;
     font-weight: 700;
     letter-spacing: -0.02em;
     margin-bottom: 6px;
   }
   
   .vpn-auth-subtitle {
     color: var(--vpn-text-muted);
     font-size: 0.86rem;
     line-height: 1.45;
     margin: 0;
   }
   
   /* Form Controls */
   .vpn-form-group {
     margin-bottom: 18px;
   }
   
   .vpn-form-label {
     display: block;
     font-size: 0.8rem;
     font-weight: 600;
     color: #cbd5e1;
     margin-bottom: 7px;
     letter-spacing: 0.01em;
   }
   
   .vpn-input-wrap {
     position: relative;
     display: flex;
     align-items: center;
   }
   
   .vpn-input-icon {
     position: absolute;
     left: 14px;
     color: #64748b;
     font-size: 1rem;
     pointer-events: none;
     transition: color 0.2s ease;
   }
   
   .vpn-input {
     width: 100%;
     background: #090e1a !important;
     border: 1px solid var(--vpn-border-subtle) !important;
     color: #f8fafc !important;
     border-radius: 10px !important;
     padding: 11px 14px 11px 40px !important;
     font-size: 0.88rem !important;
     font-family: var(--vpn-font-sans) !important;
     transition: all 0.2s ease !important;
   }
   
   .vpn-input:focus {
     outline: none !important;
     border-color: var(--vpn-blue-light) !important;
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
     background: #0d1527 !important;
   }
   
   .vpn-input:focus + .vpn-input-icon,
   .vpn-input-wrap:focus-within .vpn-input-icon {
     color: var(--vpn-cyan-glow);
   }
   
   .vpn-input-toggle-btn {
     position: absolute;
     right: 12px;
     background: none;
     border: none;
     color: #64748b;
     padding: 4px;
     cursor: pointer;
     font-size: 1rem;
     transition: color 0.2s ease;
   }
   
   .vpn-input-toggle-btn:hover {
     color: #cbd5e1;
   }
   
   /* Error Labels from jQuery Validate */
   label.error {
     display: block;
     color: #f87171 !important;
     font-size: 0.76rem !important;
     margin-top: 5px !important;
     font-weight: 500 !important;
   }
   
   input.error {
     border-color: #ef4444 !important;
   }
   
   /* Primary Action Button */
   .vpn-btn-primary {
     width: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     background: linear-gradient(135deg, #1e56ed 0%, #2563eb 50%, #00d2ff 100%) !important;
     color: #ffffff !important;
     border: none !important;
     border-radius: 10px !important;
     padding: 12px 20px !important;
     font-size: 0.92rem !important;
     font-weight: 600 !important;
     letter-spacing: 0.01em !important;
     cursor: pointer !important;
     box-shadow: 0 4px 18px rgba(30, 86, 237, 0.45) !important;
     transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
     margin-top: 8px;
   }
   
   .vpn-btn-primary:hover {
     transform: translateY(-1.5px);
     box-shadow: 0 8px 26px rgba(30, 86, 237, 0.65) !important;
     filter: brightness(1.08);
   }
   
   .vpn-btn-primary:active {
     transform: translateY(0);
   }
   
   .vpn-btn-primary:disabled {
     opacity: 0.7;
     cursor: not-allowed;
     transform: none;
   }
   
   /* Direct Access & Secondary Links */
   .vpn-secondary-btn {
     width: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     background: rgba(255, 255, 255, 0.03);
     border: 1px solid var(--vpn-border-subtle);
     color: #94a3b8;
     border-radius: 10px;
     padding: 10px 16px;
     font-size: 0.84rem;
     font-weight: 500;
     text-decoration: none;
     cursor: pointer;
     transition: all 0.2s ease;
     margin-top: 10px;
   }
   
   .vpn-secondary-btn:hover {
     background: rgba(255, 255, 255, 0.06);
     color: #f1f5f9;
     border-color: rgba(148, 163, 184, 0.25);
   }
   
   .vpn-compliance-pill {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 7px;
     color: #64748b;
     font-size: 0.74rem;
     margin-top: 20px;
     text-align: center;
   }
   
   /* ==========================================================================
      2. THANK YOU PAGE ENHANCEMENTS (thankyou1.html)
      ========================================================================== */
   .vpn-order-ref-card {
     background: #090e1a;
     border: 1px solid rgba(59, 130, 246, 0.25);
     border-left: 4px solid var(--vpn-blue-primary);
     border-radius: 10px;
     padding: 14px 18px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin: 18px 0;
   }
   
   .vpn-order-ref-label {
     font-size: 0.74rem;
     font-weight: 700;
     color: #64748b;
     letter-spacing: 0.06em;
     text-transform: uppercase;
     margin: 0;
   }
   
   .vpn-order-ref-id {
     font-family: var(--vpn-font-mono);
     font-size: 1.05rem;
     font-weight: 700;
     color: var(--vpn-cyan-glow);
     margin: 0;
     letter-spacing: 0.04em;
   }
   
   .vpn-signup-intro {
     margin: 22px 0 16px 0;
     padding-bottom: 12px;
     border-bottom: 1px solid var(--vpn-border-subtle);
   }
   
   .vpn-signup-intro h3 {
     color: #ffffff;
     font-size: 1.05rem;
     font-weight: 700;
     margin-bottom: 4px;
   }
   
   .vpn-signup-intro p {
     color: #94a3b8;
     font-size: 0.82rem;
     line-height: 1.45;
     margin: 0;
   }
   
   /* ==========================================================================
      3. ENTERPRISE VPN DASHBOARD (dashboard1.html)
      ========================================================================== */
   .vpn-dashboard-layout {
     display: flex;
     min-height: 100vh;
     width: 100vw;
     background-color: var(--vpn-bg-space);
   }
   
   /* Sidebar */
   .vpn-sidebar {
     width: 270px;
     min-width: 270px;
     background: var(--vpn-bg-sidebar);
     border-right: 1px solid var(--vpn-border-subtle);
     display: flex;
     flex-direction: column;
     height: 100vh;
     position: sticky;
     top: 0;
     z-index: 100;
     overflow: hidden;
   }
   
   .vpn-sidebar-top {
     padding: 18px 16px 14px 16px;
     background: var(--vpn-bg-header);
     border-bottom: 1px solid var(--vpn-border-subtle);
     display: flex;
     flex-direction: column;
     gap: 12px;
   }
   
   .vpn-brand-row {
     display: flex;
     align-items: center;
     gap: 10px;
     text-decoration: none;
   }
   
   .vpn-brand-shield {
     width: 34px;
     height: 34px;
     border-radius: 8px;
     background: #0d1527;
     border: 1px solid rgba(59, 130, 246, 0.3);
     display: flex;
     align-items: center;
     justify-content: center;
     color: #3b82f6;
     font-size: 1.15rem;
   }
   
   .vpn-brand-meta {
     display: flex;
     flex-direction: column;
     gap: 1px;
   }
   
   .vpn-brand-title {
     font-size: 1.05rem;
     font-weight: 700;
     color: #ffffff;
     letter-spacing: -0.02em;
   }
   
   .vpn-brand-tag {
     font-size: 0.62rem;
     font-weight: 700;
     color: var(--vpn-cyan-glow);
     background: var(--vpn-cyan-dim);
     border: 1px solid rgba(0, 210, 255, 0.25);
     border-radius: 4px;
     padding: 1px 5px;
     margin-left: 6px;
   }
   
   .vpn-sidebar-sys-status {
     background: #0d1527;
     border: 1px solid var(--vpn-border-subtle);
     border-radius: 8px;
     padding: 8px 10px;
     display: flex;
     flex-direction: column;
     gap: 6px;
   }
   
   .vpn-sys-row {
     display: flex;
     align-items: center;
     justify-content: space-between;
     font-size: 0.74rem;
   }
   
   .vpn-sys-dot {
     width: 7px;
     height: 7px;
     border-radius: 50%;
     background: #10b981;
     box-shadow: 0 0 6px #10b981;
     display: inline-block;
     margin-right: 6px;
   }
   
   .vpn-sys-uptime {
     font-size: 0.65rem;
     font-family: var(--vpn-font-mono);
     color: #94a3b8;
     background: rgba(148, 163, 184, 0.1);
     padding: 1px 5px;
     border-radius: 4px;
   }
   
   .vpn-sidebar-scroll {
     flex: 1;
     overflow-y: auto;
     padding: 14px 10px;
     display: flex;
     flex-direction: column;
     gap: 16px;
   }
   
   .vpn-sidebar-scroll::-webkit-scrollbar {
     width: 4px;
   }
   .vpn-sidebar-scroll::-webkit-scrollbar-thumb {
     background: rgba(148, 163, 184, 0.2);
     border-radius: 4px;
   }
   
   .vpn-nav-group {
     display: flex;
     flex-direction: column;
     gap: 2px;
   }
   
   .vpn-nav-header {
     font-size: 0.64rem;
     font-weight: 700;
     letter-spacing: 0.08em;
     color: #475569;
     padding: 4px 10px;
     text-transform: uppercase;
   }
   
   .vpn-nav-link {
     position: relative;
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 7.5px 12px;
     border-radius: 8px;
     color: #94a3b8;
     font-size: 0.85rem;
     font-weight: 500;
     text-decoration: none;
     cursor: pointer;
     transition: all 0.18s ease;
     user-select: none;
   }
   
   .vpn-nav-link i {
     font-size: 1rem;
     color: #64748b;
     transition: all 0.18s ease;
   }
   
   .vpn-nav-link:hover {
     color: #f8fafc;
     background: rgba(255, 255, 255, 0.04);
   }
   
   .vpn-nav-link:hover i {
     color: #cbd5e1;
     transform: translateX(1.5px);
   }
   
   .vpn-nav-link.active {
     background: rgba(59, 130, 246, 0.08);
     border: 1px solid rgba(59, 130, 246, 0.22);
     color: #ffffff;
     font-weight: 600;
   }
   
   .vpn-nav-link.active::before {
     content: '';
     position: absolute;
     left: -1px;
     top: 6px;
     bottom: 6px;
     width: 3px;
     border-radius: 0 3px 3px 0;
     background: #3b82f6;
     box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
   }
   
   .vpn-nav-link.active i {
     color: #38bdf8;
   }
   
   .vpn-nav-badge {
     font-size: 0.63rem;
     font-weight: 600;
     padding: 2px 6px;
     border-radius: 4px;
     margin-left: auto;
     font-family: var(--vpn-font-mono);
     background: rgba(148, 163, 184, 0.1);
     color: #94a3b8;
   }
   
   .vpn-badge-secure {
     background: rgba(16, 185, 129, 0.12);
     color: #34d399;
     border: 1px solid rgba(16, 185, 129, 0.25);
   }
   
   /* Sidebar Security Status Panel */
   .vpn-sec-status-panel {
     margin: 4px 10px 10px 10px;
     background: #0d1527;
     border: 1px solid var(--vpn-border-subtle);
     border-radius: 9px;
     padding: 11px 12px;
     display: flex;
     flex-direction: column;
     gap: 8px;
   }
   
   .vpn-sec-score-bar {
     width: 100%;
     height: 4px;
     background: rgba(148, 163, 184, 0.12);
     border-radius: 9999px;
     overflow: hidden;
   }
   
   .vpn-sec-score-fill {
     height: 100%;
     background: linear-gradient(90deg, #10b981 0%, #00d2ff 100%);
     border-radius: 9999px;
   }
   
   /* Sidebar User Footer */
   .vpn-sidebar-footer {
     border-top: 1px solid var(--vpn-border-subtle);
     padding: 10px 14px;
     background: var(--vpn-bg-header);
     display: flex;
     align-items: center;
     justify-content: space-between;
   }
   
   .vpn-avatar-wrap {
     position: relative;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     flex-shrink: 0;
   }
   
   .vpn-avatar-img {
     width: 100%;
     height: 100%;
     border-radius: 50%;
     object-fit: cover;
     border: 1px solid rgba(148, 163, 184, 0.25);
   }
   
   .vpn-avatar-dot {
     position: absolute;
     bottom: 0;
     right: 0;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: #10b981;
     border: 2px solid var(--vpn-bg-header);
   }
   
   /* Main Viewport & Topbar */
   .vpn-main-viewport {
     flex: 1;
     min-width: 0;
     display: flex;
     flex-direction: column;
   }
   
   .vpn-topbar {
     height: 64px;
     padding: 0 28px;
     background: var(--vpn-bg-header);
     border-bottom: 1px solid var(--vpn-border-subtle);
     display: flex;
     align-items: center;
     justify-content: space-between;
     position: sticky;
     top: 0;
     z-index: 90;
   }
   
   .vpn-search-box {
     display: flex;
     align-items: center;
     gap: 10px;
     background: #090e1a;
     border: 1px solid var(--vpn-border-subtle);
     border-radius: 9999px;
     padding: 7px 18px;
     width: 340px;
     transition: all 0.2s ease;
   }
   
   .vpn-search-box:focus-within {
     border-color: var(--vpn-blue-light);
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
     width: 380px;
   }
   
   .vpn-search-box input {
     background: none;
     border: none;
     outline: none;
     color: #f8fafc;
     font-size: 0.82rem;
     width: 100%;
   }
   
   .vpn-topbar-controls {
     display: flex;
     align-items: center;
     gap: 14px;
   }
   
   .vpn-btn-icon {
     width: 36px;
     height: 36px;
     border-radius: 9999px;
     background: rgba(255, 255, 255, 0.03);
     border: 1px solid var(--vpn-border-subtle);
     color: #94a3b8;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.2s ease;
     position: relative;
   }
   
   .vpn-btn-icon:hover {
     background: rgba(255, 255, 255, 0.08);
     color: #f8fafc;
     border-color: rgba(148, 163, 184, 0.25);
   }
   
   /* Worldwide Locations Grid & 3D Globe */
   .vpn-content-area {
     padding: 28px 32px;
     flex: 1;
   }
   
   .vpn-locations-hero {
     display: grid;
     grid-template-columns: 1.15fr 1fr;
     align-items: center;
     gap: 28px;
     margin-bottom: 30px;
   }
   
   .vpn-hero-headline {
     font-size: 2.1rem;
     font-weight: 800;
     letter-spacing: -0.02em;
     color: #ffffff;
     margin-bottom: 10px;
   }
   
   .vpn-headline-gradient {
     background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 50%, #8b5cf6 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
   }
   
   .vpn-capsules-row {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-top: 18px;
   }
   
   .vpn-capsule-item {
     display: flex;
     align-items: center;
     gap: 7px;
     background: rgba(13, 21, 39, 0.8);
     border: 1px solid var(--vpn-border-subtle);
     border-radius: 9999px;
     padding: 6px 14px;
     font-size: 0.77rem;
     color: #cbd5e1;
   }
   
   .vpn-globe-wrap {
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 260px;
   }
   
   .vpn-globe-img {
     width: 100%;
     max-width: 380px;
     height: auto;
     object-fit: contain;
     filter: drop-shadow(0 0 35px rgba(0, 210, 255, 0.2));
   }
   
   /* Prestige Country Cards Grid */
   .vpn-country-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
   }
   
   .vpn-country-card {
     background: linear-gradient(180deg, #0d152a 0%, #080e1c 100%);
     border: 1px solid rgba(35, 60, 105, 0.5);
     border-radius: 14px;
     padding: 16px;
     display: flex;
     flex-direction: column;
     transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
     position: relative;
     box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
   }
   
   .vpn-country-card:hover {
     transform: translateY(-3px);
     border-color: rgba(59, 130, 246, 0.6);
     box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(30, 86, 237, 0.2);
   }
   
   .vpn-card-skyline {
     width: 100%;
     height: 120px;
     border-radius: 8px;
     overflow: hidden;
     position: relative;
     margin: 10px 0;
     border: 1px solid rgba(255, 255, 255, 0.06);
   }
   
   .vpn-skyline-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.4s ease;
   }
   
   .vpn-country-card:hover .vpn-skyline-img {
     transform: scale(1.05);
   }
   
   /* Responsive */
   @media (max-width: 1200px) {
     .vpn-country-grid {
       grid-template-columns: repeat(2, 1fr);
     }
     .vpn-locations-hero {
       grid-template-columns: 1fr;
     }
   }
   
   @media (max-width: 768px) {
     .vpn-country-grid {
       grid-template-columns: 1fr;
     }
     .vpn-dashboard-layout {
       flex-direction: column;
     }
     .vpn-sidebar {
       width: 100%;
       height: auto;
       position: relative;
     }
   }
   