/* ══════════════════════════════════════════════════════
   Silent Directive LLC — Global Styles
   ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #8b5cf6;
    --accent-light: #d4a6ff;
    --bg: #0a0a0a;
    --bg-card: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --text-dim: rgba(255,255,255,0.45);
    --text-mid: rgba(255,255,255,0.65);
    --radius: 8px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: var(--accent-light); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

/* ── Canvas Background ── */
#canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Nav ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    background: rgba(10,10,10,0.75);
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}

.nav-cta:hover { opacity: 0.85; color: white; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* ── Hero ── */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 24px 80px;
    min-height: 85vh;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 36px;
    animation: fadeUp 0.6s ease forwards;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

h1 {
    font-size: clamp(42px, 8vw, 88px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

h1 .white { color: #ffffff; }

h1 .accent {
    background: linear-gradient(135deg, #8b5cf6, #d4a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.65;
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.cta-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: -0.3px;
    display: inline-block;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    color: white;
}

.cta-secondary {
    background: transparent;
    color: var(--text-mid);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 18px 40px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s;
    display: inline-block;
}

.cta-secondary:hover { border-color: rgba(255,255,255,0.4); color: var(--text); }

/* ── Trust Bar ── */
.trust-bar {
    padding: 28px 48px;
    border-top: 1px solid var(--border);
    backdrop-filter: blur(20px);
    background: rgba(10,10,10,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-number {
    font-size: 30px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -1px;
}

.trust-label {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ── Sections ── */
.section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
    line-height: 1.1;
    opacity: 1;
    animation: none;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.65;
    margin-bottom: 48px;
}

/* ── Cards Grid ── */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.card p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ── Page Content (text pages) ── */
.page-header {
    padding: 120px 24px 60px;
    text-align: center;
}

.page-header h1 {
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

.page-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 40px 0 16px;
    letter-spacing: -0.5px;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 12px;
}

.page-body p,
.page-body li {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 12px;
}

.page-body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-body strong {
    color: var(--text);
}

.highlight-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
}

.highlight-box p {
    color: var(--text-mid);
    margin-bottom: 0;
}

/* ── Contact Form ── */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    backdrop-filter: blur(20px);
    background: rgba(10,10,10,0.8);
    padding: 48px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 340px;
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-mid);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--text-dim); }

/* ── Divider ── */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

/* ── Animations ── */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    h1 { letter-spacing: -2px; }
    .hero { min-height: 70vh; padding: 80px 20px 60px; }
    .trust-bar { gap: 28px; padding: 24px 20px; }
    .trust-item { min-width: 80px; }
    .section { padding: 60px 20px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .cta-group { flex-direction: column; align-items: stretch; }
    .cta-primary, .cta-secondary { text-align: center; }
}
