/* ==========================================
   CAPITAL PAISA DIGITAL
   Modern CSS Reset
========================================== */

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

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    min-height:100vh;
    font-family:
        Inter,
        "SF Pro Display",
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size:16px;
    line-height:1.6;
    color:var(--text);
    background:var(--bg);

    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

    overflow-x:hidden;
}

img,
picture,
svg,
video,
canvas{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

button,
input,
textarea,
select{
    font:inherit;
    outline:none;
    border:none;
    background:none;
}

button{
    cursor:pointer;
}

ul,
ol{
    list-style:none;
}

table{
    border-collapse:collapse;
    border-spacing:0;
}

h1,
h2,
h3,
h4,
h5,
h6{
    font-weight:700;
    line-height:1.15;
    color:var(--white);
}

p{
    color:var(--muted);
}

::selection{
    background:#4F7CFF;
    color:#fff;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#071021;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
        180deg,
        #4F7CFF,
        #7C4DFF
    );
    border-radius:100px;
}

::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(
        180deg,
        #6389ff,
        #9368ff
    );
}

/* Form Elements */

input,
textarea,
select{
    color:var(--white);
}

input::placeholder,
textarea::placeholder{
    color:rgba(255,255,255,.45);
}

/* Focus Ring */

:focus-visible{
    outline:2px solid rgba(79,124,255,.6);
    outline-offset:3px;
}

/* Prevent horizontal overflow */

section{
    position:relative;
}

iframe{
    border:0;
}

strong{
    color:var(--white);
    font-weight:700;
}

hr{
    border:none;
    height:1px;
    background:rgba(255,255,255,.08);
}