/* Soniq Projects — marketing site */
:root {
    --bg-deep: #060a10;
    --bg-card: #141f2b;
    --bg-raised: #111a24;
    --border: #243444;
    --text: #dce8f2;
    --text-soft: #9eb4c9;
    --text-muted: #5a7088;
    --cyan: #00e5c7;
    --blue: #3b9eff;
    --font-display: 'Orbitron', system-ui, sans-serif;
    --font-body: 'Exo 2', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    background-image:
        linear-gradient(rgba(0, 229, 199, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 199, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse 70% 50% at 50% -20%, rgba(59, 158, 255, 0.08), transparent);
    background-size: 48px 48px, 48px 48px, 100% 100%;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #5dffef; }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 10, 16, 0.94);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 2px;
    border: 1px solid rgba(0, 229, 199, 0.45);
    box-shadow: 0 0 12px rgba(0, 229, 199, 0.25);
    flex-shrink: 0;
}

.brand-logo {
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-hero {
    height: clamp(48px, 8vw, 72px);
    max-width: min(320px, 90vw);
}

.brand-logo-login {
    height: 56px;
    max-width: 260px;
    margin: 0 auto;
}

.brand-tagline {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.brand-text strong { font-family: var(--font-display); letter-spacing: 0.04em; color: var(--text); }
.brand-text em { color: var(--text-soft); font-style: normal; font-size: 0.9rem; margin-left: 0.15rem; }

.brand-footer { justify-content: center; margin-bottom: 0.75rem; }

.header-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.header-nav a { color: var(--text-soft); font-size: 0.9rem; }
.header-nav a:hover { color: var(--cyan); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 229, 199, 0.2), rgba(59, 158, 255, 0.15));
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 229, 199, 0.35), rgba(59, 158, 255, 0.25));
    color: #fff;
}

.btn-secondary {
    background: var(--bg-raised);
    color: var(--text-soft);
}

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

.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy { text-align: left; }

.hero-copy .hero-lead { margin-left: 0; margin-right: 0; }

.hero-copy .hero-actions { justify-content: flex-start; }

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    color: var(--cyan);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 span { color: var(--cyan); }

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 520px;
    margin: 0 0 1.75rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Dashboard mockup */
.hero-visual { display: flex; justify-content: center; }

.mock-dashboard {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 1rem;
    box-shadow: 0 0 40px rgba(0, 229, 199, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: var(--text-soft);
}

.mock-icon { width: 28px; height: 28px; border-radius: 2px; }

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.mock-stat {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    padding: 0.5rem;
    text-align: center;
}

.mock-stat strong { display: block; font-family: var(--font-display); color: var(--cyan); font-size: 1.1rem; }

.mock-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.mock-project {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}

.mock-project:last-child { border-bottom: none; }

.mock-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 0.35rem; flex-shrink: 0; }
.mock-dot-cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.mock-dot-blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.mock-dot-amber { background: #ffb020; box-shadow: 0 0 8px #ffb020; }

.mock-bar {
    height: 4px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    margin-top: 0.35rem;
    overflow: hidden;
}

.mock-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 0.65rem;
    background: rgba(0, 229, 199, 0.08);
    border: 1px solid rgba(0, 229, 199, 0.35);
    border-radius: 2px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section {
    max-width: 1040px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 2px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.feature-card p { color: var(--text-soft); font-size: 0.9rem; }

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    position: relative;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.25rem;
    position: relative;
}

.step h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.step p { color: var(--text-soft); font-size: 0.88rem; }

.cta-band {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 1.5rem;
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.cta-icon {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid var(--border);
    box-shadow: 0 0 20px rgba(0, 229, 199, 0.2);
}

.cta-band h2 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.cta-band p { color: var(--text-soft); margin-bottom: 1.25rem; }

.cta-inner .hero-actions { justify-content: flex-start; }

.login-brand-block {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.site-footer {
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer a { color: var(--text-soft); }

.site-footer-legal {
    margin-top: 1rem;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.site-footer-legal .footer-attribution {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
}

.site-footer-legal .footer-copy { margin-bottom: 0.25rem; }
.site-footer-legal .footer-legal { font-size: 0.68rem; opacity: 0.85; max-width: 36rem; margin: 0 auto; }

.admin-site-footer { padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 2rem; }

.login-footer .footer-attribution { font-size: 0.7rem; color: var(--text-soft); margin-bottom: 0.3rem; }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    border-radius: 2px;
}

.login-card h1 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.login-card .subtitle { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 0.35rem; }
.form-group select, .form-group input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 2px;
}

.form-group select:focus, .form-group input:focus {
    outline: none;
    border-color: var(--cyan);
}

.btn-block { width: 100%; margin-top: 0.5rem; }

.back-link { display: block; text-align: center; margin-top: 1rem; font-size: 0.88rem; color: var(--text-muted); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { text-align: center; }
    .hero-copy .brand-logo-hero { margin-left: auto; margin-right: auto; }
    .hero-copy .hero-actions { justify-content: center; }
    .hero-copy .hero-lead { margin-left: auto; margin-right: auto; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-inner .hero-actions { justify-content: center; }
}

@media (max-width: 600px) {
    .header-nav .nav-link-hide-mobile { display: none; }
}
