/* DESIGN SYSTEM: MODERN INSTITUTIONAL (UTILIFIN 2.0) */
:root {
    --bg-dark: #0a0a0c;
    --bg-card: #131316;
    --bg-card-hover: #1c1c21;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    --accent-primary: #3b82f6; /* Trust Blue */
    --accent-secondary: #10b981; /* Success Green */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
p { color: var(--text-muted); font-weight: 400; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* UTILITIES */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.mono-tag {
    font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
    color: var(--accent-primary); background: rgba(59, 130, 246, 0.1);
    padding: 4px 8px; border-radius: 4px; display: inline-block; margin-bottom: 1rem;
}
.visually-hidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* NAVIGATION */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10, 10, 12, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle); padding: 1.2rem 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-size: 1.5rem; font-weight: 800; letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: white; }

/* HERO */
.hero { padding-top: 180px; padding-bottom: 100px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 12, 0) 70%);
    z-index: -1; pointer-events: none;
}
.hero h1 {
    font-size: 4rem; margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #a1a1aa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.25rem; max-width: 650px; margin: 0 auto 3rem auto; }

/* STATUS BADGE */
.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    padding: 6px 16px; border-radius: 20px; font-size: 0.8rem;
    color: var(--text-main); margin-bottom: 2rem;
}
.pulse {
    width: 8px; height: 8px; background-color: var(--accent-secondary);
    border-radius: 50%; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* CARDS */
.cards-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 3rem; text-align: left; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 12px; padding: 2.5rem; transition: 0.3s;
    display: flex; flex-direction: column; justify-content: space-between;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-highlight); background: var(--bg-card-hover); }
.card-icon {
    font-size: 1.5rem; margin-bottom: 1.5rem; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 1px solid var(--border-subtle); background: rgba(255,255,255,0.05);
}
.btn-card {
    width: 100%; padding: 12px; background: transparent;
    border: 1px solid var(--border-highlight); color: white;
    border-radius: 8px; cursor: pointer; margin-top: 1rem; font-weight: 600;
}
.btn-card:hover { background: white; color: black; }

/* ABOUT BAR */
.about-bar {
    border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.02); padding: 4rem 0; margin: 4rem 0;
}
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.compliance-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 0.9rem; }
.compliance-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }

/* PROCESS */
.process-section { padding: 4rem 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step-card { background: var(--bg-card); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-subtle); }
.step-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-primary); text-transform: uppercase; margin-bottom: 0.5rem; }

/* FORM */
.intake-section { padding: 6rem 0; background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f12 100%); }
.form-container {
    max-width: 800px; margin: 0 auto; background: var(--bg-card);
    padding: 3rem; border-radius: 16px; border: 1px solid var(--border-subtle);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }

input, select, textarea {
    width: 100%; padding: 0.9rem; background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-subtle); border-radius: 8px;
    color: white; font-family: var(--font-main); font-size: 1rem; transition: 0.3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

.btn-submit {
    width: 100%; padding: 1rem; background: white; color: black;
    border-radius: 8px; border: none; font-weight: 700; cursor: pointer; margin-top: 1rem;
}
.btn-submit:hover { background: #e5e7eb; transform: translateY(-2px); }

.legal-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); margin-top: 1.5rem; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--accent-primary); margin-top: 4px; }
.radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

/* TRUST NOTE */
.trust-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FOOTER */
footer { padding: 4rem 0; border-top: 1px solid var(--border-subtle); margin-top: 4rem; font-size: 0.9rem; color: var(--text-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-links a { display: block; margin-bottom: 0.5rem; color: var(--text-muted); }
.footer-links a:hover { color: white; }

/* LEGAL PAGE WRAP */
.legal-page { padding-top: 140px; padding-bottom: 80px; }

/* MOBILE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .cards-wrapper, .about-grid, .steps-grid, .footer-grid, .form-row, .compliance-list { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
