/* design-system.css — REYNAHUB Red Accent Palette */

:root {
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #ff0000;
    --accent-glow: rgba(255, 0, 0, 0.08);
    --border: rgba(15, 23, 42, 0.06);
    --sidebar-bg: #000000;
    --sidebar-color: #ffffff;
    --sidebar-width: 70px;
    --radius-bento: 18px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #090d16;
    --bg-card: #121826;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #ff3b3b;
    --accent-glow: rgba(255, 59, 59, 0.15);
    --border: rgba(255, 255, 255, 0.07);
    --sidebar-bg: #060911;
    --sidebar-color: #f1f5f9;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans';
    background: var(--bg-primary);
    color: var(--text-main);
    overflow: hidden;
    height: 100dvh;
    width: 100vw;
    transition: background 0.3s ease, color 0.3s ease;
}

button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
input { font-family: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

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