/* ==========================================================
   LEXION DARK — Brand Color System
   Inspired by the LEXION Notes visual identity
   ========================================================== */

:root {

    /* -------------------------------------------------------
       BASE BACKGROUNDS
       Deep blue-black rather than neutral black
       ------------------------------------------------------- */

    --lx-bg: #03040d;
    --lx-bg-deep: #02030a;

    --lx-bg-soft: #070a18;
    --lx-bg-elevated: #0a0d20;

    --lx-surface: #0b0e22;
    --lx-surface-2: #10142c;
    --lx-surface-3: #161a38;

    --lx-surface-hover: #1a1f43;


    /* -------------------------------------------------------
       GLASS
       Slight blue/violet character
       ------------------------------------------------------- */

    --lx-glass: rgba(10, 13, 32, 0.70);

    --lx-glass-strong:
        rgba(7, 9, 25, 0.92);

    --lx-glass-purple:
        rgba(36, 24, 82, 0.35);


    /* -------------------------------------------------------
       LEXION BRAND COLORS
       ------------------------------------------------------- */

    --lx-purple: #7b3cff;

    --lx-violet: #965cff;

    --lx-violet-bright: #b17aff;

    --lx-ultraviolet: #6735ff;

    --lx-electric: #9c5cff;

    --lx-lavender: #c7b4ff;


    /* Secondary cool-light accents */

    --lx-blue: #617dff;

    --lx-blue-bright: #8ba4ff;

    --lx-ice: #c7dcff;

    --lx-cyan: #76ddff;


    /* -------------------------------------------------------
       TEXT
       ------------------------------------------------------- */

    --lx-text: #ffffff;

    --lx-text-soft: #d9ddf4;

    --lx-text-muted: #939bbd;

    --lx-text-purple: #d5c5ff;


    /* -------------------------------------------------------
       BORDERS
       ------------------------------------------------------- */

    --lx-border:
        rgba(188, 178, 255, 0.10);

    --lx-border-hover:
        rgba(189, 164, 255, 0.28);

    --lx-border-purple:
        rgba(157, 101, 255, 0.40);

    --lx-border-bright:
        rgba(199, 180, 255, 0.65);


    /* -------------------------------------------------------
       GLOW
       ------------------------------------------------------- */

    --lx-glow-purple:
        rgba(123, 60, 255, 0.32);

    --lx-glow-violet:
        rgba(157, 92, 255, 0.30);

    --lx-glow-blue:
        rgba(97, 125, 255, 0.22);

    --lx-glow-ice:
        rgba(199, 220, 255, 0.18);

    --lx-glow-cyan:
        rgba(118, 221, 255, 0.14);


    /* -------------------------------------------------------
       GRADIENTS
       ------------------------------------------------------- */

    --lx-gradient-brand:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #d9ceff 28%,
            #a875ff 60%,
            #7565ff 100%
        );

    --lx-gradient-purple:
        linear-gradient(
            135deg,
            #6336ff,
            #a64dff
        );

    --lx-gradient-electric:
        linear-gradient(
            120deg,
            #7357ff,
            #b56cff,
            #87a6ff
        );

    --lx-gradient-surface:
        linear-gradient(
            145deg,
            rgba(113, 75, 255, 0.10),
            rgba(12, 15, 38, 0.40)
        );


    /* -------------------------------------------------------
       STATES
       ------------------------------------------------------- */

    --lx-success: #62e5b0;
    --lx-warning: #ffd36a;
    --lx-danger: #ff718b;


    /* -------------------------------------------------------
       TYPOGRAPHY
       ------------------------------------------------------- */

    --lx-font:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;


    /* -------------------------------------------------------
       SPACING
       ------------------------------------------------------- */

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --space-10: 8rem;


    /* -------------------------------------------------------
       LAYOUT
       ------------------------------------------------------- */

    --lx-container: 1440px;

    --lx-header-height: 76px;


    /* -------------------------------------------------------
       RADIUS
       ------------------------------------------------------- */

    --lx-radius-small: 10px;
    --lx-radius-medium: 16px;
    --lx-radius-large: 24px;
    --lx-radius-xl: 32px;


    /* -------------------------------------------------------
       ANIMATION
       ------------------------------------------------------- */

    --lx-transition: 180ms ease;

    --lx-transition-slow:
        300ms cubic-bezier(.2, .8, .2, 1);

    color-scheme: dark;
}


body {

    margin: 0;

    min-height: 100vh;

    color: var(--lx-text);

    font-family: var(--lx-font);

    font-size: 16px;

    line-height: 1.6;


    background:

        radial-gradient(
            ellipse at 70% -10%,
            rgba(109, 71, 255, 0.16),
            transparent 38%
        ),

        radial-gradient(
            ellipse at 15% 35%,
            rgba(74, 88, 210, 0.08),
            transparent 32%
        ),

        linear-gradient(
            180deg,
            #060817 0%,
            #03040d 45%,
            #02030a 100%
        );

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}
