/* public/style.css */

:root {
    --bg-main: #0f0f11;         /* Matte charcoal black */
    --bg-card: #16161a;         /* Dark graphite */
    --accent: #d4af37;          /* Premium soft gold */
    --accent-bronze: #c5a880;   /* Muted bronze */
    --text-main: #e5e5e7;       /* Soft light silver */
    --text-muted: #8a8a93;      /* Muted gray text */
    --border-gold: rgba(197, 168, 128, 0.15);
    --border-light: rgba(255, 255, 255, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Premium Background Glow Effect */
.glow-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
}
.glow-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--accent); }
.glow-2 { bottom: -10%; right: -10%; width: 600px; height: 600px; background: var(--accent-bronze); }
.glow-3 { top: 40%; left: 50%; width: 400px; height: 400px; background: var(--accent); }

/* ==========================================
   NEON CRYPTO FLOATING BACKGROUND LOGOS
   ========================================== */
.bg-crypto-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.crypto-icon {
    position: absolute;
    font-size: 180px;
    opacity: 0.04;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    animation: floatNeon 12s ease-in-out infinite alternate;
}

.btc-icon {
    top: 15%;
    left: 5%;
    color: #f7931a;
    filter: drop-shadow(0 0 35px rgba(247, 147, 26, 0.5));
}

.eth-icon {
    bottom: 20%;
    right: 6%;
    color: #627eea;
    filter: drop-shadow(0 0 35px rgba(98, 126, 234, 0.5));
    animation-delay: -4s;
}

.sol-icon {
    top: 55%;
    left: 80%;
    color: var(--accent);
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.5));
    animation-delay: -8s;
}

@keyframes floatNeon {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-25px) rotate(6deg) scale(1.05);
    }
    100% {
        transform: translateY(10px) rotate(-4deg) scale(0.98);
    }
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header Controls */
.header-controls {
    position: sticky !important; 
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100000;
    pointer-events: none;
}

.menu-btn, .main-auth-btn, .lang-selector {
    pointer-events: auto;
}

.menu-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: 0.3s ease;
}
.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}
.menu-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.main-auth-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: 0.3s ease;
}
.main-auth-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* LANGUAGE SELECTOR STYLES */
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.2s ease;
}

.lang-btn:hover {
    color: var(--accent) !important;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

/* Sidebar Panel */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: var(--bg-card);
    border-right: 1px solid var(--border-gold);
    padding: 40px 25px;
    z-index: 100005;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}
.sidebar.active { left: 0; box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5); }

.sidebar-logo-area {
    width: 100%;
    padding: 15px 10px 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.sidebar-logo-area svg {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.15));
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    transition: 0.2s;
}
.close-btn:hover { color: var(--accent); }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}
.overlay.active { display: block; }

/* Main layout cards */
.content {
    max-width: 1000px;
    margin: 40px auto 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.hero-container {
    display: flex;
    gap: 30px;
    align-items: center;
}
.hero-text-col { flex: 1.3; }
.hero-text-col h1 { font-size: 32px; color: #fff; margin-bottom: 20px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.3; }
.hero-text-col p { color: var(--text-muted); font-size: 15px; }

.hero-visual-col {
    flex: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auron-logo-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: auronLevitate 5s ease-in-out infinite;
}

.auron-svg {
    width: 100%;
    height: auto;
}

@keyframes auronLevitate {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.subtitle {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

/* Modals structures */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.auth-modal.active { opacity: 1; pointer-events: auto; }

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    padding: 35px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.auth-tabs { display: flex; border-bottom: 1px solid var(--border-light); margin-bottom: 25px; }
.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
    font-family: inherit;
}
.auth-tab.active { color: var(--accent); border-bottom: 2px solid var(--accent); }

.input-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; text-align: left; }
.input-group label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.input-group input, .input-group textarea {
    background: var(--bg-main);
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 10px rgba(212, 175, 55, 0.15); }

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bronze) 100%);
    border: none;
    color: var(--bg-main);
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s ease;
}
.auth-submit-btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}
.auth-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.auth-message { font-size: 13px; margin-top: 15px; text-align: center; font-weight: 500; }
.auth-message.error { color: #e74c3c; }
.auth-message.success { color: #2ecc71; }

/* Badge styles */
.badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}
.badge.active-sub { background: rgba(46, 204, 113, 0.1); border-color: rgba(46, 204, 113, 0.3); color: #2ecc71; }
.badge.expired-sub { background: rgba(231, 76, 60, 0.1); border-color: rgba(231, 76, 60, 0.3); color: #e74c3c; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border: 2px solid var(--bg-main); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-bronze); }

/* Footer */
.site-footer { margin-top: auto; padding: 40px 20px; text-align: center; border-top: 1px solid var(--border-light); width: 100%; }
.site-footer .quote { font-style: italic; color: var(--accent-bronze); font-size: 14px; max-width: 600px; margin: 0 auto 20px auto; }
.disclaimer-box { max-width: 750px; margin: 0 auto; font-size: 11px; color: var(--text-muted); line-height: 1.5; }

.btn-logout {
    width: 100%; background: rgba(231, 76, 60, 0.05); border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c; padding: 10px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.2s; font-family: inherit;
}
.btn-logout:hover { background: rgba(231, 76, 60, 0.1); border-color: #e74c3c; }

/* USER PANEL NAVIGATION ROUTING */
.user-panel-tab {
    background: transparent;
    border: 1px solid transparent;
    padding: 12px 14px;
    color: #cdd1db;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    border-radius: 6px; 
    margin-right: 5px; 
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
    width: 100%;
}

.user-panel-tab i {
    font-size: 14px;
}

.user-panel-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.user-panel-tab.active-tab-style {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--accent);
}

/* Plan Cards Interactive Transitions */
.plan-buy-btn {
    margin-top: auto;
}

div[id="userPanelLicensing"] div[style*="display: flex; flex-direction: column;"] {
    transition: all 0.25s ease-in-out;
}

div[id="userPanelLicensing"] div[style*="display: flex; flex-direction: column;"]:hover {
    border-color: var(--accent) !important;
    background: rgba(212, 175, 55, 0.03) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* DYNAMIC PROMO BANNER */
.top-promo-banner {
    background: linear-gradient(90deg, #d4af37 0%, #aa7c11 50%, #d4af37 100%); 
    color: #0f0f11; 
    padding: 10px 20px; 
    text-align: center; 
    font-size: 12px; 
    font-weight: 800; 
    letter-spacing: 0.5px; 
    position: relative; 
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); 
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
    z-index: 100001; 
}

/* TELEMETRY PULSE FLASH ANIMATION */
.telemetry-update-flash {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}