/* ========================================
   InnovaLoa - Base Styles (Light Theme)
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

/* === Layout === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--space-4xl) 0;
}

/* === Section Titles === */
.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    color: var(--color-text-primary);
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-tech);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: var(--space-md) auto 0;
    color: var(--color-text-secondary);
}

/* === Highlight Accent Text === */
.highlight {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Skip Link === */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-accent-copper);
    color: #ffffff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-md);
    z-index: var(--z-overlay);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-copper);
}

/* === Scroll Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-delay-4 {
    transition-delay: 0.6s;
}

/* === Selection === */
::selection {
    background: var(--color-accent-copper);
    color: #ffffff;
}