/* Base and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37; /* Gold accent */
    --primary-hover: #b5952f;
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-darker: #0b1120;
    --bg-alt: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo__text strong, .price {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--fluid {
    max-width: 100%;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--bg-darker);
}

.btn--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
}

.btn--outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Inputs */
.input {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__text strong {
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo__text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav {
    display: flex;
    gap: 25px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav__link:hover {
    color: var(--primary-color);
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11,17,32,0.95) 0%, rgba(11,17,32,0.7) 50%, rgba(11,17,32,0.3) 100%);
}

.hero__content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding: 25px 40px;
    display: inline-flex;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Benefits Section */
.card {
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Background Alt */
.bg-alt {
    background-color: var(--bg-alt);
}

/* Quiz Section */
.quiz__wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.quiz__layout {
    display: flex;
    flex-wrap: wrap;
}

.quiz__main {
    flex: 1;
    min-width: 60%;
    padding: 40px;
}

.quiz__sidebar {
    width: 300px;
    background: rgba(11, 17, 32, 0.9);
    padding: 40px 30px;
    border-left: 1px solid var(--glass-border);
}

.quiz__header {
    margin-bottom: 30px;
}

.quiz__header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.quiz__header p {
    color: var(--text-muted);
}

.quiz__progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 30px;
    position: relative;
}

.quiz__progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.quiz__progress-text {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.quiz__step {
    display: none;
    animation: fadeIn 0.5s ease;
    min-height: 250px;
}

.quiz__step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz__step h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.quiz__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quiz__card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    min-height: 160px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quiz__card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.quiz__card input {
    display: none;
}

.quiz__card-icon {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.quiz__card-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.quiz__card:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-5px);
}

.quiz__card:has(input:checked) .quiz__card-icon,
.quiz__card:has(input:checked) .quiz__card-text {
    color: var(--primary-color);
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.quiz__range {
    padding: 30px 0;
}

.quiz__range input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    background: var(--glass-border);
    height: 8px;
    border-radius: 4px;
    outline: none;
}

.quiz__range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.quiz__range-value {
    margin-top: 30px;
    font-size: 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

.quiz__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.quiz__footer.end {
    display: none;
}

.quiz__sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
}

.quiz__bonus {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.quiz__bonus.locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.quiz__bonus.unlocked {
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.quiz__bonus-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}
.quiz__bonus.locked .quiz__bonus-icon {
    color: var(--text-muted);
}

.quiz__bonus-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

.quiz__loading-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 250px;
    gap: 20px;
}

.quiz__loading-item {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.quiz__loading-item i {
    font-size: 1.5rem;
}

.quiz__final-desc {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.quiz__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz__messengers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.btn-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}
.btn-messenger:hover { transform: translateY(-2px); }

.btn-messenger--wa { background: #25D366; }
.btn-messenger--tg { background: #0088cc; }
.btn-messenger--vk { background: #0077FF; }
.btn-messenger--max, .chat-messenger--max { background: linear-gradient(135deg, #4fb8ff 0%, #9d4edd 100%); color: #fff !important; }
.btn-messenger--phone { background: var(--primary-color); color: #000 !important; grid-column: span 2; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.mobile-break { display: none; }

@media (max-width: 768px) {
    .mobile-break { display: block; }
    .stat { text-align: center; align-items: center; }
    .card { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .pricing-card { text-align: center; align-items: center; }
    .pricing-card__list { text-align: left; } /* Keep list left aligned inside pricing */
    .quiz__layout { flex-direction: column; }
    .quiz__sidebar { width: 100%; border-left: none; border-top: 1px solid var(--glass-border); }
    .quiz__footer { justify-content: center; gap: 15px; }
    .quiz__cards { grid-template-columns: 1fr; }
    .quiz__main { padding: 25px 20px; }
    .quiz__messengers { grid-template-columns: 1fr; }
    .btn-messenger--phone { grid-column: span 1; }
}

/* Tariffs Section */
.pricing-card {
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-darker);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-card__header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-card__header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    color: var(--text-muted);
}

.price span {
    font-size: 2.5rem;
    color: var(--text-light);
    font-weight: 700;
}

.pricing-card__list {
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-card__list li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pricing-card__list i {
    color: var(--primary-color);
    margin-top: 5px;
}

/* Portfolio Section */
.portfolio-item {
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.portfolio-item__content {
    padding: 30px;
}

.portfolio-item__content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.portfolio-item__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.portfolio-item__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item__header {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq-item__header:hover {
    color: var(--primary-color);
}

.faq-item__header i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-item__header i {
    transform: rotate(180deg);
}

.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__body {
    max-height: 200px; /* arbitrary large value */
}

.faq-item__body p {
    padding-bottom: 25px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer__info p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 400px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-light);
}

.socials a:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
}

.footer__contacts h3 {
    margin-bottom: 20px;
}

.footer__contacts p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer__contacts i {
    color: var(--primary-color);
}

.footer__bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__bottom a:hover {
    color: var(--text-light);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* Hamburger & Mobile Menu Elements */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 102;
}

.nav__close {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.desktop-only {
    display: inline-flex;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-widget__tooltip {
    background: var(--bg-dark);
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.chat-widget__tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--primary-color);
    border-right: 1px solid var(--primary-color);
    transform: rotate(45deg);
}

.chat-widget__tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-widget__btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    position: relative;
}

.chat-widget__btn:hover {
    transform: scale(1.1);
}

.chat-widget__indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 400px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-window__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.chat-manager {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-manager__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-manager__info {
    display: flex;
    flex-direction: column;
}

.chat-manager__info strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.chat-manager__info span {
    font-size: 0.75rem;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 4px;
}

.online-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-window__body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message--manager {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message--user {
    background: var(--primary-color);
    color: var(--bg-darker);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-messengers-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px;
    margin-top: 5px;
    text-align: center;
}

.chat-messengers-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.chat-messengers {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}

.chat-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.chat-messenger i.fa-brands {
    font-family: "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 400 !important;
}

.chat-messenger i.fa-solid {
    font-family: "Font Awesome 6 Free", sans-serif !important;
    font-weight: 900 !important;
}

.chat-messenger:hover {
    color: #fff;
}

.chat-messenger--wa {
    background: #25D366;
}

.chat-messenger--wa:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
}

.chat-messenger--tg {
    background: #0088cc;
}

.chat-messenger--tg:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

.chat-messenger--vk {
    background: #0077FF;
}

.chat-messenger--vk:hover {
    background: #0066d9;
    transform: translateY(-2px);
}

.chat-messenger--phone {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.chat-messenger--phone:hover {
    background: #bfa032;
    transform: translateY(-2px);
    color: var(--bg-dark);
}

.chat-window__input {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
}

.chat-window__input input {
    flex-grow: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    outline: none;
}

.chat-window__input input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-send:hover {
    transform: scale(1.1);
}

/* New Manager Section Styles */
.manager__layout {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.03);
}

.manager__visual {
    flex: 0 0 40%;
    position: relative;
}

.manager__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 0;
}

.manager__photo {
    width: 100%;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    object-fit: cover;
    object-position: center top;
}

.manager__floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-darker);
    border: 1px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.manager__floating-badge i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.manager__floating-badge span {
    font-weight: 700;
    line-height: 1.2;
}

.manager__floating-badge small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.manager__content {
    flex: 1;
    position: relative;
}

.manager__quote-icon {
    position: absolute;
    top: -30px;
    left: -20px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.1);
    z-index: 0;
}

.manager__content .section__title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 20px 0;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.manager__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.manager__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip i {
    color: var(--primary-color);
}

.manager__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.manager__signature {
    display: flex;
    flex-direction: column;
}

.sign-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sign-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 3rem; }
    .pricing-card.popular { transform: none; }

    /* Header Fix for Tablet */
    .desktop-only { display: none; }
    .hamburger { display: block; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 30px;
        transition: right 0.3s ease;
        z-index: 101;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav.active { right: 0; }
    .nav__close { display: block; }

    .nav__link {
        font-size: 1.2rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* Centering Hero and Manager on Tablet */
    .hero__content {
        margin: 0 auto;
        text-align: center;
    }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    
    .manager__layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .manager__visual { width: 100%; max-width: 500px; margin: 0 auto; }
    .manager__footer { flex-direction: column; align-items: center; gap: 20px; }
    .manager__chips { justify-content: center; }
}

@media (max-width: 768px) {
    .stat { text-align: center; align-items: center; }
    .card { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .pricing-card { text-align: center; align-items: center; }
    .pricing-card__list { text-align: left; } /* Keep list left aligned inside pricing */
    .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
    
    .hero { padding-top: 100px; }
    .hero__title { font-size: 2.2rem; }
    .hero__subtitle { font-size: 1rem; }
    .hero__stats { flex-direction: column; gap: 20px; padding: 20px; align-items: center; text-align: center; width: 100%; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; }
    
    .quiz__options { grid-template-columns: 1fr; }
    .footer .grid--2 { grid-template-columns: 1fr; gap: 40px; }
    
    .section { padding: 60px 0; }
    .section__title { font-size: 1.8rem; }
    
    .manager__photo { min-height: 300px; }
    .manager__floating-badge { right: 10px; bottom: -15px; padding: 10px 15px; }
    .manager__content .section__title { font-size: 1.6rem; }
    .manager__footer .btn { width: 100%; }

    .chat-widget { bottom: 20px; right: 20px; }
    .chat-window { bottom: 80px; width: 300px; height: auto; max-height: calc(100vh - 120px); right: 0; }
}

@media (max-width: 480px) {
    .phone { display: none; } /* Hide phone text in header on very small screens to avoid overlap */
    .logo__text span { display: none; } /* Simplify logo */
    .logo__text strong { font-size: 1.1rem; }
    
    .hero__title { font-size: 1.8rem; }
    .section__title { font-size: 1.5rem; }
    
    .chat-window {
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        position: fixed;
        z-index: 1000;
        display: none;
        flex-direction: column;
    }
    
    .chat-window.active {
        display: flex; /* Make sure it overrides display block if used */
    }
    
    .chat-window__header { border-radius: 0; }
    .chat-window__body { flex-grow: 1; overflow-y: auto; }
}

.chat-window__body::-webkit-scrollbar { width: 6px; }
.chat-window__body::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
.chat-window__body::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 3px; }
.chat-window__body::-webkit-scrollbar-thumb:hover { background: #e6b800; }
