/* Custom Properties */
:root {
    --bg-dark: #07070a;
    --text-main: #fcfcfc;
    --text-muted: #a3a3a3;
    --primary-neon: #7C3AED;
    /* Deep Purple */
    --secondary-neon: #06b6d4;
    /* Cyan */
    --accent-pink: #ec4899;
    /* Pink */

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-primary: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* For custom cursor */
}

/* 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: 6px;
    height: 6px;
    background-color: var(--secondary-neon);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(6, 182, 212, 0.5);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* Typography & Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 800;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-neon), var(--primary-neon), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s linear infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-neon), var(--accent-pink));
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--secondary-neon);
    color: var(--secondary-neon);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo span {
    color: var(--accent-pink);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    cursor: none;
}

.nav-links a:hover {
    color: var(--secondary-neon);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 5rem;
}

.hero-content .subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--secondary-neon);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-content .title {
    font-size: 5.5vw;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.action-group {
    display: flex;
    gap: 1.5rem;
}

.gradient-blob {
    position: absolute;
    top: 50%;
    right: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.15) 40%, rgba(7, 7, 10, 0) 70%);
    transform: translateY(-50%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: blobPulse 8s alternate infinite;
    pointer-events: none;
}

@keyframes blobPulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
}

/* About Section */
.about-section {
    padding: 8rem 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skill-list {
    list-style: none;
    margin-top: 1rem;
}

.skill-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    font-weight: 400;
}

.skill-list li::before {
    content: "▹";
    color: var(--secondary-neon);
    margin-right: 12px;
    font-size: 1.2rem;
}

.skill-list li:last-child {
    border-bottom: none;
}

/* About Section Enhancements */
.about-feature-box {
    border-left: 4px solid var(--secondary-neon);
    position: relative;
    overflow: hidden;
}

.about-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.05), transparent);
    pointer-events: none;
}

.hover-lift {
    transition: transform 0.3s ease, color 0.3s ease;
}

.hover-lift:hover {
    transform: translateX(5px);
    color: var(--text-main);
}

.text-highlight {
    background: linear-gradient(120deg, var(--secondary-neon), var(--primary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary-neon);
    transition: width 0.3s ease;
}

.hover-lift:hover .text-highlight::after {
    width: 100%;
}

/* Portfolio Section */
.portfolio-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(124, 58, 237, 0.02));
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    padding: 1.2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    cursor: none;
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-info {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    background: rgba(7, 7, 10, 0.8);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.portfolio-info p {
    font-size: 0.95rem;
    color: var(--secondary-neon);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
}

.contact-box {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.contact-desc {
    margin-bottom: 3.5rem;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.5rem;
    border-radius: 0.8rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-neon);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: none;
    font-size: 1.15rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
    color: var(--text-muted);
}

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

    .hero-content .title {
        font-size: 2.8rem;
    }

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

    .action-group {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

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

    body {
        cursor: auto;
    }
}