:root {
    --bg-dark: #050A1A;
    --surface: #0E1529;
    --surface-accent: #161F38;
    --primary: #00F0FF;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #FFD700;
    --secondary-glow: rgba(255, 215, 0, 0.3);
    --text-main: #FFFFFF;
    --text-muted: #8AA2B5;
    --border-color: rgba(0, 240, 255, 0.15);
    --glass: rgba(14, 21, 41, 0.8);
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 70%),
        linear-gradient(rgba(5, 10, 26, 0.98), rgba(5, 10, 26, 0.98)),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Navigation --- */
.top-nav {
    background: rgba(5, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* --- Layout --- */
.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.hero-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.hero-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #FFF 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-header p {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* --- Forms & Cards --- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Brutalist feel */
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Cyber-corners effect */
.form-card::before, .form-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary);
    border-style: solid;
}

.form-card::before { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.form-card::after { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.section-title {
    color: var(--primary);
    margin: 2rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary-glow), transparent);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    width: 100%;
    background: var(--surface-accent);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    border-radius: 2px;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.flex-1 { flex: 1; }

/* --- Signature --- */
.signature-wrapper {
    background: #FFF;
    border-radius: 4px;
    margin: 1rem 0;
    height: 180px;
    overflow: hidden;
}

.signature-pad {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* --- Buttons --- */
.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #FFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- Dashboard Specific --- */
.dashboard-grid {
    display: grid;
    gap: 1.5rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- Payment Cards --- */
.pricing-flex {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-tier {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.pricing-tier:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.pricing-tier.premium {
    border-color: var(--secondary);
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.05), transparent);
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-main);
    margin: 1.5rem 0;
}

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

/* --- Legal Box --- */
.legal-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    height: 150px;
    overflow-y: scroll;
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-box::-webkit-scrollbar { width: 4px; }
.legal-box::-webkit-scrollbar-thumb { background: var(--primary); }

/* --- Mobile --- */
@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 0; }
    .hero-header h1 { font-size: 2.2rem; }
    .pricing-flex { flex-direction: column; }
    .form-card { padding: 1.5rem; }
}
