/* Smart Packer - Professional Pro/Tech Style V1.2.1-Revised (Zero Overlap Layout) */

:root {
    --bg-base: #0a0a0c;
    --bg-surface: #141418;
    --bg-surface-hover: #1c1c22;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #ff5722; 
    --accent-glow: rgba(255, 87, 34, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-base); color: var(--text-primary); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Promo Banner & Nav */
.promo-banner { background: linear-gradient(90deg, #ff5722 0%, #ff8a50 100%); color: #000; padding: 10px 0; font-size: 0.85rem; font-weight: 600; text-align: center; position: relative; z-index: 10000; }
.promo-banner .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.promo-banner .badge { background: #000; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.global-nav { background: rgba(10, 10, 12, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: sticky; top: 0; width: 100%; z-index: 9999; border-bottom: 1px solid var(--border-color); }
.nav-content { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 28px; width: auto; }
.logo-text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--text-primary); }
.btn-primary-small { background-color: var(--text-primary); color: var(--bg-base); padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: transform 0.2s; }
.btn-primary-small:hover { transform: scale(1.05); }

/* Hero */
.hero-section { padding: 100px 0 80px; position: relative; overflow: hidden; }
.glow-bg { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%); top: -200px; right: -100px; filter: blur(60px); opacity: 0.6; }
.hero-content-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 60px; position: relative; z-index: 1; }

/* 🌟 这里补回了漏掉的副标题样式，并设置了工业橙色 🌟 */
.hero-subtitle { color: #ff5722; font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }

.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero-desc { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 40px; }
.store-badges { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.download-badge { display: inline-flex; align-items: center; }
.download-badge img { height: 40px; width: auto; transition: transform 0.2s; }
.download-badge img:hover { transform: scale(1.05); }
.mockup-frame.landscape { width: 560px; aspect-ratio: 16/9; background: #000; border-radius: 24px; box-shadow: 0 0 0 8px #1c1c1f, 0 20px 40px rgba(0,0,0,0.5); overflow: hidden; }
.mockup-frame video { width: 100%; height: 100%; object-fit: cover; }

/* Changelog */
.value-prop-section { padding: 40px 0 80px; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 24px; padding: 32px; }
.value-card.tech-border { border-top: 3px solid var(--accent); }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.icon-svg { width: 28px; height: 28px; color: var(--accent); }
.changelog-container { max-height: 360px; overflow-y: auto; padding-right: 12px; }
.changelog-container::-webkit-scrollbar { width: 6px; }
.changelog-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
.log-entry { margin-bottom: 20px; border-left: 2px solid var(--border-color); padding-left: 16px; position: relative; }
.log-entry:first-child { border-left-color: var(--accent); }
.log-version { display: flex; align-items: center; justify-content: space-between; font-weight: 700; margin-bottom: 6px; }
.log-date { font-size: 0.7rem; color: var(--text-secondary); background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 12px; }
.log-entry ul { list-style: none; font-size: 0.82rem; color: var(--text-secondary); }
.log-entry li + li { margin-top: 8px; }
.log-older { opacity: 0.6; }
.small-text { font-size: 0.85rem; line-height: 1.5; color: var(--text-secondary); }
.divider { border: 0; height: 1px; background: var(--border-color); margin: 24px 0; }

/* Bento System */
.bento-section { padding: 40px 0 120px; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; }
.section-desc { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 50px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(360px, auto); gap: 20px; }
.bento-card { background: var(--bg-surface); border-radius: 30px; border: 1px solid var(--border-color); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: background 0.3s; }
.bento-card:hover { background: var(--bg-surface-hover); }
.span-2 { grid-column: span 2; }

/* Algorithm Card */
.algorithm-card { padding: 32px; justify-content: flex-start; }
.algorithm-card .bento-content { margin-bottom: 0; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); font-size: 0.75rem; font-weight: 600; margin-bottom: 16px; width: fit-content; text-transform: uppercase; letter-spacing: 0.05em; }
.tag-accent { background: var(--accent); color: #fff; }
.bento-content h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; }
.bento-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; margin-bottom: 8px; }
.algo-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.algo-item { font-size: 0.85rem; color: var(--text-secondary); background: rgba(0,0,0,0.2); padding: 16px; border-radius: 16px; }
.algo-item strong { display: block; color: var(--text-primary); margin-bottom: 4px; }

/* AR Card (Row Span 2) */
.ar-card { grid-row: span 2; padding: 32px; align-items: center; background: linear-gradient(180deg, var(--bg-surface) 0%, #1a1512 100%); border: 1px solid rgba(255,87,34,0.2); }
.phone-mockup-vertical { width: 220px; aspect-ratio: 720/1444; background: #000; border-radius: 32px; box-shadow: 0 30px 60px rgba(0,0,0,0.6); overflow: hidden; padding: 6px; margin-top: auto; }
.phone-mockup-vertical video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }

/* =========================================================
   NEW STRATEGY: Segregated Layouts for Zero Overlap
   ========================================================= */

/* 1-Col Bottom Image Cards (Fleet, Vis, Rules) */
.bottom-image-card { padding: 0; justify-content: flex-start; }
.bottom-image-card .bento-content { padding: 32px; padding-bottom: 16px; flex: 0 0 auto; z-index: 2; }
.feature-bullets { list-style: none; margin-top: 8px; }
.feature-bullets li { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 6px; }

.card-image-container { 
    flex: 1 1 auto; position: relative; width: 100%; min-height: 240px; 
    overflow: hidden; 
}
/* 图片像手机一样固定在底部居中，露出核心上半部分 */
.card-image-container img {
    position: absolute; top: 10px; left: 10%; width: 80%; height: auto;
    border-radius: 16px 16px 0 0; 
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.bottom-image-card:hover .card-image-container img { transform: translateY(-5px); }

/* 2-Col Side Image Card (Reports) */
.side-image-card { padding: 0; flex-direction: row; align-items: stretch; overflow: hidden; }
.side-image-card .bento-content { padding: 32px; flex: 1; max-width: 50%; z-index: 2; display: flex; flex-direction: column; justify-content: center; }

/* 图片像手机一样固定在右下角，露出核心区域 */
.side-image-container {
    position: absolute; right: 0; bottom: 0; width: 45%; height: 90%;
    border-radius: 20px 0 0 0; overflow: hidden;
    box-shadow: -10px -10px 40px rgba(0,0,0,0.5);
}
.side-image-container img {
    width: 100%; height: auto; display: block;
    transition: transform 0.3s ease;
}
.side-image-card:hover .side-image-container img { transform: scale(1.02); }

.capability-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    background: var(--border-color);
}
.capability-strip div {
    background: rgba(20, 20, 24, 0.88);
    padding: 22px;
}
.capability-strip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.capability-strip span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.45;
}


/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 40px 0; background: var(--bg-base); font-size: 0.8rem; color: var(--text-secondary); }
.footer-content, .legal-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-content > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;}
.legal-links a { color: var(--text-secondary); text-decoration: none; }
.separator { opacity: 0.3; }
.icp-info { display: flex; align-items: center; gap: 6px; }
.police-badge { width: 14px; height: 14px; opacity: 0.7; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content-wrapper { flex-direction: column; text-align: center; }
    .hero-text-block { max-width: 100%; }
    .hero-title { font-size: 2.8rem; }
    .hero-visual { width: 100%; }
    .store-badges { justify-content: center; }
    .value-grid, .bento-grid { grid-template-columns: 1fr; }
    .span-2, .ar-card { grid-column: span 1; grid-row: span 1; }
    .capability-strip { grid-template-columns: 1fr; }
    
    .side-image-card { flex-direction: column; }
    .side-image-card .bento-content { max-width: 100%; }
    .side-image-container { position: relative; width: 100%; height: 300px; border-radius: 16px 16px 0 0; }
    .side-image-container img { width: 80%; left: 10%; position: absolute; top: 20px; }
}
