/* ЯРКАЯ ЦВЕТОВАЯ ПАЛИТРА И ГРАДИЕНТЫ */
:root {
    --color-red: #ff3b30;
    --color-blue: #007aff;
    --color-green: #34c759;
    --color-orange: #ff9500;
    --color-dark: #2c3e50;
    --color-gray: #8e8e93;
    
    /* Светлые тона для карточек */
    --light-cream: #ffffff;     
    --light-plate: #e9eff4;     
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    scroll-behavior: smooth;
}

/* Привлекательный премиальный фон (Mesh Gradient) */
body {
    background-color: #fdfbfb;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(216, 241, 230, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(230, 222, 255, 0.7) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 235, 240, 0.7) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--color-dark);
    padding-bottom: 0;
}

h1, h2, h3, .logo {
    font-weight: 700;
}

/* Глобальное выравнивание текстов по ширине */
p, 
.cabinet-intro, 
.mirrors-desc, 
.setup-intro-text, 
.payment-text-top, 
.setup-substeps li,
.payment-footer-info {
    text-align: justify;
}

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

/* Современная карточка с мягкой тенью */
.theme-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 1);
}

/* Шапка с эффектом матового стекла (Glassmorphism) */
header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--color-blue);
}

.logo span {
    color: var(--color-red);
}

/* ОЧЕНЬ ЯРКОЕ КРАСОЧНОЕ МЕНЮ */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Уникальные сочные градиенты для каждой кнопки меню */
.nav-item:nth-child(1) .nav-link { background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); box-shadow: 0 4px 15px rgba(255, 8, 68, 0.3); }
.nav-item:nth-child(2) .nav-link { background: linear-gradient(135deg, #209cff 0%, #68e0cf 100%); box-shadow: 0 4px 15px rgba(32, 156, 255, 0.3); }
.nav-item:nth-child(3) .nav-link { background: linear-gradient(135deg, #0ba360 0%, #3cba92 100%); box-shadow: 0 4px 15px rgba(11, 163, 96, 0.3); }
.nav-item:nth-child(4) .nav-link { background: linear-gradient(135deg, #f83600 0%, #f9d423 100%); box-shadow: 0 4px 15px rgba(248, 54, 0, 0.3); }
.nav-item:nth-child(5) .nav-link { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); box-shadow: 0 4px 15px rgba(161, 140, 209, 0.3); color: #fff; text-shadow: none;}
.nav-item:nth-child(6) .nav-link { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
.nav-item:nth-child(7) .nav-link { background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%); box-shadow: 0 4px 15px rgba(255, 117, 140, 0.3); }
.nav-item:nth-child(8) .nav-link { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3); }

.nav-link:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
}

/* Бургер-меню */
.burger {
    display: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Основные Кнопки */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 50px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-red { 
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); 
    color: #ffffff; 
    box-shadow: 0 8px 20px rgba(255, 8, 68, 0.3);
}

.btn-blue { 
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); 
    color: #ffffff; 
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Секции */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #209cff, #68e0cf);
    border-radius: 2px;
}

/* Главный баннер (Hero) */
.hero {
    padding: 120px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #555;
}

/* Блок: Информация */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 40px 30px;
}

.info-card .icon-holder {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(135deg, #209cff 0%, #68e0cf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-dark);
    text-align: left;
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

/* Блок: Как подключить */
.connect-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.step-block {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 35px;
}

.step-num-badge {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-dark);
    text-align: left;
}

.step-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

/* Блок: Личный кабинет */
.cabinet-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
}

.cabinet-intro {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cabinet-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.cab-feature-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.cab-feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.cab-feature-item h4 i {
    color: var(--color-orange);
}

.cab-feature-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.cabinet-action {
    text-align: center;
}

/* Блок: Зеркала */
.mirrors-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mirror-btn {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    border-radius: 16px;
    transition: all 0.3s ease;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Яркие градиенты для кнопок-зеркал */
.mirror-btn:nth-child(1) { background: linear-gradient(135deg, #ff0844, #ffb199); box-shadow: 0 5px 15px rgba(255, 8, 68, 0.3); }
.mirror-btn:nth-child(2) { background: linear-gradient(135deg, #209cff, #68e0cf); box-shadow: 0 5px 15px rgba(32, 156, 255, 0.3); }
.mirror-btn:nth-child(3) { background: linear-gradient(135deg, #0ba360, #3cba92); box-shadow: 0 5px 15px rgba(11, 163, 96, 0.3); }
.mirror-btn:nth-child(4) { background: linear-gradient(135deg, #f83600, #f9d423); box-shadow: 0 5px 15px rgba(248, 54, 0, 0.3); }
.mirror-btn:nth-child(5) { background: linear-gradient(135deg, #f6d365, #fda085); box-shadow: 0 5px 15px rgba(246, 211, 101, 0.3); }
.mirror-btn:nth-child(6) { background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3); }
.mirror-btn:nth-child(7) { background: linear-gradient(135deg, #43e97b, #38f9d7); box-shadow: 0 5px 15px rgba(67, 233, 123, 0.3); color: #333; text-shadow: none;}
.mirror-btn:nth-child(8) { background: linear-gradient(135deg, #fa709a, #fee140); box-shadow: 0 5px 15px rgba(250, 112, 154, 0.3); color: #333; text-shadow: none;}

.mirror-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* Блок: Где работает */
.where-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.where-card {
    padding: 40px 30px;
    text-align: center;
}

.where-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.where-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--color-dark);
    text-align: center;
}

.where-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Блок: Настройка */
.setup-container {
    max-width: 900px;
    margin: 0 auto;
}

.setup-intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.setup-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.setup-node {
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.setup-icon-box {
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    color: #ffffff;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 8, 68, 0.3);
}

.setup-details h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-dark);
    text-align: left;
}

.setup-details p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.setup-substeps {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 25px;
    border-radius: 12px;
    list-style-type: disc;
    margin-left: 0;
    padding-left: 45px;
}

.setup-substeps li {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #444;
}

.setup-substeps li:last-child {
    margin-bottom: 0;
}

/* Блок: Тариф */
.tariff-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    position: relative;
}

.tariff-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    color: #ffffff;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 8, 68, 0.3);
}

.tariff-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.tariff-price {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin: 30px 0;
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tariff-price span {
    font-size: 1.8rem;
    color: var(--color-gray);
    font-weight: 500;
    -webkit-text-fill-color: initial;
}

/* Блок: Оплата */
.payment-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 50px;
}

.payment-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-dark);
}

.payment-text-top {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #555;
}

.payment-methods-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.method-item-box {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.method-item-box:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

.method-item-box h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.method-item-box:nth-child(1) h4 { color: var(--color-blue); }
.method-item-box:nth-child(2) h4 { color: var(--color-orange); }
.method-item-box:nth-child(3) h4 { color: var(--color-green); }

.method-item-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.payment-footer-info {
    background: rgba(0, 122, 255, 0.06);
    border-left: 4px solid var(--color-blue);
    padding: 22px;
    border-radius: 12px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.payment-footer-info i {
    color: var(--color-blue);
    font-size: 1.3rem;
    margin-top: 2px;
}

/* Подвал */
footer {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 60px 0 40px;
    text-align: center;
    margin-top: 40px;
}

.social-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--color-dark);
}

.social-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.6rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Индивидуальные яркие градиенты соцсетей */
.social-link.vk {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.3);
}

.social-link.tg {
    background: linear-gradient(135deg, #209cff, #68e0cf);
    box-shadow: 0 6px 15px rgba(32, 156, 255, 0.3);
}

.social-link.ok {
    background: linear-gradient(135deg, #ff9500, #ffcc00);
    box-shadow: 0 6px 15px rgba(255, 149, 0, 0.3);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .mirrors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .burger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 10px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .cabinet-features {
        grid-template-columns: 1fr;
    }

    .mirrors-grid {
        grid-template-columns: 1fr;
    }

    .cabinet-container, .payment-container, .setup-node, .step-block {
        padding: 30px 20px;
    }
    
    .setup-node, .step-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .setup-details h3, .step-content h3 {
        text-align: center;
    }
}