/* ===== PROFESSIONAL GLASSMORPHISM DESIGN ===== */

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

:root {
    --primary: #8BC049;
    --secondary: #5F94BF;
    --accent: #533678;
    --dark: #0a0f06;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0f06;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMATED BACKGROUND ===== */
.glass-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #1a2510 0%, #0a0f06 50%, #000000 100%);
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float-sphere 25s ease-in-out infinite;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -8s;
}

.sphere-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 40%;
    right: 10%;
    animation-delay: -16s;
}

.sphere-4 {
    width: 450px;
    height: 450px;
    background: var(--primary);
    bottom: 20%;
    left: 15%;
    animation-delay: -12s;
}

@keyframes float-sphere {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -80px) scale(1.1);
    }
    66% {
        transform: translate(-40px, 60px) scale(0.9);
    }
}

/* ===== NAVIGATION ===== */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 4px 20px rgba(139, 192, 73, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.burger-glass {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-glass span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-glass.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-glass.active span:nth-child(2) {
    opacity: 0;
}

.burger-glass.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link-glass {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-glass:hover,
.nav-link-glass.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== HERO SECTION ===== */
.hero-glass {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tag-glass {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    padding: 8px 20px;
    background: rgba(139, 192, 73, 0.1);
    border: 1px solid rgba(139, 192, 73, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.name-glass {
    color: var(--primary);
}

.typing-container-glass {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    min-height: 2.5rem;
}

.cursor-glass {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons-glass {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-glass {
    position: relative;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-glass {
    background: var(--primary);
    color: #0a0f06;
    box-shadow: 0 8px 32px rgba(139, 192, 73, 0.4);
}

.btn-primary-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 192, 73, 0.6);
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-glass:hover .btn-shine {
    transform: translateX(100%);
}

.profile-card {
    padding: 2rem;
    text-align: center;
}

.profile-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    position: relative;
    z-index: 2;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    opacity: 0.3;
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.stats-glass {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

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

.stat-number-glass {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number-glass::after {
    content: '+';
}

.stat-label-glass {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== GLASS CARD BASE ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(139, 192, 73, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(139, 192, 73, 0.3);
}

/* ===== SECTIONS ===== */
.section-glass {
    padding: 120px 0;
}

.container-glass {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header-glass {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title-glass {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
}

/* ===== GRID LAYOUTS ===== */
.glass-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ===== CARDS ===== */
.glass-card {
    padding: 2.5rem;
}

.card-icon-glass {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(139, 192, 73, 0.3));
}

.card-title-glass {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card-text-glass {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.05rem;
}

.card-text-glass strong {
    color: white;
}

.list-glass {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item-glass {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ===== QUOTE CARD ===== */
.card-quote {
    padding: 3rem;
    text-align: center;
    position: relative;
    margin: 2rem 0;
}

.quote-mark {
    font-size: 6rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 2rem;
}

.quote-text-glass {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.quote-author-glass {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* ===== TAGS ===== */
.card-tags {
    padding: 2.5rem;
}

.tags-glass {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-glass {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 192, 73, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tag-glass:hover {
    background: rgba(139, 192, 73, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 192, 73, 0.3);
}

.tag-glass-small {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 192, 73, 0.2);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.8rem;
    display: inline-block;
}

/* ===== TIMELINE ===== */
.timeline-glass {
    position: relative;
    padding-left: 3rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
    opacity: 0.5;
}

.timeline-item-glass {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -3.4rem;
    top: 1rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 15, 6, 1),
                0 0 0 6px var(--primary),
                0 0 20px var(--primary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(10, 15, 6, 1),
                    0 0 0 6px var(--primary),
                    0 0 20px var(--primary);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(10, 15, 6, 1),
                    0 0 0 10px rgba(139, 192, 73, 0.3),
                    0 0 30px var(--primary);
    }
}

.timeline-card {
    padding: 2rem;
}

.timeline-header-glass {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.timeline-date-glass {
    padding: 8px 16px;
    background: rgba(139, 192, 73, 0.15);
    border: 1px solid rgba(139, 192, 73, 0.3);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content-glass {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-section h4 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.timeline-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid-glass {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    padding: 2.5rem;
    position: relative;
}

.portfolio-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(139, 192, 73, 0.1);
    line-height: 1;
}

.portfolio-icon-glass {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.portfolio-title-glass {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio-desc-glass {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.portfolio-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.portfolio-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.portfolio-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.portfolio-link-glass {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-link-glass:hover {
    transform: translateX(5px);
    color: var(--secondary);
}

/* ===== SKILLS ===== */
.skills-glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card-glass {
    padding: 2rem;
    text-align: center;
}

.skill-icon-glass {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-title-glass {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.skill-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.skill-badge.expert {
    background: rgba(139, 192, 73, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.skill-badge.advanced {
    background: rgba(95, 148, 191, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-items span {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== CONTACT ===== */
.section-contact {
    padding: 100px 0 120px;
}

.contact-card {
    padding: 4rem;
    text-align: center;
}

.contact-title-glass {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
}

.contact-text-glass {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer-glass {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content-glass {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-buttons-glass {
        justify-content: center;
    }

    .glass-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .burger-glass {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 15, 6, 0.85);
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        padding: 6rem 2rem 2rem;
        border-left: 1px solid rgba(139, 192, 73, 0.3);
        transition: right 0.3s ease;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.6),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hero-buttons-glass {
        width: 100%;
    }

    .btn-glass {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .typing-container-glass {
        font-size: 1.5rem;
    }

    .section-title-glass {
        font-size: 2.5rem;
    }

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

    .timeline-glass {
        padding-left: 2rem;
    }

    .timeline-header-glass {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-image-container {
        width: 250px;
        height: 250px;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .glass-nav {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .btn-glass {
        width: 100%;
        justify-content: center;
    }

    .stat-number-glass {
        font-size: 2.5rem;
    }
}
