﻿:root[data-theme="dark"] { --bg: #0b0c10; --card-bg: #16181f; --text: #f3f4f6; --subtext: #9ca3af; --accent: #0a84ff; --border: #2a2d3a; }
:root[data-theme="light"] { --bg: #f5f5f7; --card-bg: #ffffff; --text: #1d1d1f; --subtext: #6e6e73; --accent: #007aff; --border: #d2d2d7; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, sans-serif; background-color: var(--bg); color: var(--text); transition: background-color 0.25s, color 0.25s; padding-bottom: 60px; }
.top-controls { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; }
.pill-btn, .theme-toggle { background: var(--card-bg); color: var(--text); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; user-select: none; }
.hero { text-align: center; padding: 32px 20px; }
.app-icon { border-radius: 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); margin-bottom: 16px; }
h1 { font-size: 2.5rem; margin-bottom: 8px; }
.subtitle { color: var(--subtext); margin-bottom: 24px; }
.repo-buttons { display: inline-flex; gap: 14px; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 14px; text-decoration: none; font-weight: 600; color: #fff; border: none; cursor: pointer; transition: transform 0.15s ease; }
.btn:active { transform: scale(0.96); }
.btn-sileo { background: linear-gradient(135deg, #2cb5be, #1d8a99); }
.btn-zebra { background: linear-gradient(135deg, #3a3a3c, #1c1c1e); border: 1px solid var(--border); }
.btn-primary { background: var(--accent); }
.section { max-width: 960px; margin: 40px auto; padding: 0 20px; }
.section h2 { text-align: center; margin-bottom: 24px; font-size: 1.6rem; }
.shots-carousel { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.shot-card { flex: 0 0 230px; scroll-snap-align: center; background: var(--card-bg); border-radius: 20px; padding: 10px; border: 1px solid var(--border); text-align: center; }
.shot-img { width: 100%; height: auto; border-radius: 14px; display: block; }
.shot-card figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--subtext); }
.carplay-frame { display: flex; height: 360px; background: #000; border-radius: 26px; border: 3px solid var(--border); overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.carplay-dock { width: 68px; background: rgba(28, 28, 30, 0.95); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 16px 8px; justify-content: space-between; }
.cp-dock-icon { width: 44px; height: 44px; border-radius: 10px; }
.carplay-workspace { flex: 1; display: flex; position: relative; overflow: hidden; }
.cp-pane { height: 100%; display: flex; flex-direction: column; background: var(--card-bg); overflow: hidden; }
.cp-app-header { padding: 10px 14px; font-weight: 600; font-size: 0.85rem; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--border); }
.cp-map-mock, .cp-yt-mock { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 16px; text-align: center; }
.speed-bubble-mock { display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, 0.78); color: #fff; padding: 8px 14px; border-radius: 999px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.2); }
.limit-sign { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #ff3b30; background: #fff; color: #000; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.cp-separator { width: 18px; background: #1c1c1e; cursor: col-resize; display: flex; align-items: center; justify-content: center; touch-action: none; user-select: none; z-index: 10; }
.handle-dots { display: flex; flex-direction: column; gap: 4px; }
.handle-dots i { width: 4px; height: 4px; border-radius: 50%; background: #8e8e93; }
.trial-section { text-align: center; }
.trial-form { display: flex; justify-content: center; gap: 10px; margin: 20px auto; max-width: 420px; }
.trial-form input { flex: 1; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--card-bg); color: var(--text); font-size: 1rem; text-transform: uppercase; }
.trial-msg { min-height: 24px; font-weight: 500; margin-top: 8px; }
.footer-links { margin-top: 32px; display: flex; justify-content: center; gap: 12px; }
.footer-links a { color: var(--accent); text-decoration: none; font-weight: 600; }
