/* ========================================
   PORTFOLIO 4: DASHBOARD
   Light Gray + Purple Accent
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #6c63ff;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #8b83ff;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SELECTION ===== */
::selection {
    background: #6c63ff;
    color: #fff;
}

/* ===== NAV ===== */
nav {
    background: #fff;
    padding: 16px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}
.logo span {
    color: #6c63ff;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.nav-links a {
    color: #4a4a6a;
    transition: color 0.2s ease;
}
.nav-links a:hover {
    color: #6c63ff;
}

/* ===== HERO ===== */
.hero {
    padding: 60px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
}
.hero h1 .highlight {
    color: #6c63ff;
}

.hero .tagline {
    font-size: 1.1rem;
    color: #6b6b8a;
    margin: 12px 0 16px;
}

#heroDescription p {
    color: #4a4a6a;
    max-width: 440px;
    margin-bottom: 24px;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #6c63ff;
    color: #fff;
}
.btn-primary:hover {
    background: #8b83ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.25);
}

.btn-outline {
    border: 2px solid #6c63ff;
    color: #6c63ff;
    background: transparent;
}
.btn-outline:hover {
    background: rgba(108, 99, 255, 0.04);
    transform: translateY(-2px);
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e8f0;
    transition: border-color 0.2s ease;
}
.metric-card:hover {
    border-color: #6c63ff;
}

.metric-card .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #6c63ff;
}
.metric-card .label {
    color: #6b6b8a;
    font-size: 0.85rem;
    font-weight: 500;
}
.metric-card .icon {
    font-size: 1.2rem;
    color: #6c63ff;
    margin-bottom: 4px;
}

/* ===== SECTIONS ===== */
section {
    padding: 60px 0;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6c63ff;
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}
.section-title .accent {
    color: #6c63ff;
}

.section-subtitle {
    color: #6b6b8a;
    margin-bottom: 32px;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8e8f0;
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: #6c63ff;
}

.project-card .icon {
    font-size: 1.6rem;
    color: #6c63ff;
    margin-bottom: 8px;
}

.project-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.project-card .tech {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 8px 0 12px;
}
.project-card .tech span {
    background: #f0f0f8;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 4px;
    color: #4a4a6a;
}

.project-card p {
    color: #4a4a6a;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-card .links {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
}
.project-card .links a {
    color: #6b6b8a;
    transition: color 0.2s ease;
}
.project-card .links a:hover {
    color: #6c63ff;
}

/* ===== SKILLS ===== */
#skills {
    background: #fff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skill-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e8e8f0;
    transition: all 0.2s ease;
}
.skill-card:hover {
    border-color: #6c63ff;
    transform: translateY(-4px);
}

.skill-card .icon {
    font-size: 2rem;
    color: #6c63ff;
    margin-bottom: 8px;
}

.skill-card h4 {
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-card p {
    font-size: 0.75rem;
    color: #6b6b8a;
    margin-top: 2px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    color: #4a4a6a;
    margin-bottom: 16px;
}

.about-text .highlight-text {
    color: #6c63ff;
    font-weight: 500;
}

.about-quote {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e8e8f0;
}

/* ===== CONTACT ===== */
#contact {
    background: #fff;
}

.contact-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    color: #1a1a2e;
    font-weight: 500;
    border: 1px solid #e8e8f0;
    transition: all 0.2s ease;
}
.contact-links a:hover {
    border-color: #6c63ff;
    background: #f8f7ff;
    transform: translateY(-2px);
}
.contact-links a i {
    color: #6c63ff;
}

/* ===== FOOTER ===== */
footer {
    padding: 28px 0;
    text-align: center;
    color: #6b6b8a;
    font-size: 0.85rem;
    border-top: 1px solid #e8e8f0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    #heroDescription p {
        max-width: 100%;
    }
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        gap: 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .hero-metrics {
        grid-template-columns: 1fr 1fr;
    }
    .container {
        padding: 0 16px;
    }
    .contact-links a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}