/* ===================================================================
   GLOBAL TYPOGRAPHY & COLOR SYSTEM
   Consistent styling inspired by About section
   =================================================================== */

/* Section Headers - Universal Style */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    line-height: 1.2;
}

/* Gradient Highlight - Signature Style */
.highlight-word,
.highlight-gradient {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 1) 0%, rgba(var(--color-primary-dark-rgb), 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: inherit;
}

/* Section Subtitles */
.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Section Header Container */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Consistent Section Padding */
section {
    padding: 5rem 0;
}

/* Card Styles - Universal */
.card-modern {
    background: var(--color-surface-light);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--color-primary-rgb), 0.15);
    border-color: var(--color-primary);
}

[data-theme="dark"] .card-modern {
    background: #1e1e2e;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    /* Poppins for headings */
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: white;
}

body {
    font-family: var(--font-body);
    /* Inter for body */
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-300);
    background: var(--color-gray-900);
    /* Deep space background */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Buttons - Consistent Style */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 1) 0%, rgba(var(--color-primary-dark-rgb), 1) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(var(--color-primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--color-primary-rgb), 0.4);
}