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

:root {
    --primary: #00ff88;
    --secondary: #0066ff;
    --dark: #0a0e27;
    --darker: #050816;
    --light: #ffffff;
    --gray: #8892b0;
    --border: #1e2a47;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--darker);
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Custom Cursor */
.cursor, .cursor-follower {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border-color: rgba(0, 255, 136, 0.3);
    transition: 0.3s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--light);
}

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

.logo-text {
    color: var(--light);
    margin: 0 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a span {
    color: var(--primary);
    font-size: 0.8rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border: 2px solid var(--primary);
    opacity: 0.1;
    animation: float 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: 10%;
    right: 30%;
    animation-delay: -10s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    padding: 150px 0 100px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--light);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.glitch {
    position: relative;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-outline {
    display: inline-flex;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
}

/* Section Label */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-label .line {
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.section-label .text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

/* About */
.about {
    padding: 120px 0;
    background: var(--dark);
}

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

.image-frame {
    position: relative;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary);
}

.frame-corner.tl { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.frame-corner.tr { top: -10px; right: -10px; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: -10px; left: -10px; border-right: none; border-top: none; }
.frame-corner.br { bottom: -10px; right: -10px; border-left: none; border-top: none; }

.profile-placeholder {
    color: var(--primary);
    opacity: 0.3;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 1.5rem;
}

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

.tech-stack {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.tech-icon {
    font-size: 2rem;
}

.tech-item h4 {
    color: var(--light);
    margin-bottom: 0.3rem;
}

.tech-item p {
    font-size: 0.9rem;
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-box {
    position: relative;
    padding: 2.5rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}

.service-box::before {
    content: attr(data-number);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 255, 136, 0.1);
}

.service-box:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-box h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-box p {
    line-height: 1.7;
}

/* Portfolio */
.portfolio {
    padding: 120px 0;
    background: var(--dark);
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portfolio-card {
    display: grid;
    grid-template-columns: 80px 1fr 50px;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    align-items: center;
    transition: all 0.3s;
}

.portfolio-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.portfolio-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.portfolio-content h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.portfolio-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.portfolio-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
}

.portfolio-arrow {
    font-size: 2rem;
    color: var(--primary);
}

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-left h2 {
    font-size: 3rem;
    color: var(--light);
    margin-bottom: 1.5rem;
}

.contact-left p {
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    padding: 1.5rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.detail-item a, .detail-item p {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.detail-item a:hover {
    color: var(--primary);
}

/* Modern Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    color: var(--gray);
    transition: all 0.3s;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--darker);
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--light);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col p {
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none; }
    
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu.active { left: 0; }
    
    .hero h1 { font-size: 3rem; }
    .hero-subtitle { font-size: 1.5rem; }
    
    .about-grid,
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .portfolio-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .section-label .text { font-size: 1.5rem; }
}
