/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #14141a;
    --primary: #00f2ff; /* Cyan Neon */
    --secondary: #ff0055; /* Red Neon */
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 20px; }
p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 20px; }

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-cyan { color: var(--primary); }

/* --- Navigation --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(10, 10, 15, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.highlight { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: white; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    border: 1px solid var(--primary); padding: 8px 20px;
    border-radius: 4px; color: var(--primary) !important;
}
.btn-nav:hover { background: var(--primary); color: #000 !important; }

/* --- Hero Section --- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(10,10,15,0.6) 0%, rgba(10,10,15,1) 90%); z-index: -1; }
.hero-content { max-width: 800px; padding: 20px; }

.cta-group { margin-top: 30px; display: flex; gap: 20px; justify-content: center; }

.btn-primary, .btn-secondary {
    padding: 15px 30px; font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
    text-transform: uppercase; border-radius: 4px; transition: 0.3s;
}
.btn-primary { background: var(--primary); color: #000; box-shadow: 0 0 20px rgba(0, 242, 255, 0.4); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(0, 242, 255, 0.7); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary); box-shadow: 0 0 20px rgba(255, 0, 85, 0.4); }

/* --- Sections --- */
.section-container { padding: 100px 10%; position: relative; }
.dark-bg { background-color: #0d0d12; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.image-content img { width: 100%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.feature-list, .tech-specs { list-style: none; margin-top: 20px; }
.feature-list li, .tech-specs li { margin-bottom: 15px; font-size: 1.1rem; color: #fff; }
.feature-card { background: rgba(255,255,255,0.05); padding: 20px; border-left: 3px solid var(--primary); margin-bottom: 20px; border-radius: 0 8px 8px 0; }
.feature-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 5px; }
.centered-section { text-align: center; }
.full-width-img { max-width: 90%; margin-top: 40px; }

/* --- Footer --- */
footer { padding: 50px 0; text-align: center; background: #050508; border-top: 1px solid #222; }

/* --- Animations --- */
.fade-in { opacity: 0; animation: fadeIn 1.5s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.reveal-left, .reveal-right, .reveal-up { opacity: 0; transition: all 1s ease-out; }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }
.active { opacity: 1; transform: translateX(0) translateY(0); }

/* --- Mobile --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .reverse-mobile { display: flex; flex-direction: column-reverse; }
    .navbar { padding: 15px 20px; flex-direction: column; gap: 10px; }
    .nav-links { gap: 15px; font-size: 0.9rem; }
}

/* --- Auth Forms (Login/Register) --- */
.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, #1a1a24 0%, #0a0a0f 100%); }
.auth-card {
    background: rgba(20, 20, 26, 0.95); padding: 40px; border-radius: 12px;
    width: 100%; max-width: 400px; border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1); text-align: center;
}
.auth-card h2 { color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; color: var(--text-muted); margin-bottom: 8px; font-size: 0.9rem; }
.form-input {
    width: 100%; padding: 12px; background: #0d0d12;
    border: 1px solid #333; border-radius: 4px; color: white;
    font-family: var(--font-body); transition: 0.3s;
}
.form-input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 10px rgba(0, 242, 255, 0.2); }
.auth-links { margin-top: 20px; font-size: 0.9rem; }
.auth-links a { color: var(--text-muted); text-decoration: none; }
.auth-links a:hover { color: var(--primary); }
.alert { padding: 10px; margin-bottom: 15px; border-radius: 4px; font-size: 0.9rem; }
.alert-error { background: rgba(255, 0, 85, 0.2); color: #ff0055; border: 1px solid #ff0055; }
.alert-success { background: rgba(0, 242, 255, 0.2); color: #00f2ff; border: 1px solid #00f2ff; }

/* --- Dashboard Styles --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.stat-card {
    background: rgba(20, 20, 26, 0.8); padding: 25px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05); text-align: center; transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 5px 20px rgba(0, 242, 255, 0.1); }
.stat-card .icon { font-size: 2rem; margin-bottom: 10px; color: var(--text-muted); }
.stat-card .number { font-size: 2.5rem; font-weight: 800; color: white; font-family: var(--font-heading); }
.stat-card .label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.table-responsive { overflow-x: auto; margin-top: 20px; }
.data-table { width: 100%; border-collapse: collapse; background: rgba(20, 20, 26, 0.5); border-radius: 8px; overflow: hidden; }
.data-table th, .data-table td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.data-table th { background: rgba(0, 242, 255, 0.1); color: var(--primary); text-transform: uppercase; font-size: 0.8rem; }
.data-table tr:hover { background: rgba(255, 255, 255, 0.02); }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.badge.free_tier { background: #333; color: #ccc; }
.badge.paid_active { background: rgba(0, 255, 0, 0.2); color: #0f0; border: 1px solid #0f0; }
.badge.vip_granted { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid #ffd700; }

/* --- Modal Base Styles --- */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px);
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal.show { display: flex; opacity: 1; }
.modal-content { position: relative; max-width: 500px; width: 90%; animation: slideDown 0.4s ease; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-btn { position: absolute; top: 15px; right: 20px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: var(--primary); }

/* --- IMPROVED SUPPORT FORM STYLES --- */
.support-card-style {
    text-align: center;
    border: 1px solid rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}
.support-card-style h2 {
    font-family: 'Orbitron', sans-serif; color: var(--primary);
    letter-spacing: 2px; margin-bottom: 10px; text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}
.support-card-style p { font-family: 'Inter', sans-serif; color: #a0a0b0; margin-bottom: 30px; }

/* Improved Inputs */
.support-card-style .form-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
    color: white; font-family: 'Inter', sans-serif;
    border-radius: 6px; transition: all 0.3s ease;
}
.support-card-style .form-input:focus {
    background: rgba(0, 242, 255, 0.05); border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}
.support-card-style .form-group { text-align: left; }
.support-card-style label {
    font-family: 'Orbitron', sans-serif; font-size: 0.8rem;
    color: var(--text-main); letter-spacing: 1px; margin-left: 5px;
}

/* Centered Small Button */
.form-footer { display: flex; justify-content: center; margin-top: 20px; }
.btn-small {
    width: auto !important; padding: 10px 40px; font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif; letter-spacing: 1px;
    border-radius: 30px; box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}
.btn-small:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0, 242, 255, 0.4); }