/* Feagine 擎羽 Website Styles */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-blue: #0B61FF;
    --carbon-grey: #121826;
    --pure-white: #FFFFFF;
    --light-grey: #F3F4F6;
    --medium-grey: #9CA3AF;
    --dark-grey: #374151;
    --text-grey: #6B7280;
    
    /* Typography */
    --font-inter: 'Inter', sans-serif;
    --font-noto: 'Noto Sans SC', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --mobile-section-padding: 60px 0;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: var(--carbon-grey);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

/* Chinese text styling */
[lang="zh"], .chinese-text {
    font-family: var(--font-noto);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--carbon-grey);
    position: relative;
    overflow: visible;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--medium-grey));
    border-radius: 2px;
}

#what .section-title,
#why .section-title,
#how .section-title {
    text-align: left;
}

#what .section-title::after,
#why .section-title::after,
#how .section-title::after {
    left: 0;
    transform: none;
}

/* Remove underline for About section titles */
#what .section-title::after,
#why .section-title::after,
#how .section-title::after {
    content: none;
    display: none;
}

#what .section-title.glow-title,
#why .section-title.glow-title,
#how .section-title.glow-title {
    text-shadow: none;
}

#what .section-title.glow-title::before,
#why .section-title.glow-title::before,
#how .section-title.glow-title::before {
    display: none;
}

#what .section-title.glow-title::after,
#why .section-title.glow-title::after,
#how .section-title.glow-title::after {
    box-shadow: none;
}

.section-title .section-desc {
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 1.2rem;
    color: var(--text-grey);
    text-align: right;
    max-width: 50%;
    width: auto;
    white-space: normal;
    line-height: 1.4;
}

.section-title .i18n {
    display: inline-block;
    vertical-align: baseline;
    line-height: 1.2;
    white-space: nowrap;
}

html[lang="cn"] .section-title .i18n {
    max-width: calc(100% - 1.2em);
    overflow: hidden;
}

.section-title .cn-tail {
    display: inline-block;
    margin-left: 0.05em;
    color: #0b61ff;
    vertical-align: baseline;
    line-height: 1;
    position: relative;
    top: -0.24em;
    white-space: nowrap;
}

html[lang="en"] .section-title .cn-tail {
    display: none;
}

html[lang="en"] .section-title .i18n {
    color: var(--carbon-grey);
    line-height: 1.2;
}

@supports (-webkit-background-clip: text) {
    html[lang="en"] .section-title .i18n {
        background: linear-gradient(90deg, #4da3ff, #0b61ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
    html[lang="cn"] .section-title .cn-tail {
        background: linear-gradient(90deg, #4da3ff, #0b61ff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-align: center;
    min-width: 140px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(11, 97, 255, 0.2);
    color: var(--pure-white);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: rgba(11, 97, 255, 0.3);
    color: var(--pure-white);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 97, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--pure-white);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Cookie Consent Bar */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--carbon-grey);
    color: var(--pure-white);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 20px 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease,
                backdrop-filter 0.3s ease;
    transform: translateY(0);
    will-change: transform;
}

.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.navbar.hidden {
    transform: translateY(-120px);
    opacity: 0;
}

.navbar.hidden .nav-logo {
    transform: translateY(-120px);
    opacity: 0;
}

.navbar.hidden .nav-menu {
    transform: translateY(-120px);
    opacity: 0;
}

.navbar.hidden .nav-toggle {
    transform: translateY(-120px);
    opacity: 0;
}

.nav-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--pure-white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 1001;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
}

.nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 
                 0 1px 2px rgba(0, 0, 0, 0.9),
                 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.nav-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 1001;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
}

.nav-link {
    text-decoration: none;
    color: var(--pure-white);
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 
                 0 1px 2px rgba(0, 0, 0, 0.9),
                 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.nav-link:hover {
    color: var(--primary-blue);
    text-shadow: 0 2px 8px rgba(11, 97, 255, 0.6),
                 0 1px 2px rgba(0, 0, 0, 0.9),
                 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-fast);
}

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

.lang-toggle {
    background: rgba(11, 97, 255, 0.2);
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-toggle:hover {
    background: rgba(11, 97, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(11, 97, 255, 0.3);
}

.nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1002;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--pure-white);
    transition: var(--transition-fast);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 24, 38, 0.8), rgba(11, 97, 255, 0.4));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--pure-white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    font-family: var(--font-noto);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 120px 0 80px 0;
    background: var(--light-grey);
}

/* 仅将“大有可为”区域下移一些 */
#what.about {
    padding-top: 850px;
}

/* 将所有About板块整体下移200px */
#what.about,
#why.about,
#how.about {
    margin-top: 0px;
}

/* 将section-desc也下移200px以保持一致 */
#what .section-title .section-desc,
#why .section-title .section-desc,
#how .section-title .section-desc {
    bottom: -120px; /* 原位置-20px + 200px下移 */
}

/* 将卡片网格也下移200px以保持一致 */
#what .about-grid,
#why .about-grid,
#how .about-grid {
    margin-top: calc(2rem + 160px); /* 原2rem + 200px下移 */
}

/* 将section标题也下移200px以保持一致 */
#what .section-title,
#why .section-title,
#how .section-title {
    margin-bottom: calc(3rem + 160px); /* 原3rem + 200px下移 */
}

/* 提升三个关键标题（有何可为/为何有为/何以为之）的文字可读性光效 */
.section-title.glow-title {
    color: var(--carbon-grey);
    text-shadow:
        0 2px 6px rgba(255, 255, 255, 0.6),
        0 0 12px rgba(11, 97, 255, 0.35),
        0 0 24px rgba(11, 97, 255, 0.25);
    position: relative;
}

.section-title.glow-title::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    width: 220px;
    height: 80px;
    background: radial-gradient(ellipse at center,
        rgba(11, 97, 255, 0.18) 0%,
        rgba(11, 97, 255, 0.08) 50%,
        rgba(11, 97, 255, 0) 70%);
    filter: blur(12px);
    pointer-events: none;
}

.section-title.glow-title::after {
    /* 保留原有下划线，但加一点亮度 */
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--medium-grey));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(11, 97, 255, 0.35);
}

/* 在深色/视频背景叠加时进一步增强可读性 */
.glow-contrast {
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.65),
        0 0 14px rgba(11, 97, 255, 0.45),
        0 0 28px rgba(11, 97, 255, 0.35);
}

/* Removed custom About section title styling to match Top Partners */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 2rem;
}

.about-card {
    background: var(--pure-white);
    padding: 0;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 320px;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(18,24,38,0.65) 90%);
    z-index: 1;
    pointer-events: none;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--medium-grey));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
}

.about-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--pure-white);
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 0;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.about-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* Video cards in About section */
.about-grid .video-card {
    position: relative;
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.about-grid .video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-grid .video-card h3 {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pure-white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.about-grid .video-card p {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 0;
    margin: 0;
    color: var(--pure-white);
    line-height: 1.4;
    font-size: 1rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.about-grid .video-wrapper {
    height: 320px;
}

.about-grid .video-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(18,24,38,0.65) 90%);
    z-index: 1;
    pointer-events: none;
}

/* Products Section: removed */

/* Product card styles: removed */

/* Swiper customization: removed */

/* Videos Section */
.videos {
    padding: var(--section-padding);
    background: var(--light-grey);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.video-card {
    background: var(--pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--carbon-grey);
}

.video-card p {
    padding: 0 20px 20px;
    color: var(--text-grey);
    line-height: 1.5;
}

/* Technical Specifications Section */
.specs {
    padding: var(--section-padding);
}

.specs-table-container {
    max-width: 900px;
    margin: 0 auto;
}

.specs-toggle {
    width: 100%;
    background: var(--primary-blue);
    color: var(--pure-white);
    border: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
}

.specs-toggle:hover {
    background: var(--carbon-grey);
    transform: translateY(-2px);
}

.toggle-icon {
    transition: var(--transition-smooth);
}

.specs-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.specs-table {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.specs-table.show {
    max-height: 500px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.specs-table th {
    background: var(--light-grey);
    font-weight: 600;
    color: var(--carbon-grey);
}

.specs-table td {
    color: var(--text-grey);
}

.specs-table tr:hover {
    background: rgba(11, 97, 255, 0.05);
}

/* Clients Section */
.clients {
    padding: var(--section-padding);
    background: var(--light-grey);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.client-logo {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
    filter: grayscale(0%);
    transition: var(--transition-fast);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

.client-name {
    font-weight: 600;
    color: var(--carbon-grey);
    display: block;
    text-align: center;
    margin: 0 auto;
}


/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--light-grey);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 2rem;
    align-items: start;
}

.contact-map {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.world-map-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.world-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.location-marker {
    position: absolute;
    z-index: 10;
}

.marker-pulse {
    width: 3px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.marker-pulse::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.25;
    animation: pulse-ring 2s infinite;
}

.marker-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 24, 38, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

.shenzhen-marker {
    top: 51.1%;
    left: 79.6%;
}

.hongkong-marker {
    top: 52.4%;
    left: 79.8%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.contact-form-container {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-group label {
    font-weight: 500;
    color: var(--carbon-grey);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(11, 97, 255, 0.1);
}

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

/* Footer */
.footer {
    background: var(--carbon-grey);
    color: var(--pure-white);
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--medium-grey);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--medium-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-grey);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal p {
    color: var(--medium-grey);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--medium-grey);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-main {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--mobile-section-padding);
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(18, 24, 38, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition-smooth);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu .nav-link {
        color: var(--pure-white);
        font-size: 1.1rem;
        margin: 10px 0;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 
                     0 1px 2px rgba(0, 0, 0, 0.9),
                     1px 1px 3px rgba(0, 0, 0, 0.7);
    }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section-title {
        font-size: 2rem;
    }

    .section-title .section-desc {
        position: static;
        display: block;
        margin-top: 8px;
        text-align: right;
        font-size: 0.9rem;
        max-width: 100%;
        width: auto;
    }
    
    /* Removed mobile-specific About title overrides to use default .section-title */
    
    .hero-main {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        margin: 0;
        margin-top: 20px;
    }
    
    .timeline-date {
        left: 20px;
        transform: translateX(-50%);
        position: absolute;
        top: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-main {
        font-size: 2rem;
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Removed extra small breakpoint overrides for About title */
    
    .product-specs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Loading and Animation States */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cookie-consent,
    .hero-video {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: var(--carbon-grey);
    }
}

/* Hide native volume/mute controls on WebKit browsers */
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-control-container,
video::-webkit-media-controls-volume-control {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}
