:root {
    --bg-color: #fbf7f6;          /* Мягкий светлый пастельно-розовый (почти белый) */
    --text-color: #1d1d1f;        /* Фирменный глубокий черный Apple */
    --text-secondary: #86868b;    /* Серый для подзаголовков */
    --accent-color: #d4a39a;      /* Благородный матовый Rose Gold */
    --card-bg: #ffffff;           /* Белоснежные карточки */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Включение плавной анимации прокрутки по якорям navbar */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-stack);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1024px; margin: 0 auto; padding: 0 20px; }

/* Навигация */
.navbar {
    background: rgba(251, 247, 246, 0.8);
    backdrop-filter: blur(20px);
    position: fixed; top: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.logo { font-weight: 600; font-size: 16px; color: var(--text-color); }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 13px; margin-left: 24px; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-color); }

/* Hero секция */
.hero { padding: 140px 0 60px; text-align: center; }
.hero h1 { font-size: 46px; font-weight: 700; letter-spacing: -0.5px; margin: 0; }
.hero .subtitle { font-size: 21px; color: var(--text-secondary); margin-top: 12px; font-weight: 400; }

/* Сетка и Карточки */
.product-section { padding: 50px 0 20px 0; } /* Корректировка отступа под плавный скролл */
.product-section h2 { font-size: 32px; font-weight: 600; margin-bottom: 25px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { 
    background: var(--card-bg); 
    border-radius: 22px; 
    padding: 28px; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    box-shadow: 0 8px 24px rgba(212, 163, 154, 0.12);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(212, 163, 154, 0.2); }

/* Селекторы опций внутри карточек */
.options-group { margin: 16px 0; }
.options-label { font-size: 11px; text-transform: uppercase; color: var(--text-secondary); font-weight: 600; display: block; margin-bottom: 8px; }
.selector-flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Универсальная базовая кнопка */
.selector-btn { 
    background: #f5f5f7; border: 1px solid transparent; border-radius: 8px; 
    padding: 6px 12px; font-size: 13px; cursor: pointer; color: var(--text-color); transition: all 0.2s; 
}
.selector-btn.active { background: var(--text-color); color: white; border-color: var(--text-color); }

/* Специфичные стили для Круглых кнопок выбора Цвета */
.color-btn {
    width: 26px; height: 26px; border-radius: 50%; padding: 0;
    border: 2px solid transparent; cursor: pointer; position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); transition: transform 0.2s, border-color 0.2s;
}
.color-btn.active {
    border-color: var(--text-color);
    transform: scale(1.1);
}

/* Всплывающая подсказка с названием цвета (Tooltip) */
.color-btn::after {
    content: attr(data-color-name);
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1d1d1f; color: #fff; font-size: 11px;
    padding: 4px 8px; border-radius: 6px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
}
.color-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.price { font-size: 22px; font-weight: 600; margin: 20px 0 10px 0; }
.btn { background: var(--text-color); color: white; border: none; border-radius: 980px; padding: 12px 20px; cursor: pointer; font-size: 14px; font-weight: 500; width: 100%; transition: opacity 0.2s; }
.btn:hover { opacity: 0.9; }

/* Подвал с инфо о презентации */
.footer-info { background: rgba(255, 255, 255, 0.6); padding: 50px 0; margin-top: 60px; border-top: 1px solid rgba(0, 0, 0, 0.05); text-align: center; }
.footer-info h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.footer-info p { color: var(--text-secondary); max-width: 600px; margin: 0 auto 12px auto; font-size: 14px; line-height: 1.5; }

/* Виджет Живого Чата */
.chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 2000; font-family: var(--font-stack); }
.chat-icon-btn { 
    background: var(--text-color); color: white; width: 60px; height: 60px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: transform 0.2s;
}
.chat-icon-btn:hover { transform: scale(1.05); }
.chat-window { 
    display: none; flex-direction: column; width: 320px; height: 400px; 
    background: white; border-radius: 20px; box-shadow: 0 12px 36px rgba(0,0,0,0.15); 
    position: absolute; bottom: 75px; right: 0; border: 1px solid rgba(0,0,0,0.05); overflow: hidden; 
}
.chat-header { background: var(--bg-color); padding: 15px; font-weight: 600; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.chat-close { cursor: pointer; color: var(--text-secondary); }
.chat-messages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: #fafafa; }
.msg { padding: 10px 14px; border-radius: 14px; font-size: 13px; max-width: 80%; line-height: 1.4; }
.msg.manager { background: #e9e9eb; color: black; align-self: flex-start; }
.msg.user { background: var(--text-color); color: white; align-self: flex-end; }
.chat-footer { padding: 10px; display: flex; gap: 8px; border-top: 1px solid rgba(0,0,0,0.05); background: white; }
.chat-input { flex: 1; border: 1px solid #e5e5ea; border-radius: 980px; padding: 8px 14px; font-size: 13px; outline: none; }
/* --- СТИЛИ ДЛЯ СТЕКЛЯННОЙ ШТОРКИ HERO (iOS СТИЛЬ) --- */

.hero {
    padding: 160px 0 50px;
    text-align: center;
    /* Полностью убираем радиальный градиент, чтобы исключить артефакты и полосы */
    background: transparent; 
}


.glass-banner {
    display: inline-block;
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 60px;
    border-radius: 28px; /* Округленные углы как у виджетов iOS */
    
    /* Эффект матовой призмы стекла (Glassmorphism) */
    background: rgba(255, 255, 255, 0.45); 
    backdrop-filter: blur(25px) saturate(190%); 
    -webkit-backdrop-filter: blur(25px) saturate(190%);
    
    /* Тонкая грань стекла, создающая объем и преломление света */
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    /* Мягкая тень для отделения шторки от подложки сайта */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.03), 
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
                
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Эффект легкого покачивания при наведении на шторку */
.glass-banner:hover {
    transform: scale(1.01) translateY(-2px);
}

/* Типографика внутри стекла */
.glass-title {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin: 0 0 12px 0;
    line-height: 1.1;
    
    /* Дорогой металлический градиент на тексте */
    background: linear-gradient(135deg, #1d1d1f 30%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-subtitle {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.3px;
    margin: 0;
    
    /* Мягкий цвет для контраста на светлом стекле */
    color: #515154;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 768px) {
    .glass-banner { padding: 30px 24px; margin: 0 15px; }
    .glass-title { font-size: 36px; }
    .glass-subtitle { font-size: 16px; }
}

