/* ===================================
   Современный дизайн Pay-pie 2025
   =================================== */

:root {
    --primary-color: #900020;
    --primary-dark: #6b0018;
    --primary-light: #b8002a;
    --secondary-color: #7F413E;
    --gradient-1: linear-gradient(135deg, #900020 0%, #b8002a 100%);
    --gradient-2: linear-gradient(135deg, #6b0018 0%, #900020 100%);
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

/* ===================================
   Навигация
   =================================== */

.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler svg {
    fill: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after {
    width: 70%;
}

.btn-connect {
    background: var(--gradient-1) !important;
    color: white !important;
    border: none;
    padding: 0.6rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(144, 0, 32, 0.3);
    margin-left: 1rem;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 0, 32, 0.4);
    color: white !important;
}

/* ===================================
   Hero Section (Героическая секция)
   =================================== */

.hero-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(144, 0, 32, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.overlay {
    display: none;
}

.space-100 {
    padding: 3rem 0;
}

.contents {
    padding: 2rem 0;
    z-index: 10;
    position: relative;
}

.head-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.contents p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out;
}

.header-button {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.btn-border-filled,
.btn-border {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-border-filled {
    background: var(--gradient-1) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(144, 0, 32, 0.3);
}

.btn-border-filled:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(144, 0, 32, 0.4);
    text-decoration: none;
    color: white !important;
}

.btn-border {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-border:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(144, 0, 32, 0.3);
    text-decoration: none;
}

.intro-img {
    position: relative;
    z-index: 10;
    animation: fadeInRight 1s ease-out;
}

.intro-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
}

.intro-img:hover img {
    transform: scale(1.05) rotate(2deg);
}

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

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

/* ===================================
   Sections (Секции)
   =================================== */

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* ===================================
   Services (Услуги)
   =================================== */

.services-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.services-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.services-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(144, 0, 32, 0.2);
}

.services-item:hover::before {
    transform: scaleX(1);
}

.services-item .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    box-shadow: 0 10px 30px rgba(144, 0, 32, 0.3);
    transition: var(--transition);
}

.services-item:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.services-item .icon img {
    transition: var(--transition);
}

.services-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.services-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ===================================
   Features (Способы оплаты)
   =================================== */

#features {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.featured-bg {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: white;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-right: 1.5rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-info {
    flex: 1;
}

.feature-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-info p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   Footer (Футер)
   =================================== */

#footer-Content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.block-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-1);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.8rem;
}

.widget ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.widget ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
}

.site-info {
    color: #b0b0b0;
}

.site-info p {
    margin: 0;
}

/* ===================================
   Scrollbar (Полоса прокрутки)
   =================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

/* ===================================
   Responsive (Адаптивность)
   =================================== */

@media (max-width: 992px) {
    .head-title {
        font-size: 2.5rem;
    }

    .contents p {
        font-size: 1.1rem;
    }

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

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 0 1rem 0;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .head-title {
        font-size: 2rem;
    }

    .header-button {
        flex-direction: column;
    }

    .btn-border-filled,
    .btn-border {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 3rem 0;
    }

    .services-item .icon {
        width: 100px;
        height: 100px;
    }

    .btn-connect {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .space-100 {
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .head-title {
        font-size: 1.75rem;
    }

    .contents p {
        font-size: 1rem;
    }

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

    .feature-item {
        padding: 1.5rem;
    }

    .services-item {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   Animations & Effects
   =================================== */

.services-item,
.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Эффект для мобильного меню */
@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-link::after {
        display: none;
    }
}

