/* Shared Styles for HeChuang Hardware Deck */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
    /* HeChuang Brand Colors (extracted from previous screenshots) */
    --bg-gradient-start: #6fbef7;
    --bg-gradient-end: #3f5efb;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #1a2a3a;
    --text-blue: #2c5da1;
    --text-white: #ffffff;
    --accent-blue: #3498db;
    --accent-cyan: #00cec9;
    --accent-orange: #fd9644;
    --accent-purple: #a55eea;
    
    /* Layout Variables */
    --slide-width: 1280px; /* Standard 16:9 for PPT */
    --slide-height: 720px;
    
    /* Shadows */
    --shadow-card: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-float: 0 20px 40px rgba(0,0,0,0.2);
    --shadow-text: 0 2px 4px rgba(0,0,0,0.2);
}

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

body {
    background: #1e1e1e; /* Presentation background */
    font-family: 'Noto Sans SC', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Slide Container */
.slide-container {
    width: var(--slide-width);
    height: var(--slide-height);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform-origin: center center;
}

/* Responsive Scaling */
@media (max-width: 1300px) {
    .slide-container { transform: scale(0.8); }
}

/* Common Header */
.header {
    padding: 40px 60px 20px;
}

.header h1 {
    font-size: 48px;
    color: var(--text-white);
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: var(--shadow-text);
    margin-bottom: 10px;
}

.header .subtitle {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .subtitle::before {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 3px;
}

/* Navigation Controls (Simulating PPT Flip) */
.nav-controls {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--text-white);
    color: var(--text-blue);
    transform: scale(1.1);
}

.page-indicator {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    font-weight: 500;
}

/* Common Card Style */
.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* CSS Hardware Drawings (Shared) */

/* Community Box Icon */
.icon-box-3d {
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    border-radius: 12px;
    position: relative;
    box-shadow: 
        5px 5px 15px rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box-3d::after {
    content: '';
    width: 80%;
    height: 2px;
    background: #3498db;
    position: absolute;
    bottom: 10px;
    border-radius: 2px;
    box-shadow: 0 0 5px #3498db;
}

/* Recording Card Icon */
.icon-card-3d {
    width: 60px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff, #f1f2f6);
    border-radius: 8px;
    position: relative;
    box-shadow: 
        3px 3px 10px rgba(0,0,0,0.15),
        inset 1px 1px 0 rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
}
.icon-card-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #dfe4ea;
}
.icon-card-btn {
    width: 12px;
    height: 20px;
    background: #ff6b6b;
    position: absolute;
    right: -2px;
    top: 20px;
    border-radius: 2px;
}
