/* --- ОБЩИЕ ГЛОБАЛЬНЫЕ СТИЛИ --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; overflow-x: hidden; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-content { display: block; }
.inter-page-nav { background-color: #fff; padding: 12px 0; border-bottom: 1px solid #e0e0e0; box-shadow: 0 3px 8px rgba(0,0,0,0.05); }
.inter-page-nav ul { display: flex; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 15px; }
.inter-page-nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 18px; border-radius: 20px; transition: all 0.3s ease; background-color: #f1f3f5; color: #495057; border: 1px solid #dee2e6; cursor: pointer; }
.nav-alfa { --nav-color: #EF3124; } .nav-sber { --nav-color: #1C9E3A; } .nav-credits { --nav-color: #005BAA; } .nav-otkritie { --nav-color: #D4AF37; }
.inter-page-nav a:hover { border-color: var(--nav-color); color: var(--nav-color); }
.inter-page-nav a.active { background-color: var(--nav-color); color: white; font-weight: 700; border-color: var(--nav-color); box-shadow: 0 4px 12px color-mix(in srgb, var(--nav-color) 40%, transparent); }
.main-footer { background: #212529; color: rgba(255, 255, 255, 0.8); padding: 60px 0 20px; }
.main-footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.main-footer .footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 18px; }
.main-footer .footer-col p { color: rgba(255, 255, 255, 0.7); }
.main-footer .footer-col ul { list-style: none; padding: 0; }
.main-footer .footer-col ul li { margin-bottom: 12px; }
.main-footer .footer-col ul li i {margin-right: 10px; color: var(--c-footer-icon-color, #ccc);transition: color 0.3s ease; }
.main-footer .footer-col ul a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: all 0.3s ease; }
.main-footer .footer-col ul a:hover { color: #fff; padding-left: 5px; }
.main-footer .copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: rgba(255, 255, 255, 0.6); }
#scrollTopBtn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; color: white; border: none; border-radius: 50%; font-size: 24px; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 1001; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease; }
#scrollTopBtn.show { display: flex; opacity: 1; transform: translateY(0); }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.floating { animation: float 4s ease-in-out infinite; }
.page-header { position: sticky; top: 0; z-index: 1000; padding: 15px 0; transition: all 0.3s ease; }
.page-header .header-container { display: flex; justify-content: space-between; align-items: center; }
.page-header .logo { display: flex; align-items: center; }
.page-header .logo-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; background: var(--c-logo-icon-bg, var(--c-primary)); }
.page-header .logo-icon i { color: var(--c-logo-icon-color, white); font-size: 28px; }
.page-header .logo-text { font-size: 24px; font-weight: 700; color: var(--c-logo-text-color, var(--c-dark)); }
.page-header .logo-text span { color: var(--c-primary); }
.page-header nav ul { display: flex; list-style: none; }
.page-header nav li { margin-left: 30px; }
.page-header nav a { text-decoration: none; font-weight: 500; transition: all 0.3s ease; font-size: 17px; position: relative; color: var(--c-nav-link-color, var(--c-dark)); }
.page-header nav a:hover { color: var(--c-nav-link-hover, var(--c-primary)); }
.hero-section { padding: 120px 0 80px; }
.hero-section h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: var(--c-dark); }
.hero-section h1 span { color: var(--c-primary); }
.hero-section p { font-size: 20px; margin-bottom: 30px; max-width: 600px; line-height: 1.8; }
.btn { display: inline-block; padding: 16px 40px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 18px; transition: all 0.3s ease; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; z-index: 1;  isolation: isolate; background: var(--c-primary); color: var(--c-btn-text, white); border-color: var(--c-primary); box-shadow: 0 4px 15px color-mix(in srgb, var(--c-primary) 30%, transparent); }
.btn:before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: var(--c-btn-hover-bg, white); transition: width 0.5s ease; z-index: -1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px color-mix(in srgb, var(--c-primary) 40%, transparent); color: var(--c-btn-hover-text, var(--c-primary)); }
.btn:hover:before { width: 100%; }
.btn.btn--light { background: var(--c-bg, white); color: var(--c-primary); }
.btn.btn--light:before { background: var(--c-primary); }
.btn.btn--light:hover { color: var(--c-btn-text, white); }
.features-section, .products-section, .process-section, .pricing-section, .calculator-section { padding: 100px 0; background-color: var(--c-bg-alt, var(--c-bg)); }
.section-title { text-align: center; margin-bottom: 60px; font-size: 40px; font-weight: 700; color: var(--c-dark); }
.section-title span { color: var(--c-primary); }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { background: var(--c-card-bg, white); border-radius: 16px; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.feature-card { padding: 35px 30px; text-align: center; }
.feature-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; background: var(--c-primary); }
.feature-icon i { color: white; font-size: 36px; }
.feature-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--c-dark); }
.feature-card p { font-size: 17px; line-height: 1.7; color: var(--c-text-secondary, var(--c-text)); }
.pricing-card, .product-card { overflow: hidden; border-top: 4px solid var(--c-primary); }
.pricing-card:hover, .product-card:hover { transform: scale(1.03); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
.pricing-header, .product-header { padding: 30px; text-align: center; }
.pricing-header h3, .product-header h3 { font-size: 24px; margin-bottom: 10px; }
.price, .rate { font-size: 42px; font-weight: 800; margin: 20px 0; color: var(--c-primary); }
.price span, .rate span { font-size: 18px; font-weight: normal; color: var(--c-text); }
.pricing-body, .product-body { padding: 30px; text-align: center; }
.pricing-body ul, .product-body ul { list-style: none; margin-bottom: 30px; }
.pricing-body li, .product-body li { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.05); display: flex; align-items: center; }
.pricing-body li:last-child, .product-body li:last-child { border-bottom: none; }
.pricing-body li i, .product-body li i { color: var(--c-primary); margin-right: 10px; font-size: 18px; min-width: 20px; }
.cta-section { padding: 120px 0; text-align: center; background: linear-gradient(135deg, var(--c-dark), var(--c-primary)); color: white; }
.cta-section h2 { font-size: 46px; margin-bottom: 20px; }
.cta-section p { font-size: 20px; max-width: 700px; margin: 0 auto 40px; opacity: 0.9; }
@media (max-width: 768px) {
    .page-header .header-container { flex-direction: column; }
    .page-header nav ul { margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    .page-header nav li { margin: 10px 15px; }
    .hero-section { padding: 80px 0 60px; text-align: center; }
    .grid-container, #page-otkritie .steps { grid-template-columns: 1fr; flex-direction: column; }
    .inter-page-nav ul { flex-wrap: wrap; gap: 15px 10px; }
}