/* ==========================================================================
   NOLU Productions - Premium Design System & Stylesheet
   ========================================================================== */

:root {
    --bg-color: #030206; /* Deep cosmic space black */
    --card-bg: rgba(255, 255, 255, 0.015);
    --card-border: rgba(168, 85, 247, 0.08); /* Glowing purple-tinged card borders */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #8b5cf6; /* Matches logo royal violet */
    --accent-secondary: #d946ef; /* Matches logo neon magenta */
    --accent-tertiary: #f43f5e; /* Elegant glowing coral pink */
    --accent-glow: rgba(139, 92, 246, 0.16);
    
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #f43f5e 100%);
    --gradient-dark: linear-gradient(180deg, #030206 0%, #0b0912 100%);
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* 1. Base & Reset Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: var(--gradient-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Ambient glows */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.glow-sphere-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(5, 4, 9, 0) 70%);
    animation: float-ambient 25s infinite alternate ease-in-out;
}

.glow-sphere-2 {
    width: 700px;
    height: 700px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(5, 4, 9, 0) 70%);
    animation: float-ambient 30s infinite alternate-reverse ease-in-out;
    animation-delay: -5s;
}

@keyframes float-ambient {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.15); }
}

/* Canvas overlay */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle 380px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.05), transparent 80%);
}

/* 2. Scroll Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 3. Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 100;
    background: rgba(5, 4, 9, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.9rem 4rem;
    background: rgba(5, 4, 9, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.04);
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
    border-radius: 99px;
}

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

nav a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(168, 85, 247, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* 4. Hero Section */
.hero {
    position: relative;
    padding-top: 11rem;
    padding-bottom: 7rem;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.hero-container {
    max-width: 900px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-logo-wrapper {
    margin-bottom: 1rem;
    position: relative;
    animation: float-logo 5s infinite alternate ease-in-out;
}

@keyframes float-logo {
    0% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 10px 15px rgba(168, 85, 247, 0.15));
    }
    100% {
        transform: translateY(-12px) rotate(2deg);
        filter: drop-shadow(0 25px 25px rgba(99, 102, 241, 0.35));
    }
}

.hero-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.4rem, 7.5vw, 4.6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
}

h1 span.light {
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span.colored {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
    font-weight: 300;
    margin-top: 1rem;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 5. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    gap: 0.75rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.45);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-30deg);
    transition: 0.75s;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 6. Section layout */
section {
    padding: 8rem 4rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-secondary);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* 7. About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-heading {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.creators {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.creator-badge {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    padding: 1.25rem;
    border-radius: 16px;
    flex: 1;
    backdrop-filter: blur(10px);
}

.creator-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.creator-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: radial-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.visual-card-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    opacity: 0.3;
}

.quote-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 70, 239, 0.35); /* Neon pink/magenta glow */
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.08), 0 0 30px rgba(217, 70, 239, 0.16);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c084fc;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--gradient-accent);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-list li::before {
    content: "▶"; /* Neon play button triangle bullet */
    color: var(--accent-secondary);
    font-size: 0.65rem;
    filter: drop-shadow(0 0 5px var(--accent-secondary));
    margin-right: 0.15rem;
}

/* 9. Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 70, 239, 0.35); /* Neon magenta glow */
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.08), 0 0 30px rgba(217, 70, 239, 0.16);
}

.project-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    padding: 0.4rem 1rem;
    border-radius: 99px;
}

.project-duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: auto;
}

.project-btn {
    align-self: flex-start;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1.5rem;
    font-family: var(--font-body);
}

.project-btn::after {
    content: '→';
    transition: var(--transition-smooth);
}

.project-card:hover .project-btn {
    color: var(--accent-secondary);
}

.project-card:hover .project-btn::after {
    transform: translateX(5px);
}

/* 10. Tech Section (Gear) */
.tech-container {
    background: radial-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 4rem;
    backdrop-filter: blur(10px);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.tech-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--card-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.tech-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.tech-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Tech Spec Popover / Toast */
.tech-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(13, 12, 21, 0.9);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    z-index: 200;
    max-width: 380px;
    display: flex;
    gap: 1rem;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.tech-toast.active {
    transform: translateY(0);
    opacity: 1;
}

.tech-toast-icon {
    font-size: 2.2rem;
}

.tech-toast-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.tech-toast-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 11. Why Collaborate Section */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.usp-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usp-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.usp-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.usp-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 12. Contact Form & Section */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    width: 100%;
    margin-top: 3rem;
    text-align: left;
}

.contact-card-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 28px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease forwards;
}

.form-status.success {
    color: #10b981;
}

.form-status.error {
    color: #ef4444;
}

.contact-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.contact-icon {
    font-size: 2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 700;
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}

/* 13. Interactive Premium Modal (Project Showcase) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 4, 9, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: radial-gradient(135deg, rgba(20, 18, 33, 0.95) 0%, rgba(10, 8, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    width: 100%;
    max-width: 950px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(168, 85, 247, 0.1);
    position: relative;
    transform: scale(0.92) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    background: #ffffff;
    color: #000000;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 4rem;
}

.modal-visual-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Simulated Video Player Mockup */
.mock-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    cursor: pointer;
}

.mock-player-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 0.8s ease;
}

.mock-player:hover .mock-player-bg {
    transform: scale(1.03);
}

.mock-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.play-trigger-btn {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
}

.play-trigger-btn svg {
    margin-left: 4px;
    color: #0d0c15;
    fill: #0d0c15;
    transition: var(--transition-smooth);
}

.mock-player:hover .play-trigger-btn {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5), 0 0 40px rgba(255, 255, 255, 0.6);
    background: var(--gradient-accent);
}

.mock-player:hover .play-trigger-btn svg {
    color: #ffffff;
    fill: #ffffff;
}

.mock-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.player-progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.player-progress-fill {
    width: 35%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.player-time {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    font-family: monospace;
}

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

.modal-project-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.modal-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 1rem;
    border-radius: 14px;
}

.modal-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.modal-stat-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.25rem;
}

.modal-section-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    border-left: 3px solid var(--accent-primary);
    padding-left: 0.75rem;
    margin-bottom: 0.75rem;
}

.modal-desc-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-bullets li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-bullets li::before {
    content: "✓";
    color: #10b981;
    font-weight: 800;
}

/* 14. CTA sections background adjustments */
.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: 32px;
    padding: 5rem 4rem;
    text-align: center;
    margin: 6rem auto;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.12), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
}

/* 15. Footer */
footer {
    padding: 3rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    z-index: 10;
    position: relative;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* 16. Media Queries */
@media (max-width: 1024px) {
    .services-grid, .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .modal-body {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 2rem;
    }
    header.scrolled {
        padding: 0.85rem 2rem;
    }
    nav {
        display: none; /* hidden menu */
    }
    section {
        padding: 5rem 2rem;
    }
    .services-grid, .projects-grid, .tech-grid, .usp-grid {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 4rem 2rem;
        margin: 4rem 1.5rem;
    }
    .creators {
        flex-direction: column;
        gap: 1rem;
    }
    .modal-body {
        padding: 2rem 1.5rem;
    }
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}
