/* =====================================================
   InfoShop — Base & Reset Styles
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

*,
*::before,
*::after {
       box-sizing: border-box;
       margin: 0;
       padding: 0;
}

html {
       font-size: 16px;
       scroll-behavior: smooth;
       -webkit-text-size-adjust: 100%;
}

body {
       font-family: var(--font-sans);
       font-size: var(--font-size-base);
       line-height: 1.6;
       color: var(--color-text-primary);
       background-color: var(--color-bg-base);
       min-height: 100vh;
       overflow-x: hidden;
       -webkit-font-smoothing: antialiased;
       -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
       background: var(--color-primary-glow);
       color: var(--color-text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
       width: 6px;
       height: 6px;
}

::-webkit-scrollbar-track {
       background: var(--color-bg-base);
}

::-webkit-scrollbar-thumb {
       background: var(--color-border-bright);
       border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
       background: var(--color-primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
       font-weight: 700;
       line-height: 1.25;
       color: var(--color-text-primary);
       letter-spacing: -0.02em;
}

h1 {
       font-size: var(--font-size-4xl);
}

h2 {
       font-size: var(--font-size-3xl);
}

h3 {
       font-size: var(--font-size-2xl);
}

h4 {
       font-size: var(--font-size-xl);
}

h5 {
       font-size: var(--font-size-lg);
}

h6 {
       font-size: var(--font-size-base);
}

p {
       color: var(--color-text-secondary);
       line-height: 1.75;
}

a {
       color: var(--color-primary);
       text-decoration: none;
       transition: color var(--transition-fast);
}

a:hover {
       color: var(--color-primary-light);
}

code,
pre {
       font-family: var(--font-mono);
       font-size: 0.9em;
}

code {
       background: var(--color-bg-elevated);
       padding: 0.1em 0.4em;
       border-radius: var(--radius-sm);
       color: var(--color-primary-light);
       border: 1px solid var(--color-border);
}

/* Images */
img {
       max-width: 100%;
       display: block;
}

/* Lists */
ul,
ol {
       list-style: none;
}

/* Inputs base */
input,
select,
textarea,
button {
       font-family: inherit;
       font-size: inherit;
       border: none;
       outline: none;
}

/* Focus visible */
:focus-visible {
       outline: 2px solid var(--color-primary);
       outline-offset: 2px;
}

/* Utility: visually hidden */
.sr-only {
       position: absolute;
       width: 1px;
       height: 1px;
       padding: 0;
       margin: -1px;
       overflow: hidden;
       clip: rect(0, 0, 0, 0);
       white-space: nowrap;
       border: 0;
}

/* Gradient text utility */
.gradient-text {
       background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
}

/* Glass effect */
.glass {
       background: rgba(13, 18, 38, 0.60);
       backdrop-filter: blur(16px);
       -webkit-backdrop-filter: blur(16px);
       border: 1px solid var(--color-border);
}

/* Divider */
hr {
       border: none;
       border-top: 1px solid var(--color-border);
       margin: var(--space-6) 0;
}