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

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

.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.geometric-line {
    position: absolute;
    border: 2px solid rgba(147, 51, 234, 0.3);
    pointer-events: none;
}

.line1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: 10%;
    transform: rotate(45deg);
    border-radius: 20px;
}

.line2 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: -200px;
    transform: rotate(25deg);
    border-radius: 30px;
}

.line3 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 15%;
    transform: rotate(-30deg);
    border-radius: 15px;
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 30px 50px;
    z-index: 100;
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #a855f7;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding: 100px 40px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content .subtitle {
    font-size: 1.5em;
    color: #9ca3af;
    margin-bottom: 15px;
}

.hero-content .description {
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.1);
}

.profile-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.profile-ring {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 4px solid #a855f7;
    padding: 10px;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6),
                inset 0 0 40px rgba(168, 85, 247, 0.3);
    overflow: hidden;
}

.profile-ring::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(168, 85, 247, 0.8), transparent 30%);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f1f3a, #2a2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8em;
    z-index: 1;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 60px 0;
    padding: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.tech-item:hover {
    opacity: 1;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

section {
    padding: 80px 40px;
}

h2 {
    font-size: 3em;
    margin-bottom: 60px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(168, 85, 247, 0.05);
    border-left: 4px solid #a855f7;
    border-radius: 10px;
    transition: all 0.3s;
}

.expertise-item:hover {
    background: rgba(168, 85, 247, 0.1);
    transform: translateX(10px);
}

.expertise-icon {
    font-size: 2.5em;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-content h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.expertise-desc {
    color: #9ca3af;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #9ca3af;
    margin-top: 10px;
}

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

.project-card {
    background: rgba(31, 31, 58, 0.8);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #a855f7;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1f1f3a, #2a2a4a);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
}

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

.project-card p {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.tag {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.sidebar {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(31, 31, 58, 0.9);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 300px;
    backdrop-filter: blur(10px);
    z-index: 50;
}

.sidebar-profile {
    text-align: center;
    margin-bottom: 25px;
}

.sidebar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #a855f7;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #1f1f3a, #2a2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.sidebar h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.sidebar p {
    color: #9ca3af;
    font-size: 0.9em;
}

.sidebar-subtitle {
    font-size: 0.85em;
    margin-top: 5px;
}

.sidebar-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.sidebar-projects {
    margin-top: 25px;
}

.sidebar-projects h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.sidebar-project-item {
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.sidebar-project-item:hover {
    background: rgba(168, 85, 247, 0.2);
}

.sidebar-project-desc {
    font-size: 0.85em;
    color: #9ca3af;
    margin-top: 5px;
}

.sidebar-tags {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.tag-small {
    font-size: 0.75em;
    padding: 3px 8px;
}

@media (max-width: 1200px) {
    .sidebar {
        display: none;
    }
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    nav {
        padding: 20px;
    }
}