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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00d4ff;
    border-radius: 50%;
    animation: float 20s infinite;
    opacity: 0.6;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-50px); }
    75% { transform: translateY(-100px) translateX(100px); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

.social-bar {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.social-icon:hover {
    transform: translateX(10px) scale(1.15);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    box-shadow: 0 5px 20px rgba(0, 119, 181, 0.4);
}

.social-icon.linkedin:hover {
    box-shadow: 0 8px 30px rgba(0, 119, 181, 0.7);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #4267B2);
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}

.social-icon.facebook:hover {
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.7);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4);
}

.social-icon.instagram:hover {
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.7);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    animation: slideDown 0.8s ease;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    transition: width 0.3s ease;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.profile-photo {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(123, 47, 247, 0.3);
    animation: photoGlow 3s ease-in-out infinite;
}

.photo-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7, #ff006e) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 4s linear infinite;
}

@keyframes photoGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(123, 47, 247, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.8), 0 0 80px rgba(123, 47, 247, 0.5);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s ease-in-out infinite;
}

.hero .subtitle {
    font-size: 1.8em;
    color: #00d4ff;
    margin-bottom: 15px;
    animation: slideInLeft 1s ease 0.3s both;
}

.hero .description {
    font-size: 1.2em;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: slideInRight 1s ease 0.5s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.7s both;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    color: #fff;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3em;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    margin: 20px auto 0;
    border-radius: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.skill-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: #00d4ff;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.skill-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

.skill-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #00d4ff;
}

.skill-card p {
    color: #aaa;
    line-height: 1.8;
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 47, 247, 0.3);
    border-radius: 20px;
    padding: 40px;
    animation: fadeInUp 0.8s ease both;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: #7b2ff7;
    box-shadow: 0 20px 60px rgba(123, 47, 247, 0.4);
}

.education-icon {
    font-size: 4em;
    margin-bottom: 20px;
    text-align: center;
    animation: bounce 2s ease infinite;
}

.education-card h3 {
    font-size: 2em;
    color: #7b2ff7;
    margin-bottom: 15px;
    text-align: center;
}

.institution {
    font-size: 1.3em;
    color: #00d4ff;
    margin-bottom: 10px;
    text-align: center;
}

.period {
    font-size: 1.1em;
    color: #aaa;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}

.description-edu {
    color: #ccc;
    line-height: 1.8;
    text-align: justify;
}

.projects-subtitle {
    font-size: 2em;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 47, 247, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(123, 47, 247, 0.4);
    border-color: #7b2ff7;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    color: #00d4ff;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.8em;
    color: #00d4ff;
    margin-bottom: 15px;
}

.project-content p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.enterprise-systems {
    margin-top: 80px;
}

.system-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    animation: fadeInUp 0.8s ease both;
    transition: all 0.4s ease;
    max-width: 900px;
    margin: 0 auto;
}

.system-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.system-icon {
    font-size: 5em;
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

.system-card h3 {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 20px;
}

.system-description {
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.confidential-note {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    text-align: left;
    line-height: 1.8;
    color: #ddd;
}

.confidential-note strong {
    color: #FFD700;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: #00d4ff;
}

.contact-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
}

.contact-card p {
    color: #aaa;
    word-break: break-word;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes textShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3em;
    }
    
    .hero .subtitle {
        font-size: 1.3em;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2em;
    }

    .nav-links {
        display: none;
    }

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

    .social-bar {
        left: 10px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }

    .system-card {
        padding: 30px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
