* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #FF8C42;
    --accent-color: #FFA726;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --bg-light: #FFFFFF;
    --bg-gray: #FAFAFA;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background: #FAFAFA;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overscroll-behavior: none;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s var(--ease);
    letter-spacing: -0.02em;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s var(--ease);
}

.logo:hover .logo-image {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s var(--ease);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s var(--ease);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    position: absolute;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-7px);
}

.hamburger-line:nth-child(2) {
    opacity: 1;
}

.hamburger-line:nth-child(3) {
    transform: translateY(7px);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
    background: var(--primary-color);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
    background: var(--primary-color);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    margin-top: 8%;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-greeting {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    position: relative;
}

.btn i {
    transition: transform 0.3s var(--ease);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s var(--ease) 0.4s both;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-single {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: start;
}

.hero-image-single img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s var(--ease);
}

.hero-image-single img:hover {
    transform: scale(1.02);
}

.social-links {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    border-radius: 12px;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: color 0.3s var(--ease);
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(255, 107, 53, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    color: white;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #FAFAFA 0%, white 50%, #FAFAFA 100%);
    position: relative;
}

.about .container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}

.about-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease);
}

.about-content.animated {
    opacity: 1;
    transform: translateX(0);
}

.about-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease);
    padding: 0.4rem;
    border-radius: 12px;
}

.skill-item:hover {
    background: rgba(255, 107, 53, 0.03);
    transform: translateX(5px);
}

.skill-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s var(--ease);
}

.skill-item:hover .skill-name {
    color: var(--primary-color);
}

.skill-percentage {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.05rem;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    overflow: visible;
    position: relative;
}

.skill-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    transition: width 1.8s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.skill-item.animated .skill-progress {
    width: var(--target-width) !important;
}

.skill-progress::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
    opacity: 0;
}

.skill-item.animated .skill-progress::after {
    opacity: 1;
}

/* About Stats */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-top: 0;
    margin-top: 90px;
}

.about-stats .stat-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 140, 66, 0.05));
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 2px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s var(--ease);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.about-stats .stat-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.about-stats .stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.15);
}

.about-stats .stat-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}

.about-stats .stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-10deg);
}

.about-stats .stat-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.about-stats .stat-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s var(--ease);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll reveal */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container,
    .about .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description,
    .about-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2.5rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
        z-index: 999;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s var(--ease);
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a:hover {
        padding-left: 1rem;
        color: var(--primary-color);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-bottom: 2rem;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2,
    .about-content h2 {
        font-size: 2rem;
    }

    .hero-image {
        display: none;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .about {
        scroll-margin-top: 0;
    }

    .about .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        padding-top: 1.5rem;
        margin-top: 2rem;
    }

    footer {
        padding: 2.5rem 1.5rem;
    }

    .footer-logo {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
        margin: 1.5rem 0;
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .footer-social a {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .copyright {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        font-size: 0.875rem;
    }

    .copyright p {
        line-height: 1.6;
    }

    #copyright-text {
        margin-bottom: 0.5rem;
    }

    #footer-clock {
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    footer {
        padding: 2rem 1rem;
    }

    .footer-logo {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .footer-links {
        gap: 1rem;
        margin: 1.25rem 0;
        padding: 0 0.5rem;
    }

    .footer-links a {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }

    .footer-social {
        gap: 0.625rem;
        margin: 1.25rem 0;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .copyright {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        font-size: 0.8125rem;
    }

    #copyright-text {
        font-size: 0.8125rem;
    }

    #footer-clock {
        font-size: 0.8125rem;
        margin-top: 0.4rem;
    }

    .copyright .fa-heart {
        font-size: 0.875em;
    }
}

@media (max-width: 360px) {
    .footer-links {
        gap: 0.75rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}
