       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        a { 
text-decoration: none!important;
color:#b71c1c;
}




        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.6;
            color: #1d1d1f;
            background: #fff;
            overflow-x: hidden;
        }

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

        /* Animated background particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(183, 28, 28, 0.1);
            border-radius: 50%;
            animation: float 20s infinite linear;
        }

        @keyframes float {
            0% {
                transform: translateY(100vh) translateX(0px);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) translateX(100px);
                opacity: 0;
            }
        }

        /* Header with glassmorphism */
        header {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px) saturate(180%);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(183, 28, 28, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            color: #b71c1c;
            text-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
            position: relative;
            cursor: pointer;
        }

        /* Telegram button styles */
        .telegram-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
        }

        .telegram-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
            background: linear-gradient(135deg, #0077bb 0%, #0099dd 100%);
        }

        .telegram-icon {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

        .contact-telegram {
            margin-top: 2rem;
            display: inline-flex;
        }

        .logo::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
            transition: width 0.3s ease;
        }

        .logo:hover::after {
            width: 100%;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #1d1d1f;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            padding: 0.5rem 1rem;
            border-radius: 20px;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: rgba(183, 28, 28, 0.1);
            border-radius: 20px;
            transition: width 0.3s ease;
            z-index: -1;
        }

        .nav-links a:hover::before,
        .nav-links a.active::before {
            width: 100%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #b71c1c;
            transform: translateY(-2px);
        }

        /* Mobile menu improvements */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            background: none;
            border: none;
            z-index: 1002;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn span {
            width: 28px;
            height: 3px;
            background: #b71c1c;
            margin: 4px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* Hamburger animation */
        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-6px, 6px);
        }

        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(45deg) translate(-6px, -6px);
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #ffffff;
            border-bottom: 1px solid rgba(183, 28, 28, 0.1);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu ul {
            list-style: none;
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .mobile-menu li {
            width: 100%;
            text-align: center;
        }

        .mobile-menu a {
            display: block;
            text-decoration: none;
            color: #1d1d1f;
            font-weight: 600;
            font-size: 1.3rem;
            padding: 1.2rem 2rem;
            margin: 0 1rem;
            border-radius: 15px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .mobile-menu a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(183, 28, 28, 0.1) 0%, rgba(211, 47, 47, 0.1) 100%);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .mobile-menu a:hover::before,
        .mobile-menu a.active::before {
            left: 0;
        }

        .mobile-menu a:hover,
        .mobile-menu a.active {
            color: #b71c1c;
            transform: scale(1.05);
        }

        /* Mobile menu overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Main Content */
        main {
            margin-top: 50px;
        }

.page {
  min-height: calc(10vh - 80px);
}

        .page.active {
            display: block;
        }

        /* Hero Section with 3D effects */
        .hero {
            background: url('/img/hero-bg.jpg') center center / cover no-repeat;
            color: white;
            padding: 100px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
           background: rgba(0, 0, 0, 0.45);
            opacity: 0.3;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 900;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            animation: slideInUp 1s ease-out;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            animation: slideInUp 1s ease-out 0.2s both;
        }



        .cta-button {
            display: inline-block;
            background: rgba(255, 255, 255, 0.95);
            color: #b71c1c;
            padding: 1.2rem 3rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.4s ease;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            animation: slideInUp 1s ease-out 0.4s both;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }



        /* Problems Section */
        .problems {
            padding: 120px 0;
            background: linear-gradient(135deg, #fff 0%, #fef5f5 100%);
        }

        .problems-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #b71c1c;
            font-weight: 700;
        }

        .problems-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .problem-item {
            display: flex;
            align-items: center;
            padding: 1.5rem;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-left: 4px solid #b71c1c;
        }

        .problem-item:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(183, 28, 28, 0.15);
        }

        .problem-icon {
            font-size: 1.5rem;
            margin-right: 1rem;
            color: #b71c1c;
        }

        .problem-text {
            font-size: 1.1rem;
            color: #1d1d1f;
            font-weight: 500;
        }

        .problems-cta {
            text-align: center;
        }

        .problems-cta-button {
            display: inline-block;
            background: #b71c1c;
            color: white;
            padding: 1.2rem 3rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.4s ease;
            box-shadow: 0 8px 30px rgba(183, 28, 28, 0.3);
        }

        .problems-cta-button:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 40px rgba(183, 28, 28, 0.4);
            background: #9a0e0e;
        }

        /* About info on home page */
        .about-home {
            padding: 100px 0;
            background: white;
        }

        .about-home-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }

        .about-home-text h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            font-weight: 800;
            color: #b71c1c;
        }

        .about-home-text p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #6e6e73;
            line-height: 1.8;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .stat-item {
            text-align: center;
            padding: 2rem;
            background: linear-gradient(135deg, rgba(183, 28, 28, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
            border-radius: 20px;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(183, 28, 28, 0.15);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #b71c1c;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: #6e6e73;
            font-size: 1rem;
        }

        .inner-page {
            padding: 50px 0;
            background: white;
        }

        .inner-page-content {
            
            
        }

        .inner-page-text h2 {
            font-size: 2rem;
            margin-bottom: 2rem;
            font-weight: 800;
            color: #b71c1c;
        }
        .inner-page-text h3 {
            font-size: 2rem;
            margin-bottom: 2rem;
            font-weight: 800;
            color: #b71c1c;
        }        

        .inner-page-text p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #6e6e73;
            line-height: 1.8;
        }

.inner-page-text li {
  
  color: #6e6e73;
}


        /* FAQ Section */
        .faq {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
        }

        .faq-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #b71c1c;
            font-weight: 700;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            margin-bottom: 1rem;
            background: white;
            border-radius: 15px;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: 0 5px 25px rgba(183, 28, 28, 0.15);
        }

        .faq-question {
            padding: 1.5rem 2rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: #1d1d1f;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            color: #b71c1c;
            background: rgba(183, 28, 28, 0.02);
        }

        .faq-toggle {
            font-size: 1.5rem;
            color: #b71c1c;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 2rem;
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 0 2rem 1.5rem;
        }

        .faq-answer p {
            color: #6e6e73;
            line-height: 1.6;
        }

        /* Services Section with 3D cards */
        .services {
            padding: 120px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #fdf0f0 100%);
            position: relative;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 3rem;
            color: #b71c1c;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
            border-radius: 2px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
            perspective: 1000px;
        }

        .service-card {
            background: linear-gradient(135deg, #fff 0%, #fdfafa 100%);
            padding: 2.5rem;
            border-radius: 25px;
            box-shadow: 0 10px 40px rgba(183, 28, 28, 0.1);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            transform: translateZ(0);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 20px 60px rgba(183, 28, 28, 0.2);
        }

        .service-card h3 {
            font-size: 1.6rem;
            margin-bottom: 1rem;
            color: #b71c1c;
            font-weight: 700;
        }

        .service-card p {
            color: #6e6e73;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .service-card .price {
            font-size: 1.4rem;
            font-weight: 700;
            color: #b71c1c;
        }

        .service-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 10px;
}

.service-actions button {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-order {
    background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
    color: #fff;
}

.btn-more {
    background: rgba(183, 28, 28, 0.08);
    color: #b71c1c;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.3);
}

.btn-more:hover {
    background: rgba(183, 28, 28, 0.15);
    transform: translateY(-2px);
}

/* Убираем старую кнопку при наведении */
.service-card::after {
    display: none !important;
}

/* Поднимаем контент карточки */
.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card .price {
    margin-bottom: 0.5rem;
}

/* Все карточки одинаковой высоты */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    perspective: 1000px;
    align-items: stretch; /* выравниваем карточки по высоте */
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* равномерное распределение контента */
    height: 100%;
}


.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-height: 700px) {
    .modal-content {
        padding: 1.5rem;
        max-height: 85vh;
    }
}

        .mimage {
            z-index: 9999;
            align-items: center;
        }


        /* About Section with advanced layouts */
        .about {
            padding: 120px 0;
            background: linear-gradient(45deg, #fff 0%, #fef5f5 50%, #fff 100%);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 3rem;
            margin-bottom: 2rem;
            font-weight: 800;
            color: #b71c1c;
        }

        .about-text p {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            color: #6e6e73;
            line-height: 1.8;
        }

        .features {
            background: linear-gradient(135deg, rgba(183, 28, 28, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
            padding: 3rem;
            border-radius: 25px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(183, 28, 28, 0.1);
        }

        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1rem;
            border-radius: 15px;
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            background: rgba(183, 28, 28, 0.05);
            transform: translateX(10px);
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
            border-radius: 50%;
            margin-right: 1.5rem;
            position: relative;
        }

        .feature-icon::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 0.8rem;
            font-weight: bold;
        }

        /* Banks comparison with enhanced design */
        .why-not-banks {
            padding: 120px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #fdf0f0 100%);
        }

        .banks-comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            margin-top: 4rem;
        }

        .bank-issues h3,
        .our-advantages h3 {
            font-size: 1.8rem;
            margin-bottom: 2.5rem;
            text-align: center;
            font-weight: 700;
        }

        .bank-issues h3 {
            color: #6c757d;
        }

        .our-advantages h3 {
            color: #b71c1c;
        }

        .issue-item,
        .advantage-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
            padding: 2rem;
            border-radius: 20px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .issue-item {
            background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
            border-left: 5px solid #6c757d;
            box-shadow: 0 5px 20px rgba(108, 117, 125, 0.1);
        }

        .advantage-item {
            background: linear-gradient(135deg, #fff 0%, rgba(183, 28, 28, 0.03) 100%);
            border-left: 5px solid #b71c1c;
            box-shadow: 0 5px 20px rgba(183, 28, 28, 0.1);
        }

        .issue-item:hover,
        .advantage-item:hover {
            transform: translateY(-5px) translateX(5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .issue-icon,
        .advantage-icon {
            font-size: 1.8rem;
            margin-right: 1.5rem;
            margin-top: 0.25rem;
            min-width: 35px;
        }

        .issue-text h4,
        .advantage-text h4 {
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
            color: #1d1d1f;
            font-weight: 600;
        }

        .issue-text p,
        .advantage-text p {
            color: #6e6e73;
            margin: 0;
            line-height: 1.6;
        }

        /* Contact Section with modern design */
        .contact {
            padding: 10px 0;
            background: #202022;
            color: white;
            position: relative;
        }

                .contactmap {
            padding: 10px 0;
            background: #202022;
            color: white;
            position: relative;
        }

        .contactmap a img {
    transition: filter 0.3s ease;
    border-radius: 25px;
}

.contactmap a:hover img {
    filter: brightness(1.2);
}


        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid2" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(183,28,28,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)" /></svg>');
            opacity: 0.3;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            position: relative;
            z-index: 2;
        }

        .contact h2 {
            font-size: 3rem;
            margin-bottom: 2rem;
            font-weight: 800;
            color: #b71c1c;
        }

        .contact-info {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .contact-info:hover {
            background: rgba(183, 28, 28, 0.1);
            transform: translateX(10px);
        }

        .contact-form {
            background: linear-gradient(135deg, rgba(45, 45, 47, 0.8) 0%, rgba(58, 58, 60, 0.8) 100%);
            padding: 3rem;
            border-radius: 25px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(183, 28, 28, 0.2);
        }

        .form-group {
            margin-bottom: 2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            color: #f5f5f7;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1.2rem;
            border: 2px solid rgba(183, 28, 28, 0.2);
            border-radius: 15px;
            background: rgba(61, 61, 63, 0.8);
            color: white;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #b71c1c;
            box-shadow: 0 0 20px rgba(183, 28, 28, 0.3);
            transform: translateY(-2px);
        }

        .submit-btn {
            background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
            color: white;
            padding: 1.2rem 3rem;
            border: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover {
            background: linear-gradient(135deg, #9a0e0e 0%, #b71c1c 100%);
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 15px 40px rgba(183, 28, 28, 0.4);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            padding: 20px;
            overflow-y: auto;
            animation: fadeIn 0.3s ease;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: white;
            border-radius: 25px;
            max-width: 500px;
            width: 100%;
            padding: 3rem;
            position: relative;
            animation: slideUp 0.3s ease;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 32px;
            height: 32px;
            background: rgba(183, 28, 28, 0.1);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            color: #b71c1c;
        }

        .modal-close:hover {
            background: rgba(183, 28, 28, 0.2);
            transform: rotate(90deg);
        }

        .modal h3 {
            font-size: 2rem;
            color: #b71c1c;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .modal .service-name {
            color: #b71c1c;
            font-size: 1.1rem;
            margin-bottom: 2rem;
            padding: 1rem;
            background: rgba(183, 28, 28, 0.05);
            border-radius: 10px;
            border-left: 4px solid #b71c1c;
        }

        .modal .form-group {
            margin-bottom: 1.5rem;
        }

        .modal .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #b71c1c;
            font-weight: 500;
        }

        .modal .form-group input,
        .modal .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid rgba(183, 28, 28, 0.1);
            border-radius: 10px;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .modal .form-group input:focus,
        .modal .form-group textarea:focus {
            outline: none;
            border-color: #b71c1c;
            box-shadow: 0 0 10px rgba(183, 28, 28, 0.1);
        }

        .modal .submit-btn {
            width: 100%;
            margin-top: 1rem;
        }

        /* Service card hover cursor */
        .service-card {
            
        }

        .service-card::after {
            content: 'Заказать услугу →';
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            background: #b71c1c;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .service-card:hover::after {
            opacity: 1;
            transform: translateY(0);
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, #1d1d1f 0%, #000 100%);
            color: #6e6e73;
            text-align: center;
            padding: 3rem 0;
            border-top: 1px solid rgba(183, 28, 28, 0.2);
        }

        /* Notification styles */
        .notification {
            position: fixed;
            top: 100px;
            right: 20px;
            padding: 1rem 1.5rem;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            z-index: 10000;
            max-width: 400px;
            font-size: 0.9rem;
            line-height: 1.4;
            transform: translateX(500px);
            transition: transform 0.3s ease;
        }

        .notification.success {
            background: #4CAF50;
            color: white;
        }

        .notification.error {
            background: #f44336;
            color: white;
        }

        .notification.show {
            transform: translateX(0);
        }

        /* Responsive Improvements */
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }

            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .telegram-icon {
                width: 20px;
                height: 20px;
            }

            /* Modal mobile styles */
            .modal-content {
                padding: 2rem 1.5rem;
                margin: 20px;
            }

            .modal h3 {
                font-size: 1.5rem;
            }

            .service-card::after {
                display: none;
            }

            /* Problems section mobile */
            .problems {
                padding: 60px 0;
            }

            .problems-title {
                font-size: 2rem;
            }

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

            .problem-item {
                padding: 1.2rem;
            }

            /* About home mobile */
            .about-home {
                padding: 60px 0;
            }

            .about-home-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .about-home-text h2 {
                font-size: 2rem;
                text-align: center;
            }

            .about-home-text p {
                text-align: center;
            }

            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 1rem;
            }

            .stat-item {
                padding: 1.5rem 1rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            /* FAQ mobile */
            .faq {
                padding: 60px 0;
            }

            .faq-title {
                font-size: 2rem;
            }

            .faq-question {
                padding: 1.2rem 1.5rem;
                font-size: 0.95rem;
            }

            .faq-answer {
                padding: 0 1.5rem;
            }

            .faq-item.active .faq-answer {
                padding: 0 1.5rem 1.2rem;
            }

            /* Mobile hero adjustments */
            .hero {
                padding: 80px 0 60px;
            }

            .hero h1 {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
                margin-bottom: 2rem;
                padding: 0 1rem;
            }

            .cta-button {
                padding: 1rem 2rem;
                font-size: 1rem;
            }

            /* Mobile sections */
            .services,
            .about,
            .why-not-banks,
            .contact {
                padding: 80px 0;
            }

            .section-title {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            .about-content,
            .contact-content,
            .banks-comparison {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
                margin-top: 2rem;
            }

            .service-card {
                padding: 2rem 1.5rem;
                margin: 0 5px;
            }

            .service-card:hover {
                transform: translateY(-5px);
            }

            .about-text h2,
            .contact h2 {
                font-size: 2.2rem;
                text-align: center;
            }

            .about-text p {
                font-size: 1.1rem;
                text-align: center;
            }

            .features {
                padding: 2rem 1.5rem;
                margin-top: 2rem;
            }

            .banks-comparison {
                gap: 2rem;
            }

            .bank-issues h3,
            .our-advantages h3 {
                font-size: 1.5rem;
                margin-bottom: 1.5rem;
            }

            .issue-item,
            .advantage-item {
                padding: 1.5rem;
                margin-bottom: 1.5rem;
            }

            .issue-item:hover,
            .advantage-item:hover {
                transform: translateY(-3px);
            }

            /* Mobile contact form */
            .contact-form {
                padding: 2rem 1.5rem;
            }

            .contact-info {
                font-size: 1.1rem;
                margin-bottom: 1rem;
                padding: 0.8rem;
            }

            .contact-info:hover {
                transform: translateX(5px);
            }

            .form-group {
                margin-bottom: 1.5rem;
            }

            .form-group input,
            .form-group textarea {
                padding: 1rem;
                font-size: 16px; /* Prevents zoom on iOS */
            }

            /* Mobile notifications */
            .notification {
                right: 10px;
                left: 10px;
                top: 90px;
                max-width: none;
                transform: translateY(-100px);
            }

            .notification.show {
                transform: translateY(0);
            }

            .mobile-menu a {
                font-size: 1.2rem;
                padding: 1rem 1.5rem;
                margin: 0 0.5rem;
            }
        }

        /* Extra small devices */
        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .service-card {
                padding: 1.5rem 1rem;
            }

            .contact-form {
                padding: 1.5rem 1rem;
            }

            .mobile-menu a {
                font-size: 1.1rem;
                padding: 0.8rem 1rem;
            }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }


#scrollToTop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 72px;
  height: 72px;
  background-color: white;
  color: #b71c1c;
  border: none;
  border-radius: 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 36px;
  line-height: 72px;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  padding: 0;
}
#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
}