:root {
    --bg-main: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-dim: #a1a1aa;
    --accent-primary: #6366f1;
    --accent-secondary: #ec4899;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    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: 6px;
    height: 6px;
    background-color: var(--text-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

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

.btn-glow {
    padding: 10px 25px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
    transform: scale(1.05);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none;
}

.menu-btn .bar {
    width: 25px;
    height: 2px;
    background: #fff;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

h1.glitch {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 15px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--text-dim);
}

.btn-secondary {
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.glowing-orb {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #6366f1, #ec4899);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Solutions */
.solutions {
    padding: 100px 0;
}

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

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-flex;
    padding: 15px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-dim);
    line-height: 1.5;
}

/* Tech Stack Marquee */
.tech-stack {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
}

.tech-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.tech-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Process Section */
.process {
    padding: 100px 0;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    position: relative;
    padding: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.step-card:hover {
    border-left-color: var(--accent-secondary);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.step-card p {
    color: var(--text-dim);
}

/* Projects */
.projects {
    padding: 100px 0;
}

.project-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.project-item:nth-child(even) {
    flex-direction: row-reverse;
}

.project-img {
    flex: 1.2;
    overflow: hidden;
    border-radius: 15px;
    height: 400px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-item:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    flex: 0.8;
    padding: 40px;
    border-radius: 15px;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--text-dim);
    margin-bottom: 25px;
}

.read-more {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

/* CTA */
.cta {
    position: relative;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.cta-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    padding: 60px;
    border-radius: 30px;
    max-width: 800px;
    width: 100%;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-dim);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    min-width: 300px;
    outline: none;
    font-family: inherit;
}

.newsletter-form input:focus {
    border-color: var(--accent-primary);
}

/* Footer */
.main-footer {
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fff;
}

.footer-bottom {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.studio-link {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-decoration: none;
}

/* Responsive */
/* Responsive & Animations */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 999;
        /* Animation Base State - Clip Path / Cyber Effect */
        clip-path: circle(0% at 90% 10%);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        clip-path: circle(140% at 90% 10%);
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .menu-btn {
        display: flex;
        z-index: 1001;
    }

    /* Glitch Burger Animation */
    .menu-btn .bar {
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--accent-secondary);
        box-shadow: 0 0 10px var(--accent-secondary);
    }

    .menu-btn.active .bar:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--accent-primary);
        box-shadow: 0 0 10px var(--accent-primary);
    }

    h1.glitch {
        font-size: 3rem;
    }

    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 50px;
        text-align: center;
        padding-top: 100px;
    }

    .hero-actions {
        justify-content: center;
    }

    .glowing-orb {
        width: 250px;
        height: 250px;
    }

    .project-item {
        flex-direction: column !important;
    }

    .project-img {
        width: 100%;
        height: 250px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
}