/* ===================================
   FONTS
   =================================== */
@font-face {
    font-family: 'Roboto Flex';
    src: url('../fonts/roboto-flex.woff2') format('woff2');
    font-weight: 300 700;
    font-display: swap;
    font-style: normal;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   LINKS
   =================================== */
a {
    text-decoration: none;
    color: inherit;
}

/* Content links (not navigation or cards) */
p a,
li a,
.content-page a {
    color: var(--link-color);
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.content-page:hover p a,
.content-page:hover li a,
.content-page:hover a {
    background: linear-gradient(45deg, 
        var(--link-hover-color-1) 0%,
        var(--link-hover-color-2) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration-color: var(--link-hover-color-1);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3 {
    background: linear-gradient(45deg, 
        var(--gradient-color-1) 0%,
        var(--gradient-color-2) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

p:last-child {
    margin-bottom: 0;
}
