:root {
    --bg-color: #080b11;
    --card-bg: rgba(21, 28, 44, 0.6);
    --accent-purple: #8a2be2;
    --accent-glow: #bc13fe;
    --accent-cyan: #00f2fe;
    --text-main: #ffffff;
    --text-muted: #a4b3e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Анимированные неоновые круги на фоне */
body::before, body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(50px);
}
body::before { top: 10%; left: -10%; background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0,0,0,0) 70%); }
body::after { top: 40%; right: -10%; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 25px 0;
    background: rgba(8, 11, 17, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, var(--accent-cyan), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location {
    color: var(--text-muted);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone {
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s;
    border-bottom: 2px dashed var(--accent-cyan);
}

.phone:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px 0;
    text-align: center;
}

.badge {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 242, 254, 0.3));
    border: 1px solid rgba(0, 242, 254, 0.5);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

h1 span {
    background: linear-gradient(45deg, var(--accent-glow), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(188, 19, 254, 0.3);
}

.hero-p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-glow));
    color: white;
    padding: 20px 45px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-small {
    padding: 12px 30px; 
    font-size: 15px;
}

.btn-full {
    width: 100%; 
    margin-top: 10px;
}

/* Интерактивная демка умного дома */
.demo-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    max-width: 600px;
    margin: 60px auto 0 auto;
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

.demo-title {
    font-weight: 600; 
    margin-bottom: 10px;
}


.demo-room {
    width: 100px;
    height: 100px;
    background: #252f48;
    margin: 20px auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.5s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.demo-btn {
    background: #111;
    border: 1px solid #333;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.demo-status {
    font-size: 14px; 
    color: var(--text-muted);
}

/* Преимущества */
.section-title {
    text-align: center;
    font-size: 40px;
    margin: 100px 0 50px 0;
    font-weight: 800;
}


.section-title span {
    color: var(--accent-cyan);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,242,254,0.05), rgba(188,19,254,0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before { opacity: 1; }

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.1);
}

.card-icon {
    font-size: 45px;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.purple-icon { color: #bc13fe; }
.cyan-icon { color: #00f2fe; }
.pink-icon { color: #ff007f; }

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Блок Тарифы */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--accent-glow);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-glow);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.price-title { font-size: 24px; font-weight: 700; margin-bottom: 10px;}
.price-value { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 25px;}
.price-value span { font-size: 16px; color: var(--text-muted); font-weight: 400;}

.price-list { list-style: none; text-align: left; margin-bottom: 35px; color: var(--text-muted);}
.price-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px;}
.price-list li::before { content: '✓'; color: var(--accent-cyan); font-weight: bold; }

/* Квиз / Форма захвата */
.quiz-section {
    padding: 80px 0;
    margin-top: 100px;
}

.quiz-box {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(145deg, #111625, #0b0f19);
    padding: 50px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.quiz-heading {
    text-align: center; 
    font-size: 28px; 
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

select, input {
    width: 100%;
    padding: 16px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

select:focus, input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
    background-color: rgba(255,255,255,0.07);
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #05070b;
}

.footer-contacts {
    margin-top: 15px; 
    font-size: 14px;
}

.footer-phone {
    color: var(--accent-cyan); 
    text-decoration: none; 
    font-weight: 700;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    .hero-p { font-size: 16px; }
    .quiz-box { padding: 30px 20px; }
    .header-wrap { flex-direction: column; text-align: center; gap: 10px; }
    .price-card.popular { transform: none; }
}
