/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --accent-color: #2563eb;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --card-bg: rgba(30, 41, 59, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-light: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    
    /* Responsive font sizes */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --fs-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: var(--fs-base);
}

body.menu-open {
    overflow: hidden;
}

/* Overlay for mobile menu */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.navbar {
    padding: 1rem 0;
}

@media (min-width: 769px) {
    .navbar {
        padding: 1.25rem 0;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

@media (min-width: 769px) {
    .logo {
        gap: 0.75rem;
        font-size: 1.5rem;
    }
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (min-width: 769px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }
}

.logo-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    color: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    z-index: 1000;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switcher {
    padding: 0.4rem 0.8rem;
    background: var(--dark-surface);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    font-size: 0.875rem;
    z-index: 10;
    pointer-events: auto;
}

.lang-switcher:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.current-lang {
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 3px;
    transform-origin: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
        min-height: auto;
        padding-bottom: 2rem;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    animation: gradient-shift 30s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    font-size: var(--fs-xs);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

@media (min-width: 769px) {
    .hero-badge {
        padding: 0.5rem 1.5rem;
        font-size: var(--fs-sm);
        margin-bottom: 2rem;
    }
}

.hero-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@media (min-width: 769px) {
    .hero-title {
        margin-bottom: 1.5rem;
    }
}

.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@media (min-width: 769px) {
    .hero-description {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

@media (min-width: 769px) {
    .cta-button {
        padding: 1rem 2rem;
        font-size: var(--fs-base);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta-button:hover::before {
    transform: translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeIn 1s ease 0.8s both;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .hero-visual {
        margin-top: 1rem;
        margin-bottom: 0;
    }
}

@media (min-width: 769px) {
    .hero-visual {
        margin-top: 0;
    }
}

.hero-3d-element {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .hero-3d-element {
        width: 250px;
        height: 250px;
    }
}

@media (min-width: 769px) {
    .hero-3d-element {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 380px) {
    .hero-3d-element {
        width: 180px;
        height: 180px;
    }
}

.hero-svg {
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

.hero-svg circle {
    animation: pulse 3s ease-in-out infinite;
}

.hero-svg circle:nth-child(1) {
    animation-delay: 0s;
}

.hero-svg circle:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-svg circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

.floating-symbols {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
}

@media (min-width: 480px) {
    .floating-symbols {
        width: 250px;
        height: 250px;
    }
}

@media (min-width: 769px) {
    .floating-symbols {
        width: 300px;
        height: 300px;
    }
}

.symbol {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.7;
    animation: float-symbol 20s infinite ease-in-out;
}

@media (min-width: 480px) {
    .symbol {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .symbol {
        font-size: 3rem;
    }
}

.symbol-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 10%;
    right: 20%;
    animation-delay: -5s;
}

.symbol-3 {
    bottom: 20%;
    right: 10%;
    animation-delay: -10s;
}

.symbol-4 {
    bottom: 10%;
    left: 20%;
    animation-delay: -15s;
}

@keyframes float-symbol {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-10px, 10px) scale(0.9);
    }
    75% {
        transform: translate(15px, 15px) scale(1.05);
    }
}

/* Advantages Section */
.advantages {
    padding: 3rem 0;
    position: relative;
}

@media (min-width: 769px) {
    .advantages {
        padding: 5rem 0;
    }
}

.section-title {
    font-size: var(--fs-2xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

@media (min-width: 769px) {
    .section-title {
        font-size: var(--fs-3xl);
        margin-bottom: 4rem;
    }
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 769px) {
    .advantage-card {
        padding: 2.5rem 2rem;
    }
}

@media (hover: hover) {
    .advantage-card:hover {
        transform: translateY(-5px);
        border-color: rgba(59, 130, 246, 0.15);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        background: rgba(59, 130, 246, 0.03);
    }
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    position: relative;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

@media (min-width: 769px) {
    .advantage-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

.advantage-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-light);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.advantage-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (min-width: 769px) {
    .advantage-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (min-width: 769px) {
    .advantage-card p {
        line-height: 1.65;
        font-size: 0.95rem;
    }
}

/* Integration Section */
.integration {
    padding: 3rem 0;
    background: var(--gradient-dark);
    position: relative;
}

@media (min-width: 769px) {
    .integration {
        padding: 5rem 0;
    }
}

.integration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjojMzMzO3N0b3Atb3BhY2l0eTowLjEiIC8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdHlsZT0ic3RvcC1jb2xvcjojMzMzO3N0b3Atb3BhY2l0eTowIiAvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4=');
    opacity: 0.1;
}

.integration-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    font-size: var(--fs-2xl);
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

@media (min-width: 769px) {
    .step-number {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

.step-content h3 {
    font-size: var(--fs-xl);
    margin-bottom: 0.75rem;
}

@media (min-width: 769px) {
    .step-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: var(--fs-sm);
}

@media (min-width: 769px) {
    .step-content p {
        margin-bottom: 1rem;
        font-size: var(--fs-base);
    }
}

.step-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: var(--fs-sm);
}

@media (min-width: 769px) {
    .step-link {
        font-size: var(--fs-base);
    }
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Geography Section */
.geography {
    padding: 2rem 0;
    background: var(--dark-bg);
}

@media (min-width: 769px) {
    .geography {
        padding: 3rem 0;
    }
}

.geography-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.geography-header {
    margin-bottom: 3rem;
}

.section-title-small {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 769px) {
    .section-title-small {
        font-size: 2rem;
    }
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: var(--fs-base);
}

@media (min-width: 769px) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .stats-row {
        gap: 2rem;
    }
}

@media (min-width: 769px) {
    .stats-row {
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--fs-xl);
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .stat-value {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .stat-value {
        font-size: 2.5rem;
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

@media (min-width: 769px) {
    .stat-label {
        font-size: 0.875rem;
    }
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 480px) {
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    .payment-methods {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        margin-bottom: 3rem;
    }
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: var(--fs-sm);
}

@media (min-width: 769px) {
    .payment-method {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (hover: hover) {
    .payment-method:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(99, 102, 241, 0.2);
        transform: translateY(-2px);
    }
}

.payment-method i {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

@media (min-width: 769px) {
    .payment-method i {
        font-size: 1.25rem;
    }
}

.currency-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 769px) {
    .currency-showcase {
        gap: 0.75rem;
    }
}

.currency-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    transform: scale(0);
}

@media (min-width: 769px) {
    .currency-tag {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .contact {
        padding: 5rem 0;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: var(--fs-2xl);
    margin-bottom: 0.75rem;
}

@media (min-width: 769px) {
    .contact-content h2 {
        font-size: var(--fs-3xl);
        margin-bottom: 1rem;
    }
}

.contact-content p {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
    .contact-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
}

.cta-button-large {
    padding: 1rem 2rem;
    font-size: var(--fs-base);
}

@media (min-width: 769px) {
    .cta-button-large {
        padding: 1.25rem 3rem;
        font-size: 1.125rem;
    }
}

/* Footer */
.footer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 769px) {
    .footer {
        padding: 2rem 0;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
}

@media (min-width: 769px) {
    .footer-logo {
        gap: 0.6rem;
        font-size: 1.25rem;
    }
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (min-width: 769px) {
    .footer-logo-image {
        width: 48px;
        height: 48px;
    }
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer .social-link {
    font-size: 1.125rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .footer .social-link {
        font-size: 1.25rem;
    }
}

/* Responsive Design */

/* Extra large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Tablet styles */
@media (max-width: 1024px) {
    .hero .container {
        gap: 3rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile landscape and tablet portrait */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        background: linear-gradient(135deg, var(--dark-surface) 0%, rgba(15, 23, 42, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        width: 50vw;
        min-width: 300px;
        max-width: 400px;
        height: calc(100vh - 60px);
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid rgba(59, 130, 246, 0.3);
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        justify-content: flex-start;
    }

    .nav-menu.active {
        right: 0;
        transform: scale(1);
    }
    

    

    
    .nav-link {
        display: block;
        padding: 1.5rem 1rem;
        font-size: var(--fs-lg);
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateX(30px);
        opacity: 0;
        transition: all 0.3s ease;
        color: var(--text-primary);
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }
    
    .nav-link:hover {
        color: var(--accent-primary);
        background: rgba(59, 130, 246, 0.15);
        transform: translateX(0);
        border-bottom: 1px solid transparent;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }
    
    .nav-menu.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    
    .lang-switcher {
        margin-top: 2rem;
        padding: 1rem 1.5rem;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 12px;
        border: 1px solid rgba(59, 130, 246, 0.3);
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease 0.4s;
        text-align: center;
        font-size: var(--fs-base);
        cursor: pointer;
    }
    
    .lang-switcher:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.5);
    }
    
    .nav-menu.active .lang-switcher {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .hero-visual {
        order: 2;
        display: block;
        margin-top: 1rem;
    }

    .integration-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 100%;
    }

    .step-connector {
        display: none;
    }
    
    .step {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
        border: 1px solid rgba(148, 163, 184, 0.15);
        border-radius: 16px;
        padding: 1.5rem 1rem;
        transition: all 0.3s ease;
        position: relative;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .step:hover {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.15);
    }
    
    .step-number {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .step-content h3 {
        color: var(--text-primary);
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    
    .step-content p {
        color: var(--text-secondary);
        line-height: 1.4;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-divider {
        height: 30px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-card {
        padding: 1.5rem 1.25rem;
    }
}

/* Mobile portrait */
/* Средние мобильные устройства - горизонтальная сетка для условий */
@media (min-width: 481px) and (max-width: 768px) {
    .integration-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .step {
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 1.5rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .payment-methods {
        gap: 0.75rem;
    }

    .currency-showcase {
        gap: 0.5rem;
    }
    
    .integration-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step {
        padding: 1rem 0.75rem;
        min-height: 150px;
    }
    
    .step-number {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Landscape orientation optimization */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 1rem;
    }
    
    .hero-badge {
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
    
    .hero-title {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .hero-description {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
    
    .hero-3d-element {
        width: 150px;
        height: 150px;
    }
    
    .hero-visual {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .hero .container {
        align-items: center;
        gap: 1rem;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.875rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        padding: 1rem 0.5rem;
    }
    
    .cta-button {
        min-height: 48px;
        min-width: 48px;
    }
    
    .payment-method {
        min-height: 48px;
    }
    
    .currency-tag {
        min-height: 40px;
    }
    
    .social-link {
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile device optimizations */
.mobile-device .hero-3d-element {
    transform: scale(0.85);
}

.mobile-device .floating-symbols .symbol {
    animation: none !important;
}

.mobile-device .hero-svg {
    animation: none !important;
}

.mobile-device .hero-svg circle {
    animation: none !important;
    opacity: 0.15 !important;
}

/* Улучшенные карточки условий для мобильных */
@media (max-width: 768px) {
    .integration-steps {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        grid-template-columns: unset !important;
    }
    
    .step {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
        border: 2px solid rgba(59, 130, 246, 0.3) !important;
        border-radius: 20px !important;
        padding: 2rem 1.5rem !important;
        text-align: center !important;
        position: relative !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    .step::before {
        content: '';
        position: absolute;
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.1));
        border-radius: 20px;
        z-index: -1;
    }
    
    .step-number {
        font-size: 2.5rem !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
        margin-bottom: 1rem !important;
        display: block !important;
    }
    
    .step-content h3 {
        font-size: 1.8rem !important;
        color: white !important;
        margin-bottom: 0.5rem !important;
        font-weight: 700 !important;
    }
    
    .step-content p {
        color: rgba(148, 163, 184, 0.9) !important;
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .step-link {
        color: var(--primary-color) !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
    }
    
    .step-link:hover {
        color: var(--secondary-color) !important;
    }
    
    .step-connector {
        display: none !important;
    }
    
    /* Фоновая визуализация для hero */
    .hero .container {
        position: relative;
    }
    
    .hero-visual {
        position: absolute !important;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        opacity: 0.3;
        z-index: 0;
        order: unset !important;
        margin: 0 !important;
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
        order: unset !important;
        margin: 0 !important;
        padding: 2rem 1rem !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        font-weight: 400;
    }
    
    .hero-desc-line {
        font-weight: 400;
    }
    
    .hero-desc-highlight {
        font-weight: 700;
    }
    
    .hero-3d-element {
        width: 200px !important;
        height: 200px !important;
    }
    
    .floating-symbols {
        width: 180px;
        height: 180px;
    }
    
    .floating-symbols .symbol {
        animation: mobile-float-symbol 25s infinite ease-in-out;
        font-size: 1.2rem;
        opacity: 0.4;
    }
    
    .hero-svg circle {
        opacity: 0.15;
        animation: mobile-pulse 8s ease-in-out infinite;
    }
    
    .hero-svg {
        animation: mobile-rotate 120s linear infinite;
    }
}

/* Мягкие анимации для мобильных */
@keyframes mobile-pulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.02);
    }
}

@keyframes mobile-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes mobile-float-symbol {
    0%, 100% {
        transform: translate(0, 0) scale(0.9);
        opacity: 0.3;
    }
    25% {
        transform: translate(15px, -15px) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-8px, 8px) scale(0.85);
        opacity: 0.4;
    }
    75% {
        transform: translate(10px, 10px) scale(0.95);
        opacity: 0.45;
    }
}

/* Optimizations for device orientation */
.landscape .hero-content {
    max-width: 85%;
}

.landscape .hero .container {
    gap: 0.5rem;
}

/* Page load transition */
body:not(.loaded) {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
} 