/* Orphic Media - Factory.ai Inspired Design System */

/* ============================================
   Font Imports - Geist from Vercel CDN
   ============================================ */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.0.1/index.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/geist-mono@5.0.1/index.css');

/* ============================================
   CSS Custom Properties - Factory.ai Colors
   ============================================ */
:root {
    /* Accent Color */
    --accent-100: #ef6f2e;
    --accent-200: #d15a1a;
    --accent-300: #b34a0e;

    /* Base Colors */
    --dark-base-primary: #020202;
    --dark-base-secondary: #0a0a0a;
    --light-base-primary: #eee;
    --light-base-secondary: #f5f5f5;

    /* Neutral Grays */
    --neutral-100: #d6d3d2;
    --neutral-200: #ccc9c7;
    --neutral-300: #b8b3b0;
    --neutral-400: #a49d9a;
    --neutral-500: #8a8380;
    --neutral-600: #5c5855;
    --neutral-700: #4d4947;
    --neutral-800: #3d3a39;
    --neutral-900: #2e2c2b;
    --neutral-1000: #1f1d1c;

    /* Semantic Colors (Dark Theme Default) */
    --color-background: var(--dark-base-primary);
    --color-foreground: var(--light-base-primary);
    --color-base-100: var(--neutral-100);
    --color-base-400: var(--neutral-400);
    --color-base-500: var(--neutral-500);
    --color-base-600: var(--neutral-600);
    --color-base-700: var(--neutral-700);
    --color-base-800: var(--neutral-800);
    --color-base-1000: var(--neutral-1000);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.5;
    min-height: 100vh;
}

/* ============================================
   Typography System - Factory.ai Exact Specs
   ============================================ */

/* Headers */
h1 {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -0.16rem;
    color: var(--light-base-primary);
}

@media (min-width: 1024px) {
    h1 {
        font-size: 72px;
        letter-spacing: -0.18rem;
    }
}

h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -0.05625rem;
    color: var(--light-base-primary);
}

@media (min-width: 1024px) {
    h2 {
        font-size: 48px;
        letter-spacing: -0.09rem;
    }
}

h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.04rem;
    color: var(--light-base-primary);
}

/* Body Text */
p {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.02rem;
    color: var(--color-base-500);
}

@media (min-width: 1024px) {
    p {
        font-size: 18px;
        letter-spacing: -0.0225rem;
    }
}

/* UI Text - Uppercase Mono */
.text-ui-small {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-400);
}

.text-ui-medium {
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -0.0175rem;
    text-transform: uppercase;
    color: var(--color-base-400);
}

.text-ui-large {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.02rem;
    text-transform: uppercase;
    color: var(--color-base-400);
}

@media (min-width: 1024px) {
    .text-ui-large {
        font-size: 18px;
        letter-spacing: -0.0225rem;
    }
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2.25rem;
    }
}

.section {
    position: relative;
    padding: 3rem 0;
    display: flex;
    align-items: flex-start;
    border-top: 1px solid var(--color-base-800);
}

.section:last-of-type {
    border-bottom: 1px solid var(--color-base-800);
}

.section-dark {
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.section-grey {
    background-color: #1a1918;
}

/* Section Background Video */
.section-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.section-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(40px);
}

.section-dark > .container {
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .section {
        padding: 5rem 0;
    }
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.5rem;
    }
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(2, 2, 2, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-base-800);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-logo {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02rem;
    color: var(--light-base-primary);
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}

.logo-image {
    height: 24px;
    width: auto;
    display: block;
    transition: opacity 200ms ease;
}

.logo-image:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .logo-image {
        height: 28px;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-400);
    text-decoration: none;
    transition: color 200ms ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 300ms ease-in-out;
}

.nav-links a:hover {
    color: var(--accent-100);
}

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

/* ============================================
   Buttons - Factory.ai Style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    text-decoration: none;
    height: 25px;
    padding: 0 0.75rem;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 150ms ease;
}

.btn-primary {
    background-color: var(--color-base-1000);
    color: var(--light-base-primary);
    border-color: var(--color-base-700);
}

.btn-primary:hover {
    background-color: var(--light-base-secondary);
    color: var(--dark-base-primary);
    outline: 1px solid var(--light-base-secondary);
    outline-offset: 4px;
}

.btn-secondary {
    background-color: var(--light-base-secondary);
    color: var(--dark-base-primary);
}

.btn-secondary:hover {
    background-color: var(--dark-base-primary);
    color: var(--light-base-secondary);
    border-color: var(--color-base-600);
}

@media (min-width: 768px) {
    .btn {
        font-size: 14px;
        letter-spacing: -0.0175rem;
        height: 31px;
        padding: 0 0.875rem;
    }
}

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

.hero .container {
    position: static;
    z-index: 1;
}

.hero .grid {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    position: absolute;
    left: 0;
    padding-left: 1rem;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 550px;
        padding-left: 2.25rem;
    }
}

.hero-badge {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-500);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-base-600);
}

.hero-badge span {
    animation: badge-text-reveal 0.8s ease-out forwards;
    opacity: 0;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-100);
    animation: glitch-dot 20s ease-in-out infinite;
}

.hero h1 {
    margin: 0;
}

.hero-description {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Hero Video - Extends to 75% of viewport, fixed position */
.hero-video-container {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

@media (min-width: 1024px) {
    .hero-video-container {
        width: 75%;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(2, 2, 2, 0) 0%,
        rgba(2, 2, 2, 0.2) 30%,
        rgba(2, 2, 2, 0.7) 60%,
        rgba(2, 2, 2, 0.95) 100%
    );
    z-index: 1;
}

/* ============================================
   Content Sections
   ============================================ */
.section-header {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .section-header {
        grid-column: 1 / -1;
        margin-bottom: 3rem;
    }
}

/* Glitch Dot Animation - Intermittent every 20 seconds */
@keyframes glitch-dot {
    0%, 97% {
        background-color: var(--accent-100);
        opacity: 1;
        transform: translate(0, 0);
        box-shadow: none;
    }
    97.5% {
        background-color: var(--accent-100);
        opacity: 0.3;
        transform: translate(-2px, 1px);
    }
    98% {
        background-color: var(--color-base-600);
        opacity: 1;
        transform: translate(2px, -1px);
    }
    98.5% {
        background-color: var(--accent-100);
        opacity: 0.5;
        transform: translate(-1px, -1px);
        box-shadow: 0 0 3px var(--accent-100);
    }
    99% {
        background-color: var(--color-base-600);
        opacity: 0.8;
        transform: translate(1px, 1px);
    }
    99.5% {
        background-color: var(--accent-100);
        opacity: 0.2;
        transform: translate(0, 2px);
    }
    100% {
        background-color: var(--accent-100);
        opacity: 1;
        transform: translate(0, 0);
        box-shadow: none;
    }
}

/* Glitch Number Animation - For hover */
@keyframes glitch-number {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 1;
    }
    10% {
        transform: translate(-2px, 1px);
        opacity: 0.8;
    }
    20% {
        transform: translate(2px, -1px);
        opacity: 0.6;
    }
    30% {
        transform: translate(-1px, -2px);
        opacity: 0.9;
    }
    40% {
        transform: translate(1px, 2px);
        opacity: 0.7;
    }
    50% {
        transform: translate(-2px, 0);
        opacity: 0.85;
    }
    60% {
        transform: translate(2px, 1px);
        opacity: 0.75;
    }
    70% {
        transform: translate(0, -2px);
        opacity: 0.95;
    }
    80% {
        transform: translate(-1px, 1px);
        opacity: 0.8;
    }
    90% {
        transform: translate(1px, 0);
        opacity: 0.9;
    }
}

/* Badge Text Reveal Animation */
@keyframes badge-text-reveal {
    0% {
        opacity: 0;
        transform: translateX(-20px);
        letter-spacing: -0.5rem;
    }
    50% {
        opacity: 0.5;
        letter-spacing: -0.2rem;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: -0.015rem;
    }
}

.section-badge {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-500);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.section-badge.animate-badge {
    animation: badge-text-reveal 0.8s ease-out forwards;
}

.section-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-100);
    animation: glitch-dot 20s ease-in-out infinite;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 100%;
}

/* ============================================
   Service Cards - Minimal Design
   ============================================ */
.service-card {
    grid-column: span 4;
    padding: 2rem;
    border: 1px solid var(--color-base-800);
    background-color: #000000;
    transition: all 200ms ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .service-card {
        grid-column: span 4;
        padding: 3rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.95) 30%,
        rgba(0, 0, 0, 0.85) 50%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 0.4) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: 2;
}

/* What We Do Section Card Backgrounds */
.section-dark .service-card:nth-child(2)::before {
    background-image: url('music-score.png');
}

.section-dark .service-card:nth-child(3)::before {
    background-image: url('sound-design.png');
}

.section-dark .service-card:nth-child(4)::before {
    background-image: url('audio-integration.png');
}

.section-dark .service-card:nth-child(5)::before {
    background-image: url('post-production.png');
}

.section-dark .service-card:nth-child(6)::before {
    background-image: url('voice-production.png');
}

.section-dark .service-card:nth-child(7)::before {
    background-image: url('audio-direction.png');
}

/* Technology Section Card Backgrounds */
.section-grey .service-card:nth-child(2)::before {
    background-image: url('DAW.png');
}

.section-grey .service-card:nth-child(3)::before {
    background-image: url('wwise.png');
}

.section-grey .service-card:nth-child(4)::before {
    background-image: url('unreal.png');
}

/* Logo Carousel */
.logo-carousel {
    grid-column: 1 / -1;
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
    padding: 3rem 0;
}

.logo-carousel-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: scroll-logos 40s linear infinite;
}

.logo-carousel-track img {
    height: 120px;
    width: 180px;
    object-fit: contain;
    padding: 1.5rem;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: all 300ms ease;
    flex-shrink: 0;
}

.logo-carousel-track img:hover {
    background-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.service-card-video {
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    object-fit: cover;
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .service-card-video.loaded {
    opacity: 1;
}

.service-card:hover {
    border-color: var(--accent-100);
    background-color: rgba(31, 29, 28, 0.5);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 20px;
    letter-spacing: -0.03rem;
    position: relative;
    z-index: 3;
    transition: text-shadow 200ms ease;
}

.service-card p {
    color: var(--color-base-500);
    position: relative;
    z-index: 3;
    transition: text-shadow 200ms ease;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-label {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.8);
}

.service-number {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
    color: var(--accent-100);
    display: inline-block;
    margin-left: -1.5rem;
    margin-right: 0.5rem;
    opacity: 0.8;
    position: relative;
    z-index: 3;
    transition: text-shadow 200ms ease;
}

.service-card:hover .service-number {
    animation: glitch-number 0.3s ease-in-out;
    text-shadow: 0 0 20px rgba(239, 111, 46, 0.8);
}

.service-label {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-400);
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 3;
    transition: text-shadow 200ms ease;
}

.service-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-100);
    transition: width 400ms ease;
}

.service-card:hover .service-label::after {
    width: 100%;
}

/* ============================================
   Work/Portfolio Items
   ============================================ */
.work-item {
    grid-column: span 4;
    border: 1px solid var(--color-base-800);
    overflow: hidden;
    transition: all 200ms ease;
    background-color: rgba(31, 29, 28, 0.2);
}

@media (min-width: 1024px) {
    .work-item {
        grid-column: span 6;
    }
}

.work-item:hover {
    border-color: var(--accent-100);
}

.work-item-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--color-base-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-base-600);
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: -0.0175rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-item-image img.static-artwork,
.work-item-image img.animated-artwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 400ms ease;
}

.work-item-image img.static-artwork {
    opacity: 1;
    z-index: 1;
}

.work-item-image img.animated-artwork {
    opacity: 0;
    z-index: 2;
}

.work-item:hover .work-item-image img.animated-artwork {
    opacity: 1;
}

.work-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.work-item:hover .work-item-overlay {
    opacity: 1;
}

.overlay-line {
    width: 0;
    height: 2px;
    background: #ff6b35;
    margin-bottom: 0.5rem;
    transition: width 0.6s ease 0.1s;
}

.work-item:hover .overlay-line {
    width: 100%;
}

.overlay-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.3s;
    line-height: 1.3;
}

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

.overlay-developer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.4s;
}

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

.work-item-content {
    padding: 2rem;
}

.work-item-label {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-400);
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.work-item-label.animate-badge {
    animation: badge-text-reveal 0.8s ease-out forwards;
}

.work-item-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-100);
    animation: glitch-dot 20s ease-in-out infinite;
}

.work-item h3 {
    font-size: 24px;
    letter-spacing: -0.04rem;
    margin-bottom: 0.5rem;
}

.work-item p {
    color: var(--color-base-500);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: #000000;
    border-top: 1px solid var(--color-base-800);
    padding: 4rem 0 3rem 0;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }
}

.footer-column {
    flex: 1;
}

.footer-title {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--light-base-primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-family: 'Geist Mono', monospace;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-400);
    text-decoration: none;
    transition: color 200ms ease;
    position: relative;
}

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

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-base-800);
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -0.015rem;
    text-transform: uppercase;
    color: var(--color-base-500);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-accent {
    color: var(--accent-100);
}

.text-muted {
    color: var(--color-base-500);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.video-modal-header {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    max-width: 90%;
}

.video-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-modal-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    max-height: 675px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid rgba(255, 107, 53, 0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-modal-close:hover {
    background: rgba(255, 107, 53, 0.4);
    border-color: #ff6b35;
    transform: scale(1.1);
}

.video-modal-video {
    width: 100%;
    height: 100%;
    border: none;
}
