/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - KingDian Blue */
    --kingdian-blue: #0078FF;
    --kingdian-blue-dark: #0056CC;
    --kingdian-blue-light: #3395FF;
    
    /* Dark Theme */
    --bg-primary: #0A0E1A;
    --bg-secondary: #0F1423;
    --bg-tertiary: #151B32;
    --bg-card: #1A203C;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B5CC;
    --text-muted: #6B7280;
    
    /* Accents */
    --accent-cyan: #00D9FF;
    --accent-purple: #7B61FF;
    --accent-pink: #FF006E;
    
    /* RGB Gradient */
    --rgb-gradient: linear-gradient(90deg, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3);
    
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.title-gradient {
    background: var(--rgb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: var(--kingdian-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 48px;
    }
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .section-badge {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-desc {
        font-size: 1rem;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--kingdian-blue), var(--kingdian-blue-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 120, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 120, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--kingdian-blue);
}

.btn-secondary:hover {
    background: var(--kingdian-blue);
    color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.0625rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.125rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--text-primary);
}

@media (max-width: 768px) {
    .btn-lg, .btn-xl {
        padding: 14px 28px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        padding: 14px 24px;
    }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 120, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 120, 255, 0.8); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.logo-accent {
    font-size: 0.875rem;
    color: var(--kingdian-blue);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 20px;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .nav-link {
        font-size: 0.875rem;
    }
}

.nav-link:hover, .nav-link.active {
    color: white;
}

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

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

.nav-cta {
    display: inline-flex;
}

@media (max-width: 1024px) {
    .nav-cta {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-top: 1px solid var(--bg-tertiary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition-base);
    }
    
    .nav-list.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-list .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--bg-tertiary);
    }
    
    .nav-list .nav-link:last-child {
        border-bottom: none;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.badge-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--kingdian-blue), var(--accent-purple));
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .badge-hero {
        font-size: 0.6875rem;
        padding: 6px 16px;
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-subtitle strong {
    color: var(--kingdian-blue);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--kingdian-blue);
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 1.5rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.ram-module-wrapper {
    position: relative;
    perspective: 1000px;
    width: 100%;
}

@media (max-width: 768px) {
    .ram-module-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}

.ram-module {
    width: 100%;
    max-width: 600px;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.ram-module:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.rgb-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80px;
    background: var(--rgb-gradient);
    filter: blur(40px);
    opacity: 0.6;
    animation: rgbFlow 3s ease infinite;
}

@media (max-width: 768px) {
    .rgb-glow {
        bottom: -30px;
        height: 60px;
        width: 60%;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    z-index: 2;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 13px;
    margin: 12px auto 0;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--kingdian-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 48px auto;
}

@media (max-width: 1024px) {
    .timeline {
        flex-direction: column;
        max-width: 400px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .timeline {
        gap: 24px;
    }
}

.timeline-item {
    flex: 1;
    text-align: center;
}

@media (max-width: 1024px) {
    .timeline-item {
        flex: auto;
        width: 100%;
    }
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--kingdian-blue);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .timeline-year {
        font-size: 1.5rem;
    }
}

.timeline-item.highlight .timeline-year {
    color: var(--accent-cyan);
}

.timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.timeline-connector {
    flex: 0 0 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--kingdian-blue), transparent);
}

@media (max-width: 1024px) {
    .timeline-connector {
        flex: 0 0 2px;
        height: 40px;
        width: 2px;
        background: linear-gradient(180deg, var(--kingdian-blue), transparent);
    }
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .trust-badges {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

.badge-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.badge-card:hover {
    transform: translateY(-8px);
    border-color: var(--kingdian-blue);
    box-shadow: 0 20px 60px rgba(0, 120, 255, 0.15);
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--kingdian-blue);
    margin-bottom: 16px;
}

.badge-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.badge-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   PRODUCT SHOWCASE
   ======================================== */
.product {
    padding: var(--section-padding) 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 1024px) {
    .product-showcase {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.ram-display {
    position: relative;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .ram-display {
        padding: 30px 20px;
    }
}

.ram-product {
    max-width: 100%;
    height: auto;
}

.rgb-ring {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--rgb-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringRotate 4s linear infinite;
}

.hover-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    opacity: 0;
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .hover-zoom {
        font-size: 2rem;
    }
}

.ram-display:hover .hover-zoom {
    opacity: 1;
}

.product-name {
    font-size: 2rem;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .product-name {
        font-size: 1.75rem;
    }
}

.product-tagline {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--kingdian-blue);
}

@media (max-width: 768px) {
    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.product-caps {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.cap-tag {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.cap-tag.primary {
    background: var(--kingdian-blue);
    color: white;
}

.product-cta {
    text-align: center;
}

.shipping-info {
    display: block;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   SPECS SECTION
   ======================================== */
.specs {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.specs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

@media (max-width: 1024px) {
    .specs-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .specs-layout {
        gap: 24px;
    }
}

.specs-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .specs-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
        scrollbar-width: none;
    }
    
    .specs-tabs::-webkit-scrollbar {
        display: none;
    }
}

.tab-btn {
    padding: 16px 20px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tab-btn {
        padding: 14px 16px;
        font-size: 0.875rem;
    }
}

.tab-btn:hover {
    border-color: var(--kingdian-blue);
    color: white;
}

.tab-btn.active {
    background: var(--kingdian-blue);
    color: white;
}

.specs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 14px;
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid var(--bg-tertiary);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 16px 20px;
}

@media (max-width: 768px) {
    .specs-table td {
        padding: 14px 16px;
        font-size: 0.9375rem;
    }
}

.specs-table td:first-child {
    color: var(--text-secondary);
    width: 45%;
}

@media (max-width: 768px) {
    .specs-table td:first-child {
        width: 40%;
    }
}

.thermal-visual {
    padding: 24px;
    background: var(--bg-card);
    border-radius: 14px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .thermal-visual {
        padding: 20px;
    }
}

.heat-map {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2ecc71 33%, 
        #f39c12 66%, 
        #e74c3c 100%);
    border-radius: 10px;
}

.temp-zone {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
}

.mobility-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.mob-logo {
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.compat-note {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.875rem;
}

/* ========================================
   BENCHMARKS SECTION
   ======================================== */
.benchmarks {
    padding: var(--section-padding) 0;
}

.benchmarks-grid {
    display: grid;
    gap: 32px;
}

.chart-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--bg-tertiary);
}

@media (max-width: 768px) {
    .chart-card {
        padding: 20px;
    }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.chart-header h3 {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .chart-header h3 {
        font-size: 1rem;
    }
}

.chart-filter {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--bg-secondary);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
    cursor: pointer;
    font-size: 0.875rem;
}

.chart-wrapper {
    position: relative;
    height: 280px;
}

@media (max-width: 768px) {
    .chart-wrapper {
        height: 240px;
    }
}

.chart-legend {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.kingdian { background: var(--kingdian-blue); }
.competitor { background: var(--text-muted); }

.game-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.game-tag {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    font-size: 0.75rem;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .performance-metrics {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .performance-metrics {
        grid-template-columns: 1fr;
    }
}

.metric-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 14px;
    transition: var(--transition-base);
}

@media (max-width: 480px) {
    .metric-box {
        padding: 20px;
    }
}

.metric-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 120, 255, 0.15);
}

.metric-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--kingdian-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.metric-data {
    flex: 1;
}

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--kingdian-blue);
}

@media (max-width: 768px) {
    .metric-value {
        font-size: 1.75rem;
    }
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
}

@media (min-width: 769px) {
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .gallery-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gallery-item.large {
        grid-column: span 1;
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.placeholder-text {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
}

.placeholder-text i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

@media (max-width: 768px) {
    .placeholder-text i {
        font-size: 1.5rem;
    }
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.gallery-cta {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .gallery-cta {
        margin-top: 36px;
    }
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.social-btn:hover {
    background: var(--kingdian-blue);
    transform: translateY(-4px);
}

/* ========================================
   FEATURES CAROUSEL
   ======================================== */
.features-section {
    padding: var(--section-padding) 0;
}

.features-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-carousel {
        max-width: 100%;
    }
}

.feature-slide {
    display: none;
    animation: slideFade 0.5s ease;
}

.feature-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .feature-slide.active {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@keyframes slideFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-content {
    padding: 32px;
    background: var(--bg-card);
    border-radius: 16px;
}

@media (max-width: 768px) {
    .slide-content {
        padding: 24px;
    }
}

.slide-icon {
    width: 64px;
    height: 64px;
    background: var(--kingdian-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .slide-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .slide-content h3 {
        font-size: 1.25rem;
    }
}

.slide-content p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

@media (max-width: 768px) {
    .slide-visual {
        min-height: 200px;
    }
}

.heat-flow-animation, .rgb-wave, .speed-lines {
    width: 100%;
    height: 180px;
    background: var(--bg-tertiary);
    border-radius: 14px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.carousel-dot.active {
    background: var(--kingdian-blue);
    width: 28px;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--kingdian-blue-dark), var(--kingdian-blue));
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .cta-subtitle {
        font-size: 1rem;
    }
}

.cta-offer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 20px;
    max-width: 550px;
    margin: 0 auto 32px;
}

@media (max-width: 768px) {
    .cta-offer {
        padding: 24px;
    }
}

.offer-price {
    margin-bottom: 20px;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .price-value {
        font-size: 2.5rem;
    }
}

.price-period {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.offer-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .offer-benefits {
        flex-direction: column;
        gap: 12px;
    }
}

.offer-benefits span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.trust-signals {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 60px 0 32px;
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 24px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

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

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

.footer-brand {
    grid-column: 1;
}

@media (max-width: 1024px) {
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-brand {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.brand-desc {
    color: var(--text-secondary);
    margin: 16px 0;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .brand-desc {
        font-size: 0.8125rem;
    }
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

.social-icon:hover {
    background: var(--kingdian-blue);
    transform: translateY(-4px);
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 0.875rem;
}

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

.newsletter-form {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--bg-tertiary);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--kingdian-blue);
}

.newsletter-form button {
    padding: 10px 16px;
    background: var(--kingdian-blue);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--kingdian-blue-dark);
}

.footer-bottom {
    border-top: 1px solid var(--bg-tertiary);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--kingdian-blue);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--kingdian-blue);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.fade-in {
    opacity: 1;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header, .hero, .final-cta, .footer {
        display: none;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator, .wheel {
        animation: none;
    }
}