<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Умный дом — будущее уже здесь</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap" rel="stylesheet" />
<style>
/* ── Reset & base ── */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
background: #0b0e14;
color: #e8edf5;
line-height: 1.6;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
}
img {
max-width: 100%;
display: block;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}
/* ── Button ── */
.btn {
display: inline-block;
padding: 14px 36px;
border-radius: 60px;
font-weight: 600;
font-size: 1rem;
border: none;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
}
.btn-primary {
background: linear-gradient(135deg, #00c8ff, #0072ff);
color: #fff;
box-shadow: 0 8px 30px rgba(0, 114, 255, 0.35);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 40px rgba(0, 114, 255, 0.5);
}
.btn-outline {
background: transparent;
color: #e8edf5;
border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
border-color: #00c8ff;
background: rgba(0, 200, 255, 0.08);
}
.btn-secondary {
background: rgba(255, 255, 255, 0.06);
color: #e8edf5;
border: 1px solid rgba(255, 255, 255, 0.10);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.12);
}
/* ── Header / Nav ── */
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 18px 0;
transition: all 0.3s ease;
background: transparent;
}
header.scrolled {
background: rgba(11, 14, 20, 0.92);
backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
padding: 12px 0;
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
font-weight: 800;
font-size: 1.5rem;
letter-spacing: -0.5px;
}
.logo-icon {
width: 36px;
height: 36px;
background: linear-gradient(135deg, #00c8ff, #0072ff);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
}
.nav-links {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
font-weight: 500;
font-size: 0.95rem;
}
.nav-links a {
color: rgba(255, 255, 255, 0.7);
transition: color 0.3s;
}
.nav-links a:hover {
color: #fff;
}
.nav-actions {
display: flex;
align-items: center;
gap: 16px;
}
.nav-actions .btn {
padding: 10px 24px;
font-size: 0.9rem;
}
.mobile-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
background: none;
border: none;
padding: 4px;
}
.mobile-toggle span {
display: block;
width: 26px;
height: 2.5px;
background: #e8edf5;
border-radius: 4px;
transition: all 0.3s;
}
/* ── Hero ── */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
padding: 120px 0 80px;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 114, 255, 0.15) 0%, transparent 70%),
radial-gradient(ellipse 50% 40% at 80% 30%, rgba(0, 200, 255, 0.10) 0%, transparent 60%),
radial-gradient(ellipse 40% 30% at 60% 80%, rgba(0, 114, 255, 0.08) 0%, transparent 50%);
z-index: 0;
}
.hero-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
position: relative;
z-index: 1;
}
.hero-content h1 {
font-size: clamp(2.6rem, 5.5vw, 4.2rem);
font-weight: 800;
letter-spacing: -1.5px;
line-height: 1.1;
margin-bottom: 20px;
}
.hero-content h1 .highlight {
background: linear-gradient(135deg, #00c8ff, #0072ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-content p {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.65);
max-width: 500px;
margin-bottom: 36px;
line-height: 1.7;
}
.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 14px;
}
.hero-stats {
display: flex;
gap: 48px;
margin-top: 48px;
padding-top: 32px;
border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stats .stat h3 {
font-size: 2rem;
font-weight: 700;
background: linear-gradient(135deg, #00c8ff, #0072ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-stats .stat p {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.5);
margin: 0;
}
/* Hero visual */
.hero-visual {
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.hero-visual .phone-mockup {
width: 100%;
max-width: 400px;
aspect-ratio: 9 / 19;
background: linear-gradient(145deg, #1a1f2a, #0f131a);
border-radius: 40px;
padding: 14px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
position: relative;
}
.phone-mockup .screen {
width: 100%;
height: 100%;
border-radius: 28px;
background: #141a24;
overflow: hidden;
padding: 20px 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.screen .status-bar {
display: flex;
justify-content: space-between;
font-size: 0.65rem;
color: rgba(255, 255, 255, 0.4);
padding: 0 4px;
}
.screen .widget-row {
display: flex;
gap: 10px;
}
.screen .widget {
flex: 1;
background: rgba(255, 255, 255, 0.04);
border-radius: 14px;
padding: 14px 12px;
border: 1px solid rgba(255, 255, 255, 0.04);
}
.widget .icon {
font-size: 1.2rem;
margin-bottom: 6px;
}
.widget .label {
font-size: 0.55rem;
color: rgba(255, 255, 255, 0.35);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.widget .value {
font-size: 0.85rem;
font-weight: 600;
margin-top: 2px;
}
.widget .value.on {
color: #00c8ff;
}
.widget .value.off {
color: rgba(255, 255, 255, 0.25);
}
.screen .temp-row {
display: flex;
gap: 10px;
margin-top: 4px;
}
.screen .temp-card {
flex: 1;
background: rgba(255, 255, 255, 0.04);
border-radius: 14px;
padding: 14px 12px;
border: 1px solid rgba(255, 255, 255, 0.04);
text-align: center;
}
.temp-card .temp-value {
font-size: 1.4rem;
font-weight: 700;
}
.temp-card .temp-label {
font-size: 0.55rem;
color: rgba(255, 255, 255, 0.35);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.screen .action-row {
display: flex;
gap: 10px;
margin-top: 4px;
}
.screen .action-btn {
flex: 1;
padding: 10px 0;
border-radius: 12px;
border: none;
font-weight: 600;
font-size: 0.7rem;
cursor: pointer;
transition: all 0.3s;
background: rgba(255, 255, 255, 0.06);
color: #e8edf5;
}
.action-btn.primary-btn {
background: linear-gradient(135deg, #00c8ff, #0072ff);
color: #fff;
}
.action-btn.primary-btn:hover {
opacity: 0.85;
}
/* Floating orbs */
.orb {
position: absolute;
border-radius: 50%;
filter: blur(80px);
pointer-events: none;
}
.orb-1 {
width: 300px;
height: 300px;
background: rgba(0, 114, 255, 0.15);
top: -60px;
right: -80px;
}
.orb-2 {
width: 200px;
height: 200px;
background: rgba(0, 200, 255, 0.10);
bottom: -40px;
left: -60px;
}
/* ── Section titles ── */
.section-title {
font-size: clamp(2rem, 3.5vw, 2.8rem);
font-weight: 700;
letter-spacing: -1px;
margin-bottom: 12px;
}
.section-subtitle {
color: rgba(255, 255, 255, 0.5);
font-size: 1.1rem;
max-width: 560px;
}
.section-header {
text-align: center;
margin-bottom: 56px;
}
.section-header .section-subtitle {
margin: 0 auto;
}
/* ── Features ── */
.features {
padding: 80px 0;
background: rgba(255, 255, 255, 0.01);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 28px;
}
.feature-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 24px;
padding: 32px 28px;
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.feature-card:hover {
transform: translateY(-6px);
border-color: rgba(0, 200, 255, 0.20);
background: rgba(255, 255, 255, 0.06);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.feature-card .icon-wrap {
width: 52px;
height: 52px;
border-radius: 16px;
background: linear-gradient(135deg, rgba(0, 200, 255, 0.12), rgba(0, 114, 255, 0.12));
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
margin-bottom: 18px;
}
.feature-card h3 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 8px;
}
.feature-card p {
color: rgba(255, 255, 255, 0.55);
font-size: 0.95rem;
line-height: 1.7;
}
/* ── Benefits / How it works ── */
.benefits {
padding: 80px 0;
}
.benefits-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 32px;
}
.benefit-item {
text-align: center;
padding: 16px;
}
.benefit-item .step {
display: inline-flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
border-radius: 50%;
background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(0, 114, 255, 0.15));
font-size: 1.4rem;
font-weight: 700;
color: #00c8ff;
margin-bottom: 18px;
}
.benefit-item h4 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 6px;
}
.benefit-item p {
color: rgba(255, 255, 255, 0.5);
font-size: 0.95rem;
}
/* ── Testimonials ── */
.testimonials {
padding: 80px 0;
background: rgba(255, 255, 255, 0.01);
}
.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 28px;
}
.testimonial-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 20px;
padding: 28px 24px;
}
.testimonial-card .stars {
color: #f5b342;
letter-spacing: 2px;
margin-bottom: 12px;
}
.testimonial-card blockquote {
font-size: 0.95rem;
color: rgba(255, 255, 255, 0.75);
line-height: 1.7;
margin-bottom: 16px;
font-style: italic;
}
.testimonial-card .author {
display: flex;
align-items: center;
gap: 12px;
}
.author .avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, #00c8ff, #0072ff);
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 0.9rem;
}
.author .name {
font-weight: 600;
font-size: 0.9rem;
}
.author .role {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.35);
}
/* ── CTA ── */
.cta {
padding: 80px 0 100px;
}
.cta-box {
background: linear-gradient(145deg, rgba(0, 114, 255, 0.08), rgba(0, 200, 255, 0.04));
border: 1px solid rgba(0, 200, 255, 0.10);
border-radius: 40px;
padding: 60px 48px;
text-align: center;
position: relative;
overflow: hidden;
}
.cta-box .orb {
filter: blur(120px);
}
.cta-box .orb-1 {
width: 400px;
height: 400px;
background: rgba(0, 114, 255, 0.10);
top: -200px;
right: -100px;
}
.cta-box .orb-2 {
width: 300px;
height: 300px;
background: rgba(0, 200, 255, 0.08);
bottom: -150px;
left: -100px;
}
.cta-box h2 {
font-size: clamp(2rem, 3.5vw, 2.8rem);
font-weight: 700;
margin-bottom: 16px;
position: relative;
z-index: 1;
}
.cta-box p {
color: rgba(255, 255, 255, 0.55);
font-size: 1.1rem;
max-width: 500px;
margin: 0 auto 32px;
position: relative;
z-index: 1;
}
.cta-box .btn-group {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 14px;
position: relative;
z-index: 1;
}
/* ── Footer ── */
footer {
border-top: 1px solid rgba(255, 255, 255, 0.05);
padding: 40px 0 32px;
background: rgba(0, 0, 0, 0.2);
}
.footer-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 24px;
}
.footer-brand .logo {
font-size: 1.2rem;
}
.footer-brand p {
color: rgba(255, 255, 255, 0.3);
font-size: 0.85rem;
margin-top: 4px;
}
.footer-links {
display: flex;
gap: 28px;
list-style: none;
}
.footer-links a {
color: rgba(255, 255, 255, 0.4);
font-size: 0.9rem;
transition: color 0.3s;
}
.footer-links a:hover {
color: #fff;
}
.footer-socials {
display: flex;
gap: 16px;
}
.footer-socials a {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
transition: all 0.3s;
color: rgba(255, 255, 255, 0.4);
}
.footer-socials a:hover {
background: rgba(0, 200, 255, 0.10);
border-color: rgba(0, 200, 255, 0.20);
color: #fff;
}
.footer-bottom {
margin-top: 28px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.04);
text-align: center;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.2);
}
/* ── Responsive ── */
@media (max-width: 992px) {
.hero-grid {
grid-template-columns: 1fr;
text-align: center;
}
.hero-content p {
margin-left: auto;
margin-right: auto;
}
.hero-buttons {
justify-content: center;
}
.hero-stats {
justify-content: center;
}
.hero-visual .phone-mockup {
max-width: 300px;
}
}
@media (max-width: 768px) {
.nav-links {
display: none;
flex-direction: column;
gap: 16px;
position: absolute;
top: 70px;
left: 24px;
right: 24px;
background: rgba(11, 14, 20, 0.96);
backdrop-filter: blur(16px);
padding: 24px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-links.open {
display: flex;
}
.nav-actions .btn {
padding: 8px 18px;
font-size: 0.8rem;
}
.mobile-toggle {
display: flex;
}
.hero {
padding: 100px 0 60px;
}
.hero-stats {
gap: 28px;
flex-wrap: wrap;
}
.cta-box {
padding: 40px 24px;
}
.footer-grid {
flex-direction: column;
text-align: center;
}
.footer-links {
flex-wrap: wrap;
justify-content: center;
}
}
@media (max-width: 480px) {
.hero-content h1 {
font-size: 2.2rem;
}
.hero-stats .stat h3 {
font-size: 1.5rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.testimonials-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- ═══ HEADER ═══ -->
<header id="header">
<div class="container">
<nav class="nav">
<a href="#" class="logo">
<span class="logo-icon">✦</span>
Smart<span style="color: #00c8ff;">Home</span>
</a>
<ul class="nav-links" id="navLinks">
<li><a href="#features">Возможности</a></li>
<li><a href="#benefits">Как работает</a></li>
<li><a href="#testimonials">Отзывы</a></li>
<li><a href="#cta">Контакты</a></li>
</ul>
<div class="nav-actions">
<a href="#cta" class="btn btn-primary">Начать</a>
<button class="mobile-toggle" id="mobileToggle" aria-label="Меню">
<span></span><span></span><span></span>
</button>
</div>
</nav>
</div>
</header>
<!-- ═══ HERO ═══ -->
<section class="hero" id="hero">
<div class="container">
<div class="hero-grid">
<div class="hero-content">
<h1>
Умный дом,<br />
который <span class="highlight">думает</span> о вас
</h1>
<p>
Автоматизация, безопасность и комфорт в одном приложении.
Управляйте домом с любого устройства, где бы вы ни находились.
</p>
<div class="hero-buttons">
<a href="#cta" class="btn btn-primary">Попробовать бесплатно</a>
<a href="#features" class="btn btn-outline">Узнать больше</a>
</div>
<div class="hero-stats">
<div class="stat">
<h3>12k+</h3>
<p>Активных пользователей</p>
</div>
<div class="stat">
<h3>99.7%</h3>
<p>Время безотказной работы</p>
</div>
<div class="stat">
<h3>4.9★</h3>
<p>Средняя оценка</p>
</div>
</div>
</div>
<div class="hero-visual">
<div class="phone-mockup">
<div class="screen">
<div class="status-bar">
<span>09:41</span>
<span>📶 🔋</span>
</div>
<div class="widget-row">
<div class="widget">
<div class="icon">💡</div>
<div class="label">Гостиная</div>
<div class="value on">Вкл.</div>
</div>
<div class="widget">
<div class="icon">🔒</div>
<div class="label">Дверь</div>
<div class="value on">Закрыта</div>
</div>
<div class="widget">
<div class="icon">🎵</div>
<div class="label">Музыка</div>
<div class="value off">Выкл.</div>
</div>
</div>
<div class="temp-row">
<div class="temp-card">
<div class="temp-value">22°</div>
<div class="temp-label">Внутри</div>
</div>
<div class="temp-card">
<div class="temp-value">16°</div>
<div class="temp-label">Снаружи</div>
</div>
<div class="temp-card">
<div class="temp-value">45%</div>
<div class="temp-label">Влажность</div>
</div>
</div>
<div class="action-row">
<button class="action-btn primary-btn">🌙 Спать</button>
<button class="action-btn">🚪 Уйти</button>
<button class="action-btn">☀️ День</button>
</div>
</div>
</div>
<div class="orb orb-1"></div>
<div class="orb orb-2"></div>
</div>
</div>
</div>
</section>
<!-- ═══ FEATURES ═══ -->
<section class="features" id="features">
<div class="container">
<div class="section-header">
<h2 class="section-title">Всё, что нужно для <span style="color:#00c8ff;">комфорта</span></h2>
<p class="section-subtitle">
Интеллектуальные сценарии, полный контроль и экономия ресурсов.
</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="icon-wrap">🛋️</div>
<h3>Умные сценарии</h3>
<p>Настраивайте автоматические сценарии под свой ритм жизни: утро, вечер, уход из дома.</p>
</div>
<div class="feature-card">
<div class="icon-wrap">🔐</div>
<h3>Безопасность 24/7</h3>
<p>Датчики движения, камеры и датчики протечки — всё под контролем в реальном времени.</p>
</div>
<div class="feature-card">
<div class="icon-wrap">⚡</div>
<h3>Энергоэффективность</h3>
<p>Анализируйте потребление и сокращайте счета за счёт интеллектуального управления.</p>
</div>
<div class="feature-card">
<div class="icon-wrap">🎤</div>
<h3>Голосовое управление</h3>
<p>Работает с Алисой, Siri и Google Assistant — управляйте домом голосом.</p>
</div>
<div class="feature-card">
<div class="icon-wrap">📱</div>
<h3>Единое приложение</h3>
<p>Все устройства в одном месте. Удобный интерфейс для всей семьи.</p>
</div>
<div class="feature-card">
<div class="icon-wrap">🌐</div>
<h3>Удалённый доступ</h3>
<p>Управляйте домом из любой точки мира через интернет.</p>
</div>
</div>
</div>
</section>
<!-- ═══ BENEFITS / HOW IT WORKS ═══ -->
<section class="benefits" id="benefits">
<div class="container">
<div class="section-header">
<h2 class="section-title">Как это <span style="color:#00c8ff;">работает</span></h2>
<p class="section-subtitle">Три простых шага к умному дому мечты</p>
</div>
<div class="benefits-grid">
<div class="benefit-item">
<div class="step">1</div>
<h4>Установите приложение</h4>
<p>Скачайте наше приложение и создайте аккаунт за 2 минуты.</p>
</div>
<div class="benefit-item">
<div class="step">2</div>
<h4>Подключите устройства</h4>
<p>Добавьте совместимые устройства по Wi-Fi или Zigbee.</p>
</div>
<div class="benefit-item">
<div class="step">3</div>
<h4>Настройте сценарии</h4>
<p>Создайте правила автоматизации и наслаждайтесь комфортом.</p>
</div>
</div>
</div>
</section>
<!-- ═══ TESTIMONIALS ═══ -->
<section class="testimonials" id="testimonials">
<div class="container">
<div class="section-header">
<h2 class="section-title">Что говорят <span style="color:#00c8ff;">пользователи</span></h2>
<p class="section-subtitle">Реальные отзывы людей, которые уже живут в умном доме</p>
</div>
<div class="testimonials-grid">
<div class="testimonial-card">
<div class="stars">★★★★★</div>
<blockquote>“Дом сам готовится к моему возвращению: включает свет, кондиционер и музыку. Это невероятно!”</blockquote>
<div class="author">
<div class="avatar">А</div>
<div>
<div class="name">Алексей</div>
<div class="role">IT-директор, Москва</div>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="stars">★★★★★</div>
<blockquote>“Установил датчики протечки и дыма — теперь сплю спокойно. Приложение очень удобное.”</blockquote>
<div class="author">
<div class="avatar">Е</div>
<div>
<div class="name">Екатерина</div>
<div class="role">Дизайнер, Санкт-Петербург</div>
</div>
</div>
</div>
<div class="testimonial-card">
<div class="stars">★★★★★</div>
<blockquote>“Сократил счета за электроэнергию на 25% за первый месяц. Окупается быстрее, чем ожидал.”</blockquote>
<div class="author">
<div class="avatar">М</div>
<div>
<div class="name">Михаил</div>
<div class="role">Предприниматель, Казань</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ═══ CTA ═══ -->
<section class="cta" id="cta">
<div class="container">
<div class="cta-box">
<div class="orb orb-1"></div>
<div class="orb orb-2"></div>
<h2>Готовы сделать свой дом <span style="color:#00c8ff;">умным</span>?</h2>
<p>Присоединяйтесь к сообществу SmartHome и начните экономить время и деньги уже сегодня.</p>
<div class="btn-group">
<a href="#" class="btn btn-primary">Начать бесплатно</a>
<a href="#" class="btn btn-secondary">Связаться с нами</a>
</div>
</div>
</div>
</section>
<!-- ═══ FOOTER ═══ -->
<footer>
<div class="container">
<div class="footer-grid">
<div class="footer-brand">
<a href="#" class="logo">
<span class="logo-icon">✦</span>
Smart<span style="color:#00c8ff;">Home</span>
</a>
<p>© 2026 — Умный дом для всех</p>
</div>
<ul class="footer-links">
<li><a href="#features">Возможности</a></li>
<li><a href="#benefits">Как работает</a></li>
<li><a href="#testimonials">Отзывы</a></li>
<li><a href="#">Политика</a></li>
</ul>
<div class="footer-socials">
<a href="#" aria-label="Telegram">📱</a>
<a href="#" aria-label="YouTube">▶️</a>
<a href="#" aria-label="VK">📘</a>
</div>
</div>
<div class="footer-bottom">
Сделано с ❤️ для комфортной жизни
</div>
</div>
</footer>
<!-- ═══ JAVASCRIPT ═══ -->
<script>
// ── Mobile toggle ──
const toggle = document.getElementById('mobileToggle');
const navLinks = document.getElementById('navLinks');
toggle.addEventListener('click', () => {
navLinks.classList.toggle('open');
});
// Close menu on link click (mobile)
document.querySelectorAll('.nav-links a').forEach(link => {
link.addEventListener('click', () => {
navLinks.classList.remove('open');
});
});
// ── Header scroll effect ──
const header = document.getElementById('header');
window.addEventListener('scroll', () => {
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// ── Smooth anchor scroll ──
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const target = document.querySelector(targetId);
if (target) {
e.preventDefault();
const offsetTop = target.getBoundingClientRect().top + window.pageYOffset - 80;
window.scrollTo({ top: offsetTop, behavior: 'smooth' });
}
});
});
// ── Phone mockup interactive buttons (demo) ──
document.querySelectorAll('.action-btn').forEach(btn => {
btn.addEventListener('click', function() {
// just a little feedback
const original = this.textContent;
this.textContent = '✓';
this.style.opacity = '0.7';
setTimeout(() => {
this.textContent = original;
this.style.opacity = '1';
}, 600);
});
});
</script>
</body>
</html>