/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #fc4b33;
    --primary-dark: #e03e29;
    --primary-rgb: 252, 75, 51;
    --secondary: #6366f1;
    --secondary-dark: #4f46e5;
    --accent: #ffc107;
    --dark: #000000;
    --dark-secondary: #0a0a0a;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, #fc4b33 0%, #e03e29 100%);
    --gradient-secondary: linear-gradient(135deg, #fc7a66 0%, #fc4b33 100%);
    --gradient-accent: linear-gradient(135deg, #fc6352 0%, #fc4b33 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

html, body {
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-switcher span {
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.language-switcher span.active {
    background: var(--primary);
    color: white;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.mobile-language-switcher {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-language-switcher span {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.mobile-language-switcher span.active {
    background: var(--primary);
    color: white;
}

.mobile-social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.mobile-social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1.2rem;
}

.mobile-social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Hero Section - ПОЛНОСТЬЮ ПЕРЕРАБОТАННЫЙ ДЛЯ МОБИЛЬНЫХ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 4rem;
    overflow-x: hidden;
    overflow-y: visible;
    /* background image with opacity */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/pay2play.PNG');
    background-size: 100% auto;
    background-position: center calc(100% + 150px);
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(13, 13, 13, 0.6) 40%, rgba(13, 13, 13, 0.3) 70%, transparent 100%);
    z-index: 1;
}

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

.hero-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(100, 200, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: float 30s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-15px, 15px, 0); }
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    width: 100%;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fcb8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 3rem;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
    padding: 0 10px;
}

.cta-button {
    padding: clamp(0.8rem, 3vw, 1.2rem) clamp(2rem, 6vw, 3rem);
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Hero background image is now set directly on .hero */

/* Advantages Section - COMPACT REDESIGN */
.advantages {
    padding: 3rem 0;
    background: var(--dark);
    position: relative;
}

.advantages .container {
    width: 100%;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
    letter-spacing: -0.02em;
}

/* Three column layout */
.advantages-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left column - Advantages (DOMINANT) */
.advantages-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    transition: all 0.2s ease;
    flex: 1;
}

.advantage-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: translateX(8px);
}

.advantage-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.advantage-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: white;
    font-weight: 700;
}

.advantage-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

/* Right side - Stats and Countries (SUBDUED) */
.right-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

/* Stats - smaller and less prominent */
.stats-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex: 1;
    align-content: center;
}

.stats-column .stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Countries - compact and subtle */
.countries-column {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.countries-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    text-align: center;
    font-weight: 500;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    flex: 1;
    align-content: center;
}

.countries-grid span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countries-grid span:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Integration Section */
.integration {
    padding: 6rem 0;
    background: var(--dark);
    position: relative;
}

.integration-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.step-button {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.step-button:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Stats inline with advantages */
.currency-item {
    background: rgba(var(--primary-rgb), 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 16px;
    padding: 1.5rem 0.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.currency-item:hover {
    transform: translateY(-2px);
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.currency-item::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    transform: rotate(25deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.currency-item:hover::after {
    opacity: 1;
}

.currency-item:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.15);
}

.currency-symbol {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currency-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===================== Coverage Section (Currencies + Geography) ===================== */
.coverage {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-secondary) 100%);
}

.coverage-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.coverage-block {
    text-align: center;
}

.coverage-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Currencies in coverage */
.currencies-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Regions in coverage */
.region-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.region-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.region-card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.region-card:hover::after {
    opacity: 1;
}

.region-card:hover {
    border-color: rgba(var(--primary-rgb), 0.15);
    transform: translateY(-2px);
    background: rgba(var(--primary-rgb), 0.06);
}

.region-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* =============================================================== */

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: var(--dark);
}

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

.telegram-contact {
    text-align: center;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    transition: var(--transition);
}

.telegram-contact:hover {
    transform: translateY(-3px);
    background: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.telegram-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    transition: var(--transition);
}

.telegram-contact:hover .telegram-icon {
    transform: scale(1.05);
}

.telegram-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.telegram-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.8rem;
    background: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.telegram-button:hover {
    background: #0077b8;
    transform: translateY(-2px);
}

.telegram-button i {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive styles already handled in main mobile query above */

/* Old stats styles removed - using new minimal design */

/* Removed cursor effect for better performance */

/* Performance optimizations */
/* Only use will-change on specific animated elements to avoid memory issues */

/* Optimized animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

/* Smooth transitions only for hover states to improve performance */
button:hover,
a:hover,
.card:hover,
.advantage-card:hover,
.currency-item:hover,
.region-item:hover,
.social-icon:hover,
.social-link:hover {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, background 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Responsive styles handled in main media queries above */

/* ========== RESPONSIVE DESIGN ========== */

/* Extra Large Screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .advantages-wrapper {
        gap: 4rem;
        max-width: 1320px;
    }
    
    .advantage-item {
        padding: 2rem;
    }
}

/* Large Desktop (1200px - 1440px) */
@media (max-width: 1440px) and (min-width: 1200px) {
    .hero-visual {
        right: 3%;
    }

}

/* Desktop (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1024px) {
    .hero-visual {
        right: 2%;
        opacity: 0.8;
    }
    
    .advantages-wrapper {
        gap: 2.5rem;
    }
    
    .integration-steps {
    gap: 3rem;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    /* Header adjustments */
    .header {
        padding: 0.8rem 0;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    /* Hero section */
    .hero {
        min-height: 80vh;
        padding-top: 70px;
    }
    
    .hero-visual {
        position: relative;
        margin: 3rem auto 0;
        opacity: 1;
        right: auto;
        top: auto;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    }
    
    .card {
        width: 130px;
        height: 80px;
        font-size: 0.9rem;
    }
    
    /* Advantages section */
    .advantages-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 700px;
    }
    
    .right-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .stats-column {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }
    
    /* Integration section */
    .integration-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .step::after {
        display: none;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Mobile Landscape & Portrait (480px - 768px) */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Hide desktop nav */
    .nav {
        display: none !important;
    }
    
    /* Container padding */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Header mobile */
    .header {
        padding: 0.8rem 0;
    }
    
    .header-content {
        flex-wrap: nowrap;
        gap: 1rem;
        justify-content: space-between;
    }

    .logo h2 {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .social-icons {
        display: flex !important;
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    /* Hero mobile */
    .hero {
        min-height: auto !important;
        padding: 9rem 0 2rem !important;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
        margin-bottom: 2rem !important;
        line-height: 1.6 !important;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(8px) !important;
        border-radius: 12px !important;
        margin: 0 1rem !important;
    }
    
    .hero {
        overflow-y: visible !important;
        min-height: 100vh !important;
    }
    
    .hero::before {
        background-size: 110% auto !important;
        background-position: center calc(100% + 100px) !important;
    }
    
    .hero::after {
        background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(13, 13, 13, 0.6) 50%, rgba(13, 13, 13, 0.4) 100%) !important;
    }
    
    /* Advantages mobile */
    .advantages {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .advantages-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .advantage-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .advantage-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .advantage-item h4 {
        font-size: 1.05rem;
    }
    
    .advantage-item p {
        font-size: 0.85rem;
    }
    
    /* Stats & Countries mobile */
    .right-side {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .stats-column {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    .countries-grid span {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
    }
    
    /* Integration mobile */
    .integration {
        padding: 4rem 0;
    }
    
    .integration-steps {
        grid-template-columns: 1fr !important;
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .step::after {
        display: none;
    }
    
    .step-number {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    /* Contact mobile */
    .contact {
        padding: 4rem 0;
    }
    
    .telegram-contact {
        padding: 1.8rem;
        max-width: 350px;
    }
    
    .telegram-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .telegram-contact h3 {
        font-size: 1.2rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 28px;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Header small */
    .header {
        padding: 0.7rem 0;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    /* Hero small mobile */
    .hero {
        padding: 8rem 0 2rem !important;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.3rem) !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
        line-height: 1.6 !important;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 1.2rem !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(6px) !important;
        border-radius: 10px !important;
        margin: 0 0.8rem !important;
    }
    
    .hero::before {
        background-size: 120% auto !important;
        background-position: center calc(100% + 80px) !important;
    }
    

    
    /* Advantages small mobile */
    .advantages {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1rem;
    }
    
    .advantage-item i {
        margin-bottom: 0.5rem;
    }
    
    .advantage-item h4 {
        font-size: 1rem;
    }
    
    .advantage-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Stats small mobile */
    .stats-column {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
    
    /* Countries small mobile */
    .countries-column {
        padding: 1rem;
    }
    
    .countries-title {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .countries-grid span {
        font-size: 0.65rem;
        padding: 0.3rem 0.4rem;
    }
    
    /* Integration small mobile */
    .integration {
        padding: 3rem 0;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    /* Contact section small mobile */
    .contact {
        padding: 3rem 0;
    }
    
    .telegram-contact {
        padding: 1.5rem;
        max-width: 320px;
    }
    
    .telegram-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .telegram-contact h3 {
        font-size: 1.1rem;
    }
    
    .telegram-contact p {
        font-size: 0.85rem;
    }
    
    .telegram-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-logo h3 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 1rem !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(5px) !important;
        border-radius: 8px !important;
        margin: 0 0.5rem !important;
    }
    
    .hero::before {
        background-size: 130% auto !important;
        background-position: center calc(100% + 60px) !important;
    }
    

    
    .section-title {
        font-size: 1.3rem;
    }
    
    .advantage-item {
        padding: 0.8rem;
    }
    
    .advantage-item i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .advantage-item h4 {
        font-size: 0.95rem;
    }
    
    .advantage-item p {
        font-size: 0.75rem;
    }
    
    .countries-grid span {
        font-size: 0.6rem;
        padding: 0.25rem 0.35rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
    
    .step-button {
        padding: 0.6rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .telegram-contact {
        padding: 1.2rem 1rem;
    }
    
    .telegram-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .telegram-contact h3 {
        font-size: 1rem;
    }
    
    .telegram-contact p {
        font-size: 0.8rem;
    }
    
    .telegram-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.6rem;
    }
}

/* Форсированные правила для мобильной адаптации */
@media screen and (max-width: 768px) {
    body {
        width: 100% !important;
        overflow-x: hidden !important;
        min-width: 320px !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .header-content {
        width: 100% !important;
    }
    
    .hero {
        width: 100% !important;
        padding-top: 80px !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(8px) !important;
        border-radius: 12px !important;
        margin: 0 1rem !important;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
        word-break: break-word !important;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
    }
    
    .advantages-wrapper {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    .right-side {
        grid-template-columns: 1fr !important;
    }
    
    .integration-steps {
        grid-template-columns: 1fr !important;
    }
}

/* Специфическое правило для очень маленьких экранов */
@media screen and (max-width: 400px) {
    .card {
        width: 100px !important;
        height: 60px !important;
    }

}

@media screen and (max-width: 768px) {
    /* Основные стили мобильной версии */
    body {
        width: 100% !important;
        overflow-x: hidden !important;
        min-width: 320px !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Hero-раздел - улучшенный для мобильных устройств */
    .hero {
        min-height: auto !important;
        height: auto !important; 
        padding: 100px 0 40px !important;
        text-align: center !important;
        display: block !important;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-content {
        width: 100% !important;
        padding: 1.2rem !important;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(6px) !important;
        border-radius: 10px !important;
        margin: 0 0.8rem 30px !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    
    .cta-button {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
    }
    
    .hero-visual {
        position: static !important;
        margin: 30px auto 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

}

@media screen and (max-width: 480px) {
    .hero {
        padding: 90px 0 30px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero::after {
        background: rgba(13, 13, 13, 0.9) !important;
    }
}

@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero::after {
        background: rgba(13, 13, 13, 0.9) !important;
    }
} 