:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --accent: #22d3ee;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
    --container-width: 1200px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(80px);
    transition: width 0.3s, height 0.3s;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 64px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 1rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h2 {
    font-size: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 30%, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.hero-content span {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--primary);
}

.btn.secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    width: 30px;
    height: 50px;
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    justify-content: center;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 8px;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

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

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 0.5rem;
}

.platform-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    margin: 3rem 0 2rem;
    color: var(--accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    display: block;
    text-decoration: none;
    color: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -20px var(--primary-glow);
}

.portfolio-card:hover .card-image {
    background-blend-mode: overlay;
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, #1e1e1e, #0a0a0a);
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1), transparent);
}

/* Unique card backgrounds */
.w-img1 { background: linear-gradient(45deg, #4338ca, #1e1b4b); }
.w-img2 { background: linear-gradient(45deg, #0f766e, #042f2e); }
.w-img3 { background: linear-gradient(45deg, #b91c1c, #450a0a); }
.w-img4 { background: linear-gradient(45deg, #7e22ce, #2e1065); }
.w-img5 { background: linear-gradient(45deg, #be185d, #500724); }

.s-img1 { background: linear-gradient(45deg, #0369a1, #082f49); }
.s-img2 { background: linear-gradient(45deg, #c2410c, #431407); }
.s-img3 { background: linear-gradient(45deg, #15803d, #052e16); }
.s-img4 { background: linear-gradient(45deg, #334155, #0f172a); }
.s-img5 { background: linear-gradient(45deg, #4338ca, #1e1b4b); }
.s-img6 { background: linear-gradient(45deg, #a21caf, #4a044e); }
.s-img7 { background: linear-gradient(45deg, #0e7490, #083344); }

.card-info {
    padding: 1.5rem;
}

.card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.card-info p {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: radial-gradient(circle at 100% 50%, rgba(99, 102, 241, 0.05), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.skills-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.skills-list i {
    color: var(--primary);
    width: 20px;
}

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

.stat-card {
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

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

.glass-contact {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.recruiter-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-item i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.value-item h5 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.value-item p {
    font-size: 0.9rem;
    opacity: 0.6;
}

.cv-download {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-row {
    display: flex;
    gap: 2rem;
}

.method-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: 0.3s;
}

.method-link:hover {
    opacity: 1;
    color: var(--primary);
}

.recruiter-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-card {
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    text-align: center;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--bg-color);
    padding: 10px;
    color: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
}

blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 1.5rem;
}

cite {
    font-weight: 700;
    color: var(--primary);
    font-style: normal;
}

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

footer p {
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .about-grid, .glass-contact { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 4rem; }
}
