[data-theme="dark"] {
    --color-bg: #0a0a0f;
    --color-bg-alt: #0e0e16;
    --color-surface: #14141e;
    --color-surface-light: #1a1a28;
    --color-text: #f0f0f5;
    --color-text-muted: #8a8a9a;
    --color-accent: #038184;
    --color-accent-light: #049a9e;
    --color-accent-dark: #025a5c;
    --color-accent-glow: rgba(3, 129, 132, 0.2);
    --color-accent-glow-strong: rgba(3, 129, 132, 0.4);
    --color-gold: #e8a835;
    --color-gold-dark: #c48a20;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-light: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

[data-theme="light"] {
    --color-bg: #f5f5f8;
    --color-bg-alt: #eeeef2;
    --color-surface: #ffffff;
    --color-surface-light: #f8f8fc;
    --color-text: #1a1a2e;
    --color-text-muted: #5a5a70;
    --color-accent: #038184;
    --color-accent-light: #02696c;
    --color-accent-dark: #025a5c;
    --color-accent-glow: rgba(3, 129, 132, 0.15);
    --color-accent-glow-strong: rgba(3, 129, 132, 0.3);
    --color-gold: #c48a20;
    --color-gold-dark: #a06e15;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-light: rgba(0, 0, 0, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    cursor: none;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

/* Background Canvas - full page persistent particles */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Per-section particle overlays */
.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--color-accent-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent-glow);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(5, 139, 148, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}

.cursor-dot.hovering {
    width: 10px;
    height: 10px;
    background: var(--color-accent-light);
    box-shadow: 0 0 15px var(--color-accent), 0 0 30px var(--color-accent-glow);
}

.cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--color-accent);
    background: rgba(5, 139, 148, 0.05);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.97);
    border-bottom: 1px solid var(--color-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

#navbar.hidden {
    transform: translateY(-100%);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-logo span {
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 4px;
    font-size: 0.85em;
    letter-spacing: 3px;
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent-glow);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-cta {
    background: var(--color-accent);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

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

.nav-cta:hover {
    background: var(--color-accent-light);
    box-shadow: 0 0 30px var(--color-accent-glow-strong);
}

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

#hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    will-change: opacity;
}

#hero-canvas-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 700px;
    padding-top: var(--nav-height);
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent-glow);
}

.tag-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(110%);
}

.title-line.accent {
    color: var(--color-accent-light);
    text-shadow: 0 0 40px var(--color-accent-glow);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-accent);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px var(--color-accent-glow), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--color-accent-glow-strong), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

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

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

/* Section Shared Styles */
.section {
    position: relative;
    padding: 160px 0;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--color-accent-glow);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 40px;
    max-width: 650px;
}

.section-title .accent {
    color: var(--color-accent-light);
    text-shadow: 0 0 20px var(--color-accent-glow);
}

/* About Section */
.about-section {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-accent-light);
    line-height: 1;
    text-shadow: 0 0 20px var(--color-accent-glow);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent-light);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

/* Services Section */
.services-section {
    background: var(--color-bg);
}

.services-header {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}

.service-card {
    perspective: 1000px;
}

.card-inner {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 44px;
    min-height: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
    transform-style: preserve-3d;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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

.service-card:hover .card-inner {
    border-color: rgba(5, 139, 148, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--color-accent-glow);
}

.card-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent-light);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--color-accent-glow));
}

.card-number {
    position: absolute;
    top: 28px;
    right: 32px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    opacity: 0.4;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    flex: 1;
}

/* Technology Section */
.tech-section {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

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

.tech-content {
    max-width: 600px;
}

.tech-content-full {
    max-width: 800px;
}

.tech-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-feature:hover {
    transform: translateX(6px);
    border-color: rgba(5, 139, 148, 0.3);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--color-accent);
}

/* MineStar Interactive Buttons */
.minestar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 24px;
}

.minestar-btn {
    padding: 12px 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.minestar-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent-glow);
    opacity: 0;
    transition: opacity 0.3s;
}

.minestar-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--color-accent-glow), 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.minestar-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 25px var(--color-accent-glow-strong), 0 4px 16px rgba(5, 139, 148, 0.3);
}

.minestar-btn.active::before {
    opacity: 0;
}

.minestar-detail {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px 28px;
    min-height: 80px;
    display: flex;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.minestar-detail:hover {
    border-color: rgba(5, 139, 148, 0.2);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.minestar-detail p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
    transition: opacity 0.3s;
}

/* Tech Visual - Animated Rings */
.tech-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.tech-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--color-border-light);
}

.ring-1 {
    width: 85%;
    height: 85%;
    animation: rotateSlow 25s linear infinite;
    border-color: rgba(5, 139, 148, 0.15);
    box-shadow: 0 0 30px var(--color-accent-glow), inset 0 0 30px var(--color-accent-glow);
}

.ring-2 {
    width: 60%;
    height: 60%;
    animation: rotateSlow 18s linear infinite reverse;
    border-color: rgba(5, 139, 148, 0.2);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.ring-3 {
    width: 35%;
    height: 35%;
    animation: rotateSlow 12s linear infinite;
    border-color: rgba(5, 139, 148, 0.35);
    box-shadow: 0 0 15px var(--color-accent-glow);
}

.tech-core {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-accent), 0 0 50px var(--color-accent-glow);
    animation: pulse 2s ease-in-out infinite;
}

.tech-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
}

.dot-1 {
    animation: orbit1 25s linear infinite;
}

.dot-2 {
    animation: orbit2 18s linear infinite reverse;
}

.dot-3 {
    animation: orbit3 12s linear infinite;
}

@keyframes orbit1 {
    from { transform: rotate(0deg) translateX(170px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(170px) rotate(-360deg); }
}

@keyframes orbit2 {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes orbit3 {
    from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.tech-bg-element {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--color-accent-glow);
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.4;
}

.tech-bg-element-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(5, 139, 148, 0.08);
    filter: blur(100px);
    pointer-events: none;
}

/* Sponsorships Section */
.sponsorships-section {
    background: var(--color-bg);
}

.sponsorships-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.sponsorships-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}


.sponsorships-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.timeline-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 36px;
    position: relative;
    transition: border-color 0.4s, box-shadow 0.4s;
}

.timeline-block:hover {
    border-color: rgba(5, 139, 148, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--color-accent-glow);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent-light);
    margin-bottom: 8px;
    text-shadow: 0 0 20px var(--color-accent-glow);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.timeline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-list li {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    padding-left: 18px;
    position: relative;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent);
}

.sponsorships-closing {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-bottom: 60px;
}

.sponsorships-gallery {
    margin-bottom: 80px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 24px;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-track img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 10px;
    border: none;
    background: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-track img:hover {
    transform: scale(1.06);
    z-index: 2;
    position: relative;
}

.sponsorships-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.sponsorships-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    position: relative;
}

.cta-tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-accent-light);
    position: relative;
    text-shadow: 0 0 10px var(--color-accent-glow);
}

/* Enquiry Form */
.enquiry-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-label .optional {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.6;
}

.form-input {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-input::placeholder {
    color: rgba(138, 138, 154, 0.5);
}

.form-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow), 0 0 20px var(--color-accent-glow);
}

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

.form-submit {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.form-status {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 20px;
}

.form-status.success {
    color: #4ade80;
}

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

/* Marquee Section */
.marquee-section {
    padding: 50px 0;
    background: transparent;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: -0.5px;
}

.marquee-dot {
    width: 6px !important;
    height: 6px;
    background: var(--color-accent) !important;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-accent);
    font-size: 0 !important;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

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

.contact-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
}

a.contact-value:hover {
    color: var(--color-accent-light);
    text-shadow: 0 0 10px var(--color-accent-glow);
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    padding: 12px 24px;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 4px;
    font-size: 0.85em;
    letter-spacing: 3px;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Loading Screen */
#loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.loader-logo {
    width: 200px;
    height: 50px;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(10px);
}

.loader-bar {
    width: 180px;
    height: 2px;
    background: var(--color-border-light);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.loader-text {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 8px;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    box-shadow: 0 0 15px var(--color-accent-glow);
}

/* Mobile Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.nav-backdrop.visible {
    opacity: 1;
    pointer-events: all;
}
@media (max-width: 768px) {
    .nav-backdrop { display: block; }
}

[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s, box-shadow 0.3s, border-color 0.3s;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    stroke: var(--color-border);
}

.progress-ring-fill {
    stroke: var(--color-accent);
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s;
}

.top-arrow {
    color: var(--color-text);
    position: relative;
}

/* Video Section */
.video-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.video-container {
    position: absolute;
    inset: 0;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        var(--color-bg) 0%,
        rgba(10, 10, 15, 0.4) 30%,
        rgba(10, 10, 15, 0.7) 100%
    );
}

[data-theme="light"] .video-overlay {
    background: linear-gradient(
        to bottom,
        var(--color-bg) 0%,
        rgba(245, 245, 248, 0.5) 30%,
        rgba(245, 245, 248, 0.85) 100%
    );
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.video-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.video-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Facility Experience */
.facility-hero-section {
    position: relative;
    padding: 0;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.facility-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.facility-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.facility-video-wrap iframe {
    width: 130%;
    height: 130%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.facility-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 8, 12, 0.2) 0%,
        rgba(8, 8, 12, 0.55) 40%,
        rgba(8, 8, 12, 0.92) 100%
    );
    pointer-events: all;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.6s ease;
}

.facility-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.facility-hero-section.video-active .facility-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

[data-theme="light"] .facility-overlay {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.5) 40%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

.facility-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 120px;
    padding-bottom: 100px;
    max-width: 720px;
    transition: opacity 0.6s ease;
}

.facility-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.facility-unmute {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 10;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.facility-unmute:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
    transform: scale(1.05);
}

.facility-unmute .unmute-icon {
    color: var(--color-text);
    transition: color 0.3s;
}

.facility-unmute.playing .unmute-icon {
    color: var(--color-accent);
}

.unmute-label {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.facility-unmute.playing .unmute-label {
    opacity: 0;
}

/* Facility Map */
.facility-map-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.facility-map {
    margin-top: 48px;
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 60px 40px;
    overflow: hidden;
}

.facility-map .map-outline {
    position: absolute;
    inset: 20px;
    border: 1px dashed rgba(5, 139, 148, 0.15);
    border-radius: 12px;
    pointer-events: none;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.map-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.map-zone:hover {
    background: rgba(5, 139, 148, 0.05);
    transform: translateY(-4px);
}

.zone-dot {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-accent), 0 0 24px var(--color-accent-glow);
    position: relative;
    z-index: 2;
}

.zone-pulse {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: zonePulse 2s ease-out infinite;
}

@keyframes zonePulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.4; }
    100% { transform: translateX(-50%) scale(3); opacity: 0; }
}

.zone-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.3px;
}

.zone-tooltip {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: var(--color-bg);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 0 20px var(--color-accent-glow);
    z-index: 10;
}

.map-zone:hover .zone-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(calc(100% - 4px));
}

/* Machinery Cards */
.facility-machinery-section {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

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

.machinery-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.5s;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.machinery-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: 0 0 30px var(--color-accent-glow), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.machinery-card .machinery-summary,
.machinery-card .machinery-detail {
    transition: opacity 0.4s ease;
}

.machinery-card .machinery-detail {
    position: absolute;
    opacity: 0;
}

.machinery-card .machinery-summary {
    opacity: 1;
}

.machinery-card:hover .machinery-detail {
    position: static;
    opacity: 1;
}

.machinery-card:hover .machinery-summary {
    position: absolute;
    opacity: 0;
}

.machinery-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.machinery-icon svg {
    width: 100%;
    height: 100%;
}

.machinery-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.machinery-summary {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.machinery-detail {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Testing Timeline */
.facility-timeline-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}

.timeline-track {
    position: absolute;
    top: 28px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.timeline-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-timeline.active .timeline-track::after {
    transform: scaleX(1);
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: border-color 0.5s, color 0.5s, box-shadow 0.5s, background 0.5s;
}

.timeline-step.lit .step-number {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
    background: rgba(5, 139, 148, 0.08);
}

.timeline-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 240px;
    margin: 0 auto;
}

/* Transport Section */
.facility-transport-section {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.transport-route {
    margin-top: 48px;
}

.route-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    padding: 32px 0;
}

.route-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.route-node span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.route-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    transition: all 0.3s;
}

.route-dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 16px var(--color-accent), 0 0 32px var(--color-accent-glow);
}

.route-line {
    flex: 1;
    max-width: 120px;
    height: 2px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.route-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: var(--color-accent);
    animation: routeFlow 2s linear infinite;
}

@keyframes routeFlow {
    0% { left: -60%; }
    100% { left: 100%; }
}

.transport-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.transport-tab {
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s;
}

.transport-tab:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 16px var(--color-accent-glow);
}

.transport-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 20px var(--color-accent-glow-strong);
}

.transport-detail {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px 24px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.transport-detail p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
    transition: opacity 0.3s;
}

/* Facility Stats */
.facility-stats-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.facility-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.facility-stat {
    text-align: center;
    padding: 32px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.facility-stat:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
    transform: translateY(-4px);
}

.facility-stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-accent);
    display: inline;
}

.facility-stat-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-left: 2px;
}

.facility-stat p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* Team Section */
.team-section {
    background: var(--color-bg);
    overflow: hidden;
}

.team-header {
    margin-bottom: 60px;
}

.team-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.team-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 28px;
}

.team-card {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s, opacity 0.4s;
    opacity: 0.6;
    transform: scale(0.92);
}

.team-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--color-accent);
    box-shadow: 0 0 30px var(--color-accent-glow), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.team-card:hover:not(.active) {
    opacity: 0.85;
    transform: scale(0.95);
}

.team-card .card-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-photo-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-text-muted);
    transition: border-color 0.4s;
}

.team-card.active .team-photo-placeholder {
    border-color: var(--color-accent);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 14px;
    display: block;
}

.team-bio {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}


/* Reveal Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 40px; }
    .hero-content { padding: 0 40px; padding-top: var(--nav-height); }
    .section-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .tech-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .nav-inner { padding: 0 40px; }
    .tech-visual { max-width: 300px; }
    .gallery-track { grid-template-columns: repeat(3, 1fr); }
    .team-card { min-width: 260px; max-width: 260px; }
    .sponsorships-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    [data-theme="dark"], [data-theme="light"] { --nav-height: 64px; }
    .container { padding: 0 24px; }
    .hero-content { padding: 0 24px; padding-top: var(--nav-height); max-width: 100%; }
    .nav-inner { padding: 0 24px; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: var(--color-bg);
        border-right: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 28px;
        transform: translateX(-100%);
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    }
    .nav-links.open {
        transform: translateX(0);
        pointer-events: all;
    }
    .nav-links .nav-link {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .nav-toggle { display: flex; }
    .section { padding: 80px 0; }
    .hero-section { min-height: 100svh; }
    .hero-title { letter-spacing: -1px; font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-cta { flex-direction: column; gap: 12px; align-items: flex-start; }
    .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; text-align: center; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .tech-features { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; gap: 24px; }
    .scroll-indicator { display: none; }
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
    .tech-visual { display: none; }
    .gallery-track { grid-template-columns: repeat(2, 1fr); }
    .gallery-track img { height: 140px; }
    .sponsorships-cta { padding: 40px 24px; }
    .enquiry-form { padding: 28px; }
    .team-card { min-width: 240px; max-width: 240px; }
    .team-carousel { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding: 20px 24px; }
    .team-carousel-track { transform: none !important; transition: none; }
    .team-card { scroll-snap-align: start; }
    .video-section { min-height: 50vh; }
    .facility-hero-section { min-height: 60vh; }
    .facility-content { padding-top: 80px; padding-bottom: 60px; }
    .facility-unmute { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    .map-grid { grid-template-columns: 1fr; gap: 20px; }
    .zone-tooltip { white-space: normal; min-width: 200px; }
    .machinery-grid { grid-template-columns: 1fr 1fr; }
    .process-timeline { grid-template-columns: 1fr; gap: 32px; }
    .timeline-track { display: none; }
    .route-visual { flex-direction: column; gap: 12px; }
    .route-line { width: 2px; height: 40px; max-width: none; }
    .route-line::after { animation: routeFlowV 2s linear infinite; }
    .facility-stats-grid { grid-template-columns: 1fr 1fr; }
    .minestar-grid { gap: 8px; flex-wrap: wrap; justify-content: center; }
    .minestar-btn { padding: 10px 16px; font-size: 0.8rem; }
    .back-to-top { bottom: 20px; right: 20px; }
    .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .sponsorships-timeline { gap: 40px; }
    .timeline-block { padding: 24px; }
    .contact-info { gap: 16px; }
    .transport-tabs { flex-wrap: wrap; gap: 8px; }
    .transport-tab { font-size: 0.75rem; padding: 8px 14px; }
    #hero-canvas-container { opacity: 0.5; }
    .team-carousel::-webkit-scrollbar { display: none; }
    .team-carousel { scrollbar-width: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: clamp(1.8rem, 9vw, 2.8rem); }
    .machinery-grid { grid-template-columns: 1fr; }
    .facility-stats-grid { grid-template-columns: 1fr; }
    .gallery-track { grid-template-columns: 1fr; }
    .gallery-track img { height: 180px; }
    .minestar-grid { gap: 6px; }
    .minestar-btn { padding: 8px 12px; font-size: 0.72rem; }
    .team-card { min-width: 220px; max-width: 220px; }
}

/* ═══════════════════════════════════════════════════════════
   Site Model Section
═══════════════════════════════════════════════════════════ */
.site-model-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 0;
    overflow: hidden;
}
.site-model-header {
    margin-bottom: 40px;
}
.site-model-canvas {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: grab;
    border: 1px solid rgba(3,129,132,0.15);
    box-shadow: 0 0 60px rgba(3,129,132,0.08), 0 20px 60px rgba(0,0,0,0.4);
}
.site-model-canvas:active {
    cursor: grabbing;
}
.site-model-canvas canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.site-model-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    pointer-events: none;
    z-index: 5;
}
.site-model-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    opacity: 0.6;
    animation: hintPulse 3s ease-in-out infinite;
}
@keyframes hintPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.site-model-scale {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}
.scale-bar {
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    position: relative;
}
.scale-bar::before, .scale-bar::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 8px;
    top: -3px;
    background: var(--color-accent);
}
.scale-bar::before { left: 0; }
.scale-bar::after { right: 0; }
.site-model-compass {
    opacity: 0.7;
}
@media (max-width: 768px) {
    .site-model-canvas {
        height: 50vh;
        min-height: 300px;
        border-radius: 8px;
    }
    .site-model-overlay {
        bottom: 12px;
        right: 12px;
        gap: 10px;
    }
    .site-model-hint {
        display: none;
    }
}
