/* ============================================
   Theme8 — Neon Aurora (霓虹极光)
   Dark mode + Gradient mesh + Neon glow + 3D cards
   ============================================ */

/* --- CSS Custom Properties (5-channel color system) --- */
:root {
    /* Primary gradient */
    --t8-grad-primary-1: #6366F1;
    --t8-grad-primary-2: #8B5CF6;
    --t8-gradient-primary: linear-gradient(135deg, var(--t8-grad-primary-1), var(--t8-grad-primary-2));

    /* Secondary gradient */
    --t8-grad-secondary-1: #EC4899;
    --t8-grad-secondary-2: #F43F5E;
    --t8-gradient-secondary: linear-gradient(135deg, var(--t8-grad-secondary-1), var(--t8-grad-secondary-2));

    /* Accent */
    --t8-accent: #22D3EE;
    --t8-accent-dark: #06B6D4;

    /* Glow (neon effects) */
    --t8-glow: #A78BFA;
    --t8-glow-rgb: 167, 139, 250;

    /* Surfaces / backgrounds */
    --t8-bg-body: #0a0a1a;
    --t8-bg-surface-1: #111128;
    --t8-bg-surface-2: #1a1a3e;
    --t8-bg-surface-3: #0d0d24;
    --t8-bg-hero: linear-gradient(160deg, #0a0a1a 0%, #1a103a 40%, #0d1a2e 70%, #0a0a1a 100%);

    /* Text */
    --t8-text: #e2e8f0;
    --t8-text-secondary: #94a3b8;
    --t8-text-on-gradient: #ffffff;

    /* Borders / shadows */
    --t8-border: rgba(255, 255, 255, 0.08);
    --t8-border-glow: rgba(var(--t8-glow-rgb), 0.3);
    --t8-shadow-glow: 0 0 20px rgba(var(--t8-glow-rgb), 0.15);
    --t8-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --t8-shadow-card-hover: 0 16px 48px rgba(var(--t8-glow-rgb), 0.2);

    /* Geometry */
    --t8-radius: 12px;
    --t8-radius-lg: 20px;
    --t8-radius-pill: 50px;
    --t8-header-h: 68px;
    --t8-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* --- @keyframes Animations --- */

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(var(--t8-glow-rgb), 0.1); }
    50% { box-shadow: 0 0 30px rgba(var(--t8-glow-rgb), 0.25); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    97% { opacity: 1; }
}

/* --- Reset & Base --- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--t8-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--t8-text);
    background: var(--t8-bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--t8-accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--t8-accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout --- */

.t8-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */

.t8-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--t8-header-h);
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--t8-border);
    transition: background 0.3s, box-shadow 0.3s;
}

.t8-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--t8-grad-primary-1), var(--t8-grad-secondary-1), var(--t8-accent), var(--t8-grad-primary-1));
    background-size: 200% 100%;
    animation: gradientShift 6s ease infinite;
}

.t8-header-solid {
    background: rgba(10, 10, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.t8-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.t8-logo {
    font-size: 20px;
    font-weight: 700;
    background: var(--t8-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t8-logo:hover {
    opacity: 0.85;
}

/* --- Navigation --- */

.t8-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.t8-nav a {
    position: relative;
    color: var(--t8-text-secondary);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--t8-radius);
    transition: color 0.3s, background 0.3s;
}

.t8-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--t8-gradient-primary);
    border-radius: 1px;
    transition: width 0.3s, left 0.3s;
}

.t8-nav a:hover {
    color: var(--t8-text);
    background: rgba(255, 255, 255, 0.05);
}

.t8-nav a:hover::after {
    width: 60%;
    left: 20%;
}

.t8-nav a.active {
    color: var(--t8-text-on-gradient);
    background: rgba(var(--t8-glow-rgb), 0.15);
}

.t8-nav a.active::after {
    width: 60%;
    left: 20%;
    background: var(--t8-gradient-primary);
}

/* --- Mobile Menu (CSS-only checkbox hack) --- */

.t8-menu-toggle {
    display: none;
}

.t8-menu-btn {
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.t8-menu-btn span,
.t8-menu-btn span::before,
.t8-menu-btn span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--t8-text);
    border-radius: 2px;
    position: absolute;
    transition: all 0.35s ease;
}

.t8-menu-btn span {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.t8-menu-btn span::before {
    content: '';
    top: -7px;
}

.t8-menu-btn span::after {
    content: '';
    top: 7px;
}

/* --- Hero Section --- */

.t8-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--t8-header-h) + 60px) 20px 80px;
    background: var(--t8-bg-hero);
    overflow: hidden;
}

.t8-hero::before,
.t8-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.t8-hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--t8-grad-primary-1), transparent 70%);
    top: -10%;
    right: -5%;
}

.t8-hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--t8-grad-secondary-1), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: -4s;
}

.t8-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.t8-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--t8-text-on-gradient), var(--t8-accent), var(--t8-grad-primary-2));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.t8-hero-desc {
    font-size: 18px;
    color: var(--t8-text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.t8-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Hero Banner (multi-image mode) --- */

.t8-hero-banner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
}

.t8-hero-products {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.t8-hero-products a {
    position: relative;
    width: 180px;
    border-radius: var(--t8-radius);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.t8-hero-products a:hover {
    transform: translateY(-8px) scale(1.03);
}

.t8-hero-products a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--t8-radius);
    border: 1px solid rgba(var(--t8-glow-rgb), 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.t8-hero-products a:hover::after {
    opacity: 1;
    box-shadow: inset 0 0 20px rgba(var(--t8-glow-rgb), 0.1);
}

.t8-hero-products img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.t8-hero-products .t8-hero-product-name {
    padding: 10px;
    font-size: 13px;
    color: var(--t8-text);
    background: var(--t8-bg-surface-1);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Buttons --- */

.t8-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--t8-radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.t8-btn-primary {
    color: var(--t8-text-on-gradient);
    background: var(--t8-gradient-primary);
    box-shadow: 0 4px 15px rgba(var(--t8-glow-rgb), 0.3);
    animation: neonFlicker 2s ease-in-out infinite;
}

.t8-btn-primary:hover {
    color: var(--t8-text-on-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--t8-glow-rgb), 0.45);
}

.t8-btn-outline {
    color: var(--t8-text);
    background: transparent;
    border: 1px solid var(--t8-border-glow);
}

.t8-btn-outline:hover {
    color: var(--t8-text-on-gradient);
    background: rgba(var(--t8-glow-rgb), 0.1);
    border-color: var(--t8-glow);
}

/* --- Sections --- */

.t8-section {
    position: relative;
    padding: 80px 0;
}

.t8-section-dark {
    background: var(--t8-bg-body);
}

.t8-section-surface {
    background: var(--t8-bg-surface-3);
}

.t8-section-gradient {
    background: linear-gradient(180deg, var(--t8-bg-surface-1) 0%, var(--t8-bg-body) 100%);
}

/* Diagonal clip-path divider */
.t8-section-divider {
    position: relative;
}

.t8-section-divider::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.t8-section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    background: var(--t8-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.t8-section-subtitle {
    text-align: center;
    color: var(--t8-text-secondary);
    font-size: 15px;
    margin-bottom: 40px;
}

/* --- Page Hero (inner pages) --- */

.t8-page-hero {
    padding: calc(var(--t8-header-h) + 50px) 0 50px;
    background: var(--t8-bg-hero);
    position: relative;
    overflow: hidden;
}

.t8-page-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--t8-grad-primary-1), transparent 70%);
    filter: blur(80px);
    opacity: 0.3;
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.t8-page-hero-title {
    font-size: 36px;
    font-weight: 700;
    background: var(--t8-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.t8-page-hero-breadcrumb {
    margin-top: 12px;
    font-size: 14px;
    color: var(--t8-text-secondary);
    position: relative;
    z-index: 1;
}

.t8-page-hero-breadcrumb a {
    color: var(--t8-text-secondary);
}

.t8-page-hero-breadcrumb a:hover {
    color: var(--t8-accent);
}

.t8-page-hero-breadcrumb .t8-sep {
    margin: 0 8px;
    opacity: 0.5;
}

/* --- Content Card (glass morphism) --- */

.t8-content-card {
    background: var(--t8-bg-surface-1);
    border: 1px solid var(--t8-border);
    border-radius: var(--t8-radius-lg);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    animation: pulseGlow 4s ease-in-out infinite;
}

.t8-content-card p {
    color: var(--t8-text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

/* --- 3D Product Grid --- */

.t8-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1000px;
}

.t8-product-card {
    position: relative;
    background: var(--t8-bg-surface-1);
    border-radius: var(--t8-radius);
    overflow: hidden;
    border: 1px solid var(--t8-border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    transform-style: preserve-3d;
    display: block;
}

.t8-product-card:hover {
    transform: rotateX(-3deg) rotateY(3deg) scale(1.03);
    box-shadow: var(--t8-shadow-card-hover);
    border-color: var(--t8-border-glow);
}

.t8-product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--t8-radius);
    background: linear-gradient(135deg, var(--t8-grad-primary-1), var(--t8-grad-secondary-1), var(--t8-accent));
    background-size: 300% 300%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    animation: gradientShift 6s ease infinite;
}

.t8-product-card:hover::before {
    opacity: 1;
}

.t8-product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.t8-product-card:hover .t8-product-card-img {
    transform: scale(1.05);
}

.t8-product-card-body {
    padding: 16px;
    background: var(--t8-bg-surface-1);
    position: relative;
}

.t8-product-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--t8-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Information Sections --- */

.t8-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.t8-info-item {
    padding: 20px;
    background: var(--t8-bg-surface-2);
    border-radius: var(--t8-radius);
    border: 1px solid var(--t8-border);
}

.t8-info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--t8-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.t8-info-value {
    color: var(--t8-text);
    font-size: 15px;
    line-height: 1.6;
}

/* Information table layout */
.t8-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--t8-radius);
    overflow: hidden;
    border: 1px solid var(--t8-border);
}

.t8-info-table tr:nth-child(even) {
    background: var(--t8-bg-surface-2);
}

.t8-info-table tr:nth-child(odd) {
    background: var(--t8-bg-surface-1);
}

.t8-info-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--t8-text);
    border-bottom: 1px solid var(--t8-border);
}

.t8-info-table td:first-child {
    color: var(--t8-accent);
    font-weight: 600;
    width: 140px;
    white-space: nowrap;
}

.t8-info-table tr:last-child td {
    border-bottom: none;
}

/* --- Contact Section --- */

.t8-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.t8-contact-item {
    padding: 24px;
    background: var(--t8-bg-surface-1);
    border-radius: var(--t8-radius);
    border: 1px solid var(--t8-border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.t8-contact-item:hover {
    border-color: var(--t8-border-glow);
    box-shadow: var(--t8-shadow-glow);
}

.t8-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--t8-grad-primary-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.t8-contact-value {
    color: var(--t8-text);
    font-size: 15px;
    line-height: 1.7;
    word-break: break-all;
}

/* --- Message / Form --- */

.t8-form {
    max-width: 640px;
    margin: 0 auto;
}

.t8-form-group {
    margin-bottom: 20px;
}

.t8-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--t8-text-secondary);
    margin-bottom: 6px;
}

.t8-form-input,
.t8-form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--t8-font);
    color: var(--t8-text);
    background: var(--t8-bg-surface-2);
    border: 1px solid var(--t8-border);
    border-radius: var(--t8-radius);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.t8-form-input:focus,
.t8-form-textarea:focus {
    border-color: var(--t8-glow);
    box-shadow: 0 0 0 3px rgba(var(--t8-glow-rgb), 0.15);
}

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

.t8-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t8-text-on-gradient);
    background: var(--t8-gradient-primary);
    border: none;
    border-radius: var(--t8-radius-pill);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(var(--t8-glow-rgb), 0.3);
}

.t8-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--t8-glow-rgb), 0.45);
}

/* --- Links Section --- */

.t8-links {
    padding: 24px 0;
    background: var(--t8-bg-surface-3);
    border-top: 1px solid var(--t8-border);
    font-size: 13px;
    color: var(--t8-text-secondary);
}

.t8-links span {
    color: var(--t8-text-secondary);
}

.t8-links a {
    color: var(--t8-text-secondary);
    margin: 0 6px;
    transition: color 0.3s;
}

.t8-links a:hover {
    color: var(--t8-accent);
}

/* --- Footer --- */

.t8-footer {
    padding: 40px 0 30px;
    background: var(--t8-bg-surface-3);
    border-top: 1px solid var(--t8-border);
    position: relative;
}

.t8-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--t8-grad-primary-1), var(--t8-grad-secondary-1), transparent);
}

.t8-footer-inner {
    text-align: center;
}

.t8-footer-info {
    margin-bottom: 16px;
}

.t8-footer-info span {
    display: inline-block;
    color: var(--t8-text-secondary);
    font-size: 13px;
    margin: 0 12px 8px;
}

.t8-footer-copyright {
    font-size: 12px;
    color: var(--t8-text-secondary);
    opacity: 0.7;
}

.t8-footer-copyright a {
    color: var(--t8-text-secondary);
    margin: 0 4px;
}

.t8-footer-copyright a:hover {
    color: var(--t8-accent);
}

/* --- Pagination --- */

.t8-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.t8-pagination a,
.t8-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: var(--t8-radius);
    border: 1px solid var(--t8-border);
    color: var(--t8-text-secondary);
    transition: all 0.3s;
}

.t8-pagination a:hover {
    color: var(--t8-text);
    border-color: var(--t8-border-glow);
    background: rgba(var(--t8-glow-rgb), 0.1);
}

.t8-pagination .active {
    color: var(--t8-text-on-gradient);
    background: var(--t8-gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--t8-glow-rgb), 0.3);
}

/* --- Error Page --- */

.t8-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 60px 20px;
}

.t8-error-content {
    text-align: center;
}

.t8-error-code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    background: var(--t8-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: breathe 6s ease-in-out infinite;
}

.t8-error-text {
    font-size: 16px;
    color: var(--t8-text-secondary);
    margin-bottom: 24px;
}

.t8-error-text a {
    color: var(--t8-accent);
}

/* --- Detail Page --- */

.t8-detail-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--t8-text);
    margin-bottom: 20px;
}

.t8-detail-img {
    width: 100%;
    border-radius: var(--t8-radius);
    margin-bottom: 24px;
}

.t8-detail-content {
    color: var(--t8-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.t8-detail-content img {
    border-radius: var(--t8-radius);
    margin: 16px 0;
}

.t8-detail-meta {
    padding-top: 20px;
    border-top: 1px solid var(--t8-border);
    font-size: 13px;
    color: var(--t8-text-secondary);
}

.t8-detail-meta p {
    margin-bottom: 6px;
}

/* --- Related Products --- */

.t8-related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.t8-related-title a {
    background: var(--t8-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Info Tip --- */

.t8-info-tip {
    font-size: 13px;
    color: var(--t8-text-secondary);
    opacity: 0.7;
}

/* --- Utility --- */

.t8-mb-24 { margin-bottom: 24px; }
.t8-mt-40 { margin-top: 40px; }
.t8-text-center { text-align: center; }

/* --- Introduction page --- */

.t8-intro-content {
    color: var(--t8-text-secondary);
    line-height: 2;
    font-size: 15px;
}

/* --- Module: uptime --- */

.t8-product-time {
    font-size: 12px;
    color: var(--t8-text-secondary);
    margin-top: 4px;
    opacity: 0.7;
}

/* --- Sub domain hero --- */

.t8-sub-hero {
    padding: calc(var(--t8-header-h) + 40px) 0 40px;
    background: var(--t8-bg-hero);
}

/* ============================================
   Responsive
   ============================================ */

@media screen and (max-width: 768px) {
    /* Mobile menu button */
    .t8-menu-btn {
        display: block;
    }

    /* Fullscreen overlay menu */
    /* Note: cannot use inset:0 because .t8-header has backdrop-filter,
       which creates a containing block that limits fixed positioning
       to the header's 68px height. Use explicit viewport dimensions instead. */
    .t8-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 10, 26, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
        z-index: 999;
    }

    .t8-menu-toggle:checked ~ .t8-nav {
        opacity: 1;
        visibility: visible;
    }

    .t8-menu-toggle:checked ~ .t8-nav a {
        animation: fadeSlideUp 0.5s ease forwards;
        opacity: 0;
    }

    .t8-menu-toggle:checked ~ .t8-nav a:nth-child(1) { animation-delay: 0.05s; }
    .t8-menu-toggle:checked ~ .t8-nav a:nth-child(2) { animation-delay: 0.1s; }
    .t8-menu-toggle:checked ~ .t8-nav a:nth-child(3) { animation-delay: 0.15s; }
    .t8-menu-toggle:checked ~ .t8-nav a:nth-child(4) { animation-delay: 0.2s; }
    .t8-menu-toggle:checked ~ .t8-nav a:nth-child(5) { animation-delay: 0.25s; }
    .t8-menu-toggle:checked ~ .t8-nav a:nth-child(6) { animation-delay: 0.3s; }

    .t8-nav a {
        font-size: 20px;
        padding: 16px 24px;
    }

    .t8-nav a::after {
        display: none;
    }

    /* Hamburger → X */
    .t8-menu-toggle:checked ~ .t8-menu-btn span {
        background: transparent;
    }

    .t8-menu-toggle:checked ~ .t8-menu-btn span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .t8-menu-toggle:checked ~ .t8-menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* Hero */
    .t8-hero {
        min-height: auto;
        padding: calc(var(--t8-header-h) + 40px) 16px 50px;
    }

    .t8-hero-title {
        font-size: 30px;
    }

    .t8-hero-desc {
        font-size: 15px;
    }

    .t8-hero::before {
        width: 250px;
        height: 250px;
    }

    .t8-hero::after {
        width: 200px;
        height: 200px;
    }

    .t8-hero-products a {
        width: 140px;
    }

    .t8-hero-products img {
        height: 110px;
    }

    /* Page hero */
    .t8-page-hero {
        padding: calc(var(--t8-header-h) + 30px) 0 30px;
    }

    .t8-page-hero-title {
        font-size: 26px;
    }

    /* Sections */
    .t8-section {
        padding: 50px 0;
    }

    .t8-section-title {
        font-size: 22px;
    }

    .t8-section-divider::before {
        top: -20px;
        height: 40px;
    }

    /* Content card */
    .t8-content-card {
        padding: 24px 16px;
        border-radius: var(--t8-radius);
    }

    /* Product grid */
    .t8-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .t8-product-card:hover {
        transform: none;
    }

    .t8-product-card-img {
        height: 150px;
    }

    /* Info grid */
    .t8-info-grid {
        grid-template-columns: 1fr;
    }

    /* Contact grid */
    .t8-contact-grid {
        grid-template-columns: 1fr;
    }

    /* Error */
    .t8-error-code {
        font-size: 80px;
    }

    /* Detail */
    .t8-detail-header h1 {
        font-size: 20px;
    }

    /* Footer */
    .t8-footer-info span {
        display: block;
        margin: 0 0 6px;
    }
}

@media screen and (max-width: 480px) {
    .t8-product-grid {
        grid-template-columns: 1fr;
    }

    .t8-hero-products {
        flex-direction: column;
        align-items: center;
    }

    .t8-hero-products a {
        width: 100%;
        max-width: 240px;
    }

    .t8-pagination a,
    .t8-pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }
}
