* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: "Inter", -apple-system, sans-serif; background: #f5f5f7; color: #1d1d1f; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== БЕЙДЖИ PRO AI / ART AI ========== */
.badge-ai { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.badge-pro { background: linear-gradient(135deg, #0071e3, #409cff); color: #fff; }
.badge-art { background: linear-gradient(135deg, #f3d779, #f0c040); color: #000; }
.badge-vio { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff; }
.badge-pro-sm { font-size: 9px; padding: 2px 8px; margin-top: 6px; }
.badge-art-sm { font-size: 9px; padding: 2px 8px; margin-top: 6px; }
.badge-vio-sm { font-size: 9px; padding: 2px 8px; margin-top: 6px; background: rgba(124,58,237,0.2); color: #a78bfa; }

/* ========== РАЗДЕЛИТЕЛИ СЕКЦИЙ ========== */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06) 20%, rgba(0,113,227,0.12) 50%, rgba(0,0,0,0.06) 80%, transparent); margin: 0 auto; max-width: 800px; }

/* ========== MICRO-INTERACTIONS ========== */
.hover-card { transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.hover-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: rgba(0,113,227,0.2); }

/* ========== КНОПКА НАВЕРХ ========== */
.scroll-to-top { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 44px; height: 44px; border-radius: 50%; background: #0071e3; color: #fff; border: none; font-size: 20px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,113,227,0.3); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.scroll-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,113,227,0.4); }

.btn { display: inline-block; padding: 12px 24px; border-radius: 9999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); cursor: pointer; border: none; white-space: nowrap; }
.btn-primary { background: #0071e3; color: #fff; box-shadow: 0 2px 8px rgba(0,113,227,0.3); }
.btn-primary:hover { background: #0077ed; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,113,227,0.4); }
.btn-outline { background: transparent; color: #0071e3; border: 1.5px solid #0071e3; }
.btn-outline:hover { background: rgba(0,113,227,0.06); transform: translateY(-2px); }
.btn-large { padding: 18px 36px; font-size: 17px; }

.pulse-btn { animation: pulseBtn 2.5s ease-in-out infinite; }
@keyframes pulseBtn { 0%, 100% { box-shadow: 0 2px 8px rgba(0,113,227,0.3); } 50% { box-shadow: 0 8px 28px rgba(0,113,227,0.5); } }

.progress-bar { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, #0071e3, #409cff); z-index: 101; width: 0%; }

/* ========== HEADER ========== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(245,245,247,0.72); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border-bottom: 0.5px solid rgba(0,0,0,0.06); padding: 10px 0; transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.logo { font-size: 18px; font-weight: 800; color: #0071e3; text-decoration: none; display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.logo-sub { font-size: 9px; color: #86868b; text-transform: uppercase; font-weight: 500; }
.nav { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-link { color: #86868b; text-decoration: none; font-size: 12px; font-weight: 500; padding: 5px 8px; border-radius: 9999px; white-space: nowrap; transition: all 0.2s; }
.nav-link:hover { color: #0071e3; background: rgba(0,113,227,0.06); }
.nav-link.active { color: #0071e3; background: rgba(0,113,227,0.1); font-weight: 600; }
.lang-btn-header { background: none; border: 0.5px solid rgba(0,0,0,0.1); padding: 5px 8px; border-radius: 20px; cursor: pointer; font-size: 12px; display: flex; align-items: center; gap: 4px; flex-shrink: 0; color: #1d1d1f; }
.header-btn { display: inline-block; padding: 6px 10px; border-radius: 9999px; font-weight: 600; font-size: 11px; text-decoration: none; cursor: pointer; flex-shrink: 0; }
.header-btn-primary { background: #0071e3; color: #fff; }
.header-btn-outline { background: transparent; color: #0071e3; border: 1.5px solid #0071e3; }
.burger-btn { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: #1d1d1f; padding: 4px 8px; }

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 149; }
.mobile-menu-overlay.show { display: block; }
.mobile-menu { display: none; position: fixed; top: 0; right: 0; width: 280px; height: 100vh; height: 100dvh; background: rgba(255,255,255,0.97); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); z-index: 150; padding: 24px; overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,0.12); transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.mobile-menu.show { display: flex; flex-direction: column; gap: 6px; transform: translateX(0); }

/* ========== ГЕРОЙ ========== */
.hero { text-align: center; padding: 40px 0 30px; }
.hero h1 { font-size: 48px; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 14px; line-height: 1.15; }
.gradient-text { background: linear-gradient(135deg, #0071e3, #af52de, #ff3b30, #ff9500, #34c759, #0071e3); background-size: 400% 400%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; animation: rainbowPulse 4s ease-in-out infinite; will-change: transform; }
@keyframes rainbowPulse { 0%, 100% { background-position: 0% 50%; transform: scale(1); } 50% { background-position: 100% 50%; transform: scale(1.08); } }
.hero p { font-size: 17px; color: #86868b; max-width: 700px; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 38px; font-weight: 900; color: #0071e3; }
.hero-stat-label { font-size: 13px; color: #86868b; }
.live-counter { display: inline-flex; align-items: center; gap: 8px; background: rgba(52,199,89,0.08); color: #34c759; padding: 10px 20px; border-radius: 9999px; font-size: 14px; font-weight: 600; margin-top: 12px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; animation: breathing 1.5s infinite; }
@keyframes breathing { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }
.trust-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: #86868b; }
.trust-item { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.02); padding: 8px 14px; border-radius: 9999px; transition: all 0.3s; }
.trust-item:hover { background: rgba(0,113,227,0.04); color: #0071e3; }

/* ========== СЕКЦИИ ========== */
.section { padding: 70px 0; }
.section-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #0071e3; margin-bottom: 10px; }
.section h2 { text-align: center; font-size: 32px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.section .subtitle { text-align: center; color: #86868b; font-size: 15px; margin-bottom: 40px; max-width: 600px; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
.step { text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 20px; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0071e3, #409cff); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin: 0 auto 16px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: #86868b; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.feature-card { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 22px; display: flex; gap: 14px; border-left: 4px solid #0071e3; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-card p { font-size: 13px; color: #86868b; }

.art-styles-grid-new { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.art-style-card-new { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 16px; overflow: hidden; cursor: default; display: flex; flex-direction: column; height: 100%; }
.art-style-card-new:hover { border-color: rgba(243,215,121,0.4); }
.art-style-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: rgba(0,0,0,0.02); }
.art-style-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.art-style-card-new:hover .art-style-img img { transform: scale(1.08); }
.art-style-label-new { padding: 12px 14px; font-size: 13px; font-weight: 600; text-align: center; color: #1d1d1f; letter-spacing: -0.01em; line-height: 1.2; min-height: 42px; display: flex; align-items: center; justify-content: center; }

/* ========== ФИЛЬТР КЕЙСОВ ========== */
.cases-filter { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.case-filter-btn { padding: 8px 16px; border-radius: 9999px; border: 0.5px solid rgba(0,0,0,0.1); background: transparent; color: #86868b; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.3s; }
.case-filter-btn:hover { border-color: #0071e3; color: #0071e3; }
.case-filter-btn.active { background: #0071e3; color: #fff; border-color: #0071e3; }

.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.case-card { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 20px; transition: all 0.35s; }
.case-card.hidden { display: none; }
.case-icon { font-size: 28px; margin-bottom: 10px; }
.case-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.case-card p { font-size: 13px; color: #86868b; margin-bottom: 8px; }
.case-result { font-size: 12px; color: #34c759; font-weight: 600; }

.use-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.use-case { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 20px; border-left: 4px solid #0071e3; transition: all 0.35s; display: block; }
.use-case-icon { font-size: 32px; margin-bottom: 10px; }
.use-case h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.use-case p { font-size: 13px; color: #86868b; margin-bottom: 10px; }
.use-case-ex { font-size: 12px; color: #0071e3; font-weight: 500; }

/* ========== АНИМИРОВАННЫЕ ИКОНКИ ========== */
.animated-icon { display: inline-block; animation: iconFloat 3s ease-in-out infinite; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ========== КАРУСЕЛЬ ОТЗЫВОВ ========== */
.reviews-carousel-wrapper { display: flex; align-items: center; gap: 12px; max-width: 800px; margin: 0 auto; position: relative; }
.reviews-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0; flex: 1; }
.reviews-carousel::-webkit-scrollbar { display: none; }
.review-card { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 20px; min-width: 300px; max-width: 380px; flex-shrink: 0; scroll-snap-align: start; transition: all 0.35s; }
.review-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 8px; }
.review-card p { font-size: 14px; margin-bottom: 10px; }
.review-author { font-weight: 600; font-size: 13px; }
.review-role { font-size: 12px; color: #86868b; }
.review-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0.5px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.8); color: #0071e3; font-size: 22px; cursor: pointer; flex-shrink: 0; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.review-arrow:hover { background: #0071e3; color: #fff; border-color: #0071e3; }

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.15); cursor: pointer; transition: all 0.3s; }
.carousel-dot.active { background: #0071e3; width: 24px; border-radius: 4px; }

/* ========== FAQ ========== */
.faq-categories { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.faq-cat-btn { padding: 8px 16px; border-radius: 9999px; border: 0.5px solid rgba(0,0,0,0.1); background: transparent; color: #86868b; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.3s; }
.faq-cat-btn:hover { border-color: #0071e3; color: #0071e3; }
.faq-cat-btn.active { background: #0071e3; color: #fff; border-color: #0071e3; }

.faq-item { border-bottom: 0.5px solid rgba(0,0,0,0.06); padding: 18px 0; cursor: pointer; transition: all 0.3s; }
.faq-item.hidden { display: none; }
.faq-q { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-q span { font-size: 20px; color: #86868b; transition: transform 0.4s; }
.faq-item.open .faq-q span { transform: rotate(135deg); }
.faq-a { font-size: 14px; color: #86868b; max-height: 0; overflow: hidden; transition: max-height 0.5s; }
.faq-item.open .faq-a { max-height: 200px; margin-top: 10px; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.article-card { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 20px; text-decoration: none; color: inherit; display: block; transition: all 0.3s; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.article-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #0071e3; margin-bottom: 8px; }
.article-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.article-card p { font-size: 12px; color: #86868b; }

.categories-grid-all { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; max-width: 1000px; margin: 0 auto; }
.category-card-link { text-decoration: none; color: inherit; }
.category-card { background: rgba(255,255,255,0.7); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 14px; padding: 16px 8px; text-align: center; cursor: pointer; transition: all 0.3s; }
.category-card:hover { border-color: #0071e3; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,113,227,0.1); }
.category-card .cat-icon { font-size: 28px; display: block; margin-bottom: 4px; }
.category-card .cat-name { font-size: 11px; font-weight: 600; }

.compare-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; max-width: 800px; margin: 0 auto; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; font-size: 13px; }
.compare-table th { background: rgba(0,0,0,0.03); font-weight: 600; font-size: 11px; text-transform: uppercase; color: #86868b; }
.compare-table .our-col { background: rgba(0,113,227,0.04); font-weight: 600; color: #0071e3; }
.check { color: #34c759; font-size: 16px; }
.cross { color: #ff3b30; font-size: 16px; }

.cta { text-align: center; padding: 80px 0; background: linear-gradient(135deg, rgba(0,113,227,0.04), rgba(64,156,255,0.04)); border-radius: 24px; margin-top: 40px; }
.cta h2 { font-size: 34px; font-weight: 900; margin-bottom: 10px; }
.cta p { color: #86868b; font-size: 16px; margin-bottom: 24px; }

.footer { border-top: 0.5px solid rgba(0,0,0,0.06); padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: #86868b; text-decoration: none; font-size: 13px; padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: #0071e3; }
.footer-bottom { text-align: center; padding: 20px 0; border-top: 0.5px solid rgba(0,0,0,0.06); color: #86868b; font-size: 12px; }

/* ========== КАЛЬКУЛЯТОР ========== */
.calculator-card { background: rgba(255,255,255,0.78); backdrop-filter: blur(50px) saturate(170%); -webkit-backdrop-filter: blur(50px) saturate(170%); border: 0.5px solid rgba(0,0,0,0.06); border-radius: 24px; padding: 22px 24px; max-width: 620px; margin: 0 auto; box-shadow: 0 24px 64px rgba(0,0,0,0.08), 0 8px 32px rgba(0,113,227,0.15); transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); overflow: hidden; position: relative; }
.calculator-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.2) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 2; }
.calculator-card:hover::before { opacity: 1; }
.calculator-card::after { content: ''; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(135deg, transparent 30%, rgba(0,113,227,0.12) 50%, rgba(175,82,222,0.12) 70%, transparent 100%); background-size: 300% 300%; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: borderShine 4s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes borderShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.calculator-card:hover { transform: translateY(-3px); box-shadow: 0 24px 64px rgba(0,0,0,0.08), 0 14px 40px rgba(0,113,227,0.16); }

.calc-top-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; position: relative; z-index: 1; }
.calc-profession-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #0071e3; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.calc-profession-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #0071e3; animation: labelDot 2s ease-in-out infinite; }
@keyframes labelDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.calc-btn-choose { padding: 9px 15px; border-radius: 14px; border: 1.5px dashed rgba(0,113,227,0.35); background: linear-gradient(135deg, rgba(0,113,227,0.03), rgba(64,156,255,0.02)); color: #0071e3; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.35s; font-family: inherit; white-space: nowrap; flex-shrink: 0; }
.calc-btn-choose:hover { background: linear-gradient(135deg, rgba(0,113,227,0.09), rgba(64,156,255,0.05)); border-color: #0071e3; border-style: solid; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,113,227,0.15); }
.calc-btn-choose .icon-pulse { display: inline-block; animation: iconPulse 2s ease-in-out infinite; font-size: 15px; }
@keyframes iconPulse { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.15) rotate(4deg); } }

.calc-selected-prof { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, rgba(0,113,227,0.1), rgba(64,156,255,0.05)); border: 1px solid rgba(0,113,227,0.2); padding: 9px 16px; border-radius: 14px; font-weight: 600; font-size: 13px; color: #0071e3; animation: profPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 3px 12px rgba(0,113,227,0.07); }
@keyframes profPopIn { from { transform: scale(0.82); opacity: 0; filter: blur(3px); } to { transform: scale(1); opacity: 1; filter: blur(0); } }
.calc-selected-prof .prof-icon { font-size: 22px; animation: bounceIcon 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
@keyframes bounceIcon { 0%, 100% { transform: translateY(0) rotate(0deg); } 30% { transform: translateY(-6px) rotate(-2deg); } 50% { transform: translateY(0) rotate(0deg); } 70% { transform: translateY(-3px) rotate(2deg); } }
.calc-selected-prof .change-prof-btn { background: rgba(0,113,227,0.1); border: none; color: #0071e3; cursor: pointer; font-size: 11px; padding: 4px 8px; border-radius: 6px; opacity: 0.7; transition: all 0.2s; font-family: inherit; }
.calc-selected-prof .change-prof-btn:hover { opacity: 1; background: rgba(0,113,227,0.16); transform: scale(1.05); }

.calc-slider-wrap { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.012); padding: 8px 13px; border-radius: 14px; border: 0.5px solid transparent; transition: all 0.3s; }
.calc-slider-wrap:hover { background: rgba(0,113,227,0.022); border-color: rgba(0,113,227,0.1); }
.calc-slider-label { font-size: 11px; font-weight: 600; color: #1d1d1f; white-space: nowrap; }
.calc-slider-wrap input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #0071e3 0%, #af52de 50%, #ff9500 100%); outline: none; cursor: pointer; }
.calc-slider-wrap input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2.5px solid #0071e3; cursor: pointer; box-shadow: 0 3px 12px rgba(0,113,227,0.2); transition: all 0.25s; }
.calc-slider-wrap input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); box-shadow: 0 5px 18px rgba(0,113,227,0.3), 0 0 0 6px rgba(0,113,227,0.07); }
.calc-slider-value { min-width: 38px; text-align: center; font-weight: 800; font-size: 14px; color: #0071e3; background: rgba(0,113,227,0.07); padding: 5px 11px; border-radius: 10px; transition: all 0.3s; }
.calc-slider-value.pulse { animation: valuePulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes valuePulse { 0% { transform: scale(1); } 40% { transform: scale(1.25); background: rgba(175,82,222,0.13); color: #af52de; } 100% { transform: scale(1); } }

.calc-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.05) 80%, transparent); margin: 0 0 14px 0; position: relative; z-index: 1; }
.calc-divider::after { content: '💎'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.78); padding: 0 10px; font-size: 10px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }

.calc-bottom-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; position: relative; z-index: 1; }
.calc-results-group { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.calc-result-item { text-align: center; transition: all 0.3s; position: relative; }
.calc-result-item:hover { transform: translateY(-2px); }
.calc-result-item::before { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; border-radius: 2px; opacity: 0; transition: all 0.3s; }
.calc-result-item:hover::before { opacity: 1; }
.calc-result-item.time-item::before { background: #0071e3; }
.calc-result-item.money-item::before { background: #af52de; }
.calc-result-item.savings-item::before { background: #34c759; }
.calc-result-value { font-weight: 900; font-size: 22px; letter-spacing: -0.03em; transition: all 0.5s; line-height: 1; }
.calc-result-value.updated { animation: resultPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes resultPop { 0% { transform: scale(0.88); opacity: 0.3; } 50% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.calc-result-label { font-size: 9px; color: #86868b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.calc-result-separator { width: 1px; height: 28px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.07), transparent); border-radius: 1px; }

.calc-cta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; background: linear-gradient(135deg, #0071e3 0%, #0077ed 50%, #0066cc 100%); background-size: 200% 200%; color: #fff; border: none; border-radius: 14px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: all 0.4s; box-shadow: 0 6px 22px rgba(0,113,227,0.28); font-family: inherit; white-space: nowrap; position: relative; overflow: hidden; }
.calc-cta-btn:hover { background-position: 100% 0%; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,113,227,0.38), 0 0 0 5px rgba(0,113,227,0.05); }
.calc-cta-btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.22); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; z-index: 0; }
.calc-cta-btn:hover::before { width: 400px; height: 400px; }
.calc-cta-btn span { position: relative; z-index: 1; }
.calc-cta-btn .btn-arrow { display: inline-flex; align-items: center; transition: all 0.35s; position: relative; z-index: 1; }
.calc-cta-btn:hover .btn-arrow { transform: translateX(5px); }
.calc-cta-btn .spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; pointer-events: none; z-index: 2; animation: sparkFloat 1.4s ease-in-out infinite; }
.calc-cta-btn .spark:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.calc-cta-btn .spark:nth-child(2) { top: 60%; left: 70%; animation-delay: 0.5s; }
.calc-cta-btn .spark:nth-child(3) { top: 30%; left: 50%; animation-delay: 1s; }
@keyframes sparkFloat { 0%, 100% { opacity: 0; transform: translateY(0) scale(0); } 30% { opacity: 1; transform: translateY(-5px) scale(1); } 70% { opacity: 0; transform: translateY(-10px) scale(0.5); } }

.calc-savings-badge { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #34c759 0%, #30d158 50%, #28a745 100%); background-size: 200% 200%; color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(52,199,89,0.28); transition: all 0.5s; margin-top: 16px; position: relative; z-index: 1; overflow: hidden; }
.calc-savings-badge::after { content: ''; position: absolute; top: -30%; left: -30%; width: 160%; height: 160%; background: radial-gradient(ellipse, rgba(255,255,255,0.18) 0%, transparent 70%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.calc-savings-badge:hover::after { opacity: 1; }
.calc-savings-badge.highlight { animation: badgeGlow 0.65s ease; background-position: 100% 0%; }
@keyframes badgeGlow { 0%, 100% { box-shadow: 0 8px 24px rgba(52,199,89,0.28); } 40% { box-shadow: 0 0 50px rgba(52,199,89,0.6); transform: scale(1.03); } }
.calc-savings-badge .emoji { font-size: 20px; animation: emojiDance 1.6s ease-in-out infinite; }
@keyframes emojiDance { 0%, 100% { transform: rotate(0deg) scale(1); } 20% { transform: rotate(-8deg) scale(1.08); } 40% { transform: rotate(6deg) scale(0.96); } 60% { transform: rotate(-4deg) scale(1.04); } 80% { transform: rotate(2deg) scale(0.98); } }

/* ========== МОДАЛКА ========== */
.profession-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.45); z-index: 1000; justify-content: center; align-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.profession-modal-overlay.show { display: flex; }
.profession-modal { background: #fff; border-radius: 24px; padding: 26px; width: 580px; max-width: 90vw; max-height: 75vh; overflow-y: auto; box-shadow: 0 25px 70px rgba(0,0,0,0.18); animation: modalSlideUp 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes modalSlideUp { from { transform: translateY(35px) scale(0.94); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.profession-modal h3 { font-size: 19px; font-weight: 800; margin-bottom: 5px; }
.modal-subtitle { font-size: 12px; color: #86868b; margin-bottom: 16px; }
.profession-search { width: 100%; padding: 11px 15px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.1); background: rgba(0,0,0,0.02); font-size: 13px; margin-bottom: 18px; outline: none; font-family: inherit; transition: all 0.3s; }
.profession-search:focus { border-color: #0071e3; background: #fff; box-shadow: 0 0 0 3px rgba(0,113,227,0.05); }
.profession-category { margin-bottom: 18px; }
.profession-category h4 { font-size: 11px; font-weight: 700; color: #0071e3; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.profession-category h4::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.05); }
.profession-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 7px; }
.profession-item { padding: 10px 13px; border-radius: 10px; border: 0.5px solid rgba(0,0,0,0.06); cursor: pointer; display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; transition: all 0.25s; background: rgba(0,0,0,0.01); }
.profession-item:hover { border-color: #0071e3; background: rgba(0,113,227,0.04); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,113,227,0.08); }
.profession-item.selected { border-color: #0071e3; background: linear-gradient(135deg, rgba(0,113,227,0.1), rgba(64,156,255,0.05)); color: #0071e3; font-weight: 600; box-shadow: 0 4px 16px rgba(0,113,227,0.12); }
.profession-item.selected::after { content: '✓'; margin-left: auto; font-weight: 700; }
.profession-modal-actions { position: sticky; bottom: 0; background: #fff; padding-top: 16px; border-top: 0.5px solid rgba(0,0,0,0.05); display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.btn-cancel { background: transparent; border: 0.5px solid rgba(0,0,0,0.1); color: #86868b; padding: 11px 22px; border-radius: 9999px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.btn-cancel:hover { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.18); }
.btn-apply { background: linear-gradient(135deg, #0071e3, #0077ed); color: #fff; border: none; padding: 11px 25px; border-radius: 9999px; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 16px rgba(0,113,227,0.25); font-family: inherit; transition: all 0.25s; }
.btn-apply:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,113,227,0.35); }
.btn-apply:disabled { opacity: 0.35; cursor: not-allowed; filter: grayscale(25%); }
.no-results { text-align: center; padding: 40px; color: #86868b; font-size: 14px; }

.cookie-banner-lp { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.85); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border: 0.5px solid rgba(0,0,0,0.08); border-radius: 20px; color: #1d1d1f; padding: 20px 28px; display: flex; align-items: center; gap: 20px; z-index: 1000; max-width: 600px; width: 90%; box-shadow: 0 8px 32px rgba(0,0,0,0.1); font-size: 14px; flex-wrap: wrap; justify-content: center; text-align: center; }
.cookie-banner-lp a { color: #0071e3; text-decoration: none; font-weight: 600; }
.cookie-btn { background: #0071e3; color: #fff; border: none; padding: 12px 28px; border-radius: 9999px; cursor: pointer; font-weight: 600; font-size: 14px; white-space: nowrap; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,113,227,0.3); font-family: inherit; }
.cookie-btn:hover { background: #0077ed; transform: translateY(-1px); }

/* ====== ТЁМНАЯ ТЕМА ====== */
@media (prefers-color-scheme: dark) {
  body { background: #000; color: #f5f5f7; }
  .section-divider { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04) 20%, rgba(0,113,227,0.1) 50%, rgba(255,255,255,0.04) 80%, transparent); }
  .header { background: rgba(0,0,0,0.72); border-color: rgba(255,255,255,0.06); }
  .header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
  .nav-link { color: #98989d; }
  .nav-link:hover { color: #409cff; background: rgba(0,113,227,0.1); }
  .nav-link.active { color: #409cff; background: rgba(0,113,227,0.15); }
  .lang-btn-header { border-color: rgba(255,255,255,0.1); color: #f5f5f7; }
  .hero p, .subtitle { color: #98989d; }
  .step, .feature-card, .case-card, .use-case, .article-card, .category-card, .review-card, .art-style-card-new { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
  .step h3, .feature-card h3, .case-card h3, .use-case h3, .article-card h3 { color: #f5f5f7; }
  .step p, .feature-card p, .case-card p, .use-case p, .article-card p, .review-card p, .review-role { color: #98989d; }
  .art-style-label-new { color: #f5f5f7; }
  .trust-item { background: rgba(255,255,255,0.03); color: #98989d; }
  .trust-item:hover { background: rgba(0,113,227,0.08); color: #409cff; }
  .compare-table th { background: rgba(255,255,255,0.03); color: #98989d; }
  .compare-table .our-col { background: rgba(0,113,227,0.08); }
  .faq-item { border-color: rgba(255,255,255,0.06); }
  .faq-q { color: #f5f5f7; }
  .faq-a { color: #98989d; }
  .footer { border-color: rgba(255,255,255,0.06); }
  .footer-bottom { border-color: rgba(255,255,255,0.06); color: #98989d; }
  .cta { background: linear-gradient(135deg, rgba(0,113,227,0.08), rgba(64,156,255,0.04)); }
  .case-filter-btn { border-color: rgba(255,255,255,0.1); color: #98989d; }
  .case-filter-btn.active { background: #0a84ff; color: #fff; }
  .faq-cat-btn { border-color: rgba(255,255,255,0.1); color: #98989d; }
  .faq-cat-btn.active { background: #0a84ff; color: #fff; }
  .review-arrow { background: rgba(28,28,30,0.8); border-color: rgba(255,255,255,0.1); }
  .calculator-card { background: rgba(28,28,30,0.75); border-color: rgba(255,255,255,0.06); }
  .calc-slider-wrap { background: rgba(255,255,255,0.02); }
  .calc-slider-wrap:hover { background: rgba(10,132,255,0.05); }
  .calc-slider-label { color: #f5f5f7; }
  .calc-divider { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05) 20%, rgba(255,255,255,0.05) 80%, transparent); }
  .calc-divider::after { background: rgba(28,28,30,0.75); }
  .calc-result-separator { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.07), transparent); }
  .profession-modal { background: #1c1c1e; border-color: rgba(255,255,255,0.08); color: #f5f5f7; }
  .profession-search { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: #f5f5f7; }
  .profession-item { border-color: rgba(255,255,255,0.06); color: #f5f5f7; }
  .profession-modal-actions { background: #1c1c1e; border-color: rgba(255,255,255,0.06); }
  .btn-cancel { border-color: rgba(255,255,255,0.1); color: #98989d; }
  .cookie-banner-lp { background: rgba(28,28,30,0.85); border-color: rgba(255,255,255,0.08); color: #f5f5f7; }
  .category-card .cat-name { color: #98989d; }
  .burger-btn { color: #f5f5f7; }
  .mobile-menu { background: rgba(0,0,0,0.97); }
  .mobile-menu .nav-link { color: #f5f5f7; }
  .scroll-to-top { background: #0a84ff; }
}

/* ====== АДАПТИВ ====== */
@media (max-width: 768px) {
  .container { padding: 0 16px !important; }
  .burger-btn { display: block; }
  .nav { display: none !important; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat-value { font-size: 28px; }
  .section h2 { font-size: 26px; }
  .cta h2 { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
  .features-grid, .cases-grid, .use-cases, .articles-grid { grid-template-columns: 1fr; }
  .features-grid[style*="repeat(3"] { grid-template-columns: 1fr !important; }
  .calc-result-value { font-size: 18px; }
  .calculator-card { padding: 18px 16px; border-radius: 20px; }
  .categories-grid-all { grid-template-columns: repeat(4, 1fr); }
  .art-styles-grid-new { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .art-style-label-new { font-size: 12px; padding: 10px; min-height: 38px; }
  .profession-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { gap: 8px; }
  .trust-item { font-size: 11px; padding: 6px 10px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .compare-table { min-width: 500px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-bottom-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .calc-results-group { justify-content: space-around; gap: 12px; }
  .calc-result-separator { display: none; }
  .calc-cta-btn { justify-content: center; width: 100%; padding: 13px 20px; }
  .calc-savings-badge { font-size: 12px; padding: 10px 14px; }
  .calc-top-row { gap: 10px; }
  .reviews-carousel-wrapper { padding: 0 8px; }
  .review-card { min-width: 260px; }
  .review-arrow { width: 32px; height: 32px; font-size: 18px; }
  .scroll-to-top { bottom: 20px; right: 16px; width: 38px; height: 38px; font-size: 18px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero-stat-value { font-size: 24px; }
  .section h2 { font-size: 22px; }
  .section { padding: 50px 0; }
  .cta { padding: 50px 20px; }
  .cta h2 { font-size: 22px; }
  .categories-grid-all { grid-template-columns: repeat(3, 1fr); }
  .art-styles-grid-new { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .art-style-label-new { font-size: 11px; padding: 8px; min-height: 34px; }
}