/* ===== CSS Variables ===== */
:root {
    --bg-primary: #13102A;
    --bg-secondary: #1A1640;
    --bg-card: #221D4A;
    --bg-card-hover: #2A2455;
    --accent-green: #D4F03E;
    --accent-green-dim: rgba(212, 240, 62, 0.15);
    --accent-purple: #9B7BFF;
    --accent-purple-dim: rgba(155, 123, 255, 0.15);
    --gradient-main: linear-gradient(135deg, #D4F03E, #9B7BFF);
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-family: 'IBM Plex Sans Arabic', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(19, 16, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-primary);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 240, 62, 0.4);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--accent-green);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: var(--transition);
    border-radius: 1px;
}

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

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

.nav-cta {
    font-size: 14px !important;
    padding: 10px 24px !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #d4ff33;
    box-shadow: 0 0 30px rgba(212, 240, 62, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(155, 123, 255, 0.3), transparent 70%);
    top: -200px;
    left: -100px;
    animation: float-orb 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 240, 62, 0.2), transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: float-orb 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(155, 123, 255, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-orb 12s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(212, 240, 62, 0.08);
    border: 1px solid rgba(212, 240, 62, 0.2);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-green);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

.hero-desc {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-green);
    display: inline;
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-green);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border-color);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent-green);
    animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-green);
    background: var(--accent-green-dim);
    border: 1px solid rgba(212, 240, 62, 0.15);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Services ===== */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.service-card {
    position: relative;
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-slow);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-icon svg {
    color: var(--accent-green);
}

.service-card:hover .service-icon {
    background: var(--accent-green);
}

.service-card:hover .service-icon svg {
    color: var(--bg-primary);
}

.service-number {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-green);
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    position: relative;
}

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

.about-content .section-tag {
    display: inline-block;
}

.about-content .section-title {
    text-align: right;
}

.about-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
}

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

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    color: var(--accent-green);
    width: 18px;
    height: 18px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* AI Visual Card */
.ai-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.ai-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
}

.ai-dots {
    display: flex;
    gap: 8px;
}

.ai-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-hover);
}

.ai-dots span:first-child { background: #FF5F57; }
.ai-dots span:nth-child(2) { background: #FFBD2E; }
.ai-dots span:last-child { background: #28CA41; }

.ai-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
    letter-spacing: 0.5px;
}

.ai-card-body {
    padding: 24px 20px;
}

.ai-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: monospace;
    direction: ltr;
    text-align: left;
}

.ai-prompt {
    color: var(--accent-green);
    font-weight: 700;
}

.typing-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-family);
    direction: rtl;
}

.cursor {
    color: var(--accent-green);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.ai-output {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.ai-response-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
}

.ai-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.ai-tag {
    padding: 4px 12px;
    background: rgba(212, 240, 62, 0.1);
    border: 1px solid rgba(212, 240, 62, 0.25);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--accent-green);
}

.ai-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric {
    text-align: center;
    padding: 12px 8px;
    background: rgba(212, 240, 62, 0.05);
    border: 1px solid rgba(212, 240, 62, 0.1);
    border-radius: var(--radius-sm);
}

.metric-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 2px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== Process Section ===== */
.process {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.process-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 32px 20px;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin-top: 56px;
    flex-shrink: 0;
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
}

/* ===== Works Section ===== */
.works {
    padding: 120px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    min-height: 280px;
    cursor: pointer;
    transition: var(--transition);
}

.work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.work-card.work-large {
    grid-column: span 2;
    min-height: 320px;
}

.work-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 20% 50%, rgba(212, 240, 62, 0.4) 0%, transparent 50%),
                       radial-gradient(circle at 80% 80%, rgba(155, 123, 255, 0.3) 0%, transparent 50%);
    transition: var(--transition-slow);
}

.work-card:hover .work-bg-pattern {
    opacity: 0.12;
}

.work-card[data-gradient="1"] { background: linear-gradient(145deg, #221D4A 0%, #2A2260 100%); }
.work-card[data-gradient="2"] { background: linear-gradient(145deg, #221D4A 0%, #2D2240 100%); }
.work-card[data-gradient="3"] { background: linear-gradient(145deg, #221D4A 0%, #1E2250 100%); }
.work-card[data-gradient="4"] { background: linear-gradient(145deg, #221D4A 0%, #281C48 100%); }
.work-card[data-gradient="5"] { background: linear-gradient(145deg, #221D4A 0%, #252D20 100%); }

.work-content {
    position: relative;
    z-index: 1;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.work-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    background: var(--accent-green-dim);
    color: var(--accent-green);
    margin-bottom: 12px;
    width: fit-content;
}

.work-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.work-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.work-stats {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.work-stats span {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-green);
}

/* ===== Video Showreel Section ===== */
.video-showreel {
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.video-carousel-wrapper {
    position: relative;
}

.video-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(19, 16, 42, 0.85);
    backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-nav:hover {
    background: var(--accent-green);
    color: #0B0A1A;
    border-color: var(--accent-green);
    box-shadow: 0 8px 30px rgba(212, 240, 62, 0.3);
}

.video-nav-prev {
    right: -24px;
}

.video-nav-next {
    left: -24px;
}

.video-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-grid::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    scroll-snap-align: start;
}

.video-card:hover {
    border-color: rgba(212, 240, 62, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(212, 240, 62, 0.08);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.video-card:hover .video-wrapper video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 2;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.video-card.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 240, 62, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050505;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(212, 240, 62, 0.3);
}

.play-btn svg {
    margin-right: -2px;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
    background: rgba(212, 240, 62, 1);
    box-shadow: 0 12px 40px rgba(212, 240, 62, 0.4);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.video-info {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.video-tag {
    padding: 4px 12px;
    background: var(--accent-green-dim);
    border: 1px solid rgba(212, 240, 62, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 500;
}

/* Video Lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 400px;
    max-height: 85vh;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-video-container video {
    width: 100%;
    max-height: 85vh;
    display: block;
}

/* ===== Clients Section ===== */
.clients {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.clients-carousel {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    gap: 48px;
    animation: scroll-clients 25s linear infinite;
    width: max-content;
    align-items: center;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.client-logo:hover {
    border-color: var(--accent-green);
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.client-logo img {
    max-width: 140px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    opacity: 1;
}

.client-placeholder {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb-cta-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 123, 255, 0.25), transparent 70%);
    top: -100px;
    right: -100px;
}

.orb-cta-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 240, 62, 0.15), transparent 70%);
    bottom: -100px;
    left: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.contact-info .section-tag {
    display: inline-block;
}

.contact-info .section-title {
    text-align: right;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--accent-green);
}

.method-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-method a, .contact-method span {
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--accent-green);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group select:valid {
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(212, 240, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    margin-top: 8px;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--bg-primary);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-content .section-title {
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 0;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(19, 16, 42, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .work-card.work-large {
        grid-column: span 1;
    }

    .work-overlay {
        transform: translateY(0);
        opacity: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .process-step {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-actions .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

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

    .services, .about, .process, .works, .clients, .contact, .video-showreel {
        padding: 80px 0;
    }

    .video-card {
        flex: 0 0 220px;
    }
}

@media (max-width: 560px) {
    .video-card {
        flex: 0 0 180px;
    }

    .video-info {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .video-info h4 {
        font-size: 13px;
    }

    .play-btn {
        width: 48px;
        height: 48px;
    }

    .play-btn svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-content {
        width: 95vw;
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-badge {
        font-size: 13px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== Selection ===== */
::selection {
    background: rgba(212, 240, 62, 0.2);
    color: var(--text-primary);
}
