/* ========================================
   MIMIC - Home Page CSS
   ======================================== */
.tc-blue { --tc: #3b82f6; }
.tc-red { --tc: #DC0000; }

.tp-light { background: #ffffff; border-color: #e5e7eb; }
.tp-dark { background: #22262b; border-color: #3a3f47; }
.tp-black { background: #000000; border-color: #1a1a1a; }
.tp-deep { background: #0f1117; border-color: #1e2028; }

.dl-action-flex { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-portable { background-color: #2c2c2c; color: white; }
.btn-portable:hover { background-color: #1a1a1a; color: white; }
.mt-10 { margin-top: 10px; }

/* We will rely entirely on Bootstrap 5 for layout so custom flexbox classes are removed */

/* Home Responsive Helpers */
.hero-stats { display: flex; justify-content: center; gap: 24px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.9rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

.steps { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.step { flex: 1; text-align: center; padding: 30px 20px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; z-index: 2; height: 100%; }
.step-num { width: 48px; height: 48px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; margin: 0 auto 20px; box-shadow: 0 4px 12px var(--accent-glow); }
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; line-height: 1.6; }
.step-arrow { color: var(--border); flex-shrink: 0; margin: 0 10px; }
.hotkey-demo { text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.hotkey-box { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); padding: 16px 24px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.hotkey-key { background: #fff; color: #000; font-size: 1rem; font-weight: 700; padding: 6px 14px; border-radius: 6px; box-shadow: 0 4px 0 #d1d5db; }
.hotkey-plus { color: rgba(255,255,255,0.4); font-size: 1.2rem; font-weight: 300; }
.hotkey-label { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 0; }

.download-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; }
.download-info { flex: 1; z-index: 2; position: relative; }
.download-title { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.download-desc { font-size: 1.1rem; color: var(--muted); margin-bottom: 24px; max-width: 400px; }
.download-list { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; }
.download-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); }
.download-list li svg { color: #22c55e; flex-shrink: 0; }

.feature-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; transition: var(--transition); position: relative; overflow: hidden; z-index: 1; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent-light); box-shadow: var(--shadow-lg); }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, transparent, var(--accent-light)); opacity: 0; transition: opacity .4s ease; z-index: -1; }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 56px; height: 56px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 24px; transition: var(--transition); }
.feature-card:hover .feature-icon { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.05) rotate(3deg); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--muted); line-height: 1.7; margin: 0; font-size: .95rem; }

.theme-card { text-align: center; cursor: pointer; transition: var(--transition); border-radius: var(--radius-sm); }
.theme-preview { width: 80px; height: 120px; border-radius: var(--radius-sm); border: 2px solid; margin: 0 auto 12px; transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.theme-card span { font-size: .9rem; font-weight: 600; color: var(--muted); transition: var(--transition); display: block; }
.theme-card:hover .theme-preview { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); border-color: var(--tc); }
.theme-card:hover span { color: var(--text); }

@media(max-width:900px){
    .steps{flex-direction:column;align-items:center}
    .step-arrow{transform:rotate(90deg);margin:20px 0}
    .download-card{flex-direction:column;text-align:center;padding:36px 28px}
    .download-list{align-items:center}
    .download-desc{margin-left:auto;margin-right:auto}
}
@media(max-width:600px){
    .hero-stats{flex-direction:column;gap:16px}
    .stat-divider{width:32px;height:1px}
    .download-card{padding:28px 20px}
    .hotkey-box{padding:12px 20px;gap:6px}
    .hotkey-key{padding:4px 10px;font-size:.8rem}
}
