/*
 * Shenzhen Hongxing Mengdong Corporate Website Stylesheet
 * Style: High-End Atmospheric (高端大气 / Liquid Glass Dark Mode)
 * Focus: Autoplay Background Video Banner, neural SVG Logo branding, metal glassmorphism
 */

/* ==========================================================================
   1. Design System & CSS Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-base: #0f172a;         /* Refined slate dark background */
    --bg-surface: #1e293b;      /* Slate card background */
    --bg-surface-glass: rgba(30, 41, 59, 0.7); /* Translucent slate glass */
    --border-glass: rgba(255, 255, 255, 0.08);   /* Clean outline border */
    --border-glass-active: rgba(99, 102, 241, 0.45); /* Hover glow highlight */
    
    --primary: #ffffff;         /* Pure white/silver primary elements */
    --primary-glow: rgba(255, 255, 255, 0.1);
    --secondary: #9ca3af;       /* Cold slate gray */
    --secondary-glow: rgba(255, 255, 255, 0.03);
    --accent: #6366f1;          /* Indigo Neural */
    --accent-cyan: #06b6d4;     /* Cyans glow */
    --bg-accent: rgba(99, 102, 241, 0.08);
    
    /* Text Colors */
    --text-primary: #f3f4f6;     /* Slate 100 */
    --text-secondary: #a1a1aa;   /* Zinc 400 */
    --text-muted: #52525b;       /* Zinc 600 */
    --text-light: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    
    /* Layout Constants */
    --container-max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 18px;
    --border-radius-lg: 28px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 350ms cubic-bezier(0.16, 1, 0.3, 1); /* Liquid transition curve */
    --transition-slow: 700ms cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Z-Index Hierarchy */
    --z-index-bg: -1;
    --z-index-normal: 1;
    --z-index-header: 100;
    --z-index-overlay: 200;
    --z-index-modal: 300;
}

/* ==========================================================================
   2. Base Resets & Global Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #111827;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Text Selection */
::selection {
    background-color: rgba(99, 102, 241, 0.3);
    color: var(--text-light);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button, input, textarea, select {
    font: inherit;
    background: none;
    border: none;
    color: inherit;
}

ul {
    list-style: none;
}

.cursor-pointer {
    cursor: pointer;
}

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

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

.justify-center {
    justify-content: center;
}

.text-gradient {
    /* Silver metallic gradient */
    background: linear-gradient(135deg, #ffffff 0%, #d1d5db 50%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   3. Buttons & Badges (Metallic Premium)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: #000000;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #e5e7eb;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
}

/* Scroll indicator */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-cyan));
    z-index: calc(var(--z-index-header) + 1);
    transition: width 50ms linear;
}

/* Badges */
.badge-new-era {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #e4e4e7;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. Site Header & Floating Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(3, 6, 17, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-index-header);
    transition: background var(--transition-normal), height var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(3, 6, 17, 0.9);
    height: 70px;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 24px;
    height: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.main-nav {
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent-cyan));
    transition: width var(--transition-normal);
}

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

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    padding: 8px 22px;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
}

.mobile-nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 6, 17, 0.98);
    backdrop-filter: blur(24px);
    z-index: calc(var(--z-index-header) - 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--text-light);
}

.mobile-nav-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
}

.mobile-contact-email {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   5. Hero Section (Autoplay Background Video Banner - 高端大气)
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 90px;
    overflow: hidden;
    background-color: var(--bg-base);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px; /* Generous vertical gap between text and video */
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1300px; /* Wider container specifically for the hero section to showcase the widescreen video */
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.2px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 36px;
    margin: 0 auto;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: -0.5px;
}

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

/* Widescreen Laptop/Tablet Mockup below the text */
.hero-media-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.macbook-mockup {
    width: 100%;
    max-width: 1100px; /* Expanded for a prominent near-fullscreen experience */
    animation: floatDevice 6s infinite ease-in-out;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6));
    background: rgba(30, 41, 59, 0.4);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mockup-frame {
    background: #000000;
    border: 14px solid #1e293b; /* Premium slate device border */
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9; /* Cinematic 16:9 aspect ratio */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000000;
}

.video-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Transparent overlay matching the website's dark slate (#0f172a) base with subtle indigo/cyan accents */
    background: 
        radial-gradient(circle at center, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.45) 100%),
        linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.03) 100%);
    box-shadow: inset 0 0 60px rgba(15, 23, 42, 0.5);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating animation keyframes */
@keyframes floatDevice {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(0.8deg);
    }
}

/* ==========================================================================
   6. Product Bento Grid Section (Metal Liquid Glass)
   ========================================================================== */
.products-section {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--border-glass);
    background-color: var(--bg-base);
}

.section-header {
    margin-bottom: 80px;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Bento Grid */
.products-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 32px;
}

.bento-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.25) 100%);
    border: none; /* Relying entirely on ::before for pixel-perfect glass gradient outline */
    border-radius: 24px;
    padding: 38px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02), 0 16px 36px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Glass Outline Gradient Border Effect */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
    transition: background var(--transition-normal);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(99, 102, 241, 0.15), 
        0 24px 60px rgba(0, 0, 0, 0.55);
}

.bento-card:hover::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(6, 182, 212, 0.4) 50%, transparent 100%);
}

/* Dynamic glow effect follow mouse position */
.card-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(99, 102, 241, 0.05), transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
    transition: opacity var(--transition-fast), background var(--transition-fast);
}

.bento-card:hover .card-glow-layer {
    opacity: 1;
    background: radial-gradient(500px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.06) 50%, transparent 100%);
}

.bento-card-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card sizes */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 32px;
    padding-right: 0;
}

.bento-medium {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    padding-bottom: 0;
    align-items: center;
}

.bento-small {
    grid-column: span 1;
}

/* Product Content Details */
.product-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.product-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.bento-card:hover .product-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.3);
}

.product-name-meta {
    display: flex;
    flex-direction: column;
}

.product-title-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-light);
}

.product-tagline-text {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

.product-desc-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
    flex-grow: 1;
}

.product-features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.bento-card:hover .feat-badge {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
    color: var(--text-primary);
}

.product-features-list-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.product-features-list-inline span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-features-list-inline span i {
    width: 14px;
    height: 14px;
    color: var(--accent-cyan);
}

.bento-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-text-link {
    position: relative;
    padding-bottom: 2px;
}

.btn-text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16px;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-fast);
}

.bento-card:hover .btn-text-link::after {
    width: 100%;
}

.arrow-icon {
    width: 15px;
    height: 15px;
    transition: transform var(--transition-fast);
}

.bento-card:hover .arrow-icon {
    transform: translate(2px, -2px);
}

/* Bento Card Device Mockups (Floating Portrait iPhone) */
.bento-card-media {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.creative-ai-media {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.media-layer-stack {
    position: relative;
    width: 100%;
    height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Enable 3D depth */
}

.floating-img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
    border: 4px solid #1c2536; /* Dark premium slate phone frame */
    transition: transform var(--transition-slow), opacity var(--transition-slow), box-shadow var(--transition-slow);
    background: #020617;
}

.img-1 {
    width: 140px;
    top: 5%;
    right: 20px;
    z-index: 2;
    transform: translate3d(0, 0, 0) rotate(1deg);
    animation: floatLayer1 8s infinite ease-in-out;
}

.img-2 {
    width: 130px;
    bottom: 5%;
    right: 120px;
    z-index: 1;
    opacity: 0.8;
    transform: translate3d(0, 0, 0) rotate(-1deg);
    animation: floatLayer2 8s infinite ease-in-out;
}

@keyframes floatLayer1 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}

@keyframes floatLayer2 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(8px) rotate(0.5deg); }
}

.bento-card:hover .img-1 {
    animation-play-state: paused;
    transform: translate3d(15px, -15px, 40px) rotateY(-8deg) rotateX(8deg);
    box-shadow: -15px 30px 60px rgba(0,0,0,0.8), 0 0 20px rgba(99, 102, 241, 0.25);
}

.bento-card:hover .img-2 {
    animation-play-state: paused;
    transform: translate3d(-15px, 15px, -20px) rotateY(-4deg) rotateX(4deg);
    opacity: 0.95;
    box-shadow: -5px 15px 30px rgba(0,0,0,0.6);
}

.flex-media {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    perspective: 800px; /* Enable 3D depth for medium card mockup */
}

.centered-mockup {
    width: 200px;
    border-radius: 20px 20px 0 0;
    border: 4px solid #1c2536; /* Dark premium slate phone frame */
    border-bottom: none;
    transform: translate3d(0, 20px, 0) rotateX(10deg);
    transform-origin: bottom center;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
    background: #020617;
}

.bento-card:hover .centered-mockup {
    transform: translate3d(0, 6px, 30px) rotateX(0deg);
    box-shadow: 0 -15px 40px rgba(99, 102, 241, 0.15), 0 -10px 30px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   7. Advantages Section (Sophisticated Dark Atmospheric)
   ========================================================================== */
.advantages-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, #0b0f19 100%);
    border-top: 1px solid var(--border-glass);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px 40px;
    transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.01), 0 16px 36px rgba(0, 0, 0, 0.3);
}

.advantage-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-8px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.03),
        0 0 24px rgba(99, 102, 241, 0.1), 
        0 24px 50px rgba(0, 0, 0, 0.45);
}

.advantage-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--accent-cyan);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.advantage-icon-box i {
    width: 22px;
    height: 22px;
}

.advantage-card:hover .advantage-icon-box {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05);
}

.advantage-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.advantage-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   8. About Us Section (Atmospheric Dark Visual Layout)
   ========================================================================== */
.about-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-glass);
    background-color: var(--bg-base);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    width: 100%;
}

.about-card-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.18) 0%, rgba(6, 182, 212, 0.12) 50%, transparent 100%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.company-visual-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    aspect-ratio: 1 / 1.1;
    padding: 0; /* padding handled by overlay layer */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* City night background image */
.visual-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.35;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.company-visual-card:hover .visual-bg-image {
    opacity: 0.5;
    transform: scale(1.04);
}

/* Dark gradient mask over the city image */
.visual-dark-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(99, 102, 241, 0.12) 50%,
        rgba(6, 182, 212, 0.08) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* AI circuit illustration - positioned in the center */
.visual-ai-illustration {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 32px;
}

.ai-illust-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0.22;
    mix-blend-mode: luminosity;
    transition: opacity var(--transition-slow);
}

.company-visual-card:hover .ai-illust-img {
    opacity: 0.32;
}

/* Text overlay on top of everything */
.visual-card-overlay {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 48px;
}

.brand-logotype {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.brand-logotype i {
    width: 22px;
    height: 22px;
    color: var(--text-light);
}

.visual-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v-tag {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.35;
    letter-spacing: -0.5px;
}

/* About Content Info */
.about-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 32px;
    letter-spacing: -0.8px;
}

.about-paragraphs {
    margin-bottom: 48px;
}

.about-paragraphs p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.company-culture {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.culture-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    transition: background var(--transition-fast), transform var(--transition-fast);
    border: 1px solid transparent;
}

.culture-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.03);
    transform: translateX(8px);
}

.culture-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.culture-icon i {
    width: 18px;
    height: 18px;
}

.culture-item:hover .culture-icon {
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-cyan);
    border-color: rgba(99, 102, 241, 0.25);
    transform: scale(1.05);
}

.culture-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}

.culture-item:hover .culture-text h4 {
    color: var(--accent-cyan);
}

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

/* ==========================================================================
   9. Contact Us & Shenzhen Map Section (Obsidian Dark Style)
   ========================================================================== */
.contact-section {
    padding: 120px 0;
    border-top: 1px solid var(--border-glass);
    background: linear-gradient(180deg, #0b0f19 0%, var(--bg-base) 100%);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(30, 41, 59, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.65);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.01);
    background: rgba(30, 41, 59, 0.5);
}

.form-feedback {
    font-size: 0.95rem;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Info Side and Custom Radar Shenzhen Map */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-list li i {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-info-list div strong {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.contact-info-list div p {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-top: 4px;
    line-height: 1.55;
}

.contact-info-list div a:hover {
    color: var(--accent-cyan);
}

/* Custom Interactive Shenzhen Map representation */
.map-container {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ── Location Card (replaces iframe map) ── */
.location-card {
    background: #030714;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated dot-grid background */
.location-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(99,102,241,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: gridDrift 20s linear infinite;
    opacity: 0.6;
}

@keyframes gridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 28px 28px; }
}

/* Radial glow behind the pin */
.location-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, rgba(6,182,212,0.08) 50%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

/* Content wrapper */
.location-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 28px;
}

/* Pin with pulse rings */
.location-pin-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-pin-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(99,102,241,0.45);
    animation: pinPulse 2.4s ease-out infinite;
}

.location-pin-pulse.delay {
    animation-delay: 1.2s;
}

@keyframes pinPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(2.6); opacity: 0; }
}

.location-pin-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(99,102,241,0.5);
    animation: pinBounce 2s ease-in-out infinite;
}

.location-pin-icon i {
    width: 22px;
    height: 22px;
    color: #fff;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Address text */
.location-district {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.location-building {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 4px 0;
}

.location-addr {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Map open buttons */
.location-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-map-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-map-open i {
    width: 14px;
    height: 14px;
}

.btn-map-open:hover {
    background: rgba(99,102,241,0.25);
    border-color: rgba(99,102,241,0.6);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-map-baidu {
    background: rgba(6,182,212,0.1);
    border-color: rgba(6,182,212,0.25);
}

.btn-map-baidu:hover {
    background: rgba(6,182,212,0.22);
    border-color: rgba(6,182,212,0.55);
}

/* ==========================================================================
   10. Footer Styling (Whitespace & Thin Grays)
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    background: #090d1a;
    padding-top: 80px;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
}

.footer-logo svg {
    width: 24px;
    height: 24px;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
}

.footer-links-column h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 24px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: var(--text-muted);
}

.footer-bottom-container a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* ==========================================================================
   11. Product Detail Modal (Dynamic Dark Metallic Glass)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 4, 10, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: var(--z-index-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal) ease;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: linear-gradient(135deg, #131a2e 0%, #0a0f1d 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.02);
    transform: translateY(20px);
    transition: transform var(--transition-normal) cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
}

.modal-body {
    padding: 48px;
}

/* Modal Content Layout */
.modal-product-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
}

.modal-product-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.modal-product-title-area h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.modal-product-title-area p {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-top: 4px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
}

/* Gallery Slider */
.modal-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-slider-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    max-height: 440px;
    border: 4px solid #111827;
    background: #02040a;
}

.modal-slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform var(--transition-normal);
}

.modal-slider-track img {
    width: 25%;
    height: 100%;
    object-fit: cover;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-nav-btn:hover {
    background: var(--accent);
}

.btn-prev { left: 12px; }
.btn-next { right: 12px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition-fast), width var(--transition-fast);
}

.slider-dot.active {
    background: var(--text-light);
    width: 16px;
    border-radius: 4px;
}

/* Info Column */
.modal-info-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-section-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 2px solid var(--accent-cyan);
    padding-left: 8px;
}

.modal-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-features-list li {
    display: flex;
    gap: 12px;
}

.modal-features-list li i {
    width: 18px;
    height: 18px;
    color: var(--accent-cyan);
    margin-top: 3px;
    flex-shrink: 0;
}

.modal-features-list li h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.modal-features-list li p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 2px;
}



/* ==========================================================================
   12. Responsive Breakpoints
   ========================================================================== */

/* Laptop / Desktop (1024px) */
@media (max-width: 1024px) {
    .hero-container {
        gap: 48px;
    }
    
    .products-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large {
        grid-column: span 2;
    }
    
    .bento-medium {
        grid-column: span 2;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-info {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }
    
    .company-visual-card {
        aspect-ratio: 1.4 / 1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-form-side, .contact-info-side {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

/* Tablet (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-container {
        gap: 36px;
    }
    
    .macbook-mockup {
        padding: 4px;
        border-radius: 16px;
    }
    
    .mockup-frame {
        border-width: 8px;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .bento-large, .bento-medium {
        grid-template-columns: 1fr;
        padding-right: 38px;
        display: flex;
        flex-direction: column;
    }
    
    .bento-card-media {
        display: none !important;
    }
    
    .products-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large, .bento-medium, .bento-small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal-body {
        padding: 32px 24px;
    }
    
    .modal-product-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
    .hero-container {
        gap: 28px;
    }
    
    .macbook-mockup {
        padding: 3px;
        border-radius: 12px;
    }
    
    .mockup-frame {
        border-width: 5px;
        border-radius: 9px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .company-visual-card {
        aspect-ratio: 1 / 1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   13. Scroll Reveal Animation for Bento Cards
   ========================================================================== */
.reveal-card {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: 
        opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow var(--transition-normal);
}

.reveal-card.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Once revealed, override transition speed to make hover effects highly responsive */
.reveal-card.reveal-active:hover {
    transition: 
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}
