/* ========================================
   GLOBAL THEME
======================================== */

:root {
    color-scheme: dark;

    --page-background: #0b0d12;

    --page-background-gradient:
        rgba(25, 218, 89, 0.055);

    --surface: rgba(255, 255, 255, 0.025);
    --surface-hover: rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.06);

    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.13);

    --text-primary: #ffffff;
    --text-secondary: #9da5b5;
    --text-tertiary: #858f9f;
    --text-muted: #687284;

    --accent: #19da59;

    --button-primary-background: #ffffff;
    --button-primary-text: #0d1016;
    --button-primary-hover: #e8eaf0;

    --header-background: rgba(11, 13, 18, 0.78);
    --footer-background: rgba(8, 10, 14, 0.70);

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.30);
}


/* ========================================
   LIGHT THEME
======================================== */

html[data-theme="light"] {
    color-scheme: light;

    --page-background: #f4f6f8;

    --page-background-gradient:
        rgba(25, 185, 76, 0.07);

    --surface: rgba(255, 255, 255, 0.82);
    --surface-hover: rgba(255, 255, 255, 1);
    --surface-strong: rgba(255, 255, 255, 0.95);

    --border: rgba(20, 27, 38, 0.10);
    --border-hover: rgba(20, 27, 38, 0.18);

    --text-primary: #11151b;
    --text-secondary: #525c6b;
    --text-tertiary: #66707e;
    --text-muted: #8a93a0;

    --accent: #14b94b;

    --button-primary-background: #11151b;
    --button-primary-text: #ffffff;
    --button-primary-hover: #252b34;

    --header-background: rgba(244, 246, 248, 0.82);
    --footer-background: rgba(235, 238, 242, 0.82);

    --shadow:
        0 20px 60px rgba(30, 40, 55, 0.10);
}


/* ========================================
   RESET
======================================== */

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


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            var(--page-background-gradient),
            transparent 38%
        ),
        var(--page-background);

    color: var(--text-primary);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    transition:
        background-color 0.35s ease,
        color 0.35s ease;
}


button,
input,
textarea {
    font-family: inherit;
}


a {
    color: inherit;
}