:root {
    --bg-void: #020205;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-glow: #833ab4;
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Space Grotesk', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor handling */
}

/* Background Canvas */
#gl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* Custom Cursor Glow */
.cursor-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(131, 58, 180, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    mix-blend-mode: screen;
}

/* Custom Cursor Dot (Precision) */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: white;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

main {
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    perspective: 1000px;
}

.hero-content {
    max-width: 1200px;
}

.label-tech {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--accent-glow);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.2s;
}

h1.reveal-text {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 0.4s;
    background: linear-gradient(to bottom, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s ease-out;
}

.hero-handle {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 0.5s;
    background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-handle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #833ab4, #fd1d1d);
    transition: width 0.3s ease;
}

.hero-handle:hover::after {
    width: 100%;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 0.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Showcase Section */
.showcase {
    min-height: 100vh;
    padding: 100px 10%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 60px;
    border-left: 3px solid var(--accent-glow);
    padding-left: 20px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Card Styles */
.card {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

.tag {
    font-size: 10px;
    padding: 4px 10px;
    border: 1px solid var(--accent-glow);
    color: var(--accent-glow);
    border-radius: 20px;
    text-transform: uppercase;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.visual-preview {
    height: 150px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    background-size: cover;
    background-position: center;
}

.gradient-1 {
    background: linear-gradient(135deg, #FF4B2B, #FF416C);
}

.gradient-2 {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.gradient-3 {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Close button hidden as requested */
.close-btn {
    display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* Infinite Marquee */
.marquee-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.marquee-content {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0;
}

.marquee-track {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.marquee-item {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    padding: 0 40px;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.marquee-item:hover {
    color: var(--accent-glow);
    -webkit-text-stroke-color: var(--accent-glow);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 1px;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-glow {
        display: none;
    }

    h1.reveal-text {
        font-size: 15vw;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 0 5%;
    }
}