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

:root {
    --primary: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #10B981;
    --dark: #0D0D14;
    --darker: #050509;
    --light: #F9FAFB;
    --gray: #6B7280;
    --gray-dark: #374151;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    background-color: rgba(13, 13, 20, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 .gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 2rem;
}

.typing-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    min-height: 2.5rem;
}

.typing-text span {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    box-shadow: none;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-container {
    display: flex;
    gap: 1rem;
}

section {
    padding: 5rem 5%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.about {
    background-color: var(--darker);
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.placeholder-image {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.placeholder-image i {
    font-size: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--darker);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-img {
    width: 100%;
    height: 200px;
    /* background: linear-gradient(135deg, var(--primary), var(--secondary)); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--gray);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1rem;
    font-size: 0.8rem;
    color: var(--secondary);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    background: var(--primary);
    color: white;
}

.experience {
    background-color: var(--darker);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-dark);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    padding-left: 80px;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    padding: 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-content .company {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.timeline-content p {
    color: var(--gray);
}

.contact {
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact p {
    color: var(--gray);
    margin-bottom: 3rem;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--darker);
    border-radius: 0.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

footer {
    background: var(--darker);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.iam_img {
    max-width: 35rem;
    border-radius: inherit;
}

@media (max-width: 1100px) {
    .iam_img_block {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(5, 5, 9, 0.98) 0%, rgba(13, 13, 20, 0.95) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        display: none !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        z-index: 999;
        overflow: hidden;
    }

    .nav-links.active {
        display: flex !important;
        animation: slideDownWithBlur 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links a {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--light);
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        display: block;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
        transition: left 0.6s ease;
    }

    .nav-links a:hover::before {
        left: 100%;
    }

    .nav-links a:hover {
        background: rgba(59, 130, 246, 0.08);
        color: var(--primary);
        padding-left: 3rem;
    }

    .nav-links a::after {
        content: '→';
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links a:hover::after {
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(59, 130, 246, 0.1);
        border: 2px solid rgba(59, 130, 246, 0.3);
        border-radius: 10px;
        color: var(--primary);
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .menu-btn:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: var(--primary);
        transform: scale(1.05);
    }

    .menu-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: rotate(90deg);
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .footer-links a {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        color: var(--light);
        text-decoration: none;
        border-radius: 25px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        min-width: 200px;
        text-align: center;
    }

    .footer-links a:hover {
        color: var(--primary);
        background: rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.3);
        transform: translateY(-2px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .btn-container {
        flex-direction: column;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

@keyframes slideDownWithBlur {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.nav-links.active a {
    animation: fadeInUpItem 0.5s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

.nav-links.active a:nth-child(1) { animation-delay: 0.1s; }
.nav-links.active a:nth-child(2) { animation-delay: 0.15s; }
.nav-links.active a:nth-child(3) { animation-delay: 0.2s; }
.nav-links.active a:nth-child(4) { animation-delay: 0.25s; }
.nav-links.active a:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInUpItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .nav-links {
        padding: 1.5rem 0;
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .nav-links a:hover {
        padding-left: 2rem;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .footer-links a {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-right: 2rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-dark);
}

@media (max-width: 768px) {
    .language-switcher {
        margin-right: 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .footer-links {
        display: none !important;
    }

    .hero {
        margin-top: 5rem;
    }
}

.prg_img {
    width: 100%;
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-card {
    background: var(--darker);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-dark);
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.experience-card:hover::before {
    opacity: 1;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.experience-role {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.experience-date {
    display: flex;
    justify-self: center;
    align-items: center;
    flex-direction: column;
    /* align-items: flex-end; */
    gap: 0.5rem;
    min-width: fit-content;
}

.date-range {
    font-weight: 600;
    color: var(--light);
    font-size: 0.95rem;
    white-space: nowrap;
}

.duration-badge {
    background: rgb(16 184 185 / 15%);
    color: #1091b9;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgb(16 117 185 / 30%);
    white-space: nowrap;
}

.experience-company {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.experience-grade {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /*
        .experience-date {
            align-items: flex-start;
        }
    */

    .experience-card {
        padding: 1.5rem;
    }

    .experience-role {
        font-size: 1.1rem;
    }
}

.delay-4 {
    animation-delay: 0.8s;
}

.fade-in {
    opacity: 0;
}

.project-card,
.experience-item,
.skill-tag,
.about-content,
.contact-content {
    opacity: 1;
}

.hero .fade-in {
    opacity: 0;
    transform: translateY(30px);
}

@media (max-width: 768px) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    @media (prefers-reduced-motion: no-preference) {
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }
        
        .fade-in.appear {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .experience-timeline {
        gap: 1rem;
    }

    .experience-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .experience-date {
        /* align-items: flex-start; */
        width: 100%;
    }

    .date-range {
        font-size: 0.9rem;
        white-space: normal;
        margin-bottom: 0.5rem;
    }

    /*
        .duration-badge {
            align-self: flex-start;
        }
    */

    .experience-role {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .experience-company {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

    .hero {
        min-height: 80vh;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .typing-text {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        min-height: auto;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .about-content {
        gap: 2rem;
    }

    .skills {
        gap: 0.5rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    section {
        padding: 3rem 5%;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .experience-card {
        padding: 1.2rem;
    }

    .project-content {
        padding: 1.2rem;
    }

    .contact-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 4rem;
    }
    
    .nav-links.active {
        max-height: 70vh;
        overflow-y: auto;
    }
}

.iam_img, .prg_img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .about-content,
    .project-card,
    .experience-item,
    .contact-content {
        opacity: 1 !important;
        transform: none !important;
    }
}

.purmarili-rnd-style-png {
    position: relative;
    top: 2rem;
}

.background_black {
    background: black
}

.hero-content {
    transform: translateY(0);
    transition: transform 0.8s ease-out;
}

.hero:hover .hero-content {
    transform: translateY(-10px);
}

.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-secondary:hover::after {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.project-card:hover::before {
    left: 100%;
}

.project-img {
    position: relative;
    overflow: hidden;
}

.project-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover .project-img::after {
    transform: scaleX(1);
}

.skills {
    position: relative;
}

.skill-tag {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    border-color: var(--primary);
}

.experience-card {
    position: relative;
    overflow: hidden;
}

.experience-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transition: height 0.6s ease;
}

.experience-card:hover::after {
    height: 100%;
}

.experience-header {
    position: relative;
    z-index: 2;
}

.contact-link {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-link:hover::before {
    width: 300px;
    height: 300px;
}

.contact-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.nav-links a {
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.logo {
    position: relative;
    overflow: hidden;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
}

.hero .btn:first-child {
    animation: pulse-glow 2s ease-in-out infinite;
}

.stagger-animate > * {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpStagger 0.6s ease forwards;
}

@keyframes fadeInUpStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

@media (min-width: 769px) {
    .section-scroll {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .section-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: 2;
}

.about-image:hover::before {
    left: 100%;
}

.iam_img {
    transition: transform 0.6s ease;
}

.about-image:hover .iam_img {
    transform: scale(1.05);
}

.lang-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.lang-btn:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .skill-tag:hover {
        transform: none;
    }
    
    .contact-link:hover {
        transform: none;
    }
    
    .project-card:hover {
        transform: translateY(-5px);
    }
    
    .contact-link::before,
    .project-card::before,
    .about-image::before {
        display: none;
    }
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: scale(1.2);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    /* animation: float 6s ease-in-out infinite; */
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

#cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(124, 58, 237, 0.35),
        rgba(96, 165, 250, 0.2),
        transparent 70%
    );
    box-shadow: 0 0 28px rgba(124, 58, 237, 0.3);

    transition: width 0.3s ease, height 0.3s ease, opacity 0.25s ease;
}

body.mouse-move #cursor-circle {
    opacity: 1;
}

body:not(.mouse-move) #cursor-circle {
    opacity: 0;
}

* {
    cursor: none !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#cursor-circle {
    mix-blend-mode: screen;
}

#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

body.mouse-move #cursor-dot {
    opacity: 1;
}

body:not(.mouse-move) #cursor-dot {
    opacity: 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7C3AED, #60A5FA);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #A855F7, #3B82F6);
}

.requisites-container {
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.requisites-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--light);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.requisites-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.requisites-toggle i:first-child {
    color: var(--primary);
    font-size: 1rem;
}

.requisites-chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    color: var(--gray);
}

.requisites-container.active .requisites-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.requisites-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(13, 13, 20, 0.6);
}

.requisites-container.active .requisites-content {
    max-height: 300px;
}

.requisites-role {
    padding: 1rem 1.25rem 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 0.5rem;
}

.requisites-list {
    padding: 0 1.25rem 1.25rem;
}

.requisites-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.requisites-item:last-child {
    border-bottom: none;
}

.requisites-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.requisites-value {
    font-size: 0.9rem;
    color: var(--light);
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.requisites-container.active .requisites-content {
    animation: slideDown 0.3s ease;
}

@media (max-width: 768px) {
    .requisites-toggle {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .requisites-role {
        padding: 0.875rem 1rem 0.5rem;
    }
    
    .requisites-list {
        padding: 0 1rem 1rem;
    }
    
    .requisites-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .requisites-value {
        align-self: stretch;
        text-align: center;
    }
}

.requisites-value {
    position: relative;
    font-size: 0.9rem;
    color: var(--light);
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    flex: 1;
    max-width: 10rem;
    gap: 0.5rem;
}

.requisites-value:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.requisites-value:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.requisites-value:hover .copy-icon {
    opacity: 1;
    transform: scale(1.1);
}

.requisites-value.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--secondary);
}

.requisites-value.copied .copy-icon {
    opacity: 1;
    color: var(--secondary);
}

.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-width: 200px;
}

.copy-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.copy-notification::before {
    content: '✓';
    margin-right: 0.5rem;
    font-weight: bold;
}

@keyframes pulse-copy {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.requisites-value.copied {
    animation: pulse-copy 0.6s ease;
}

@media (max-width: 768px) {
    .requisites-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .requisites-value {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        max-width: 100%;
    }
    
    .copy-notification {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .requisites-value {
        font-size: 0.85rem;
        padding: 0.625rem 0.875rem;
        max-width: 100%;
    }
    
    .copy-notification {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-width: 160px;
    }
}

.requisites-value:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.requisites-value:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.requisites-value:hover .copy-icon {
    opacity: 1;
    transform: scale(1.1);
}

.requisites-value.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--secondary);
    transform: translateY(-1px);
}

.requisites-value.copied .copy-icon {
    opacity: 1;
    color: var(--secondary);
}

@keyframes pulse-copy {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.requisites-value.copied {
    animation: pulse-copy 0.6s ease;
}

.requisites-value i {
    transition: all 0.3s ease;
}

.requisites-value.copied i {
    transform: scale(1.2);
}

.brand-mark {
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--light);
    opacity: 0.7;
    margin-bottom: 1rem;
    display: inline-block;
}

.typing-text .changing-tech {
    color: var(--primary);
    border-right: 2px solid var(--primary);
    padding-right: 4px;
    animation: blink-caret 0.75s step-end infinite;
    min-width: 1px;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary); }
}

.typing-text {
    white-space: nowrap;
}

.hero .btn-container {
    display: none;
}

.changing-tech {
    transition: opacity 0.3s ease;
}

.changing-language .changing-tech {
    opacity: 0;
}

.hero-content .fade-in {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.updating-language .changing-tech {
    animation: none !important;
    border-right: none !important;
}

@keyframes typing-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

.language-updated .changing-tech {
    animation: typing-appear 0.5s ease forwards;
}

.lang-btn.default-active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-dark);
}

@media (pointer: coarse), (max-width: 768px) {
    #cursor-circle,
    #cursor-dot {
        display: none !important;
    }
}