/* ============================================= */
/* HARD / NUCLEAR CSS RESET                      */
/* ============================================= */

*, 
*::before, 
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;           /* Removes all font styles */
    vertical-align: baseline;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Remove default button/input styles */
button,
input,
select,
textarea {
    background: none;
    border: none;
    outline: none;
    font: inherit;
    color: inherit;
    appearance: none;        /* Removes native browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Remove focus outlines (add your own later if needed) */
*:focus {
    outline: none;
}

/* Reset images, videos, embeds */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reset tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Reset headings */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: normal;
}

/* Reset quotes and citations */
blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
}

/* Reset form elements even harder */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    padding: 0;
}

/* Remove default styling from common elements */
abbr[title],
dfn {
    text-decoration: none;
    border: none;
}

hr {
    display: none; /* or height: 0; visibility: hidden; */
}

/* Make sure root elements are clean */
html,
body {
    height: 100%;
    width: 100%;
    line-height: 1;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-text-size-adjust: 100%; /* Prevents font scaling on mobile */
}

/* Prevent unwanted scrolling behaviors */
html {
    overflow-x: hidden;
}

/* Remove tap highlight on mobile */
a, button, input, textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Optional: Force smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================= */
/* Optional Modern Additions                     */
/* ============================================= */

/* Make everything use logical properties if you want (recommended) */
* {
    /* You can add logical properties here if needed */
}

/* Reset scrollbars (WebKit) */
::-webkit-scrollbar {
    display: none; /* or width: 0; */
}