:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-elevated: #1d1d1f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-muted: #6e6e73;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --accent-glow: rgba(0, 113, 227, 0.35);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --nav-height: 52px;
    --section-pad: clamp(80px, 12vw, 140px);
    --radius: 18px;
    --radius-sm: 12px;
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Tesla-style minimal scrollbar globally */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Light theme scrollbar overrides */
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-elevated: #e8e8ed;
    --bg-card: rgba(0, 0, 0, 0.03);
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-muted: #86868b;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --accent-glow: rgba(0, 113, 227, 0.15);
}

[data-theme="light"] .tech-hero {
    background: radial-gradient(ellipse at 50% 0%, #dbeafe 0%, #f5f5f7 60%);
}

[data-theme="light"] .tech-headline {
    background: linear-gradient(180deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .page-banner {
    background: radial-gradient(ellipse at 50% 0%, #dbeafe 0%, #f5f5f7 70%);
}

[data-theme="light"] .page-banner h1,
[data-theme="light"] .page-banner p {
    color: #1d1d1f;
}

[data-theme="light"] .tech-btn-ghost {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

[data-theme="light"] .tech-btn-ghost:hover {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tech-nav.scrolled,
[data-theme="light"] .page-inner .tech-nav {
    background: rgba(245, 245, 247, 0.8);
}

[data-theme="light"] .tech-contact-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.005) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .tech-contact-card::before {
    background: radial-gradient(circle at 75% 25%, rgba(0, 113, 227, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .card-contact-icon {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .card-qrcode-frame {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

[data-theme="light"] .card-qrcode-placeholder {
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Navigation ── */
.tech-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.tech-nav.scrolled {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--border);
}

.page-inner .tech-nav {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--border);
}

.tech-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tech-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.tech-nav-brand .nav-logo {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-nav-brand:hover .nav-logo {
    transform: scale(1.05);
}

.tech-nav-brand:hover {
    color: var(--text-primary);
}

.tech-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tech-nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.tech-nav-links a:hover,
.tech-nav-links a.active {
    color: var(--text-primary);
}

.tech-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* ── Hero (Home) ── */
.tech-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, #0d1b2a 0%, #000 60%);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tech-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    max-width: 980px;
}

.tech-headline {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0 0 1.25rem;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-subheadline {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0 0 2.5rem;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.tech-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: -0.01em;
}

.tech-btn:hover {
    transform: scale(1.04);
}

.tech-btn-primary {
    background: var(--accent);
    color: #fff;
}

.tech-btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    box-shadow: 0 0 30px var(--accent-glow);
}

.tech-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.tech-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
}

.tech-btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.tech-btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.tech-btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.25rem;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ── */
.page-main {
    padding-top: 0;
}

.page-inner .page-main {
    padding-top: var(--nav-height);
}

.tech-section {
    padding: var(--section-pad) 0;
    position: relative;
}

.tech-section-dark {
    background: var(--bg-primary);
}

.tech-section-light {
    background: var(--bg-secondary);
}

.tech-section-elevated {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tech-section-header {
    text-align: center;
    margin-bottom: clamp(48px, 8vw, 80px);
}

.tech-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tech-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.tech-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── About split ── */
.tech-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.tech-split-text .tech-lead {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tech-glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 40px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tech-glass-card h5 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}

.tech-glass-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ── Advantage cards ── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 36px);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 113, 227, 0.08);
}

.tech-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(0, 113, 227, 0.05));
    border: 1px solid rgba(0, 113, 227, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.tech-card h5,
.tech-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── Product cards ── */
.tech-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.tech-product-card {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.tech-product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.tech-product-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.tech-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tech-product-card:hover .tech-product-img img {
    transform: scale(1.06);
}

.tech-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #0a0a0a);
    color: var(--text-muted);
    font-size: 3rem;
}

.tech-product-body {
    padding: 24px 28px 28px;
}

.tech-product-body h5 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.tech-product-body p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.price-tag {
    color: var(--accent);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.tech-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tech-link:hover {
    gap: 8px;
}

.tech-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

/* ── News cards ── */
.tech-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.tech-news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-news-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.tech-news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tech-news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tech-news-body h5 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0.75rem 0;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.tech-news-body p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    flex: 1;
    margin: 0 0 1rem;
}

/* ── CTA strip ── */
.tech-cta-strip {
    padding: var(--section-pad) 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-cta-strip h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.tech-cta-strip p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0 0 2rem;
}

/* ── Stats row ── */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.tech-stat {
    text-align: center;
}

.tech-stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.tech-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
}

/* ── Inner page banner ── */
.page-banner {
    position: relative;
    padding: calc(var(--nav-height) + 60px) 0 60px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, #0d1b2a 0%, #000 70%);
    border-bottom: 1px solid var(--border);
}

.page-banner-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.page-banner .container,
.page-banner .tech-container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.page-banner p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.8125rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--text-muted);
}

/* ── Detail pages ── */
.detail-content {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.detail-content img {
    border-radius: var(--radius-sm);
}

.detail-img {
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.detail-img-placeholder {
    aspect-ratio: 4 / 3;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 4rem;
}

/* ── Forms ── */
.tech-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 40px);
    height: 100%;
}

.tech-form-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.tech-form-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-form-card p i {
    color: var(--accent);
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: rgba(52, 199, 89, 0.12);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #34c759;
}

.alert-danger {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 24px;
    font-size: 1.0625rem;
}

.tech-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tech-form-grid .span-2 {
    grid-column: span 2;
}

.tech-section-action {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 575px) {
    .tech-form-grid {
        grid-template-columns: 1fr;
    }

    .tech-form-grid .span-2 {
        grid-column: span 1;
    }
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: clamp(48px, 8vw, 80px) 0 32px;
    margin-top: 0;
}

.site-footer h5 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem;
    color: var(--text-primary);
}

.site-footer p,
.site-footer li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.site-footer a:hover {
    color: var(--text-primary);
}

.site-footer hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 48px 0 24px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .tech-nav-toggle {
        display: block;
    }

    .tech-nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
    }

    .tech-nav-links.open {
        display: flex;
    }

    .tech-nav-links li {
        width: 100%;
    }

    .tech-nav-links a {
        display: block;
        padding: 0.875rem 24px;
        font-size: 1rem;
    }

    .tech-split {
        grid-template-columns: 1fr;
    }

    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 575px) {
    .tech-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tech-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .scroll-indicator {
        animation: none;
    }
}

/* ── Corporate Contact Card ── */
.tech-contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tech-contact-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 75% 25%, rgba(0, 113, 227, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.tech-contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.3);
    box-shadow: 0 40px 100px rgba(0, 113, 227, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-header-brand {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.5rem;
}

.card-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.card-brand-slogan {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-tag {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.2);
    padding: 4px 10px;
    border-radius: 980px;
    text-transform: uppercase;
}

.card-contact-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.card-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.card-contact-item:hover .card-contact-icon {
    background: rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.25);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 113, 227, 0.15);
}

.card-contact-info {
    display: flex;
    flex-direction: column;
}

.card-contact-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.card-contact-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.card-qrcode-section {
    position: relative;
    z-index: 1;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    margin-top: auto;
}

.card-qrcode-frame {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
    position: relative;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* Corner Brackets */
.card-qrcode-frame::before,
.card-qrcode-frame::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent);
    pointer-events: none;
    z-index: 2;
}
.card-qrcode-frame::before {
    top: 6px;
    left: 6px;
    border-right: none;
    border-bottom: none;
}
.card-qrcode-frame::after {
    bottom: 6px;
    right: 6px;
    border-left: none;
    border-top: none;
}

.card-qrcode-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(0.95) contrast(1.1);
}

.card-qrcode-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.card-qrcode-placeholder span {
    font-size: 0.625rem;
    margin-top: 4px;
}

.card-qrcode-scan-line {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f3ff, transparent);
    box-shadow: 0 0 6px #00f3ff;
    z-index: 3;
    pointer-events: none;
    animation: scan 3s ease-in-out infinite;
}

.card-qrcode-tip {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

@keyframes scan {
    0%, 100% { top: 8px; }
    50% { top: 130px; }
}

/* ── Business Service Cards ── */
.tech-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.tech-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 36px);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    backdrop-filter: blur(10px);
}

.tech-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.35);
    box-shadow: 0 30px 80px rgba(0, 113, 227, 0.15);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    pointer-events: none;
}

.tech-service-card:hover .service-card-bg {
    transform: scale(1.08);
    opacity: 0.25;
}

.service-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.tech-service-card:hover .service-card-icon {
    transform: scale(1.08);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.service-card-summary {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.service-card-action {
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.tech-service-card:hover .service-card-action {
    gap: 8px;
}

.service-card-action::after {
    content: "→";
}

[data-theme="light"] .tech-service-card {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.02) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .service-card-bg {
    opacity: 0.06;
}

[data-theme="light"] .tech-service-card:hover .service-card-bg {
    opacity: 0.12;
}

/* ── Payment收银台与回执 ── */
.pay-container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
}

.pay-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pay-header {
    text-align: center;
    padding: 35px 25px 25px;
    background: linear-gradient(180deg, rgba(0, 113, 227, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}

.pay-header.success {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, transparent 100%);
}

.pay-header.error {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, transparent 100%);
}

.pay-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.8rem;
    box-shadow: 0 8px 16px rgba(0, 113, 227, 0.1);
}

.pay-icon-wrapper.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.1);
}

.pay-icon-wrapper.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.1);
}

.pay-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.pay-header p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.pay-details {
    padding: 30px 25px 20px;
}

.detail-row {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-money {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
}

.detail-money.success {
    color: #10b981;
}

.detail-info-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-top: 20px;
}

[data-theme="light"] .detail-info-box {
    background: rgba(0, 0, 0, 0.015);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.info-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pay-form {
    padding: 0 25px 35px;
}

.form-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.pay-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.method-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: all 0.25s ease;
}

.method-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .method-card {
    background: #ffffff;
}

[data-theme="light"] .method-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.005);
}

.method-card input[type="radio"] {
    display: none;
}

.method-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-content i {
    font-size: 1.6rem;
}

.alipay-icon {
    color: #1677ff;
}

.wxpay-icon {
    color: #07c160;
}

.method-content span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.method-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: all 0.25s ease;
}

.method-card input[type="radio"]:checked ~ .method-checkbox {
    border-color: var(--primary);
    background: var(--primary);
}

.method-card input[type="radio"]:checked ~ .method-checkbox::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.method-card:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(0, 113, 227, 0.06);
    box-shadow: 0 0 15px rgba(0, 113, 227, 0.1);
}

.submit-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.25);
    transition: all 0.25s ease;
}

.submit-pay-btn:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.35);
}

.pay-error-box {
    text-align: center;
    padding: 30px;
    color: #ef4444;
}

.pay-error-box i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

