/* ============================================
   SPARK-9 STUDIO — DESIGN SYSTEM & STYLES
   Premium Dark Futuristic Theme
   ============================================ */

/* ---- Design Tokens ---- */
:root {
    --color-bg: #050505;
    --color-bg-elevated: #0a0a0a;
    --color-bg-card: rgba(15, 15, 15, 0.6);
    --color-gold: #D4A853;
    --color-gold-bright: #F5C842;
    --color-gold-dim: #8B7335;
    --color-gold-subtle: rgba(212, 168, 83, 0.08);
    --color-blue-accent: #4DA8DA;
    --color-blue-dim: rgba(77, 168, 218, 0.3);
    --color-text: #E8E4DC;
    --color-text-dim: #6B6560;
    --color-text-muted: #3A3632;
    --color-white: #FAFAFA;
    --color-border: rgba(212, 168, 83, 0.12);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Space Grotesk', monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

    --header-height: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Lock scroll during intro */
body.intro-active {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

canvas {
    display: block;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: var(--color-white);
}

/* ============================================
   CINEMATIC INTRO SCREEN
   ============================================ */

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: none;
}

.intro-screen.exiting {
    pointer-events: none;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Logo */
.intro-logo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    padding-top: 12vh;
}

.intro-logo.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.logo-spark-symbol {
    width: 100px;
    height: 100px;
    position: relative;
}


.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1s var(--ease-out-expo) 0.2s,
                transform 1s var(--ease-out-expo) 0.2s;
}

.intro-logo.visible .logo-img {
    opacity: 1;
    transform: scale(1);
}

/* Subtle pulsing outer glow animation */
@keyframes logoPulseGlow {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.08); }
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 12px;
    color: var(--color-gold);
    text-indent: 12px;
}

.logo-tagline {
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--color-text-dim);
    text-indent: 6px;
}

/* ---- ENTER SPARK Button ---- */
.enter-spark-btn {
    position: relative;
    z-index: 2;
    margin-top: auto;
    margin-bottom: 12vh;
    padding: 22px 70px;
    background: rgba(212, 168, 83, 0.04);
    border: 1px solid rgba(212, 168, 83, 0.25);
    color: var(--color-gold);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 8px;
    text-indent: 8px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo),
                background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    overflow: hidden;
}

.enter-spark-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glow layer */
.btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Animated border */
.btn-border-anim {
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-border-anim::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(245, 200, 66, 0.4);
    animation: borderRotate 4s linear infinite paused;
}

/* Spark particles container */
.btn-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.btn-spark-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-gold), 0 0 12px rgba(212, 168, 83, 0.5);
    animation: sparkFloat 1s var(--ease-out-expo) forwards;
    opacity: 0;
}

/* Hover state */
.enter-spark-btn:hover {
    background: rgba(212, 168, 83, 0.08);
    border-color: rgba(212, 168, 83, 0.5);
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.15),
                0 0 80px rgba(212, 168, 83, 0.05),
                inset 0 0 30px rgba(212, 168, 83, 0.05);
}

.enter-spark-btn:hover .btn-glow {
    opacity: 1;
}

.enter-spark-btn:hover .btn-border-anim {
    opacity: 1;
}

.enter-spark-btn:hover .btn-border-anim::before {
    animation-play-state: running;
}

/* Active / Click */
.enter-spark-btn:active {
    transform: scale(0.97);
    background: rgba(212, 168, 83, 0.12);
}

/* Pulse animation for idle */
.enter-spark-btn.visible {
    animation: subtlePulse 3s ease-in-out infinite 1s;
}

.enter-spark-btn:hover {
    animation: none;
}

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 83, 0); }
    50% { box-shadow: 0 0 25px rgba(212, 168, 83, 0.08); }
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sparkFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* ============================================
   TRANSITION OVERLAY (Spark Expansion)
   ============================================ */

.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
        rgba(245, 200, 66, 0.8) 0%,
        rgba(212, 168, 83, 0.4) 20%,
        rgba(212, 168, 83, 0.1) 40%,
        transparent 60%);
    transform: scale(0);
    transition: none;
}

.transition-overlay.active {
    opacity: 1;
    transform: scale(4);
    transition: transform 1.2s var(--ease-out-expo),
                opacity 0.8s ease 0.6s;
}

.transition-overlay.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0s linear 0.8s;
    position: relative;
    min-height: 100vh;
}

.main-content.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease 0.2s, visibility 0s linear 0s;
}

/* ---- Background Atmosphere ---- */
.bg-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, rgba(212, 168, 83, 0.04), transparent);
    width: 1px;
}

.bg-line-1 {
    left: 20%;
    top: 0;
    height: 100%;
    animation: linePulse 8s ease-in-out infinite;
}

.bg-line-2 {
    left: 50%;
    top: 0;
    height: 100%;
    animation: linePulse 8s ease-in-out infinite 2.5s;
}

.bg-line-3 {
    left: 80%;
    top: 0;
    height: 100%;
    animation: linePulse 8s ease-in-out infinite 5s;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04), transparent);
    animation: glowFloat 15s ease-in-out infinite;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    left: -150px;
    background: radial-gradient(circle, rgba(77, 168, 218, 0.03), transparent);
    animation: glowFloat 18s ease-in-out infinite 5s;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 30px); }
}

/* ---- Particle field (CSS) ---- */
.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(212, 168, 83, 0.15) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 65%, rgba(212, 168, 83, 0.1) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 15%, rgba(212, 168, 83, 0.12) 50%, transparent 50%),
        radial-gradient(1px 1px at 75% 45%, rgba(77, 168, 218, 0.1) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 80%, rgba(212, 168, 83, 0.08) 50%, transparent 50%),
        radial-gradient(1px 1px at 45% 90%, rgba(212, 168, 83, 0.1) 50%, transparent 50%),
        radial-gradient(1px 1px at 5% 75%, rgba(77, 168, 218, 0.08) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 10%, rgba(212, 168, 83, 0.1) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 20% 50%, rgba(245, 200, 66, 0.12) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 65% 35%, rgba(245, 200, 66, 0.08) 50%, transparent 50%),
        radial-gradient(1px 1px at 40% 80%, rgba(77, 168, 218, 0.06) 50%, transparent 50%),
        radial-gradient(1px 1px at 95% 55%, rgba(212, 168, 83, 0.1) 50%, transparent 50%);
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    background: rgba(5, 5, 5, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
}

.main-nav.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--color-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-gold);
}

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

.nav-link {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--color-text-dim);
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    color: var(--color-gold);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 8px 20px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: rgba(212, 168, 83, 0.5);
    color: var(--color-gold-bright);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--header-height) 0 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    gap: 40px;
}

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

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.eyebrow-text {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--color-gold-dim);
}

.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(42px, 5.5vw, 76px);
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: 28px;
}

.headline-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.headline-line.revealed {
    opacity: 1;
    transform: translateY(0);
}

.headline-accent {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold), var(--color-blue-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-dim);
    max-width: 480px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo) 0.4s,
                transform 0.8s var(--ease-out-expo) 0.4s;
}

.hero-description.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo) 0.6s,
                transform 0.8s var(--ease-out-expo) 0.6s;
}

.hero-buttons.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dim));
    color: var(--color-bg);
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary .btn-arrow {
    position: relative;
    z-index: 3;
}

.btn-primary .btn-arrow {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Contact CTA Custom Animations */
#btn-contact {
    border: 1px solid rgba(245, 200, 66, 0.35);
    animation: btn-breathing-glow 3.5s infinite alternate ease-in-out;
    will-change: transform, box-shadow, border-color;
}

#btn-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2) 50%,
        transparent
    );
    transform: skewX(-25deg);
    animation: btn-shimmer-sweep 9s infinite ease-in-out;
    z-index: 2;
}

#btn-contact:hover {
    border-color: var(--color-gold-bright);
    box-shadow: 0 12px 45px rgba(245, 200, 66, 0.45);
}

#btn-contact:hover .btn-arrow {
    transform: translateX(6px);
}

@keyframes btn-breathing-glow {
    0% {
        box-shadow: 0 0 10px rgba(245, 200, 66, 0.15);
    }
    100% {
        box-shadow: 0 0 25px rgba(245, 200, 66, 0.4);
    }
}

@keyframes btn-shimmer-sweep {
    0%, 80% {
        left: -150%;
    }
    90%, 100% {
        left: 150%;
    }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    color: var(--color-text-dim);
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--color-text-muted);
    cursor: pointer;
    transition: color 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s var(--ease-out-expo);
}

.btn-secondary:hover {
    color: var(--color-gold);
    border-color: rgba(212, 168, 83, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 50px;
    font-size: 14px;
    letter-spacing: 3px;
}

/* ---- Hero Right (Canvas) ---- */
.hero-right {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-canvas-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* ---- Scroll indicator ---- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-family: var(--font-accent);
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--color-text-dim);
    writing-mode: vertical-lr;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 50px; }
    50% { opacity: 0.3; height: 30px; }
}

/* ============================================
   SECTION COMMON
   ============================================ */

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

.section-header {
    margin-bottom: 80px;
}

.section-number {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--color-gold-dim);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text-dim);
}

.text-gold {
    color: var(--color-gold);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    position: relative;
    z-index: 1;
    padding: 160px 0;
    overflow: hidden;
}

.services-bg-watermark {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 140px;
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 20px;
    color: rgba(255, 255, 255, 0.018);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    user-select: none;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.star-spark {
    color: #F5C842;
    font-size: 15px;
    text-shadow: 0 0 10px rgba(245, 200, 66, 0.6);
}

.services-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-white);
    margin-bottom: 24px;
}

.spark-accent {
    font-style: italic;
    font-weight: 600;
    color: #F5C842;
    text-shadow: 0 0 30px rgba(245, 200, 66, 0.4);
    position: relative;
    display: inline-block;
}

.spark-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F5C842, transparent);
    border-radius: 2px;
    box-shadow: 0 0 12px #F5C842;
}

.services-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--color-text-dim);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 8-Card Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 120px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(180deg, rgba(22, 22, 28, 0.75) 0%, rgba(10, 10, 14, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 38px 24px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-corner-notch {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(225deg, #F5C842 0%, #D4A853 40%, transparent 40%);
    border-top-right-radius: 15px;
    opacity: 0.65;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.card-num {
    position: absolute;
    top: 18px;
    left: 22px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.16);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.card-icon-wrap {
    position: relative;
    margin-top: 16px;
    margin-bottom: 24px;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-flare {
    position: absolute;
    width: 56px;
    height: 56px;
    background: radial-gradient(circle, rgba(245, 200, 66, 0.3) 0%, transparent 70%);
    filter: blur(8px);
    transition: all 0.4s var(--ease-out-expo);
}

.service-svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 200, 66, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
                0 0 35px rgba(245, 200, 66, 0.12);
}

.service-card:hover .card-corner-notch {
    opacity: 1;
    filter: drop-shadow(0 0 8px #F5C842);
}

.service-card:hover .card-num {
    color: rgba(245, 200, 66, 0.4);
}

.service-card:hover .icon-flare {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(245, 200, 66, 0.6) 0%, transparent 70%);
}

.service-card:hover .service-svg {
    transform: scale(1.08);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #F3F3F5;
    margin-bottom: 14px;
    line-height: 1.4;
}

.card-desc {
    font-size: 13px;
    font-weight: 300;
    color: #9A9AA0;
    line-height: 1.6;
}

/* Why Choose Spark 9 */
.why-choose-section {
    text-align: center;
    margin-bottom: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.why-tagline {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(245, 200, 66, 0.3);
    background: radial-gradient(circle, rgba(245, 200, 66, 0.08) 0%, rgba(10, 10, 15, 0.8) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 0 25px rgba(245, 200, 66, 0.08);
    transition: all 0.4s var(--ease-out-expo);
}

.why-item:hover .why-icon-circle {
    border-color: #F5C842;
    box-shadow: 0 0 35px rgba(245, 200, 66, 0.25);
    transform: translateY(-4px) scale(1.05);
}

.why-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.why-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--color-text-dim);
    max-width: 220px;
    line-height: 1.5;
}

/* CTA Banner */
.services-cta-banner {
    background: linear-gradient(90deg, rgba(20, 20, 25, 0.92) 0%, rgba(30, 24, 15, 0.95) 50%, rgba(20, 20, 25, 0.92) 100%);
    border: 1px solid rgba(245, 200, 66, 0.35);
    border-radius: 20px;
    padding: 44px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                0 0 50px rgba(245, 200, 66, 0.12);
    position: relative;
    overflow: hidden;
}

.cta-banner-left .cta-spark-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(245, 200, 66, 0.5));
}

.cta-banner-center {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
    padding-left: 20px;
}

.cta-top-text {
    font-size: 22px;
    font-weight: 400;
    color: #D0D0D5;
    margin-bottom: 4px;
}

.cta-bottom-text {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    font-style: italic;
    color: #F5C842;
    text-shadow: 0 0 25px rgba(245, 200, 66, 0.35);
}

.btn-talk {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 40px;
    border-radius: 50px;
    border: 1.5px solid #F5C842;
    color: #F5C842;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    background: rgba(245, 200, 66, 0.05);
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.btn-arrow-circle {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.btn-talk:hover {
    background: #F5C842;
    color: #050505;
    box-shadow: 0 0 35px rgba(245, 200, 66, 0.6);
    transform: scale(1.04);
}

.btn-talk:hover .btn-arrow-circle {
    transform: translateX(4px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    position: relative;
    z-index: 1;
    padding: 140px 0;
    border-top: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-headline {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

.about-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gold);
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--color-text-dim);
    text-transform: uppercase;
}

/* ============================================
   WORK / PORTFOLIO SECTION
   ============================================ */

/* ============================================
   WORK JOURNEY — 3D PHONE STORYTELLING
   ============================================ /* ============================================
   WORK JOURNEY — PREMIUM PROCESS SHOWCASE
   ============================================ */

.portfolio-section {
    position: relative;
    z-index: 2;
    padding: 120px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.portfolio-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px auto;
    padding: 0 20px;
}

.portfolio-eyebrow {
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.portfolio-eyebrow .star-spark {
    color: var(--color-gold-bright);
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.portfolio-title span {
    color: var(--color-gold-bright);
}

.portfolio-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dim);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s var(--ease-out-expo), 
                border-color 0.4s var(--ease-out-expo), 
                box-shadow 0.4s var(--ease-out-expo);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.portfolio-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    border-bottom: 1.5px solid var(--color-border);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.portfolio-category {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portfolio-project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.4;
}

.portfolio-arrow-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-gold-bright);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.portfolio-arrow {
    font-size: 14px;
    transition: transform 0.3s var(--ease-out-expo);
}

/* Hover effects */
.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold-bright);
    box-shadow: 0 15px 40px rgba(245, 200, 66, 0.15), 0 0 20px rgba(245, 200, 66, 0.05);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-card:hover .portfolio-arrow {
    transform: translateX(6px);
}

/* Button section */
.portfolio-footer-btn {
    text-align: center;
    margin-top: 60px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .portfolio-section {
        padding: 100px 0;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .portfolio-section {
        padding: 80px 0;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    position: relative;
    z-index: 1;
    padding: 180px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-headline {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-text {
    font-size: 17px;
    font-weight: 300;
    color: var(--color-text-dim);
    margin-bottom: 50px;
}

/* ============================================
   BRAND-NEW PREMIUM FUTURISTIC FOOTER
   ============================================ */
.spark-footer-new {
    position: relative;
    z-index: 5;
    padding: 100px 0 30px;
    background-color: #050505;
    overflow: hidden;
    
    /* Scroll reveal base properties */
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.spark-footer-new.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Background Atmospheric Layers --- */
.footer-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 164, 65, 0.05) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.2s ease-out; /* parallax support */
}

.footer-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(135deg, rgba(217, 164, 65, 0.015) 0%, transparent 50%, rgba(217, 164, 65, 0.015) 100%);
    background-size: 200% 200%;
    animation: footer-gradient-shift 15s ease infinite;
}

.footer-noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: noise-jitter 0.2s steps(4) infinite;
}

/* --- Container & Grid Layout --- */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* --- Staggered Column Reveal Animations --- */
.spark-footer-new .footer-column {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.spark-footer-new.revealed .footer-column:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 100ms;
}

.spark-footer-new.revealed .footer-column:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 220ms;
}

.spark-footer-new.revealed .footer-column:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 340ms;
}

.spark-footer-new.revealed .footer-column:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 460ms;
}

/* --- COLUMN 1: BRAND --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) 150ms, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 150ms;
}

.spark-footer-new.revealed .footer-logo {
    opacity: 1;
    transform: scale(1);
}

.footer-logo-icon {
    font-size: 20px;
    color: #D9A441;
    text-shadow: 0 0 10px rgba(217, 164, 65, 0.6);
    animation: logo-star-glow 4s ease-in-out infinite alternate;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-sub {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--color-text-dim);
    margin-top: 2px;
}

.footer-description {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-dim);
    margin-bottom: 25px;
}

/* Rocket Artwork */
.footer-rocket-art {
    width: 100%;
    max-width: 200px;
    height: 120px;
    margin-top: 10px;
}

.footer-rocket-svg {
    width: 100%;
    height: 100%;
}

/* --- COLUMN 2 & 3: LINKS --- */
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.spark-footer-new.revealed .footer-col-title {
    opacity: 1;
    transform: translateY(0);
}

.spark-footer-new.revealed .footer-column:nth-child(2) .footer-col-title { transition-delay: 220ms; }
.spark-footer-new.revealed .footer-column:nth-child(3) .footer-col-title { transition-delay: 340ms; }
.spark-footer-new.revealed .footer-column:nth-child(4) .footer-col-title { transition-delay: 460ms; }

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #D9A441;
    box-shadow: 0 0 8px rgba(217, 164, 65, 0.5);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.spark-footer-new.revealed .footer-links-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered list items */
.spark-footer-new.revealed .footer-column:nth-child(2) .footer-links-list li:nth-child(1) { transition-delay: 300ms; }
.spark-footer-new.revealed .footer-column:nth-child(2) .footer-links-list li:nth-child(2) { transition-delay: 340ms; }
.spark-footer-new.revealed .footer-column:nth-child(2) .footer-links-list li:nth-child(3) { transition-delay: 380ms; }
.spark-footer-new.revealed .footer-column:nth-child(2) .footer-links-list li:nth-child(4) { transition-delay: 420ms; }
.spark-footer-new.revealed .footer-column:nth-child(2) .footer-links-list li:nth-child(5) { transition-delay: 460ms; }
.spark-footer-new.revealed .footer-column:nth-child(2) .footer-links-list li:nth-child(6) { transition-delay: 500ms; }

.spark-footer-new.revealed .footer-column:nth-child(3) .footer-links-list li:nth-child(1) { transition-delay: 420ms; }
.spark-footer-new.revealed .footer-column:nth-child(3) .footer-links-list li:nth-child(2) { transition-delay: 460ms; }
.spark-footer-new.revealed .footer-column:nth-child(3) .footer-links-list li:nth-child(3) { transition-delay: 500ms; }
.spark-footer-new.revealed .footer-column:nth-child(3) .footer-links-list li:nth-child(4) { transition-delay: 540ms; }
.spark-footer-new.revealed .footer-column:nth-child(3) .footer-links-list li:nth-child(5) { transition-delay: 580ms; }
.spark-footer-new.revealed .footer-column:nth-child(3) .footer-links-list li:nth-child(6) { transition-delay: 620ms; }

.footer-item-link {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-dim);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.link-chevron {
    color: #D9A441;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.footer-item-link:hover {
    color: #D9A441;
    transform: translateX(6px);
}

.footer-item-link:hover .link-chevron {
    transform: scale(1.2);
}

/* --- COLUMN 4: GET IN TOUCH --- */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-dim);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.spark-footer-new.revealed .footer-contact-row {
    opacity: 1;
    transform: translateY(0);
}

.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(1) { transition-delay: 540ms; }
.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(2) { transition-delay: 580ms; }
.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(3) { transition-delay: 620ms; }
.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(4) { transition-delay: 660ms; }

.footer-contact-row:hover {
    color: var(--color-white);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(217, 164, 65, 0.03);
    border: 1px solid rgba(217, 164, 65, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9A441;
    box-shadow: 0 0 10px rgba(217, 164, 65, 0.05);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.spark-footer-new.revealed .footer-contact-row .footer-contact-icon {
    transform: scale(1);
    opacity: 1;
}

.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(1) .footer-contact-icon { transition-delay: 560ms; }
.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(2) .footer-contact-icon { transition-delay: 600ms; }
.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(3) .footer-contact-icon { transition-delay: 640ms; }
.spark-footer-new.revealed .footer-contact-col .footer-contact-row:nth-child(4) .footer-contact-icon { transition-delay: 680ms; }

.footer-contact-row:hover .footer-contact-icon {
    background: rgba(217, 164, 65, 0.08);
    border-color: rgba(217, 164, 65, 0.4);
    box-shadow: 0 0 12px rgba(217, 164, 65, 0.3);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.contact-val {
    font-size: 13px;
    font-weight: 400;
}

/* Premium WhatsApp CTA */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 200px;
    padding: 12px 24px;
    border-radius: 30px;
    background: rgba(217, 164, 65, 0.03);
    border: 1px solid rgba(217, 164, 65, 0.25);
    color: #D9A441;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(217, 164, 65, 0.05);
    
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) 750ms, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 750ms, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    animation: wa-soft-glow 3s ease-in-out infinite alternate;
}

.spark-footer-new.revealed .footer-whatsapp-btn {
    opacity: 1;
    transform: scale(1);
}

.wa-btn-icon {
    color: #25D366;
}

.footer-whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(217, 164, 65, 0.08);
    border-color: #D9A441;
    box-shadow: 0 8px 25px rgba(217, 164, 65, 0.3);
    color: #FFFFFF;
}

/* --- BOTTOM BAR: GLASS CONTAINER --- */
.footer-glass-bar {
    background: rgba(10, 10, 10, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(217, 164, 65, 0.15);
    border-bottom: 1px solid rgba(217, 164, 65, 0.15);
    border-radius: 20px;
    padding: 24px 35px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(217, 164, 65, 0.02);
    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1) 600ms, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1) 600ms;
}

.spark-footer-new.revealed .footer-glass-bar {
    opacity: 1;
    transform: translateY(0);
}

.glass-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.made-heart {
    font-size: 18px;
    animation: heart-beat 1.5s ease-in-out infinite;
    display: inline-block;
}

.made-text {
    display: flex;
    flex-direction: column;
}

.made-label {
    font-size: 10px;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.made-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-white);
    letter-spacing: 1px;
}

.made-sparkle {
    animation: sparkle-flash 1s ease-in-out infinite alternate;
    display: inline-block;
}

.glass-bar-center {
    text-align: center;
}

.footer-statement {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-dim);
    line-height: 1.6;
}

.glass-bar-right {
    display: flex;
    gap: 10px;
}

.glass-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.glass-social-link:hover {
    transform: scale(1.08) rotate(8deg);
    color: #D9A441;
    border-color: rgba(217, 164, 65, 0.4);
    background: rgba(217, 164, 65, 0.04);
}

/* --- BOTTOM LEGAL STRIP --- */
.footer-legal-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 5px 0 10px;
    opacity: 0;
    transition: opacity 0.8s ease 850ms;
}

.spark-footer-new.revealed .footer-legal-strip {
    opacity: 1;
}

.legal-gold {
    color: #D9A441;
}

.legal-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.legal-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--color-text-dim);
}

.legal-divider {
    color: rgba(255, 255, 255, 0.05);
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */
@keyframes footer-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes noise-jitter {
    0% { background-position: 0px 0px; }
    20% { background-position: 15px 30px; }
    40% { background-position: -25px 15px; }
    60% { background-position: 10px -20px; }
    80% { background-position: -20px 10px; }
    100% { background-position: 0px 0px; }
}

@keyframes logo-star-glow {
    0% { opacity: 0.7; transform: scale(1); text-shadow: 0 0 5px rgba(217, 164, 65, 0.4); }
    100% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 15px rgba(217, 164, 65, 0.8); }
}

@keyframes wa-soft-glow {
    0% { box-shadow: 0 0 10px rgba(217, 164, 65, 0.05); }
    100% { box-shadow: 0 0 20px rgba(217, 164, 65, 0.2); }
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

@keyframes sparkle-flash {
    0% { transform: scale(0.9) rotate(0deg); opacity: 0.6; filter: drop-shadow(0 0 2px rgba(217, 164, 65, 0.2)); }
    100% { transform: scale(1.1) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(217, 164, 65, 0.6)); }
}

/* --- SVG ROCKET & STARS ANIMATIONS --- */
@keyframes rocket-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.rocket-float-group {
    animation: rocket-float 4s ease-in-out infinite;
}

@keyframes exhaust-flicker {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.12) skewX(2deg); opacity: 1; }
}

.rocket-flame {
    animation: exhaust-flicker 0.15s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.twinkle-star {
    animation: star-twinkle 3s ease-in-out infinite;
    transform-origin: center;
}

.star-t1 { animation-delay: 0s; }
.star-t2 { animation-delay: 0.5s; }
.star-t3 { animation-delay: 1s; }
.star-t4 { animation-delay: 1.5s; }
.star-t5 { animation-delay: 2s; }
.star-t6 { animation-delay: 2.5s; }

/* ============================================
   RESPONSIVENESS (MEDIA QUERIES)
   ============================================ */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-glass-bar {
        flex-direction: column;
        padding: 25px;
        text-align: center;
        gap: 20px;
    }
    
    .glass-bar-left {
        justify-content: center;
    }
    
    .glass-bar-right {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .spark-footer-new {
        padding: 60px 0 20px;
    }
    
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-glass-bar {
        padding: 20px;
        border-radius: 15px;
    }
    
    .footer-legal-strip {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .legal-right {
        justify-content: center;
    }
    
    .footer-whatsapp-btn {
        max-width: 100%;
    }
}

/* ============================================
   ACCESSIBILITY OVERRIDES (prefers-reduced-motion)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .spark-footer-new,
    .spark-footer-new .footer-column,
    .spark-footer-new .footer-logo,
    .spark-footer-new .footer-col-title,
    .spark-footer-new .footer-links-list li,
    .spark-footer-new .footer-contact-row,
    .spark-footer-new .footer-contact-icon,
    .spark-footer-new .footer-whatsapp-btn,
    .spark-footer-new .footer-glass-bar {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    .footer-particles-canvas,
    .footer-noise-overlay,
    .footer-gradient-overlay,
    .rocket-float-group,
    .rocket-flame,
    .twinkle-star,
    .made-heart,
    .made-sparkle {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .footer-gradient-overlay {
        background: none !important;
    }
}

/* ============================================
   SPARK STORY IN NUMBERS SECTION
   ============================================ */.numbers-section {
    position: relative;
    padding: 160px 0 140px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(30, 22, 10, 0.4) 0%, rgba(8, 8, 10, 0.95) 70%);
}

.numbers-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(245, 200, 66, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.numbers-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.numbers-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.eyebrow-spark {
    color: #F5C842;
    font-size: 14px;
}

.numbers-title {
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-italic {
    font-style: italic;
    font-weight: 600;
    color: #F5C842;
    text-shadow: 0 0 35px rgba(245, 200, 66, 0.4);
}

.numbers-header-star {
    color: #F5C842;
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(245, 200, 66, 0.8);
}

.numbers-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #A0A0A5;
    line-height: 1.7;
}

/* 3 Cards Grid */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}.numbers-card {
    background: linear-gradient(180deg, rgba(24, 20, 16, 0.75) 0%, rgba(12, 10, 8, 0.95) 100%);
    border: 1px solid rgba(245, 200, 66, 0.22);
    border-radius: 24px;
    padding: 48px 32px 42px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.n-card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: radial-gradient(ellipse at top, rgba(245, 200, 66, 0.15) 0%, transparent 70%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.numbers-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 200, 66, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 200, 66, 0.15);
}

.numbers-card:hover .n-card-glow {
    opacity: 1;
}

.n-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1.5px solid rgba(245, 200, 66, 0.4);
    background: radial-gradient(circle, rgba(245, 200, 66, 0.15) 0%, rgba(10, 10, 10, 0.8) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    box-shadow: 0 0 25px rgba(245, 200, 66, 0.12);
    transition: all 0.4s var(--ease-out-expo);
}

.numbers-card:hover .n-icon-circle {
    border-color: #F5C842;
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(245, 200, 66, 0.3);
}

.n-svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.n-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
}

.n-num {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(180deg, #FFDF73 0%, #D4A853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -1px;
}

.n-plus {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    color: #F5C842;
    line-height: 1;
    margin-left: 2px;
}

.n-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 60%;
}

.n-div-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.4), transparent);
}

.n-div-star {
    color: #F5C842;
    font-size: 10px;
    opacity: 0.8;
}

.n-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #F5C842;
    margin-bottom: 16px;
}

.n-desc {
    font-size: 13.5px;
    font-weight: 300;
    color: #A0A0A5;
    line-height: 1.65;
}

/* Bottom Tagline */
.numbers-bottom-tagline {
    text-align: center;
    position: relative;
    z-index: 1;
}

.tagline-top {
    font-size: 16px;
    font-weight: 300;
    color: #B0B0B5;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tagline-script {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
    color: #FFFFFF;
}

.script-gold {
    color: #F5C842;
    text-shadow: 0 0 25px rgba(245, 200, 66, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .numbers-card {
        padding: 36px 20px 32px;
    }
    .n-num {
        font-size: 56px;
    }
    .n-plus {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto 60px;
    }
    .numbers-title {
        font-size: 40px;
    }
    .tagline-script {
        font-size: 34px;
    }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-delay="1"] {
    transition-delay: 0.15s;
}

[data-reveal][data-delay="2"] {
    transition-delay: 0.3s;
}

[data-reveal][data-delay="3"] {
    transition-delay: 0.45s;
}


/* ============================================
   TEAM SECTION (LUXURY AGENCY STYLE)
   ============================================ */

.team-section-new {
    position: relative;
    padding: 160px 0 140px;
    background: radial-gradient(circle at 50% 20%, rgba(30, 22, 10, 0.35) 0%, rgba(5, 5, 5, 0.98) 70%);
    overflow: hidden;
    border-top: 1px solid rgba(245, 200, 66, 0.15);
}

.team-bg-glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(245, 200, 66, 0.06) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.team-header-new {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.team-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.team-title-new {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-italic-spark {
    font-style: italic;
    font-weight: 600;
    color: #F5C842;
    text-shadow: 0 0 35px rgba(245, 200, 66, 0.45);
}

.team-subtitle-new {
    font-size: 16px;
    font-weight: 300;
    color: #A0A0A5;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 8 Cards Grid */
.team-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 90px;
    position: relative;
    z-index: 1;
}

.team-card-new {
    background: linear-gradient(180deg, rgba(24, 20, 16, 0.8) 0%, rgba(10, 9, 8, 0.95) 100%);
    border: 1px solid rgba(245, 200, 66, 0.22);
    border-radius: 24px;
    padding: 38px 24px 34px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.t-card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 110px;
    background: radial-gradient(ellipse at top, rgba(245, 200, 66, 0.18) 0%, transparent 70%);
    opacity: 0.5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card-new:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 200, 66, 0.55);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(245, 200, 66, 0.18);
}

.team-card-new:hover .t-card-glow {
    opacity: 1;
}

.t-img-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(245, 200, 66, 0.45);
    background: radial-gradient(circle, rgba(245, 200, 66, 0.15) 0%, rgba(15, 15, 15, 0.9) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(245, 200, 66, 0.15);
    transition: all 0.4s var(--ease-out-expo);
}

.team-card-new:hover .t-img-circle {
    border-color: #F5C842;
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(245, 200, 66, 0.35);
}

.t-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-card-new:hover .t-img-circle img {
    transform: scale(1.05);
}

.t-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #FFDF73;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.t-role {
    font-size: 13px;
    font-weight: 500;
    color: #E0E0E5;
    margin-bottom: 18px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    width: 65%;
}

.t-div-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.4), transparent);
}

.t-div-star {
    color: #F5C842;
    font-size: 9px;
    opacity: 0.85;
}

.t-desc {
    font-size: 13px;
    font-weight: 300;
    color: #A0A0A5;
    line-height: 1.6;
}

/* Bottom Signature */
.team-signature-new {
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.sig-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: #D0D0D5;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.sig-star {
    color: #F5C842;
    font-size: 18px;
    margin: 0 8px;
    vertical-align: middle;
    text-shadow: 0 0 15px rgba(245, 200, 66, 0.8);
}

.sig-highlight {
    font-style: italic;
    font-weight: 700;
    color: #F5C842;
    text-shadow: 0 0 25px rgba(245, 200, 66, 0.4);
}

.sig-logo-wrap {
    display: flex;
    justify-content: center;
}

.sig-logo {
    width: 55px;
    height: auto;
    opacity: 0.65;
    filter: drop-shadow(0 0 20px rgba(245, 200, 66, 0.2));
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .team-title-new {
        font-size: 46px;
    }
    .t-role {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .team-grid-new {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto 60px;
    }
    .team-title-new {
        font-size: 36px;
    }
    .sig-text {
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE — TEAM
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 40px;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
        height: 40vh;
        max-height: 400px;
    }

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

    .hero-description {
        margin: 0 auto 40px;
    }

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

    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 30px;
    }

    .cta-banner-center {
        text-align: center;
        padding-left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
    }


}

@media (max-width: 768px) {
    .main-nav {
        padding: 0 24px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .section-container {
        padding: 0 24px;
    }

    .services-section,
    .about-section,
    .work-section,
    .team-section {
        padding: 80px 0;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 38px;
    }

    .why-tagline {
        font-size: 26px;
    }

    .cta-bottom-text {
        font-size: 28px;
    }

    .contact-section {
        padding: 100px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 24px;
    }

    .enter-spark-btn {
        padding: 18px 50px;
        font-size: 12px;
        letter-spacing: 6px;
    }

    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   PORTFOLIO LIGHTBOX
   ============================================ */
.portfolio-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.96);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
    backdrop-filter: blur(15px);
}

.portfolio-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 100001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-gold-bright);
    transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 15, 15, 0.6);
    border: 1.5px solid var(--color-border);
    color: #fff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
}

.lightbox-prev:hover, .lightbox-next:hover {
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
    background: rgba(245, 200, 66, 0.1);
    box-shadow: 0 0 15px rgba(245, 200, 66, 0.2);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100000;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    border: 1.5px solid var(--color-border);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.lightbox-content img.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-dots {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    z-index: 100001;
}

.lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-dot.active {
    background: var(--color-gold-bright);
    transform: scale(1.25);
    box-shadow: 0 0 10px rgba(245, 200, 66, 0.6);
}

@media (max-width: 768px) {
    .lightbox-prev { left: 15px; width: 48px; height: 48px; font-size: 18px; }
    .lightbox-next { right: 15px; width: 48px; height: 48px; font-size: 18px; }
    .lightbox-close { top: 20px; right: 20px; font-size: 32px; }
    .lightbox-content { max-width: 95%; max-height: 70%; }
}

/* ============================================
   ACCESSIBILITY: REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .f-logo-star-circle,
    .f-radial-glow,
    #btn-contact,
    #btn-contact::after,
    .f-link-item::after,
    .f-rocket-art,
    .rocket-flame,
    .f-sig-heart {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
