:root {
    --bg-color: #020205; /* Deeper black for high contrast */
    --text-color: #ffffff;
    --accent-color: #f72585; /* Neon pink */
    --accent-secondary: #00f5d4; /* Neon cyan */
    --accent-tertiary: #fee440; /* Yellow spotlight */
    
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 0 40px rgba(0, 245, 212, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* NOISE OVERLAY FOR TEXTURE */
#noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* CUSTOM CURSOR BLOB (Follows user like a moving stage wash) */
.cursor-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.segment {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent-mixed);
    border-radius: 2px;
}
.section-title.center {
    text-align: center;
    display: block;
}
.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.dark-segment {
    background: rgba(0, 0, 0, 0.4);
}

/* GLASSMORPHISM */
.glass-card, .glass-header, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 50%);
    pointer-events: none;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
    border-color: var(--text-color);
    background: var(--glass-bg);
}

/* HEADER */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}
.glass-header.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(2, 2, 5, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-secondary);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--accent-secondary), 0 0 20px var(--accent-secondary);
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
nav a {
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    transition: width 0.3s ease;
}
nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-color);
}
nav a:hover::after {
    width: 100%;
}
.mobile-menu-btn {
    display: none;
    background: none; border: none;
    color: white; font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION & STAGE LIGHTING */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* SPOTLIGHT EFFECTS */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    top: -50%;
    width: 40vw;
    height: 200vh;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    opacity: 0.5;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}
.hero::before {
    left: 10%;
    transform-origin: top center;
    animation: sweep 10s ease-in-out infinite alternate;
    background: linear-gradient(to bottom, rgba(0, 245, 212, 0.2), transparent);
}
.hero::after {
    right: 10%;
    transform-origin: top center;
    animation: sweep 12s ease-in-out infinite alternate-reverse;
    background: linear-gradient(to bottom, rgba(247, 37, 133, 0.2), transparent);
}
@keyframes sweep {
    0% { transform: rotate(-30deg); }
    100% { transform: rotate(30deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.glitch {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.8;
}
.glitch::before {
    left: 4px;
    text-shadow: -4px 0 var(--accent-color);
    clip: rect(44px, 1200px, 56px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -4px;
    text-shadow: -4px 0 var(--accent-secondary);
    clip: rect(44px, 1200px, 56px, 0);
    animation: glitch-anim 4s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(21px, 9999px, 83px, 0); }
    20% { clip: rect(61px, 9999px, 89px, 0); }
    40% { clip: rect(93px, 9999px, 34px, 0); }
    60% { clip: rect(10px, 9999px, 85px, 0); }
    80% { clip: rect(51px, 9999px, 7px, 0); }
    100% { clip: rect(11px, 9999px, 46px, 0); }
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.play-btn {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}
.play-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}
.play-icon::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ABOUT SECTION */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.abstract-shape {
    position: relative;
    width: 200px; height: 200px;
}
.circle {
    position: absolute; width: 150px; height: 150px;
    border-radius: 50%;
    background: var(--accent-mixed);
    filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

/* SERVICES SECTION / LIGHTING STYLES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 2px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-top: 2px solid var(--accent-tertiary);
    box-shadow: 0 10px 40px rgba(254, 228, 64, 0.15);
    background: rgba(40, 40, 50, 0.6);
}
.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent-tertiary);
    text-shadow: 0 0 20px rgba(254, 228, 64, 0.8);
}
.service-card:nth-child(2) .service-icon {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(247, 37, 133, 0.8);
}
.service-card:nth-child(2):hover {
    border-top-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(247, 37, 133, 0.15);
}
.service-card:nth-child(3) .service-icon {
    color: var(--accent-secondary);
    text-shadow: 0 0 20px rgba(0, 245, 212, 0.8);
}
.service-card:nth-child(3):hover {
    border-top-color: var(--accent-secondary);
    box-shadow: 0 10px 40px rgba(0, 245, 212, 0.15);
}

/* PORTFOLIO SECTION */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.portfolio-item {
    padding: 0;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
}
.portfolio-img-wrapper {
    width: 100%; height: 100%;
    overflow: hidden;
}
.portfolio-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-item.placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: rgba(255,255,255,0.1);
}
.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}
.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}
.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* CONTACT SECTION */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.form-group {
    position: relative;
    margin-bottom: 30px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.08);
}
.form-group label {
    position: absolute;
    top: 15px; left: 20px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    background: var(--bg-color);
    padding: 0 5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero .glitch { font-size: 3.5rem; }
}
