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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0e27;
}

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

/* Navigation */
nav {
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 181, 246, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-accent {
    color: #9c27b0;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #64B5F6;
}

.nav-cta-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(100, 181, 246, 0.1);
    color: #64B5F6;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

.section-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #b0bec5;
    font-size: 1.1rem;
}

section {
    padding: 80px 0;
}

/* Hero Section */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.float-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.float-icon:nth-child(1) { animation-delay: 0s; }
.float-icon:nth-child(2) { animation-delay: 1s; }
.float-icon:nth-child(3) { animation-delay: 2s; }
.float-icon:nth-child(4) { animation-delay: 3s; }
.float-icon:nth-child(5) { animation-delay: 4s; }
.float-icon:nth-child(6) { animation-delay: 5s; }

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

.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d1b4e 100%);
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(100, 181, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(156, 39, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(100, 181, 246, 0.2);
    color: #64B5F6;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(100, 181, 246, 0.4);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    animation: fadeInDown 1s ease;
}

.hero .title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #64B5F6;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero .value-prop {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 1s ease 0.4s both;
}

.hero .typed {
    color: #64B5F6;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.hero-stat-item i {
    font-size: 1.5rem;
    color: #64B5F6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.social-btn {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-btn:hover {
    background: rgba(100, 181, 246, 0.3);
    transform: translateY(-2px);
    border-color: #64B5F6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #9c27b0;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

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

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

/* About Section */
#about, #projects, #contact {
    background: #0f1329;
}

#projects, #tech-stack {
    background: #0a0e27;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-left {
    display: flex;
    justify-content: center;
}

.profile-card {
    position: relative;
}

.profile-img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.3);
    transition: transform 0.3s;
    border: 3px solid rgba(100, 181, 246, 0.3);
}

.profile-img:hover {
    transform: scale(1.05);
}

.profile-status {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(100, 181, 246, 0.2);
    color: #64B5F6;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid rgba(100, 181, 246, 0.4);
}

.profile-status i {
    color: #64B5F6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.about-right .intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0bec5;
    margin-bottom: 2rem;
}

.highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #b0bec5;
}

.highlight-item i {
    color: #64B5F6;
    font-size: 1.2rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e2a4a 0%, #2d1b4e 100%);
    border-radius: 10px;
    color: #fff;
    transition: transform 0.3s;
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #64B5F6;
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.3);
}

.stat-icon {
    font-size: 2rem;
    color: #64B5F6;
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #64B5F6;
}

.stat-item p {
    font-size: 0.9rem;
    color: #b0bec5;
}

/* Tech Stack */
.tech-category {
    margin-bottom: 3rem;
}

.tech-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #64B5F6;
    text-align: left;
    padding-left: 0.5rem;
    border-left: 4px solid #9c27b0;
}

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

.tech-item {
    background: #1e2a4a;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(100, 181, 246, 0.1);
    font-size: 0.95rem;
    font-weight: 600;
    color: #b0bec5;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(100, 181, 246, 0.3);
    background: linear-gradient(135deg, #64B5F6 0%, #9c27b0 100%);
    border-color: #64B5F6;
    color: #fff;
}

/* Projects */
h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

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

.project-card {
    background: #1e2a4a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-left: 4px solid #64B5F6;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(100, 181, 246, 0.4);
    border-left-color: #9c27b0;
    border-color: #64B5F6;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #64B5F6 0%, #9c27b0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.project-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(100, 181, 246, 0.2);
    color: #64B5F6;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

.project-card h3 {
    font-size: 1.3rem;
    color: #64B5F6;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-desc {
    color: #b0bec5;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.project-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #b0bec5;
}

.project-highlight i {
    color: #64B5F6;
    font-size: 0.9rem;
}

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

.tag {
    background: linear-gradient(135deg, #1e2a4a 0%, #2d1b4e 100%);
    color: #64B5F6;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

.tag:hover {
    background: linear-gradient(135deg, #64B5F6 0%, #9c27b0 100%);
    color: #fff;
    transform: scale(1.05);
    border-color: #64B5F6;
}

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

.project-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.github-btn {
    background: #1e2a4a;
    color: #fff;
    border: 1px solid rgba(100, 181, 246, 0.3);
}

.github-btn:hover {
    background: linear-gradient(135deg, #2d1b4e 0%, #1e2a4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
    border-color: #64B5F6;
}

.arch-btn {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    color: #fff;
}

.arch-btn:hover {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #64B5F6 0%, #9c27b0 100%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #64B5F6;
    border: 4px solid #0a0e27;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(100, 181, 246, 0.2);
    transition: all 0.3s;
}

.timeline-item:hover .timeline-dot {
    background: #9c27b0;
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(156, 39, 176, 0.3);
}

.timeline-content {
    background: #1e2a4a;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 45%;
    transition: all 0.3s;
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(100, 181, 246, 0.3);
    border-color: #64B5F6;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: #64B5F6;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #b0bec5;
    font-size: 1rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #1e2a4a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(100, 181, 246, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(100, 181, 246, 0.4);
    border-color: #64B5F6;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
    color: #64B5F6;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotateY(360deg);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #64B5F6;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #b0bec5;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64B5F6;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.contact-card:hover .contact-action {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #0a0e27;
    color: #b0bec5;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(100, 181, 246, 0.1);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #64B5F6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #9c27b0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .title {
        font-size: 1.4rem;
    }
    
    .hero .value-prop {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons, .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-cta-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-img {
        max-width: 250px;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-buttons {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        text-align: left !important;
        margin: 0 !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}
