/* ===== INNOVATIVE PLACEMENTS - BASE STYLES ===== */
/* Professional, Clean, Elegant */

/* ========================================
   1. RESET & BOX MODEL
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   2. ROOT ELEMENT
   ======================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   3. BODY - ONE CONSISTENT BACKGROUND
   ======================================== */

body {
    font-family: var(--ip-font-primary);
    font-size: var(--ip-text-base);
    line-height: var(--ip-leading-normal);
    color: var(--ip-text-secondary);
    background: var(--ip-bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   4. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ip-font-display);
    font-weight: var(--ip-font-bold);
    color: var(--ip-text-primary);
    line-height: var(--ip-leading-tight);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--ip-text-5xl); }
h2 { font-size: var(--ip-text-4xl); }
h3 { font-size: var(--ip-text-2xl); }
h4 { font-size: var(--ip-text-xl); }
h5 { font-size: var(--ip-text-lg); }
h6 { font-size: var(--ip-text-base); }

p {
    margin-bottom: var(--ip-space-4);
    color: var(--ip-text-secondary);
}

/* ========================================
   5. LINKS
   ======================================== */

a {
    color: var(--ip-text-primary);
    text-decoration: none;
    transition: color var(--ip-transition-fast);
}

a:hover {
    color: var(--ip-pink);
}

/* ========================================
   6. LISTS
   ======================================== */

ul, ol {
    list-style: none;
}

/* ========================================
   7. IMAGES
   ======================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   8. SELECTION
   ======================================== */

::selection {
    background: rgba(196, 77, 255, 0.3);
    color: white;
}

/* ========================================
   9. SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   10. FOCUS STATES
   ======================================== */

:focus-visible {
    outline: 2px solid var(--ip-purple);
    outline-offset: 2px;
}

/* ========================================
   11. UTILITY CLASSES
   ======================================== */

.text-gradient {
    background: var(--ip-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--ip-text-muted);
}

.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;
}
