/* /static/style.css */

/* --- 1. VARIABLES & RESET --- */
:root {
    /* Brand Palette */
    --primary-magenta: #d946ef;
    --primary-cyan: #06b6d4;
    --brand-gradient: linear-gradient(135deg, var(--primary-magenta), var(--primary-cyan));
    
    /* Dark Theme Palette */
    --bg-dark: #0f172a;      /* Main Background */
    --bg-surface: #1e293b;   /* Card/Container Background */
    --bg-input: #334155;     /* Input fields */
    --text-light: #f8fafc;   /* Primary Text */
    --text-muted: #94a3b8;   /* Secondary Text */
    --success: #22c55e;
    --danger: #ef4444;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ambient Background Glow (Shared) */
body::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a { color: var(--primary-cyan); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary-magenta); }

h1, h2, h3 { color: var(--text-light); font-weight: 800; }

/* --- 2. NAVIGATION & HEADER --- */
nav {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header for Legal Pages */
.header-centered { text-align: center; margin-bottom: 40px; margin-top: 40px; }

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.logo img { height: 50px; width: auto; }
.logo:hover { transform: scale(1.02); }

.nav-btn {
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}
.nav-btn:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    color: white;
}

/* --- 3. CONTAINERS & CARDS --- */
.container-dashboard {
    width: 100%; max-width: 900px;
    background-color: var(--bg-surface);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 40px auto;
    position: relative;
}

.container-legal { max-width: 800px; margin: 0 auto 60px; }
.box-legal { 
    background: var(--bg-surface); 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid rgba(255,255,255,0.1); 
}

/* --- 4. BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 12px;
    cursor: pointer; border: none;
    font-size: 16px; font-weight: 700; text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5); color: white; }
.btn-red { background: var(--danger); box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); }
.btn-grey { background: var(--bg-input); color: var(--text-light); box-shadow: none; border: 1px solid rgba(255,255,255,0.1); }
.del-btn { background: rgba(239, 68, 68, 0.2); color: var(--danger); border: 1px solid var(--danger); padding: 10px; border-radius: 10px; cursor: pointer; }

/* --- 5. FORMS --- */
select, input, textarea {
    width: 100%; padding: 12px 16px;
    background-color: var(--bg-input);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
select:focus, input:focus, textarea:focus {
    outline: none; border-color: var(--primary-cyan);
}
label { display: block; margin: 20px 0 8px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }

/* --- 6. LANDING PAGE SPECIFICS --- */
.hero { text-align: center; padding: 100px 20px 80px; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero span.highlight { background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.feature-card { background: var(--bg-surface); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); border-color: rgba(217, 70, 239, 0.3); }
.feature-icon { font-size: 2.5rem; margin-bottom: 25px; }

footer { text-align: center; padding: 80px 20px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }

/* --- 7. UTILITIES --- */
.hidden { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.asset-row { display: flex; align-items: center; gap: 10px; }
.asset-row select { flex-grow: 1; }

/* Progress Bar */
progress { width: 100%; height: 30px; border-radius: 15px; overflow: hidden; background: var(--bg-input); }
progress::-webkit-progress-value { background: var(--brand-gradient); transition: width 0.5s ease; }