/* -------------------------------------------------------------
 * 华视鼎信文化传媒 - 官方网站样式表 (Premium Cinematic Theme)
 * ------------------------------------------------------------- */

/* ==========================================================================
   1. Reset & Global Variables
   ========================================================================== */
:root {
    /* Color Palette (HSL Tailored) */
    --bg-primary: #060709;      /* 极夜黑 - 深邃胶片背景 */
    --bg-secondary: #0c0e12;    /* 煤层灰 - 卡片与次级版块 */
    --bg-tertiary: #13171d;     /* 曜石黑 - 边框与输入框 */
    
    --gold-primary: #d4af37;    /* 经典香槟金 - 核心高亮 */
    --gold-light: #e5c158;      /* 曜石金 - 悬浮与渐变 */
    --gold-dark: #aa871c;       /* 古铜金 - 边框与阴影 */
    --gold-rgb: 212, 175, 55;
    
    --text-primary: #f5f6f8;    /* 冰川白 - 主标题与正文 */
    --text-secondary: #9e9ea7;  /* 朦胧灰 - 辅助说明 */
    --text-muted: #5e606a;      /* 哑光灰 - 脚注与合规声明 */
    
    --crimson-accent: #e23e3e;  /* 余烬红 - 消防微电影心愿致敬色 */
    
    /* Font Families */
    --font-serif: 'Cinzel', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Layout Variables */
    --header-height: 80px;
    --header-height-shrink: 64px;
    --container-max-width: 1200px;
    
    /* Animation & Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    /* Glassmorphism Styling */
    --glass-bg: rgba(12, 14, 18, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    position: relative;
    cursor: none; /* Hide default cursor to enable custom cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.py-section {
    padding: 120px 0;
}

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

.inline-block {
    display: inline-block;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.15em;
}

/* ==========================================================================
   2. Custom Interactive Cursor
   ========================================================================== */
#cursor-dot, #cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: block;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold-primary);
    border-radius: 50%;
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    border-radius: 50%;
}

/* Hover States for Cursor */
body.hovering #cursor-dot {
    background-color: var(--crimson-accent);
    transform: translate(-50%, -50%) scale(1.5);
}

body.hovering #cursor-ring {
    width: 56px;
    height: 56px;
    border-color: rgba(var(--gold-rgb), 0.8);
    background-color: rgba(var(--gold-rgb), 0.05);
    box-shadow: 0 0 15px rgba(var(--gold-rgb), 0.2);
}

/* Hide cursor on touch devices */
@media (max-width: 1024px) {
    body {
        cursor: auto;
    }
    #cursor-dot, #cursor-ring {
        display: none !important;
    }
}

/* ==========================================================================
   3. Buttons & UI Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 6px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(var(--gold-rgb), 0.15);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    box-shadow: 0 6px 25px rgba(var(--gold-rgb), 0.3);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background: rgba(var(--gold-rgb), 0.03);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Section Tag & Headers */
.section-tag {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--gold-primary);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.text-center .section-tag {
    justify-content: center;
}

.tag-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--crimson-accent);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--crimson-accent);
    animation: pulseGlow 2s infinite;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-desc {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 60%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.navbar-shrink {
    height: var(--header-height-shrink);
    background: rgba(6, 7, 9, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 38px;
    height: 38px;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}

.logo-brand:hover .logo-icon {
    transform: rotate(30deg) scale(1.05);
    color: var(--gold-light);
}

.logo-svg {
    width: 100%;
    height: 100%;
}

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

.logo-text .cn-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    line-height: 1.15;
}

.logo-text .en-title {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    color: var(--text-secondary);
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-smooth);
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   5. Mobile Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(6, 7, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    right: 0;
}

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

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.mobile-link:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}

/* Toggle Animation */
.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--gold-light);
}
.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--gold-light);
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 24s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(6, 7, 9, 0.4) 0%, rgba(6, 7, 9, 0.85) 80%, rgba(6, 7, 9, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tagline-box {
    margin-bottom: 24px;
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(var(--gold-rgb), 0.05);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 620px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Scroll Down Mouse */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-down:hover {
    opacity: 1;
    color: var(--gold-light);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================================================
   7. Grid & Flex Utilities
   ========================================================================== */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
}

.align-center {
    align-items: center;
}

/* ==========================================================================
   8. About Section
   ========================================================================== */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.frame-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1/1;
}

.border-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-primary);
    z-index: 1;
    transition: var(--transition-smooth);
}

.frame-container:hover .border-frame {
    top: 10px;
    left: 10px;
}

.visual-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    border-radius: 2px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    filter: grayscale(15%) contrast(105%);
}

.visual-tag-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--gold-dark);
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-highlights-grid {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    border-left: 2px solid var(--gold-primary);
    padding-left: 20px;
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: block;
}

.highlight-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   9. Services Section
   ========================================================================== */
.services-section {
    background-color: var(--bg-secondary);
    position: relative;
}

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

.service-card {
    position: relative;
    background: rgba(18, 22, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 40px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--gold-rgb), 0.25);
    background: rgba(18, 22, 28, 0.8);
    box-shadow: var(--glass-glow);
}

.card-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--gold-rgb), 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .card-bg-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    color: var(--gold-light);
    background: rgba(var(--gold-rgb), 0.08);
    border-color: rgba(var(--gold-rgb), 0.3);
    box-shadow: 0 0 15px rgba(var(--gold-rgb), 0.15);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex-grow: 1;
}

.service-num {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.015);
    transition: var(--transition-smooth);
}

.service-card:hover .service-num {
    color: rgba(var(--gold-rgb), 0.06);
}

/* ==========================================================================
   10. Featured Case Section
   ========================================================================== */
.case-section {
    background-color: var(--bg-primary);
}

.case-card-container {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    background: rgba(12, 14, 18, 0.6);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.case-card-grid {
    display: grid;
    grid-template-columns: 4fr 5fr;
    align-items: stretch;
}

.case-poster-area {
    position: relative;
    overflow: hidden;
}

.poster-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 550px;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.case-poster-area:hover .poster-img {
    transform: scale(1.03);
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(12, 14, 18, 0) 50%, rgba(12, 14, 18, 0.85) 100%),
                linear-gradient(to top, rgba(12, 14, 18, 0.7) 0%, rgba(12, 14, 18, 0) 40%);
    z-index: 2;
}

/* Play Button */
.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(var(--gold-rgb), 0.4);
}

.play-icon-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--bg-primary);
    margin-left: 6px;
    transition: var(--transition-fast);
}

.play-btn-circle:hover {
    background: var(--gold-light);
    transform: translate(-50%, -50%) scale(1.08);
}

.play-btn-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    animation: ripplePulse 3s infinite linear;
    z-index: -1;
    pointer-events: none;
}

.play-btn-ripple.ripple-2 {
    animation-delay: 1.5s;
}

.case-details-area {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: rgba(var(--gold-rgb), 0.1);
    color: var(--gold-light);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    border-radius: 3px;
    margin-bottom: 20px;
}

.case-title {
    font-size: 3rem;
    font-family: var(--font-serif);
    margin-bottom: 8px;
}

.case-meta {
    font-size: 0.95rem;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

.case-divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold-primary);
    margin-bottom: 30px;
}

.case-synopsis {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    text-align: justify;
}

.case-credits-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.credit-item {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 16px;
}

.credit-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.credit-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.case-tech-specs {
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.tech-label {
    color: var(--text-secondary);
}

.tech-val {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   11. Equipment Section
   ========================================================================== */
.equipment-section {
    background-color: var(--bg-primary);
}

.equipment-specs-list {
    margin-top: 36px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.equipment-specs-list li {
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.equipment-specs-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-primary);
}

.equipment-specs-list li strong {
    font-weight: 600;
}

.equipment-specs-list li span {
    color: var(--text-secondary);
}

.gear-showcase-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.gear-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gear-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gear-showcase-container:hover .gear-main-img {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.gear-stats-overlay {
    position: absolute;
    bottom: -20px;
    left: 30px;
    right: 30px;
    background: rgba(12, 14, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-around;
    z-index: 5;
    box-shadow: var(--glass-glow);
}

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

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ==========================================================================
   12. Team Section
   ========================================================================== */
.team-section {
    background-color: var(--bg-secondary);
}

.team-showcase {
    max-width: 950px;
    margin: 0 auto;
}

.team-leader-card {
    position: relative;
    background: rgba(6, 7, 9, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.leader-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold-primary), var(--gold-light));
}

.leader-grid {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 60px;
    align-items: center;
}

.leader-role {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 8px;
}

.leader-name {
    font-size: 2.25rem;
    margin-bottom: 6px;
}

.leader-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-weight: 500;
}

.leader-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
    text-align: justify;
}

.leader-quote {
    font-style: italic;
    border-left: 2px solid var(--gold-primary);
    padding-left: 20px;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.leader-visual {
    display: flex;
    justify-content: center;
}

.leader-avatar-frame {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(6, 7, 9, 0.8);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-leader-card:hover .leader-avatar-frame {
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.15);
}

.avatar-shutter {
    position: absolute;
    width: 105%;
    height: 105%;
    border: 1px dashed rgba(var(--gold-rgb), 0.15);
    border-radius: 50%;
    animation: rotateSlow 40s infinite linear;
}

.avatar-abstract {
    width: 120px;
    height: 120px;
    color: rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.team-leader-card:hover .avatar-abstract {
    color: var(--text-secondary);
    transform: scale(1.05);
}

.director-silhouette {
    width: 100%;
    height: 100%;
}

.avatar-overlay-text {
    position: absolute;
    bottom: 12px;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    font-weight: 600;
}

/* ==========================================================================
   13. Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 60px;
    align-items: start;
}

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

.panel-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.panel-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.info-text span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Compliance Alert */
.compliance-alert {
    background: rgba(226, 62, 62, 0.04);
    border: 1px solid rgba(226, 62, 62, 0.2);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.alert-icon {
    color: var(--crimson-accent);
    flex-shrink: 0;
}

.alert-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.alert-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
}

/* Contact Form */
.contact-form-panel {
    position: relative;
    background: rgba(12, 14, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 50px;
    overflow: hidden;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 36px;
    font-weight: 600;
}

.form-group {
    position: relative;
    margin-bottom: 36px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 0;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-textarea {
    resize: none;
}

.form-select {
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0;
    background-color: transparent;
}

.form-select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Floating Labels */
.form-label {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    pointer-events: none;
    font-size: 1rem;
}

/* Focus and Active States */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
    top: -18px;
    font-size: 0.8rem;
    color: var(--gold-light);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 1px 0 var(--gold-primary);
}

/* Select element fix for floating-like label behavior */
.form-select:focus, .form-select:valid {
    color: var(--text-primary);
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform: scale(0.95);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.success-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 380px;
}

.success-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.1);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-circle svg {
    width: 32px;
    height: 32px;
}

.success-content h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==========================================================================
   14. Video Modal (Cinema Mode)
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 5, 0.96);
    backdrop-filter: blur(15px);
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background-color: #000;
    z-index: 10;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.92);
    transition: var(--transition-smooth);
}

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

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    background: var(--crimson-accent);
    border-color: transparent;
    transform: rotate(90deg);
}

.cinema-screen {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-player-simulator {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.simulated-frame {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(35%) contrast(90%) blur(2px);
    transition: var(--transition-smooth);
}

.video-player-simulator.playing .simulated-frame {
    filter: brightness(80%) contrast(100%) blur(0);
    animation: simulatedFilmGrain 0.8s infinite steps(4);
}

.cinema-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 40%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

.cinema-overlay-text {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 3;
    transition: opacity 0.5s ease;
}

.cinema-overlay-text h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.cinema-overlay-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breathing-rec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.4);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.rec-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--crimson-accent);
    border-radius: 50%;
    animation: flash 1s infinite alternate;
}

/* Center Play/Loading Indicator */
.cinema-center-indicator {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--gold-rgb), 0.15);
    border-top: 3px solid var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

.indicator-text {
    font-size: 0.9rem;
    color: var(--gold-light);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Controls Bar */
.video-controls-bar {
    position: absolute;
    bottom: 25px;
    left: 40px;
    right: 40px;
    z-index: 5;
    background: rgba(6, 7, 9, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: opacity 0.5s ease;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.control-btn:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}

.video-progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-bar-total {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-bar-current {
    height: 100%;
    background-color: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-knob {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-primary);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.progress-bar-total:hover .progress-knob {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: var(--gold-light);
}

.time-stamp {
    font-size: 0.8rem;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    min-width: 85px;
    text-align: right;
}

/* Auto-hide controls in playing state when mouse is idle */
.video-player-simulator.playing.controls-hidden .video-controls-bar,
.video-player-simulator.playing.controls-hidden .cinema-overlay-text {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   15. Footer Section
   ========================================================================== */
.footer {
    background-color: #030405;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 80px 0 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 4fr 3fr 5fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.inline-logo {
    margin-bottom: 20px;
}

.brand-slogan {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.brand-rights {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
}

.footer-links h4, .footer-compliance h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-compliance h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--gold-primary);
}

.link-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

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

.link-cols a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-compliance p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.name-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chip {
    font-size: 0.8rem;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

/* ==========================================================================
   16. Scroll Reveal Animations
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.scroll-reveal-left {
    transform: translateX(-40px);
}

.reveal-on-scroll.scroll-reveal-right {
    transform: translateX(40px);
}

.reveal-on-scroll:not(.scroll-reveal-left):not(.scroll-reveal-right) {
    transform: translateY(40px);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translate(0, 0) !important;
}

/* Hero Stagger Fades */
.reveal-delay-1 { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-delay-2 { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; opacity: 0; }
.reveal-delay-3 { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; opacity: 0; }
.reveal-delay-4 { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards; opacity: 0; }

/* ==========================================================================
   17. Keyframes
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollMouse {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    15% {
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 10px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

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

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flash {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px var(--crimson-accent); }
    50% { box-shadow: 0 0 15px var(--crimson-accent); }
    100% { box-shadow: 0 0 5px var(--crimson-accent); }
}

@keyframes ripplePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes simulatedFilmGrain {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-0.5%, 0.5%); }
    50% { transform: translate(0.5%, -0.5%); }
    75% { transform: translate(-0.5%, -0.5%); }
}

/* ==========================================================================
   18. Responsive Adaptation
   ========================================================================== */
@media (max-width: 1100px) {
    .grid-2col {
        gap: 40px;
    }
    .case-card-grid {
        grid-template-columns: 1fr;
    }
    .poster-wrapper {
        min-height: 400px;
    }
    .poster-overlay {
        background: linear-gradient(to top, rgba(12, 14, 18, 0.95) 0%, rgba(12, 14, 18, 0) 50%);
    }
    .case-details-area {
        padding: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-compliance {
        grid-column: span 2;
    }
}

@media (max-width: 868px) {
    .navbar {
        height: var(--header-height-shrink);
    }
    .nav-menu, .nav-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .grid-2col {
        grid-template-columns: 1fr;
    }
    .about-visual, .equipment-visual {
        order: -1;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .leader-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .leader-visual {
        order: -1;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-title {
        font-size: 3.25rem;
    }
    .py-section {
        padding: 80px 0;
    }
}

@media (max-width: 580px) {
    .container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .section-title {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 30px;
    }
    .case-credits-box {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .team-leader-card {
        padding: 30px;
    }
    .contact-form-panel {
        padding: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-compliance {
        grid-column: span 1;
    }
}
