*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --purple: #7B61FF; --purple-light: #9B85FF; --purple-dark: #5A3FD6; --purple-bg: #F3F0FF;
    --bg: #F5F5F7; --white: #FFFFFF; --text-primary: #1A1A2E; --text-secondary: #6E6E80; --text-tertiary: #9E9EB0;
    --border: #E8E8ED; --green: #2DC653; --green-bg: #E8F8ED; --red: #FF3B30; --red-bg: #FFF0EE;
    --orange: #FF9500; --orange-bg: #FFF5E6; --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08); --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 16px; --radius-sm: 12px; --sidebar-width: 260px; --header-height: 64px;
}
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text-primary); line-height: 1.5; min-height: 100vh; overflow-x: hidden; position: relative; }
#matrixCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.1; }
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; z-index: 100; box-shadow: var(--shadow-sm); }
.header-left { display: flex; align-items: center; gap: 16px; }
.alice-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); }
.alice-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--purple), var(--purple-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; }
.alice-text { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; }
.alice-text span { color: var(--purple); }
.header-right { display: flex; align-items: center; gap: 8px; }
.header-btn { width: 40px; height: 40px; border: none; background: transparent; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-secondary); transition: all 0.2s; font-size: 22px; }
.header-btn:hover { background: var(--bg); color: var(--text-primary); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), #FF6B9D); display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; font-weight: 600; cursor: pointer; margin-left: 4px; }
.sidebar { position: fixed; top: var(--header-height); left: 0; bottom: 0; width: var(--sidebar-width); background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-right: 1px solid var(--border); overflow-y: auto; padding: 16px 12px; z-index: 50; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.sidebar-section { margin-bottom: 24px; }
.sidebar-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-tertiary); padding: 0 12px; margin-bottom: 6px; }
.sidebar-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: all 0.15s; text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 450; }
.sidebar-item:hover { background: var(--bg); color: var(--text-primary); }
.sidebar-item.active { background: var(--purple-bg); color: var(--purple); font-weight: 550; }
.sidebar-item .material-icons-round { font-size: 20px; }
.sidebar-item .room-count { margin-left: auto; font-size: 12px; color: var(--text-tertiary); font-weight: 400; }
.sidebar-divider { height: 1px; background: var(--border); margin: 8px 12px 16px; }
.scenario-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: all 0.15s; color: var(--text-secondary); font-size: 13px; font-weight: 450; }
.scenario-item:hover { background: var(--bg); color: var(--text-primary); }
.scenario-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--purple-bg); display: flex; align-items: center; justify-content: center; color: var(--purple); font-size: 16px; flex-shrink: 0; }
.main { margin-left: var(--sidebar-width); margin-top: var(--header-height); padding: 28px 32px 48px; min-height: calc(100vh - var(--header-height)); position: relative; z-index: 1; }
.intro-block { background: linear-gradient(135deg, rgba(123,97,255,0.06), rgba(123,97,255,0.02)); border: 1px solid rgba(123,97,255,0.15); border-radius: var(--radius); padding: 32px 36px; margin-bottom: 32px; position: relative; overflow: hidden; }
.intro-block::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(123,97,255,0.12), transparent 70%); border-radius: 50%; }
.intro-block h2 { font-size: 22px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.intro-block h2 .material-icons-round { font-size: 26px; color: var(--purple); }
.intro-block p { font-size: 14.5px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 14px; }
.intro-block p:last-child { margin-bottom: 0; }
.intro-block strong { color: var(--text-primary); font-weight: 600; }
.stats-bar { display: flex; gap: 16px; margin-bottom: 28px; }
.stat-card { flex: 1; background: var(--white); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-icon.purple { background: var(--purple-bg); color: var(--purple); }
.stat-icon.green { background: var(--green-bg); color: var(--green); }
.stat-icon.orange { background: var(--orange-bg); color: var(--orange); }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.categories { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.cat-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); color: var(--text-secondary); font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.cat-btn:hover { border-color: var(--purple-light); color: var(--purple); }
.cat-btn.active { background: var(--purple); color: white; border-color: var(--purple); }
.cat-btn .material-icons-round { font-size: 16px; }
.section-title { font-size: 18px; font-weight: 650; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.section-title .count { font-size: 13px; font-weight: 500; color: var(--text-tertiary); }
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 48px; }
.device-card { background: var(--white); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); transition: all 0.25s; cursor: default; position: relative; overflow: hidden; }
.device-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--border); transition: background 0.3s; }
.device-card.on::before { background: var(--purple); }
.device-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-1px); }
.device-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.device-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--text-tertiary); transition: all 0.3s; }
.device-card.on .device-icon { background: var(--purple-bg); color: var(--purple); }
.toggle { width: 48px; height: 28px; border-radius: 14px; background: #D1D1D6; position: relative; cursor: pointer; transition: background 0.3s; flex-shrink: 0; }
.toggle.on { background: var(--purple); }
.toggle::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: white; top: 3px; left: 3px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.toggle.on::after { transform: translateX(20px); }
.device-name { font-size: 15px; font-weight: 580; margin-bottom: 4px; line-height: 1.3; }
.device-status { font-size: 13px; color: var(--text-tertiary); margin-bottom: 14px; line-height: 1.4; }
.device-card.on .device-status { color: var(--text-secondary); }
.slider-row { display: flex; align-items: center; gap: 10px; }
.slider-row .material-icons-round { font-size: 16px; color: var(--text-tertiary); }
.slider-wrap { flex: 1; position: relative; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: #E5E5EA; outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--purple); cursor: pointer; box-shadow: 0 1px 4px rgba(123,97,255,0.3); transition: transform 0.15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-value { font-size: 12px; font-weight: 600; color: var(--text-secondary); min-width: 32px; text-align: right; }
.climate-controls { display: flex; align-items: center; gap: 8px; }
.temp-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; color: var(--text-secondary); transition: all 0.15s; font-family: inherit; }
.temp-btn:hover { border-color: var(--purple); color: var(--purple); }
.temp-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.temp-display { font-size: 24px; font-weight: 700; min-width: 60px; text-align: center; color: var(--purple); }
.temp-display span { font-size: 14px; font-weight: 500; }
.climate-modes { display: flex; gap: 6px; margin-top: 10px; }
.mode-btn { flex: 1; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--white); font-size: 12px; font-weight: 500; font-family: inherit; cursor: pointer; color: var(--text-secondary); transition: all 0.15s; text-align: center; }
.mode-btn.active { background: var(--purple-bg); border-color: var(--purple); color: var(--purple); }
.mode-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.color-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.color-row .material-icons-round { font-size: 16px; color: var(--text-tertiary); }
.color-presets { display: flex; gap: 8px; align-items: center; }
.color-swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; transition: transform 0.15s; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { border-color: var(--text-primary); transform: scale(1.15); }
.sensor-value { font-size: 28px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.sensor-label { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-tertiary); }
.empty-state .material-icons-round { font-size: 64px; margin-bottom: 16px; opacity: 0.3; }
.empty-state p { font-size: 16px; font-weight: 500; }
.advantages-section { margin-bottom: 48px; }
.advantages-section > h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.advantages-section > h2 .material-icons-round { color: var(--purple); font-size: 26px; }
.advantages-subtitle { font-size: 14px; color: var(--text-tertiary); margin-bottom: 28px; }
.advantages-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.advantage-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px 24px; text-align: center; position: relative; overflow: hidden; cursor: default; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.advantage-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--border); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.advantage-card:nth-child(1)::before { background: #7B61FF; } .advantage-card:nth-child(2)::before { background: #4ECDC4; } .advantage-card:nth-child(3)::before { background: #FF6B6B; } .advantage-card:nth-child(4)::before { background: #FFB800; } .advantage-card:nth-child(5)::before { background: #45B7D1; }
.advantage-card::after { content: ''; position: absolute; bottom: -60px; right: -60px; width: 140px; height: 140px; border-radius: 50%; opacity: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
.advantage-card:nth-child(1)::after { background: radial-gradient(circle, rgba(123,97,255,0.08), transparent 70%); } .advantage-card:nth-child(2)::after { background: radial-gradient(circle, rgba(78,205,196,0.08), transparent 70%); } .advantage-card:nth-child(3)::after { background: radial-gradient(circle, rgba(255,107,107,0.08), transparent 70%); } .advantage-card:nth-child(4)::after { background: radial-gradient(circle, rgba(255,184,0,0.08), transparent 70%); } .advantage-card:nth-child(5)::after { background: radial-gradient(circle, rgba(69,183,209,0.08), transparent 70%); }
.advantage-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); border-color: transparent; }
.advantage-card:hover::before { height: 5px; }
.advantage-card:hover::after { opacity: 1; bottom: -40px; right: -40px; }
.advantage-icon-wrap { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 30px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 1; }
.advantage-card:nth-child(1) .advantage-icon-wrap { background: rgba(123,97,255,0.1); color: #7B61FF; } .advantage-card:nth-child(2) .advantage-icon-wrap { background: rgba(78,205,196,0.1); color: #4ECDC4; } .advantage-card:nth-child(3) .advantage-icon-wrap { background: rgba(255,107,107,0.1); color: #FF6B6B; } .advantage-card:nth-child(4) .advantage-icon-wrap { background: rgba(255,184,0,0.1); color: #FFB800; } .advantage-card:nth-child(5) .advantage-icon-wrap { background: rgba(69,183,209,0.1); color: #45B7D1; }
.advantage-card:hover .advantage-icon-wrap { transform: scale(1.12) rotate(-3deg); }
.advantage-card:nth-child(1):hover .advantage-icon-wrap { background: rgba(123,97,255,0.18); box-shadow: 0 6px 20px rgba(123,97,255,0.25); } .advantage-card:nth-child(2):hover .advantage-icon-wrap { background: rgba(78,205,196,0.18); box-shadow: 0 6px 20px rgba(78,205,196,0.25); } .advantage-card:nth-child(3):hover .advantage-icon-wrap { background: rgba(255,107,107,0.18); box-shadow: 0 6px 20px rgba(255,107,107,0.25); } .advantage-card:nth-child(4):hover .advantage-icon-wrap { background: rgba(255,184,0,0.18); box-shadow: 0 6px 20px rgba(255,184,0,0.25); } .advantage-card:nth-child(5):hover .advantage-icon-wrap { background: rgba(69,183,209,0.18); box-shadow: 0 6px 20px rgba(69,183,209,0.25); }
.advantage-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; transition: color 0.3s; position: relative; z-index: 1; }
.advantage-card:nth-child(1):hover .advantage-title { color: #7B61FF; } .advantage-card:nth-child(2):hover .advantage-title { color: #4ECDC4; } .advantage-card:nth-child(3):hover .advantage-title { color: #FF6B6B; } .advantage-card:nth-child(4):hover .advantage-title { color: #E5A600; } .advantage-card:nth-child(5):hover .advantage-title { color: #45B7D1; }
.advantage-text { font-size: 13px; line-height: 1.65; color: var(--text-tertiary); transition: color 0.3s; position: relative; z-index: 1; }
.advantage-card:hover .advantage-text { color: var(--text-secondary); }
.advantage-arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; margin-top: 16px; opacity: 0; transform: translateX(-8px); transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 1; }
.advantage-card:nth-child(1) .advantage-arrow { background: rgba(123,97,255,0.1); color: #7B61FF; } .advantage-card:nth-child(2) .advantage-arrow { background: rgba(78,205,196,0.1); color: #4ECDC4; } .advantage-card:nth-child(3) .advantage-arrow { background: rgba(255,107,107,0.1); color: #FF6B6B; } .advantage-card:nth-child(4) .advantage-arrow { background: rgba(255,184,0,0.1); color: #FFB800; } .advantage-card:nth-child(5) .advantage-arrow { background: rgba(69,183,209,0.1); color: #45B7D1; }
.advantage-card:hover .advantage-arrow { opacity: 1; transform: translateX(0); }
.advantage-arrow .material-icons-round { font-size: 18px; }
.order-section { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 36px 40px; margin-bottom: 48px; position: relative; overflow: hidden; }
.order-section::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--purple), var(--purple-light), var(--purple)); }
.order-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.order-section h2 .material-icons-round { color: var(--purple); font-size: 26px; }
.order-subtitle { font-size: 14px; color: var(--text-tertiary); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-group label .required { color: var(--red); margin-left: 2px; }
.form-group input, .form-group textarea { height: 46px; border: 1px solid var(--border); border-radius: 10px; padding: 0 16px; font-size: 14px; font-family: inherit; color: var(--text-primary); background: var(--bg); outline: none; transition: all 0.2s; }
.form-group textarea { height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--purple); background: var(--white); box-shadow: 0 0 0 3px rgba(123,97,255,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-tertiary); }
.form-submit-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; background: var(--purple); color: white; border: none; border-radius: 12px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 16px rgba(123,97,255,0.3); }
.form-submit-btn:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(123,97,255,0.35); }
.form-submit-btn:active { transform: translateY(0); }
.form-submit-btn .material-icons-round { font-size: 18px; }
.form-message { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.form-message.success { background: var(--green-bg); color: #1a7a36; }
.form-message.error { background: var(--red-bg); color: #c62828; }
.form-message .material-icons-round { font-size: 20px; }
.reviews-section { margin-bottom: 48px; }
.reviews-section > h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.reviews-section > h2 .material-icons-round { color: var(--purple); font-size: 26px; }
.reviews-subtitle { font-size: 14px; color: var(--text-tertiary); margin-bottom: 24px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.25s; position: relative; }
.review-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.review-card:nth-child(3n+1) { border-top: 3px solid #7B61FF; } .review-card:nth-child(3n+2) { border-top: 3px solid #FF6B9D; } .review-card:nth-child(3n) { border-top: 3px solid #4ECDC4; }
.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars .material-icons-round { font-size: 18px; color: #FFB800; }
.review-text { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.review-author-info { display: flex; flex-direction: column; }
.review-author-name { font-size: 14px; font-weight: 650; color: var(--text-primary); }
.review-author-detail { font-size: 12px; color: var(--text-tertiary); }
.compatibility-section { margin-bottom: 48px; }
.compatibility-section > h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.compatibility-section > h2 .material-icons-round { color: var(--purple); font-size: 26px; }
.compatibility-subtitle { font-size: 14px; color: var(--text-tertiary); margin-bottom: 28px; }
.compat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.compat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s ease; }
.compat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.compat-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.compat-logo { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; transition: transform 0.3s; }
.compat-card:hover .compat-logo { transform: scale(1.05); }
.compat-card.zigbee .compat-logo { background: var(--green-bg); color: var(--green); }
.compat-card.matter .compat-logo { background: rgba(69,183,209,0.1); color: #45B7D1; }
.compat-title-group h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.compat-card.zigbee .compat-title-group h3 { color: var(--green); }
.compat-card.matter .compat-title-group h3 { color: #45B7D1; }
.compat-title-group p { font-size: 13px; color: var(--text-tertiary); line-height: 1.4; }
.compat-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.compat-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.compat-list li .material-icons-round { font-size: 20px; color: var(--text-tertiary); }
.compat-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.compat-brand-tag { padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--bg); color: var(--text-secondary); }
.compat-card.zigbee .compat-brand-tag { background: var(--green-bg); color: #1a7a36; }
.compat-card.matter .compat-brand-tag { background: rgba(69,183,209,0.1); color: #2a8aa5; }
.compat-footer { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 28px; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.compat-footer .material-icons-round { font-size: 24px; color: var(--purple); }
.compat-footer span { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.compat-footer small { display: block; font-size: 13px; color: var(--text-tertiary); font-weight: 400; margin-top: 2px; }
.seo-section { margin-bottom: 48px; }
.seo-section > h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.seo-section > h2 .material-icons-round { color: var(--purple); font-size: 26px; }
.seo-subtitle { font-size: 14px; color: var(--text-tertiary); margin-bottom: 24px; }
.seo-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.seo-kw { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--white); color: var(--text-secondary); transition: all 0.2s; cursor: default; }
.seo-kw:hover { border-color: var(--purple-light); color: var(--purple); background: var(--purple-bg); transform: translateY(-1px); }
.seo-kw .material-icons-round { font-size: 14px; color: var(--purple); opacity: 0.7; }
.seo-infographic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 36px; }
.seo-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; transition: all 0.3s; position: relative; overflow: hidden; }
.seo-info-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--border); transition: background 0.3s; }
.seo-info-card:nth-child(1)::after { background: #7B61FF; } .seo-info-card:nth-child(2)::after { background: #2DC653; } .seo-info-card:nth-child(3)::after { background: #FF6B6B; } .seo-info-card:nth-child(4)::after { background: #FFB800; } .seo-info-card:nth-child(5)::after { background: #45B7D1; } .seo-info-card:nth-child(6)::after { background: #FF9A9E; }
.seo-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.seo-info-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.seo-info-card:nth-child(1) .seo-info-icon { background: rgba(123,97,255,0.1); color: #7B61FF; } .seo-info-card:nth-child(2) .seo-info-icon { background: rgba(45,198,83,0.1); color: #2DC653; } .seo-info-card:nth-child(3) .seo-info-icon { background: rgba(255,107,107,0.1); color: #FF6B6B; } .seo-info-card:nth-child(4) .seo-info-icon { background: rgba(255,184,0,0.1); color: #FFB800; } .seo-info-card:nth-child(5) .seo-info-icon { background: rgba(69,183,209,0.1); color: #45B7D1; } .seo-info-card:nth-child(6) .seo-info-icon { background: rgba(255,154,158,0.1); color: #FF9A9E; }
.seo-info-value { font-size: 26px; font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.seo-info-card:nth-child(1) .seo-info-value { color: #7B61FF; } .seo-info-card:nth-child(2) .seo-info-value { color: #2DC653; } .seo-info-card:nth-child(3) .seo-info-value { color: #FF6B6B; } .seo-info-card:nth-child(4) .seo-info-value { color: #E5A600; } .seo-info-card:nth-child(5) .seo-info-value { color: #45B7D1; } .seo-info-card:nth-child(6) .seo-info-value { color: #FF9A9E; }
.seo-info-label { font-size: 12px; color: var(--text-tertiary); line-height: 1.3; }
.seo-text-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seo-text-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; transition: all 0.3s; position: relative; overflow: hidden; }
.seo-text-item::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--border); transition: background 0.3s; }
.seo-text-item:nth-child(1)::before { background: #7B61FF; } .seo-text-item:nth-child(2)::before { background: #4ECDC4; } .seo-text-item:nth-child(3)::before { background: #FFB800; } .seo-text-item:nth-child(4)::before { background: #FF6B6B; } .seo-text-item:nth-child(5)::before { background: #45B7D1; } .seo-text-item:nth-child(6)::before { background: #2DC653; } .seo-text-item:nth-child(7)::before { background: #FF9A9E; } .seo-text-item:nth-child(8)::before { background: #7B61FF; } .seo-text-item:nth-child(9)::before { background: #4ECDC4; }
.seo-text-item:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.seo-text-item .material-icons-round { font-size: 24px; margin-bottom: 12px; display: block; }
.seo-text-item:nth-child(1) .material-icons-round { color: #7B61FF; } .seo-text-item:nth-child(2) .material-icons-round { color: #4ECDC4; } .seo-text-item:nth-child(3) .material-icons-round { color: #FFB800; } .seo-text-item:nth-child(4) .material-icons-round { color: #FF6B6B; } .seo-text-item:nth-child(5) .material-icons-round { color: #45B7D1; } .seo-text-item:nth-child(6) .material-icons-round { color: #2DC653; } .seo-text-item:nth-child(7) .material-icons-round { color: #FF9A9E; } .seo-text-item:nth-child(8) .material-icons-round { color: #7B61FF; } .seo-text-item:nth-child(9) .material-icons-round { color: #4ECDC4; }
.seo-text-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.seo-text-item p { font-size: 13.5px; line-height: 1.7; color: var(--text-secondary); }
.footer { position: relative; z-index: 1; margin-left: var(--sidebar-width); background: var(--white); border-top: 1px solid var(--border); padding: 36px 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .alice-icon { width: 32px; height: 32px; border-radius: 8px; font-size: 16px; }
.footer-brand-name { font-size: 16px; font-weight: 700; }
.footer-brand-name span { color: var(--purple); }
.footer-desc { font-size: 13px; color: var(--text-tertiary); max-width: 300px; line-height: 1.6; }
.footer-contacts-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--text-primary); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; color: var(--text-secondary); }
.footer-contact-item .material-icons-round { font-size: 18px; color: var(--purple); flex-shrink: 0; }
.footer-contact-item a { color: var(--text-secondary); text-decoration: none; transition: color 0.15px; }
.footer-contact-item a:hover { color: var(--purple); }
.footer-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-tertiary); }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--text-primary); color: white; padding: 12px 20px; border-radius: 10px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; animation: toastIn 0.3s ease-out; max-width: 360px; }
.toast.out { animation: toastOut 0.3s ease-in forwards; }
.toast .material-icons-round { font-size: 18px; color: var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(10px) scale(0.95); } }
.mobile-menu-btn { display: none; width: 40px; height: 40px; border: none; background: transparent; border-radius: 10px; cursor: pointer; color: var(--text-primary); font-size: 24px; align-items: center; justify-content: center; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 49; }
.toggle.loading { pointer-events: none; opacity: 0.7; }
@media (max-width: 1200px) { .advantages-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .stats-bar { flex-wrap: wrap; } .stat-card { min-width: calc(50% - 8px); } .form-grid { grid-template-columns: 1fr; } .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; } .alice-text { display: none; } .user-avatar { display: none; }
    .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
    .sidebar.open { transform: translateX(0); } .sidebar-overlay.open { display: block; }
    .main { margin-left: 0; padding: 20px 16px 48px; }
    .device-grid { grid-template-columns: 1fr; } .stat-card { min-width: 100%; } .reviews-grid { grid-template-columns: 1fr; } .advantages-grid { grid-template-columns: 1fr 1fr; }
    .compat-grid { grid-template-columns: 1fr; } .seo-text-grid { grid-template-columns: 1fr; } .seo-infographic { grid-template-columns: repeat(2, 1fr); }
    .footer { margin-left: 0; padding: 28px 16px; } .intro-block { padding: 24px 20px; } .order-section { padding: 24px 20px; }
}
@media (max-width: 480px) { .advantages-grid { grid-template-columns: 1fr; } .seo-infographic { grid-template-columns: 1fr 1fr; } }