/* Modern Design System for InteractiveReader */
/* All CSS variables are now centralized in app.css :root section */

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    box-sizing: border-box;
}


/* ========================================
   CONTAINER
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    line-height: var(--leading-tight);
    margin: 0 0 var(--space-4) 0;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin: 0 0 var(--space-4) 0;
    line-height: var(--leading-relaxed);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   TEXT UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ========================================
   FEATURE ICONS
   ======================================== */
.feature-icon {
    background: var(--white);
    color: var(--white);
    position: relative;
}

.feature-icon.primary {
    background: var(--gradient-primary);
}

.feature-icon.secondary {
    background: var(--gradient-secondary);
}

.feature-icon.accent {
    background: var(--gradient-warm);
}

.feature-icon.success {
    background: linear-gradient(135deg, var(--success), var(--success-light));
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .container {
        max-width: 768px;
        padding: 0 var(--space-4);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
}

/* ========================================
   UTILITY CLASSES & ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
