:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #00f2ea;
    --accent-secondary: #ff0055;
    --card-bg: #141414;
    --nav-bg: rgba(10, 10, 10, 0.8);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none; /* Custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 242, 234, 0.1);
    border-color: transparent;
}

/* Typography & Utilities */
h1, h2, h3 {
    font-weight: 800;
}

.accent {
    color: var(--accent-color);
}

.section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 234, 0.2);
}

.btn-secondary {
    border-color: var(--text-color);
    color: var(--text-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

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

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.code-window {
    background: #1e1e1e;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #333;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-section:hover .code-window {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    padding: 10px 15px;
    background: #252526;
    border-radius: 10px 10px 0 0;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.window-body {
    padding: 20px;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
}

.keyword { color: #cc99cd; }
.var { color: #f8c555; }
.string { color: #7ec699; }
.prop { color: #67cdcc; }
.func { color: #f08d49; }
.return { color: #cc99cd; }
.strong { color: #f08d49; }

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

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

.stat-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

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

.project-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.gradient-1 { background: linear-gradient(45deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%); }
.gradient-2 { background: linear-gradient(45deg, #0093E9 0%, #80D0C7 100%); }
.gradient-3 { background: linear-gradient(45deg, #85FFBD 0%, #FFFB7D 100%); }

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

.project-info {
    padding: 25px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.project-tags span {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-right: 10px;
}

.project-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.icon-link {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.icon-link:hover {
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-text {
    font-size: 1.5rem;
    margin: 20px 0 40px;
    color: var(--text-secondary);
}

.email-link {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-btn {
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.social-btn:hover {
    color: var(--text-color);
}

/* Footer */
.footer {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.heart {
    color: var(--accent-secondary);
}

/* Animations */
.block-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.block-reveal:nth-child(2) { animation-delay: 0.2s; }
.block-reveal:nth-child(3) { animation-delay: 0.4s; }

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.6s;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.8s;
}

.delay-1 { animation-delay: 0.8s; }
.delay-2 { animation-delay: 1s; }

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-title { font-size: 3.5rem; }
    
    .hero-subtitle { margin: 20px auto 40px; }
    
    .hero-visual {
        margin-top: 50px;
        width: 100%;
    }
    
    .code-window { width: 100%; max-width: 400px; }
    
    .about-grid { grid-template-columns: 1fr; }
    
    .navbar { padding: 20px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }
    
    .nav-links.active { display: flex; }
    
    .nav-links a { margin: 15px 0; }
    
    .menu-toggle { display: block; }

    .cursor-dot, .cursor-outline { display: none; }
    * { cursor: auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .email-link { font-size: 1.5rem; }
}
