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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #0f0f23;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0f0f23, #1a1a3e);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6366f1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.18));
    border: 1px solid rgba(99,102,241,0.35);
    color: #c7d2fe;
    box-shadow: inset 0 0 18px rgba(99,102,241,0.12);
    position: relative;
    overflow: hidden;
}

.brand-icon::after {
    content: '';
    position: absolute;
    inset: -40% -40% auto auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(45deg);
    animation: brandShine 3.2s linear infinite;
}

@keyframes brandShine {
    0% { transform: rotate(45deg) translateX(-140%); opacity: 0; }
    10% { opacity: 1; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translateX(240%); opacity: 0; }
}

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

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

.nav-links a:hover {
    color: #6366f1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
}

.hero-text .highlight {
    color: #6366f1;
    position: relative;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: #cbd5e0;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 1s ease-out 0.7s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideUp 1s ease-out 0.9s forwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-icon {
    width: 320px;
    height: 320px;
    background: radial-gradient(120% 120% at 10% 10%, rgba(139,92,246,0.35), rgba(99,102,241,0.35) 40%, rgba(15,15,35,0.4) 70%), linear-gradient(135deg, rgba(99,102,241,0.6), rgba(139,92,246,0.6));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(99,102,241,0.35), inset 0 0 40px rgba(255,255,255,0.08);
    border: 1px solid rgba(99,102,241,0.35);
    animation: floatIcon 6s ease-in-out infinite;
}

.ai-icon::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, transparent 0 30%, rgba(255,255,255,0.12) 35%, transparent 40% 100%);
    animation: rotate 8s linear infinite;
}

.ai-icon i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.35));
}

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

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

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.section {
    padding: 4rem 0;
    position: relative;
}

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

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

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #6366f1;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.about-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    margin: 0 auto;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

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

.about-text {
    color: #e2e8f0;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.85rem;
    color: white;
}

.about-text p {
    margin-bottom: 1.75rem;
    line-height: 1.85;
}

.about-text ul {
    margin: 0 0 1.5rem 1.25rem;
}

.about-text ul li {
    margin-bottom: 0.6rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.1rem;
    margin-top: 2.5rem;
}

.skill-item {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.skill-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
    display: block;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}

.project-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-header h3 {
    color: #ffffff;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: #6366f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.project-content {
    padding: 1.5rem;
    color: #e2e8f0;
}

.project-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tag {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Certifications */
.cert-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    color: #e2e8f0;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cert-list li:hover {
    transform: translateY(-2px);
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.5);
}

.cert-list i {
    color: #a78bfa;
}

.cert-list a {
    color: #e2e8f0;
    text-decoration: none;
}

.cert-list a:hover {
    color: #c7d2fe;
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    text-align: center;
    color: #e2e8f0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: #6366f1;
}

footer {
    background: rgba(15, 15, 35, 0.8);
    color: #cbd5e0;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

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

.social-links a {
    color: #cbd5e0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.social-links a:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .ai-icon {
        width: 250px;
        height: 250px;
        font-size: 6rem;
    }

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

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}