/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f5f5f7;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-light: #8888a0;
    --accent-blue: #4361ee;
    --accent-purple: #7209b7;
    --accent-pink: #f72585;
    --gradient-main: linear-gradient(135deg, #4361ee, #7209b7, #f72585);
    --gradient-blob: linear-gradient(135deg, #4361ee 0%, #5a3fd4 30%, #7209b7 60%, #b5179e 80%, #f72585 100%);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 60px rgba(67, 97, 238, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.5;
}

/* ===== BACKGROUND BLOBS ===== */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-blob);
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f72585, #b5179e);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(245, 245, 247, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-logo span {
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.nav-menu-btn {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nav-menu-btn:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 60px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
    margin-bottom: 40px;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #00c853;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.hero-name .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title strong {
    font-weight: 700;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-blob-container {
    position: relative;
    width: 450px;
    height: 500px;
}

.hero-blob {
    width: 100%;
    height: 100%;
    background: var(--gradient-blob);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    animation: morphBlob 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero-blob::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-blob-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-blob-text .year {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    opacity: 0.9;
}

.hero-blob-text .label {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    25% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
    50% { border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; }
    75% { border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%; }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.floating-card-1 {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 60px;
    right: -30px;
    animation-delay: -3s;
}

.floating-card .fc-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.floating-card .fc-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.floating-card .fc-sub {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-top: 2px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===== SECTION STYLES ===== */
.section {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(67, 97, 238, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0.1), transparent);
}

/* ===== INFO CARD ===== */
.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-icon.blue { background: rgba(67, 97, 238, 0.1); }
.info-icon.purple { background: rgba(114, 9, 183, 0.1); }
.info-icon.pink { background: rgba(247, 37, 133, 0.1); }
.info-icon.green { background: rgba(0, 200, 83, 0.1); }

.info-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.skill-category:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.skill-cat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.skill-cat-icon.completed { background: rgba(0, 200, 83, 0.1); }
.skill-cat-icon.progress { background: rgba(255, 171, 0, 0.1); }

.skill-cat-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.skill-cat-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag.completed {
    background: rgba(0, 200, 83, 0.08);
    color: #00893e;
    border: 1px solid rgba(0, 200, 83, 0.15);
}

.skill-tag.completed:hover {
    background: rgba(0, 200, 83, 0.15);
    transform: translateY(-2px);
}

.skill-tag.in-progress {
    background: rgba(255, 171, 0, 0.08);
    color: #c68400;
    border: 1px solid rgba(255, 171, 0, 0.15);
}

.skill-tag.in-progress:hover {
    background: rgba(255, 171, 0, 0.15);
    transform: translateY(-2px);
}

.skill-tag .tag-status {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}

.skill-tag.completed .tag-status { background: #00c853; }
.skill-tag.in-progress .tag-status { background: #ffab00; animation: pulse 1.5s ease infinite; }

/* ===== PROJECTS SECTION ===== */
.projects-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.projects-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
}

.projects-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.projects-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.projects-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.projects-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-projects {
    padding: 16px 40px;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-projects:hover::before {
    left: 100%;
}

.btn-projects:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(67, 97, 238, 0.35);
}

.btn-projects svg {
    transition: transform 0.3s ease;
}

.btn-projects:hover svg {
    transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 0 30px;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
    margin: 0 auto 16px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        min-height: auto;
        padding-top: 20px;
    }

    .hero-name {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-blob-container {
        width: 300px;
        height: 340px;
    }

    .hero-blob-text .year {
        font-size: 3.5rem;
    }

    .floating-card-1 {
        left: -10px;
        top: 10px;
    }

    .floating-card-2 {
        right: -10px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 16px 20px;
    }

    .main-container {
        padding: 100px 20px 40px;
    }

    .info-card, .projects-card {
        padding: 28px;
    }

    .skill-category {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .hero-name {
        font-size: 2.4rem;
        letter-spacing: -1.5px;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .nav-menu {
        display: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero-blob-container {
        width: 250px;
        height: 280px;
    }

    .hero-blob-text .year {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .projects-card {
        padding: 32px 24px;
    }
}