/* 
   AQuasar UK Ltd - Corporate Design System 
   Theme: Industrial Masterpiece / Engineering Luxury
*/

:root {
    /* Color Palette - Deep Industrial & Electric Energy */
    --color-primary-dark: #050C16;
    /* Void Black/Blue */
    --color-primary: #0B1C2D;
    /* Deep Navy */
    --color-secondary: #1E2A38;
    /* Gunmetal */
    --color-accent: #00E5FF;
    /* Cyber Blue (Brighter than before) */
    --color-accent-glow: rgba(0, 229, 255, 0.6);
    --color-white: #FFFFFF;
    --color-light-gray: #0B1C2D;
    /* Re-purposed to Dark Navy for compatibility */
    --color-text-main: #E0E6ED;
    /* Off-white for dark mode feel */
    --color-text-muted: #94A3B8;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Backgrounds */
    --bg-gradient-dark: 
        radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(0, 229, 255, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #030811 0%, #071930 50%, #0c2b54 100%);
    --glass-bg: rgba(11, 28, 45, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 80px;
    --container-width: 1400px;
    /* Wider for cinematic feel */
    --header-height: 90px;

    /* Effects */
    --shadow-glow: 0 0 20px var(--color-accent-glow);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --backdrop-blur: blur(12px);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient-dark) !important;
    color: var(--color-text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 800;
    /* Extra Bold */
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-accent {
    color: var(--color-accent);
    text-shadow: 0 0 10px var(--color-accent-glow);
}

.text-white {
    color: var(--color-white);
}

.bg-dark {
    background: var(--bg-gradient-dark);
}

.bg-black {
    background-color: #000;
}

/* Cinematic Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-primary-dark);
    box-shadow: 0 0 30px var(--color-accent-glow);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 12, 22, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid var(--glass-border);
}

.header.scrolled {
    height: 70px;
    background: rgba(5, 12, 22, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 2px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

.nav-toggle {
    display: none;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-white);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: var(--transition-fast);
    box-shadow: 0 0 10px var(--color-accent);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateY(-50%) scale(1);
}

/* Hero Section - The Masterpiece */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #050C16;
    overflow: hidden;
}

/* Tech Grid Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    animation: gridPulse 4s ease-in-out infinite alternate;
}

/* Video Background */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* filter: saturate(0) contrast(1.2) brightness(1.2); Removed to keep original color */
    transform: scale(1.1);
    /* Subtle zoom effect still applied to video container if desired, but better on video itself */
}

/* Fallback/Poster styling managed by video tag default, but we ensure it covers */
.hero-bg-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #050C16 90%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
}

.hero-supertext {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 4px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    display: block;
    font-weight: 700;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-white);
    opacity: 0.8;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    border-left: 2px solid var(--color-accent);
    padding-left: var(--spacing-md);
}

/* Glassmorphism Cards */
.values-section {
    position: relative;
    z-index: 10;
    margin-top: -100px;
}

.value-card {
    background: rgba(30, 42, 56, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-xl);
    border-radius: 0;
    /* Sharp Edges */
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 42, 56, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.card {
    background: rgba(30, 42, 56, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* HUD Badge System */
.hud-badge-container {
    height: 110px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hud-badge {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.02);
    border: 1px solid rgba(0, 229, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.value-card:hover .hud-badge {
    border-color: var(--color-accent);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.hud-badge .central-icon {
    font-size: 1.8rem;
    color: var(--color-text-main);
    z-index: 10;
    transition: all var(--transition-smooth);
}

.value-card:hover .central-icon {
    color: var(--color-accent);
    text-shadow: 0 0 10px var(--color-accent-glow);
    transform: scale(1.1);
}

/* Animations Keyframes */
@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes pulseOpacity {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes nodePulsate {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Safety Radar HUD */
.safety-radar .radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
    animation: rotateClockwise 3s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.safety-radar .radar-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.15);
    pointer-events: none;
}

.safety-radar .circle-1 {
    inset: 5px;
    animation: rotateCounterClockwise 20s linear infinite;
}

.safety-radar .circle-2 {
    inset: 15px;
    animation: rotateClockwise 12s linear infinite;
}

.safety-radar .circle-3 {
    inset: 25px;
    border-style: dotted;
    animation: rotateCounterClockwise 8s linear infinite;
}

.safety-radar .radar-ticks {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 2px dotted rgba(0, 229, 255, 0.08);
}

/* Global Compass HUD */
.global-compass .compass-dial {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    animation: rotateClockwise 15s linear infinite;
}

.global-compass .compass-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.1);
}

.global-compass .ring-1 {
    inset: 10px;
    animation: rotateCounterClockwise 10s linear infinite;
}

.global-compass .ring-2 {
    inset: 20px;
}

.global-compass .compass-coords {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    color: var(--color-accent);
    opacity: 0.5;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.value-card:hover .global-compass .compass-coords {
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.4);
}

/* Innovation Grid HUD */
.innovation-grid .circuit-grid {
    position: absolute;
    inset: 5px;
    background-image: 
        radial-gradient(rgba(0, 229, 255, 0.15) 1px, transparent 1px);
    background-size: 8px 8px;
    border-radius: 50%;
    opacity: 0.5;
}

.innovation-grid .pulse-node {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent);
    animation: nodePulsate 2s infinite ease-in-out;
}

.innovation-grid .node-1 {
    top: 25px;
    left: 20px;
    animation-delay: 0.2s;
}

.innovation-grid .node-2 {
    bottom: 25px;
    right: 20px;
    animation-delay: 0.8s;
}

.innovation-grid .node-3 {
    top: 30px;
    right: 25px;
    animation-delay: 1.4s;
}

.innovation-grid .circuit-trace {
    position: absolute;
    border: 1px solid rgba(0, 229, 255, 0.08);
    pointer-events: none;
}

.innovation-grid .trace-1 {
    width: 60%;
    height: 2px;
    top: 50%;
    left: 20%;
    border-top: 1px dashed rgba(0, 229, 255, 0.15);
    transform: translateY(-50%) rotate(-30deg);
}

/* Expanded Card Hover Elements */
.value-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: color var(--transition-fast);
}

.value-card:hover h3 {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color var(--transition-fast);
}

.value-card:hover p {
    color: var(--color-white);
}

/* Product Cards */
.product-card {
    background: rgba(30, 42, 56, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15);
    transform: translateY(-10px);
}

.product-image {
    height: 300px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.product-image img {
    opacity: 0.85;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
    opacity: 1;
    transform: scale(1.05);
}

.badge {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(30, 42, 56, 0.6);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.badge.zone1 {
    background: rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--color-accent);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.1);
}

.badge.zone2 {
    background: rgba(255, 179, 0, 0.15);
    border-color: rgba(255, 179, 0, 0.4);
    color: #FFB300;
    text-shadow: 0 0 8px rgba(255, 179, 0, 0.5);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.1);
}

/* Animations & Keyframes */
@keyframes gridPulse {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 0.6;
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes titleReveal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: titleReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Helper Grid & Flex */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Premium Form Design System */
.contact-form {
    background: rgba(30, 42, 56, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.9;
}

.form-control {
    width: 100%;
    background: rgba(5, 12, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-smooth);
}

.form-control:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(5, 12, 22, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(5, 12, 22, 0.8);
    box-shadow: 0 0 15px var(--color-accent-glow);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

.contact-info .mb-lg {
    margin-bottom: 35px;
}

.contact-info h4 {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-white);
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.mr-2 {
    margin-right: 8px;
}

/* Gallery Slider Showcase System */
.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius-md);
}

.slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.95) translateZ(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateZ(0);
    pointer-events: auto;
    z-index: 2;
}

.slider-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide.active img {
    transform: scale(1.02);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(30, 42, 56, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent-glow);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* Dots indicators */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent-glow);
    width: 20px;
    border-radius: 4px;
}

/* Spec Grid Showcase System */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: var(--spacing-lg);
}

.spec-card {
    background: rgba(30, 42, 56, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition-smooth);
}

.spec-card:hover {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(30, 42, 56, 0.5);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.08);
    transform: translateY(-2px);
}

.spec-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 255, 0.02);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all var(--transition-smooth);
    z-index: 2;
}

/* Outer Rotating Dotted Tech Ring */
.spec-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 229, 255, 0.25);
    animation: rotateClockwise 20s linear infinite;
    pointer-events: none;
    transition: all var(--transition-smooth);
}

/* Cardinals Crosshair Ticks */
.spec-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: 
        linear-gradient(to bottom, var(--color-accent) 4px, transparent 4px) no-repeat center top / 1px 100%,
        linear-gradient(to top, var(--color-accent) 4px, transparent 4px) no-repeat center bottom / 1px 100%,
        linear-gradient(to right, var(--color-accent) 4px, transparent 4px) no-repeat left center / 100% 1px,
        linear-gradient(to left, var(--color-accent) 4px, transparent 4px) no-repeat right center / 100% 1px;
    pointer-events: none;
    opacity: 0.4;
    transition: all var(--transition-smooth);
}

.spec-card:hover .spec-icon-wrapper {
    background: rgba(0, 229, 255, 0.12);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transform: scale(1.05);
}

.spec-card:hover .spec-icon-wrapper::before {
    border-color: var(--color-accent);
    animation-duration: 8s;
}

.spec-card:hover .spec-icon-wrapper::after {
    opacity: 1;
    transform: rotate(45deg);
}

.spec-card:hover .spec-icon-wrapper i {
    color: var(--color-white);
    text-shadow: 0 0 8px var(--color-accent-glow);
}

.spec-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-key {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.spec-card:hover .spec-key {
    color: var(--color-accent);
}

.spec-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for overrides */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content p {
        border-left: none;
        padding-left: 0;
        margin: 0 auto 30px;
    }

    .nav-toggle {
        display: block;
        color: var(--color-white);
        font-size: 1.8rem;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-primary-dark);
        flex-direction: column;
        padding: var(--spacing-xl);
        transform: translateX(100%);
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .values-section {
        margin-top: 0;
    }
}

/* Global Interactive Tech Filter System */
.filter-section {
    background: rgba(30, 42, 56, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    text-shadow: 0 0 10px var(--color-accent-glow);
    margin: 0;
}

#category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent-glow);
    transform: translateY(-1.5px);
    background: rgba(0, 229, 255, 0.03);
}

.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
    box-shadow: 0 0 18px var(--color-accent-glow);
    font-weight: 800;
}

.page-header {
    position: relative !important;
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #030811 0%, #071930 50%, #0c2b54 100%) !important;
    padding: 130px 0 90px !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
    z-index: 1;
}

/* Silicon Circuit Matrix Backdrop */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1440 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='glow' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%2300e5ff' stop-opacity='0.12'/%3E%3Cstop offset='100%25' stop-color='%23050c16' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23glow)'/%3E%3Cg stroke='rgba(0, 229, 255, 0.08)' stroke-width='1.2' fill='none'%3E%3Cpath d='M-100,50 L300,50 L400,150 L800,150 L850,100 L1200,100 L1250,150 L1600,150'/%3E%3Cpath d='M100,250 L400,250 L450,200 L700,200 L750,250 L1100,250 L1150,200 L1500,200'/%3E%3Cpath d='M-50,180 L200,180 L250,230 L550,230 L600,180 L950,180 L1000,130 L1400,130 L1450,180 L1650,180'/%3E%3Cpath d='M250,-50 L250,80 L320,150 L320,350'/%3E%3Cpath d='M1050,-50 L1050,120 L980,190 L980,350'/%3E%3Ccircle cx='300' cy='50' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='800' cy='150' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='1200' cy='100' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='400' cy='250' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='700' cy='200' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='1100' cy='250' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='200' cy='180' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='550' cy='230' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='950' cy='180' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3Ccircle cx='1400' cy='130' r='3.5' fill='%2300e5ff' fill-opacity='0.7' stroke='%2300e5ff' stroke-opacity='0.3' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: -2;
}

/* Pulsating Grid Overlay Layer */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    animation: gridPulse 5s ease-in-out infinite alternate;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Typography styles for page headers */
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--color-white) !important;
    margin-bottom: 15px !important;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.2) !important;
}

.page-header p {
    font-family: var(--font-body);
    font-size: 1.1rem !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--color-accent) !important;
    font-weight: 600 !important;
    max-width: 600px;
    margin: 0 auto !important;
    opacity: 0.85 !important;
}

/* Premium Cybernetic Footer System */
/* Premium Cybernetic Footer System */
.footer {
    background: 
        radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #030811 0%, #071930 50%, #0c2b54 100%) !important;
    position: relative !important;
    padding: 100px 0 40px !important;
    border-top: 2px solid rgba(0, 229, 255, 0.25) !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 1;
}

/* Silicon Circuit Matrix Backdrop for Footer */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg stroke='rgba(0, 229, 255, 0.05)' stroke-width='1' fill='none'%3E%3Cpath d='M-100,50 L400,50 L450,100 L900,100 L950,50 L1600,50'/%3E%3Cpath d='M100,300 L500,300 L550,250 L850,250 L900,300 L1500,300'/%3E%3Cpath d='M-50,200 L300,200 L350,250 L750,250 L800,200 L1200,200 L1250,150 L1650,150'/%3E%3Ccircle cx='400' cy='50' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3Ccircle cx='900' cy='100' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3Ccircle cx='500' cy='300' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3Ccircle cx='850' cy='250' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3Ccircle cx='300' cy='200' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3Ccircle cx='750' cy='250' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3Ccircle cx='1200' cy='200' r='2.5' fill='%2300e5ff' fill-opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    pointer-events: none;
    z-index: -2;
    opacity: 0.85;
}

/* Pulsating Grid Overlay Layer for Footer */
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    animation: footerGridPulse 6s ease-in-out infinite alternate;
}

@keyframes footerGridPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

/* Footer Column Styling */
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent-glow);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* List Links Interactive Glow */
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 0;
    transition: all var(--transition-smooth);
    display: inline-block;
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 8px var(--color-accent-glow);
    padding-left: 14px;
}

.footer-col ul li a:hover::before {
    transform: translateY(-50%) scale(1);
}

/* Glassmorphic Social Badge Grid */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.35);
    transform: translateY(-3px) rotate(8deg);
}

/* Bottom Copyright Section */
.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin: 0;
}

/* Premium Cybernetic Story Slider System */
.story-slider {
    width: 100%;
    height: 100%;
    min-height: 480px;
    position: relative;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.1);
    overflow: hidden;
    background: #030811;
}

.story-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.story-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transform: scale(0.95) translateY(15px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.story-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

/* Creative Zoom Shift Ken Burns Effect on Active Image */
.story-slide.active img {
    transform: scale(1.08) rotate(0.5deg);
}

/* Slide Glass Caption HUD style */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(3, 8, 17, 0.9) 0%, rgba(3, 8, 17, 0) 100%);
    padding: 50px 30px 35px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 229, 255, 0.4);
    transform: translateY(15px);
    filter: blur(5px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, 
                filter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, 
                opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                letter-spacing 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    z-index: 3;
    pointer-events: none;
    text-align: center;
}

.story-slide.active .slide-caption {
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: 2px;
    opacity: 1;
}

/* Dotted Corner Decorators for Slider HUD Frame */
.story-slider::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    pointer-events: none;
    z-index: 4;
}

.story-slider::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    pointer-events: none;
    z-index: 4;
}