/* ============================================================
   DFY Films Client Portal — base.css
   Variables, reset y tipografía. Fuente única de verdad del
   design system (tokens del brief v1.0).
   ============================================================ */

/* Inter (UI/body) + Barlow Condensed (headings) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* --- Color (tokens del brief) --- */
    --bg:            #090D16;
    --surface-1:     #0D1220;
    --surface-2:     #111827;
    --surface-3:     #1E293B;
    --border:        rgba(248,250,252,.09);
    --border-light:  rgba(248,250,252,.14);
    --accent:        #00F2FE;
    --accent-hover:  #5CF7FF;
    --white:         #F8FAFC;
    --accent-ink:    #04141A;
    --gray:          #7C8AA0;
    --gray-light:    #A5B1C4;
    --success:       #22C55E;
    --warning:       #E5A000;
    --error:         #EF4444;

    /* --- Tipografía --- */
    --font-head: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Tamaños del brief */
    --h1: 32px;
    --h2: 22px;
    --h3: 18px;
    --body: 14px;
    --label: 12px;

    /* --- Radios y espaciado --- */
    --radius-card: 12px;
    --radius-input: 8px;
    --radius-pill: 999px;
}

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

html, body {
    height: 100%;
}

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* --- Tipografía --- */
h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover { color: var(--accent-hover); }

.mono { font-family: var(--font-mono); }

.text-secondary { color: var(--gray-light); }
.text-muted { color: var(--gray); }

/* --- Accesibilidad --- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* --- Logo DFY Films (ver brand guidelines) --- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 1.3em; height: 1.3em; flex: none; }
.logo__word { font: 700 1em/1 'Space Grotesk', sans-serif; letter-spacing: -0.02em; color: #FFFFFF; text-transform: none; }
.logo__word span { color: #00F2FE; }
