/* ══════════════════════════════════════
   Variables & Reset
   ══════════════════════════════════════ */

:root {
    --primary: #0f172a;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --text: #334155;
    --text-light: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   Buttons
   ══════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════
   Sections (shared)
   ══════════════════════════════════════ */

section { padding: 100px 2rem; }

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-title p {
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   Cards
   ══════════════════════════════════════ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}
.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.card p { color: var(--text-light); font-size: 0.95rem; }

/* ══════════════════════════════════════
   Skill Tags
   ══════════════════════════════════════ */

.skills-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.skill-tag {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.2s;
}
.skill-tag:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ══════════════════════════════════════
   Responsive
   ══════════════════════════════════════ */

@media (max-width: 768px) {
    nav ul { display: none; }
    .hero h1 { font-size: 2rem; }
    section { padding: 60px 1rem; }
    .cards-grid { grid-template-columns: 1fr; }
}
