:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #888888;
    --primary-color: #00f2ff;
    --accent-color: #7000ff;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Space Grotesk', sans-serif;
    --container-width: 1400px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    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: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    width: 40px;
    height: 40px;
}

a:hover~.cursor-outline,
button:hover~.cursor-outline {
    transform: scale(1.5);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 150px 0;
}

.section-label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 60px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    mix-blend-mode: difference;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
}

.btn-nav:hover {
    background: #fff;
    color: #000 !important;
}

.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* New Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 8rem;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(60px, 9999px, 20px, 0);
    }

    80% {
        clip: rect(40px, 9999px, 70px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 30px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    20% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(90px, 9999px, 60px, 0);
    }

    60% {
        clip: rect(30px, 9999px, 40px, 0);
    }

    80% {
        clip: rect(70px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(20px, 9999px, 90px, 0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-hero:hover {
    color: #000;
}

.btn-hero:hover::before {
    left: 0;
}

/* Hero Visual - Cyber Sphere */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cyber-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    animation: rotate-sphere 20s infinite linear;
}

.circle-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.circle-ring:nth-child(1) {
    transform: rotateX(0deg);
}

.circle-ring:nth-child(2) {
    transform: rotateX(60deg);
}

.circle-ring:nth-child(3) {
    transform: rotateX(-60deg);
}

.glowing-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: pulse-core 3s infinite ease-in-out;
}

@keyframes rotate-sphere {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes pulse-core {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(transparent 95%, rgba(0, 242, 255, 0.05) 95%),
        linear-gradient(90deg, transparent 95%, rgba(0, 242, 255, 0.05) 95%);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* Services */
.services-list {
    border-top: 1px solid var(--border-color);
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 20px;
}

.service-num {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-right: 60px;
    font-family: monospace;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.service-info p {
    color: var(--text-muted);
    max-width: 600px;
}

.service-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.service-item:hover .service-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Portfolio Coming Soon */
.coming-soon-container {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.loader {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-color);
    animation: scan 2s infinite ease-in-out;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes scan {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

.coming-soon-container h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.coming-soon-container p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-stack span {
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
}

/* Contact */
.contact-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-text {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.email-link {
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.email-link:hover {
    color: var(--primary-color);
}

.email-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-right a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-visual {
        margin-top: 50px;
        transform: scale(0.7);
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        width: 30px;
    }

    .hamburger .bar {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        margin: 6px 0;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .email-link {
        font-size: 1.5rem;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    * {
        cursor: auto;
    }
}