/* ═══════════════════════════════════════════════════
   CSS VARIABLES — THEME SYSTEM
═══════════════════════════════════════════════════ */
:root {
    --transition-theme: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BRAND: #F5820A orange + #111 black ────────── */
/* DARK THEME — charcoal stage, orange flame */
[data-theme="dark"] {
    --bg-base: #0e0e0e;
    --bg-section: #161616;
    --bg-section2: #1c1c1c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(245, 130, 10, 0.07);
    --border: rgba(245, 130, 10, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --gold: #F5820A;
    --gold-light: #FFA040;
    --gold-glow: rgba(245, 130, 10, 0.14);
    --text-primary: #F2F2F0;
    --text-secondary: #9A9A8E;
    --text-muted: #555550;
    --nav-bg: rgba(14, 14, 14, 0.9);
    --hero-overlay: linear-gradient(to right, rgba(14, 14, 14, 0.94) 38%, rgba(14, 14, 14, 0.28) 100%);
    --grid-line: rgba(245, 130, 10, 0.05);
    --accent: #F5820A;
    --accent-rgb: 245, 130, 10;
    --band-overlay: rgba(14, 14, 14, 0.87);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.55);
    --noise-opacity: 0.025;
    --logo-bg: rgba(245, 130, 10, 0.08);
}

/* LIGHT THEME — warm ivory, brand orange, JP clean */
[data-theme="light"] {
    --bg-base: #F5F4F0;
    --bg-section: #FFFFFF;
    --bg-section2: #EDECE8;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: rgba(245, 130, 10, 0.05);
    --border: rgba(217, 106, 0, 0.25);
    --border-subtle: rgba(0, 0, 0, 0.07);
    --gold: #C96000;
    --gold-light: #F5820A;
    --gold-glow: rgba(245, 130, 10, 0.1);
    --text-primary: #111111;
    --text-secondary: #444440;
    --text-muted: #99998E;
    --nav-bg: rgba(245, 244, 240, 0.93);
    --hero-overlay: linear-gradient(to right, rgba(245, 244, 240, 0.97) 42%, rgba(245, 244, 240, 0.42) 100%);
    --grid-line: rgba(201, 96, 0, 0.07);
    --accent: #C96000;
    --accent-rgb: 201, 96, 0;
    --band-overlay: rgba(245, 244, 240, 0.9);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.09);
    --noise-opacity: 0.012;
    --logo-bg: rgba(245, 130, 10, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Noto Sans TC', 'Noto Sans JP', 'Inter', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    transition: background var(--transition-theme), color var(--transition-theme);
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity);
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════
   CURSOR — custom dot
═══════════════════════════════════════════════════ */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 16px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s, background var(--transition-theme), border-color var(--transition-theme);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-svg-wrap {
    display: flex;
    align-items: center;
    height: 30px;
    transition: transform 0.3s ease;
}

.logo-svg-wrap:hover {
    transform: scale(1.02);
}

.site-logo-svg {
    width: 140px;
    height: auto;
    display: block;
    color: var(--gold);
}

.logo-text .cn {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    transition: color var(--transition-theme);
}

.logo-text .en {
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    margin-top: 2px;
    transition: color var(--transition-theme);
}

/* RIGHT NAV CONTROLS */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

/* Controls */
.controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ctrl-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.ctrl-btn:hover {
    background: var(--gold-glow);
    color: var(--gold);
    border-color: var(--gold);
}

/* Theme toggle */
.theme-toggle {
    width: 42px;
    height: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 11px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition-theme);
}

.theme-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background var(--transition-theme);
}

[data-theme="light"] .theme-toggle-knob {
    transform: translateX(20px);
}

.theme-icon {
    font-size: 10px;
    position: absolute;
    top: 4px;
}

.theme-icon.moon {
    right: 5px;
    opacity: 0.4;
}

.theme-icon.sun {
    left: 5px;
    opacity: 0.4;
}

[data-theme="light"] .theme-icon.sun {
    opacity: 1;
}

[data-theme="dark"] .theme-icon.moon {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
#hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    background:
        var(--hero-overlay),
        url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?w=1600&q=80') center/cover no-repeat;
    transition: background var(--transition-theme);
    will-change: transform;
    z-index: 1;
}

/* Video Carousel Background */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.3s ease;
}

.hero-video.active {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 2;
}

/* Progress dots for video carousel */
.video-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.vdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vdot.active {
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--gold);
    border-color: var(--gold);
}

/* Animated grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-grid::before,
.hero-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 64px 64px;
    transition: background-image var(--transition-theme);
}

.hero-grid::after {
    background-size: 320px 320px;
    background-image:
        linear-gradient(rgba(var(--accent-rgb), 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px);
    animation: gridShift 8s linear infinite;
}

@keyframes gridShift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(64px, 64px);
    }
}

/* Floating particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    animation: floatParticle var(--dur, 6s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    30% {
        opacity: 0.5;
    }

    70% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-120px) scale(1.2);
    }
}

/* Glitch scan line */
.scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.4), transparent);
    animation: scanDown 4s linear infinite;
    pointer-events: none;
}

@keyframes scanDown {
    from {
        top: -2px;
        opacity: 1;
    }

    to {
        top: 100%;
        opacity: 0.2;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 56px;
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.1s ease forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

/* data-lang text switching */
/* 語言切換隱藏規則 */
[data-lang="en"] .zh,
[data-lang="en"] .jp-text {
    display: none !important;
}

[data-lang="zh"] .en-text,
[data-lang="zh"] .jp-text {
    display: none !important;
}

[data-lang="jp"] .zh,
[data-lang="jp"] .en-text {
    display: none !important;
}

.hero-title {
    font-size: clamp(40px, 5.8vw, 72px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeUp 0.8s 0.25s ease forwards;
}

/* Chinese title: Noto Sans TC Black */
[data-lang="zh"] .hero-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 900;
    letter-spacing: 4px;
}

/* Japanese title: Noto Sans JP Black */
[data-lang="jp"] .hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
}

/* English title: Barlow Condensed Heavy Italic — tall & compressed */
[data-lang="en"] .hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 1px;
    font-size: clamp(52px, 7.5vw, 96px);
    line-height: 1.05;
}

.hero-title .accent-line {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(13px, 1.6vw, 20px);
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 8px;
    font-style: normal;
    font-weight: 400;
}

.hero-tagline {
    margin-top: 22px;
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
    max-width: 500px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s ease forwards;
    transition: color var(--transition-theme);
}

.hero-divider {
    width: 0;
    height: 1.5px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 28px 0;
    animation: expandLine 1s 0.6s ease forwards;
}

@keyframes expandLine {
    to {
        width: 80px;
    }
}

.hero-stats {
    display: flex;
    gap: 52px;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s ease forwards;
}

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

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 46px;
    color: var(--gold-light);
    line-height: 1;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Hero bottom CTA */
.hero-cta {
    margin-top: 36px;
    opacity: 0;
    animation: fadeUp 0.8s 0.85s ease forwards;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 28px;
    font-size: 12px;
    letter-spacing: 3px;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.btn-outline:hover::before {
    transform: translateX(0);
}

.btn-outline:hover {
    color: var(--bg-base);
}

.btn-outline span {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.btn-outline:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 3px;
    animation: scrollBounce 2.5s infinite;
}

.scroll-bar {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-bar::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 1px;
    height: 50px;
    background: var(--bg-base);
    animation: scrollFill 1.8s infinite;
}

@keyframes scrollFill {
    to {
        top: 50px;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════════════════ */
section {
    padding: 110px 56px;
}

.section-label {
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color var(--transition-theme);
}

.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
    transition: background var(--transition-theme);
}

.section-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color var(--transition-theme);
}

.section-desc {
    font-size: 15px;
    line-height: 2.1;
    color: var(--text-secondary);
    transition: color var(--transition-theme);
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
#about {
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
    transition: background var(--transition-theme);
}

/* Kanji watermark */
#about .watermark {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 260px;
    font-weight: 700;
    color: rgba(var(--accent-rgb), 0.03);
    pointer-events: none;
    line-height: 1;
    user-select: none;
    transition: color var(--transition-theme);
}

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

.about-img-box {
    position: relative;
}

.about-company-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--border);
    display: block;
    transition: all var(--transition-theme);
}

.about-img-box::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px solid var(--gold);
    bottom: -16px;
    right: -16px;
    z-index: -1;
    transition: border-color var(--transition-theme);
}

.img-icon {
    font-size: 32px;
    opacity: 0.25;
    position: relative;
    z-index: 1;
}

.img-label {
    opacity: 0.4;
    position: relative;
    z-index: 1;
}

.about-body p {
    font-size: 15px;
    line-height: 2.3;
    color: var(--text-secondary);
    margin-bottom: 18px;
    transition: color var(--transition-theme);
}

.about-quote {
    color: var(--gold);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    border-left: 3px solid var(--gold);
    padding-left: 22px;
    margin: 28px 0;
    line-height: 1.8;
    transition: all var(--transition-theme);
}

/* ═══════════════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════════════ */
#products {
    background: var(--bg-base);
    transition: background var(--transition-theme);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 24px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 34px 26px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background 0.4s, border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    z-index: 2;
}

/* Animated corner bracket */
.product-card::before,
.product-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--gold);
    border-style: solid;
    opacity: 0;
    transition: opacity 0.4s, width 0.4s, height 0.4s;
}

.product-card::before {
    top: 10px;
    left: 10px;
    border-width: 1.5px 0 0 1.5px;
}

.product-card::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 1.5px 1.5px 0;
}

.product-card:hover::before,
.product-card:hover::after {
    opacity: 1;
    width: 18px;
    height: 18px;
}

.product-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    color: rgba(var(--accent-rgb), 0.1);
    line-height: 1;
    margin-bottom: 12px;
    transition: color 0.4s;
}

.product-card:hover .product-num {
    color: rgba(var(--accent-rgb), 0.22);
}

.product-icon {
    font-size: 26px;
    margin-bottom: 14px;
    display: block;
}

.product-name {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 9px;
    letter-spacing: 1px;
    transition: color var(--transition-theme);
}

.product-desc {
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-muted);
    transition: color var(--transition-theme);
}

/* Shimmer sweep on hover */
.product-card .shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(var(--accent-rgb), 0.06) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.0s;
}

.product-card:hover .shimmer {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

/* Bottom line */
.product-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.5s ease;
}

.product-card:hover .product-line {
    width: 100%;
}

/* ═══════════════════════════════════════════════════
   SERVICE BAND
═══════════════════════════════════════════════════ */
#service-band {
    padding: 110px 56px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to right, var(--band-overlay), var(--band-overlay)),
        url('https://images.unsplash.com/photo-1565688527171-f6efb1ef2c1c?w=1600&q=80') center/cover fixed;
    transition: background var(--transition-theme);
}

/* Animated diagonal stripes */
#service-band::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(-45deg,
            transparent, transparent 60px,
            rgba(var(--accent-rgb), 0.025) 60px, rgba(var(--accent-rgb), 0.025) 61px);
}

.band-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: 3px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: color var(--transition-theme);
}

.service-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.service-item {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    transition: background 0.35s, transform 0.35s;
}

.service-item:last-child {
    border-right: none;
}

.service-item:hover {
    background: rgba(var(--accent-rgb), 0.06);
    transform: translateY(-6px);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: border-color 0.3s, background 0.3s;
    background: var(--bg-card);
}

.service-item:hover .service-icon-wrap {
    border-color: var(--gold);
    background: var(--gold-glow);
}

.service-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 2px;
    transition: color var(--transition-theme);
}

.service-sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    transition: color var(--transition-theme);
}

/* ═══════════════════════════════════════════════════
   FUTURE
═══════════════════════════════════════════════════ */
#future {
    background: var(--bg-section2);
    position: relative;
    overflow: hidden;
    transition: background var(--transition-theme);
}

#future::after {
    content: 'AI';
    font-family: 'Bebas Neue', sans-serif;
    font-size: 340px;
    color: rgba(var(--accent-rgb), 0.03);
    position: absolute;
    right: -20px;
    bottom: -80px;
    pointer-events: none;
    line-height: 1;
}

.future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.future-img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-section2));
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-theme);
}

.future-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb), 0.1), transparent 70%);
}

.future-img-placeholder .img-icon {
    font-size: 52px;
    opacity: 0.2;
    z-index: 1;
}

.future-img-placeholder .img-label {
    z-index: 1;
}

.future-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Animated border on future image */
.future-img-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.future-img-border::before,
.future-img-border::after {
    content: '';
    position: absolute;
    border: 1px solid var(--gold);
    transition: border-color var(--transition-theme);
}

.future-img-border::before {
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    animation: borderPulse 3s ease-in-out infinite;
}

.future-img-border::after {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    animation: borderPulse 3s 1.5s ease-in-out infinite;
}

@keyframes borderPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.future-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tag {
    border: 1px solid var(--border);
    padding: 6px 16px;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    background: var(--gold-glow);
    transition: all 0.3s, border-color var(--transition-theme);
    cursor: default;
}

.tag:hover {
    background: rgba(var(--accent-rgb), 0.15);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
#contact {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    transition: background var(--transition-theme);
}

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

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: border-color var(--transition-theme);
}

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

.contact-icon-box {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: var(--gold-glow);
    transition: all var(--transition-theme);
}

.contact-label {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 4px;
    transition: color var(--transition-theme);
}

.contact-val {
    font-size: 15px;
    color: var(--text-primary);
    letter-spacing: 1px;
    transition: color var(--transition-theme);
}

.contact-val a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-val a:hover {
    color: var(--gold);
}

.map-box {
    width: 100%;
    height: 380px;
    background: var(--bg-section2);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-theme);
}

.map-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.05);
}

[data-theme="light"] .map-box iframe {
    filter: none;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
    background: var(--bg-base);
    padding: 36px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
    transition: background var(--transition-theme), border-color var(--transition-theme);
}

.footer-logo-box {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(var(--accent-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    color: var(--gold);
}

.footer-name {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    transition: color var(--transition-theme);
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: color var(--transition-theme);
}

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

.footer-links a {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

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

/* ═══════════════════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════════════════ */
.float-buttons {
    position: fixed;
    right: 22px;
    bottom: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.float-btn .tip {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-section2);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: 1px;
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background var(--transition-theme);
    font-family: 'Inter', sans-serif;
}

.float-btn:hover .tip {
    opacity: 1;
}

.float-fb {
    background: #1877F2;
    color: #fff;
}

.float-line {
    background: #00C300;
    color: #fff;
}

.float-tel {
    background: var(--gold);
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ═══════════════════════════════════════════════════
   PROGRESS LINE (top)
═══════════════════════════════════════════════════ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(to right, var(--gold), rgba(var(--accent-rgb), 0.4));
    z-index: 9999;
    transition: background var(--transition-theme);
}

/* ═══════════════════════════════════════════════════
   SECTION TRANSITION LINES
═══════════════════════════════════════════════════ */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ═══════════════════════════════════════════════════
   LIGHT MODE HERO ADAPTATION
═══════════════════════════════════════════════════ */
[data-theme="light"] .hero-title {
    text-shadow: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 992px) {
    header {
        padding: 12px 24px;
    }

    .nav-right {
        gap: 20px;
    }

    nav {
        display: none;
    }

    .about-grid,
    .future-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .stat-num {
        font-size: 32px;
    }

    section {
        padding: 80px 24px;
    }

    footer {
        padding: 32px 24px;
        flex-direction: column;
        text-align: center;
    }
}