/* =========================================
   PRONOCAP CORE VISUAL SYSTEM
   Theme: Sci-Fi / AI-Robotic / Dark Void
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;600&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* -- PALETTE: THE VOID -- */
    --bg-deep: #050509;      /* Deepest Black */
    --bg-panel: #0b0c15;     /* Card Background */
    --bg-glass: rgba(16, 20, 35, 0.7); /* See-through panels */

    /* -- PALETTE: NEON ENERGY -- */
    --neon-cyan: #00f3ff;    /* AI / Intelligence */
    --neon-purple: #bc13fe;  /* Future / Deep Tech */
    --neon-green: #0aff60;   /* Bull Market / Success */
    --neon-red: #ff003c;     /* Bear Market / Critical */
    --neon-amber: #ffae00;   /* Warning / Processing */

    /* -- TEXT -- */
    --text-primary: #e0e6ed;
    --text-muted: #8b9bb4;
    
    /* -- FONTS -- */
    --font-head: 'Orbitron', sans-serif;   /* Headers */
    --font-ui: 'Rajdhani', sans-serif;     /* UI Elements */
    --font-code: 'JetBrains Mono', monospace; /* Data/Numbers */
}

/* =========================================
   GLOBAL RESETS & BODY
   ========================================= */

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-ui);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 50%),
        linear-gradient(0deg, rgba(0,0,0,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.2) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px; /* Grid effect */
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

/* =========================================
   BOOTSTRAP 5.2 OVERRIDES
   ========================================= */

/* Glassmorphism Cards */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: 4px; /* Sharp corners fit sci-fi better */
    position: relative;
    overflow: hidden;
}

/* The "Scanner" effect on cards */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

/* Custom Buttons - Cyberpunk Style */
.btn-cyber {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-head);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-cyan);
    z-index: -1;
    transition: left 0.3s ease;
}

.btn-cyber:hover {
    color: var(--bg-deep);
    box-shadow: 0 0 20px var(--neon-cyan);
    text-shadow: none;
}

.btn-cyber:hover::after {
    left: 0;
}

/* Form Inputs */
.form-control {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    color: var(--neon-cyan);
    font-family: var(--font-code);
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    color: var(--neon-cyan);
}

/* =========================================
   CUSTOM UTILITIES & FX
   ========================================= */

/* Text Glows */
.text-glow-cyan { text-shadow: 0 0 10px rgba(0, 243, 255, 0.7); color: var(--neon-cyan) !important; }
.text-glow-green { text-shadow: 0 0 10px rgba(10, 255, 96, 0.7); color: var(--neon-green) !important; }
.text-glow-red { text-shadow: 0 0 10px rgba(255, 0, 60, 0.7); color: var(--neon-red) !important; }

/* Monospace Data Font */
.font-mono {
    font-family: var(--font-code);
}

/* Tech Borders (Corner accents) */
.tech-border {
    position: relative;
    padding: 20px;
}

.tech-border::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--neon-cyan);
    border-right: 2px solid var(--neon-cyan);
}

.tech-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--neon-cyan);
    border-left: 2px solid var(--neon-cyan);
}

/* Pulsing "Live" Indicator */
.status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--neon-green);
    box-shadow: 0 0 0 0 rgba(10, 255, 96, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 255, 96, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(10, 255, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 255, 96, 0); }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep); 
}
::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan); 
}

/* =========================================
   USER AUTH & DASHBOARD EXTENSION
   Module: User System / Input Hardware
   ========================================= */

/* --- 3D HARDWARE INPUTS --- */
/* Overrides standard form controls for that "Tactile/Off-the-page" feel */

.form-control-3d {
    background-color: #000000 !important; /* Deepest black */
    color: var(--neon-green) !important;
    font-family: var(--font-code);
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #333;
    border-bottom: 4px solid #333; /* The "3D" depth */
    border-radius: 2px;
    padding: 12px 15px;
    transition: all 0.15s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); /* Lifted shadow */
}

.form-control-3d::placeholder {
    color: rgba(10, 255, 96, 0.3); /* Dim green placeholder */
    font-weight: 400;
}

.form-control-3d:focus {
    outline: none;
    transform: translateY(3px); /* Physically press down */
    border-bottom: 1px solid var(--neon-green); /* Flatten border on press */
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(10, 255, 96, 0.2); /* Radioactive glow */
}

/* Input Labels */
.label-tech {
    font-family: var(--font-head);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
    letter-spacing: 1px;
}

/* --- AUTH PAGES (Login/Register) --- */

.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    border-top: 2px solid var(--neon-cyan); /* Top scanner line */
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

/* --- DASHBOARD UI --- */

/* The Avatar / User Status Module */
.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.avatar-frame {
    width: 60px;
    height: 60px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%; /* or 4px for square robotic look */
    padding: 3px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%); /* Sci-fi monochrome feel */
    transition: 0.3s;
}

.avatar-frame:hover img {
    filter: grayscale(0%);
}

/* Dashboard Stat Tiles (Mini cards) */
.stat-tile {
    background: rgba(0,0,0,0.6);
    border-left: 3px solid var(--text-muted);
    padding: 15px;
    transition: 0.3s;
}

.stat-tile:hover {
    background: rgba(11, 12, 21, 0.9);
    border-left-color: var(--neon-cyan);
    transform: translateX(5px);
}

.stat-value {
    font-family: var(--font-code);
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* --- UPGRADE / PRICING MODULE --- */

.pricing-card {
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.pricing-card:hover {
    transform: scale(1.02);
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
}

.plan-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-top: 1rem;
    color: var(--text-muted);
}

.plan-price {
    font-family: var(--font-code);
    font-size: 3rem;
    color: var(--text-primary);
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Specific Plan Highlights */
.plan-pro .plan-name { color: var(--neon-cyan); }
.plan-elite { border: 1px solid var(--neon-purple); background: rgba(188, 19, 254, 0.05); }
.plan-elite .plan-name { color: var(--neon-purple); text-shadow: 0 0 10px var(--neon-purple); }

/* List features inside pricing */
.tech-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px 0;
}

.tech-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    font-family: var(--font-ui);
}

.tech-list li::before {
    content: ">>";
    color: var(--neon-cyan);
    margin-right: 10px;
    font-family: var(--font-code);
}