/* ===================================
   Option 2: Light & Airy Tech - Dark Mode
   =================================== */

:root {
    /* Monochromatic Gray Palette - High Contrast */
    --color-bg: #0a0a0a;
    --color-bg-elevated: #141414;
    --color-bg-card: #1a1a1a;
    --color-text: #eeeeee;
    --color-text-muted: #bbbbbb;
    --color-text-dim: #999999;
    --color-border: #2a2a2a;

    /* Gray Accents - Strategic Highlights Only */
    --color-primary: #999999;
    --color-primary-light: #aaaaaa;
    --color-gradient-1: #1a1a1a;
    --color-gradient-2: #2a2a2a;
    --color-gradient-3: #3a3a3a;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Reset & Base
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.nav-scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #eeeeee;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.gradient-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    padding: 4rem 3rem;
}

.hero-title {
    font-size: clamp(4.5rem, 13vw, 9rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    animation: heroTitleIn 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s forwards;
}

.hero-role {
    font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
    font-weight: 400;
    color: #666666;
    margin-bottom: 3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.0s forwards;
}

.hero-description {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    color: #888888;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.5s forwards;
}

.hero-description p {
    margin-bottom: 1.75rem;
}

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-cta {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 2.0s forwards;
}

/* ===================================
   Buttons
   =================================== */

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #000000;
    background: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    transition: all 0.4s ease;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* ===================================
   Stats Bar
   =================================== */

.stats-bar {
    background: #000000;
    padding: 4rem 2rem;
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: #dddddd;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.6875rem;
    color: #555555;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===================================
   Sections
   =================================== */

.section {
    padding: 6rem 2rem;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.section-title.center {
    text-align: center;
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background: #000000;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.intro-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    color: #eeeeee;
    margin-top: 1rem;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #cccccc;
}

/* ===================================
   Skills Section
   =================================== */

.skills-section {
    background: #000000;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: #3a3a3a;
    background: radial-gradient(ellipse at center, #1f1f1f 0%, #0f0f0f 100%);
}

.skill-icon {
    width: 56px;
    height: 56px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #eeeeee;
    margin-bottom: 1rem;
}

.skill-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: none;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: #000000;
    padding: 8rem 2rem;
}

.contact-card {
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

.contact-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-email-btn,
.contact-linkedin-btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #000000;
    background: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    transition: all 0.4s ease;
    letter-spacing: 0.01em;
}

.contact-email-btn:hover,
.contact-linkedin-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: #000000;
    padding: 2rem;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: #888888;
    font-size: 0.9375rem;
}

.footer-note {
    color: #777777;
    font-size: 0.875rem;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .contact-section {
        padding: 4rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
