:root {
    --primary-color: #4683df;
    --secondary-color: #162336;
    --text-color: #edf4fe;
    --background-color: #0b121c;
    --hover-color: #4d90f5;
    --border-radius: 8px;
    --transition-duration: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-background: #162336;
    --input-background: #0b121c;
    --border-color: #2a3a50;
}

[data-theme="light"] {
    --primary-color: #3b6fc4;
    --secondary-color: #e8f0fe;
    --text-color: #1a2b3c;
    --background-color: #f5f8fc;
    --hover-color: #2d5aa8;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --card-background: #ffffff;
    --input-background: #f0f4f8;
    --border-color: #d0dae8;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-duration) ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-icon {
    width: 22px;
    height: 22px;
    fill: var(--text-color);
    color: var(--text-color);
    transition: all var(--transition-duration) ease;
}

.theme-toggle:hover .theme-icon {
    fill: var(--primary-color);
    color: var(--primary-color);
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: block;
}

[data-theme="light"] header {
    background-color: var(--background-color);
}

[data-theme="light"] .calc-input-wrapper {
    background-color: #f0f4f8;
    border-color: #d0dae8;
}

[data-theme="light"] .calc-currency-btn {
    background-color: #f0f4f8;
    border-color: #d0dae8;
}

[data-theme="light"] .calc-currency-btn:hover {
    background-color: #e0e8f0;
    border-color: var(--primary-color);
}

[data-theme="light"] .modal-content {
    background-color: #ffffff;
}

[data-theme="light"] .modal-header {
    border-color: #d0dae8;
}

[data-theme="light"] .currency-item:hover {
    background-color: #f0f4f8;
}

[data-theme="light"] .currency-item.selected {
    background-color: rgba(59, 111, 196, 0.15);
}

[data-theme="light"] .modal-item:hover {
    background-color: #e8f0fe;
    border-color: var(--primary-color);
}

[data-theme="light"] .modal-tab {
    background-color: #f0f4f8;
    border-color: #d0dae8;
    color: #6b7280;
}

[data-theme="light"] .modal-tab.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

[data-theme="light"] .modal-tab:not(.active):hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="light"] .faq-item {
    background-color: #ffffff;
    border-color: #d0dae8;
}

[data-theme="light"] .faq-item:hover {
    box-shadow: none;
}

[data-theme="light"] .faq-question {
    background-color: #ffffff;
}

[data-theme="light"] .faq-question:hover {
    background-color: transparent;
    color: var(--primary-color);
}

[data-theme="light"] .faq-answer {
    background-color: #ffffff;
}

[data-theme="light"] footer {
    background-color: var(--background-color);
}

[data-theme="light"] .guarantee-card {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .guarantee-card p {
    color: #4a5568;
}

[data-theme="light"] .guarantees-intro {
    color: #4a5568;
}

[data-theme="light"] .aml-intro {
    color: #4a5568;
}

[data-theme="light"] .privacy-section {
    background-color: transparent;
}

[data-theme="light"] .privacy-section p {
    color: #4a5568;
}

[data-theme="light"] .privacy-section ul li {
    color: #4a5568;
}

[data-theme="light"] .privacy-date {
    color: #4a5568;
}

[data-theme="light"] .faq-answer p {
    color: #4a5568;
}

[data-theme="light"] .obligation-item p {
    color: #4a5568;
}

[data-theme="light"] .guarantees-cta p {
    color: #4a5568;
}

[data-theme="light"] .panel {
    background-color: #ffffff;
}

[data-theme="light"] .calc-submit-btn {
    color: #ffffff;
}

[data-theme="light"] .calc-swap-btn svg {
    color: #ffffff;
}

[data-theme="light"] .connect {
    color: #ffffff;
}

[data-theme="light"] .status {
    background-color: #e8f0fe;
}

[data-theme="light"] .exchange-calculator {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .advantage-card {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .crypto-card {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .burger-line {
    background-color: #1a2b3c;
}

[data-theme="light"] .feature-block {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-block p {
    color: #4a5568;
}

[data-theme="light"] .step-card {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .step-card p {
    color: #4a5568;
}

[data-theme="light"] .stats-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border: 1px solid #d0dae8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-label {
    color: #4a5568;
}

[data-theme="light"] .stat-divider {
    background: linear-gradient(to bottom, transparent, #d0dae8, transparent);
}

[data-theme="light"] .security-tips-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border: 1px solid #d0dae8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .security-tips-header {
    border-bottom: 1px solid #d0dae8;
}

[data-theme="light"] .tip-content p {
    color: #4a5568;
}

[data-theme="light"] .tip-icon {
    background-color: rgba(59, 111, 196, 0.1);
}

[data-theme="light"] .submit-btn {
    color: #ffffff;
}

[data-theme="light"] .checkbox-group label {
    color: #374151;
}

[data-theme="light"] .step.active {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: bold;
}

[data-theme="light"] .step.inactive {
    color: #6b7280;
}

[data-theme="light"] .step-divider {
    background-color: #d0dae8;
}

[data-theme="light"] .steps-line {
    background-color: #d0dae8;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-display: swap;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
    margin: 0;
}

.logo .cripto {
    color: var(--text-color);
}

.logo .number {
    color: var(--primary-color);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-menu.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    flex-direction: row;
    gap: 15px;
    padding: 0;
    text-align: center;
    align-items: center;
}

.nav-menu ul li a {
    font-size: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-duration) ease;
}

.nav-menu ul li a:hover {
    color: var(--hover-color);
}

.telegram-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon {
    width: 22px;
    height: 22px;
    fill: var(--text-color);
    transition: fill var(--transition-duration) ease, transform var(--transition-duration) ease;
}

.telegram-link:hover .telegram-icon {
    fill: #0088cc;
    transform: scale(1.1);
}

.mail-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail-icon {
    width: 22px;
    height: 22px;
    stroke: var(--text-color);
    fill: none;
    transition: stroke var(--transition-duration) ease, transform var(--transition-duration) ease;
}

.mail-link:hover .mail-icon {
    stroke: var(--primary-color);
    transform: scale(1.1);
}

.nav-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    font-size: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-duration) ease;
}

nav ul li a:hover {
    color: var(--hover-color);
}

.connect {
    width: 8.5rem;
    height: 3.25rem;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-duration) ease, transform var(--transition-duration) ease, box-shadow var(--transition-duration) ease;
    box-shadow: var(--box-shadow);
}

.connect:hover {
    background-color: var(--hover-color);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.connect:active {
    transform: scale(0.98);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: bold;
    width: fit-content;
    white-space: nowrap;
}

.dot {
    width: 14px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-right: 12px;
    animation: blink 1.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.intro {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;

}

.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.intro-text h3 {
    font-size: 22px;
    margin: 0;
}

.exchange-calculator {
    background-color: var(--secondary-color);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-top: -30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calculator-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0 0 20px 0;
    text-align: center;
}

.calc-row {
    margin-bottom: 0;
}

.calc-row:first-of-type {
    margin-bottom: 0;
}

.calc-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.calc-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 60px;
    background-color: var(--background-color);
    border: 1px solid #3a4a5e;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    padding: 0 14px;
    box-sizing: border-box;
}

.calc-input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.calc-input-wrapper.error {
    border-color: #ef4444;
    animation: shake 0.3s ease-in-out;
}

.calc-input-wrapper.error .calc-input-label {
    color: #ef4444;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.calc-input-label {
    font-size: 0.75rem;
    color: #8a9bae;
    pointer-events: none;
    line-height: 1.2;
    margin-bottom: 3px;
}

.calc-input {
    width: 100%;
    height: 20px;
    padding: 0;
    font-size: 1.1rem;
    border: none;
    background-color: transparent;
    color: var(--text-color);
    outline: none;
    box-sizing: border-box;
    line-height: 20px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-input::placeholder {
    color: #6b7280;
}

.calc-currency-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 0 6px 0 12px;
    height: 60px;
    background-color: var(--background-color);
    border: 1px solid #3a4a5e;
    border-radius: 10px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 110px;
    flex-shrink: 0;
}

.calc-currency-btn:hover {
    background-color: #1a2332;
    border-color: var(--primary-color);
}

.calc-currency-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.bank-letter-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.calc-currency-btn span {
    font-size: 0.95rem;
    font-weight: 600;
    margin-right: -2px;
}

.calc-arrow {
    width: 18px;
    height: 18px;
    color: #8a9bae;
    flex-shrink: 0;
}

.calc-swap-container {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.calc-swap-btn {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(70, 131, 223, 0.3);
}

.calc-swap-btn:hover {
    background-color: var(--hover-color);
    transform: rotate(180deg);
}

.calc-swap-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-color);
}

.calc-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-top: 10px;
}

.calc-rate-label {
    font-size: 0.9rem;
    color: #8a9bae;
}

.calc-rate-value {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

.calc-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-min-amount-info {
    margin-top: 10px;
    padding: 8px 14px;
    background-color: rgba(70, 131, 223, 0.1);
    border: 1px solid rgba(70, 131, 223, 0.25);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
}

.calc-submit-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 131, 223, 0.4);
}

.calc-submit-btn:active {
    transform: translateY(0);
}

.calc-submit-btn:disabled {
    background-color: #6b7280;
    cursor: not-allowed;
    transform: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--secondary-color);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #3a4a5e;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 20px 25px;
    overflow-y: auto;
}

.restriction-modal {
    max-width: 450px;
}

.restriction-body {
    text-align: center;
    padding: 30px 25px 25px;
}

.restriction-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s infinite;
}

.restriction-icon svg {
    width: 40px;
    height: 40px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
}

.restriction-message {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 15px;
    line-height: 1.6;
    font-weight: 500;
}

.restriction-hint {
    font-size: 0.95rem;
    color: #8b99a8;
    margin: 0 0 25px;
    line-height: 1.5;
}

.restriction-ok-btn {
    margin: 0 auto;
    padding: 12px 40px;
    min-width: 150px;
}

.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: flex-start;
}

.modal-tab {
    padding: 6px 14px;
    background-color: var(--background-color);
    border: 1px solid #3a4a5e;
    border-radius: 6px;
    color: #8a9bae;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 600;
}

.modal-tab.active {
    background-color: var(--primary-color);
    color: var(--text-color);
    border-color: var(--primary-color);
}

.modal-tab:not(.active):hover {
    border-color: var(--primary-color);
    color: var(--text-color);
}

.modal-search {
    margin-bottom: 15px;
}

.modal-search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #3a4a5e;
    border-radius: 8px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.modal-search-input:focus {
    border-color: var(--primary-color);
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--background-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.modal-item:hover {
    background-color: #1a2332;
    border-color: var(--primary-color);
}

.modal-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.modal-item-bank-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.modal-item-info {
    flex: 1;
}

.modal-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    display: block;
}

.modal-item-code {
    font-size: 0.85rem;
    color: #8a9bae;
}

.exchange-info-item {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.exchange-info-label {
    display: block;
    font-size: 0.85rem;
    color: #8a9bae;
    margin-bottom: 8px;
}

.exchange-info-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exchange-info-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.exchange-info-bank-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.exchange-info-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
}

.exchange-info-bank {
    display: block;
    font-size: 0.9rem;
    color: #d1d5db;
    margin-top: 5px;
}

.user-info-divider {
    height: 1px;
    background-color: #3a4a5e;
    margin: 20px 0;
}

#user-details p {
    margin: 10px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

#user-details p strong {
    color: #8a9bae;
}

#user-details .wallet-address {
    font-size: 0.75rem;
    word-break: break-all;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #d1d5db;
    cursor: pointer;
}

.features {
    text-align: center;
    margin: 16px auto;
    max-width: 1100px;
    padding: 20px 40px 5px;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 32px;
}

.feature-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.feature-block {
    width: 25%;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
    transition: transform var(--transition-duration) ease, box-shadow var(--transition-duration) ease;
    box-shadow: var(--box-shadow);
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.feature-block .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-duration) ease;
}

.feature-block .feature-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    transition: transform var(--transition-duration) ease, color var(--transition-duration) ease;
}

.feature-block:hover .feature-icon svg {
    transform: scale(1.1);
    color: var(--accent-color);
}

.feature-block h4 {
    font-size: 1.375rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.feature-block p {
    font-size: 0.75rem;
    color: #d1d5db;
    margin-top: 12px;
}

.faq {
    background-color: var(--background-color);
    padding: 45px 40px;
    text-align: center;
}

.faq h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 40px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow var(--transition-duration) ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(70, 131, 223, 0.15);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    transition: color var(--transition-duration) ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: transform var(--transition-duration) ease;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    text-align: left;
    max-width: 900px;
    margin: 0 auto 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(70, 131, 223, 0.3);
}

.faq-page {
    padding: 40px 20px 60px;
    background-color: var(--background-color);
}

.faq-page h2 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 30px;
}

.site-footer {
    background-color: var(--background-color);
    padding: 40px 0 20px;
    text-align: center;
    margin-top: 0;
}

.site-footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.site-footer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-color);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.exchange-panels {
    padding: 20px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.panel {
    background-color: var(--secondary-color);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--box-shadow);
    min-width: 0;
}

.left-panel {
    flex: 2;
    height: auto;
}

.hh {
    margin-top: 0px;
}

.right-panel {
    flex: 4;
    background-color: var(--secondary-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-radius: 20px;
}

.exchange-footer {
    background-color: var(--background-color);
    padding: 40px 0 20px;
    text-align: center;
    margin-top: 0;
}

.exchange-footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.exchange-panels .container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 0;
}

.exchange-footer p {
    font-size: 0.875rem;
    color: var(--text-color);
    margin: 0;
}

.exchange-footer .mail {
    font-size: 0.875rem;
    color: var(--text-color);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}

.step {
    font-size: 16px;
    color: var(--text-color);
    font-weight: normal;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.step.active {
    font-weight: bold;
}

.step.inactive {
    color: #6b7280;
}

.step-divider {
    flex-grow: 1;
    height: 1px;
    background-color: white;
    margin: 0 10px;
}

.steps-line {
    width: 100%;
    flex-grow: 1;
    height: 1px;
    background-color: white;
    margin-bottom: 20px;
}

.right-panel h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.right-panel p {
    font-size: 16px;
    color: #d1d5db;
}

.panel h3 {
    font-size: 1.375rem;
    color: var(--text-color);
    margin-top: 10px;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-group label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    padding: 10px;
    font-size: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #ccc;
    background-color: var(--background-color);
    color: var(--text-color);
    outline: none;
}

.form-group input::placeholder,
.form-group select {
    color: #d1d5db;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--background-color) inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.submit-btn {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 30px;
}

.submit-btn:hover {
    background-color: var(--hover-color);
}

.submit-btn:active {
    background-color: var(--primary-color);
}

.error-message {
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.rates-loading {
    font-size: 11px;
    color: var(--primary-color);
    margin-left: 10px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.submit-btn:disabled {
    background-color: #6b7280;
    cursor: not-allowed;
}

.submit-btn:disabled:hover {
    background-color: #6b7280;
}

.left-panel h2 {
    font-size: 22px;
    font-weight: normal;
    color: var(--text-color);
    margin-bottom: 20px;
}

.left-form-group {
    margin-bottom: 20px;
}

.left-form-label {
    font-size: 14px;
    color: #d1d5db;
    display: block;
    margin-bottom: 8px;
}

.left-form-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    color: var(--text-color);
    outline: none;
    flex: 1;
}

.left-form-input:focus {
    border-color: var(--primary-color);
}

.left-crypto-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-crypto-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 120px;
}

.left-crypto-logo {
    width: 24px;
    height: 24px;
}

.left-crypto-dropdown {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    color: var(--text-color);
    outline: none;
    width: 100%;
}

.left-currency-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-currency-symbol {
    font-size: 16px;
    color: var(--text-color);
    width: 120px;
    text-align: left;
}

#left-panel-data .left-form-group {
    margin-bottom: 15px;
}

#left-panel-data .left-form-label {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 5px;
}

#left-panel-data .left-form-input {
    font-size: 16px;
    color: var(--text-color);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: var(--background-color);
}

#right-panel-content {
    margin-top: 20px;
}

#right-panel-content p {
    margin: 10px 0;
    font-size: 16px;
    color: var(--text-color);
}

.order-title {
    font-weight: bold;
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.adress {
    font-size: 16px;
}

.payment-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.payment-label {
    color: #8a9bae;
    font-size: 0.95rem;
    white-space: nowrap;
}

.payment-value {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    word-break: break-all;
}

.payment-note {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 8px 0;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: -2px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    opacity: 0.7;
    vertical-align: middle;
    line-height: 0;
}

.copy-btn:hover {
    opacity: 1;
}

.copy-btn:active {
    opacity: 0.5;
}

.copy-btn svg {
    width: 1.3em;
    height: 1.3em;
    color: var(--text-color);
}

.copy-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    cursor: pointer;

    vertical-align: middle;
}

.copy-icon.success {
    color: green;
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .intro {
        padding: 80px 20px;
    }

    .trust-image {
        margin-top: 20px;
    }

    .feature-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .feature-block {
        width: calc(50% - 15px);
    }



}

@media (max-width: 768px) {

    header {
        padding-bottom: 0px;
    }

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }

    .burger-menu {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
        margin: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: auto;
        max-width: 90%;
        min-width: 200px;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 60px 15px 25px;
        border-radius: 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu .connect {
        order: -1;
        margin-bottom: 5px;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul,
    .nav-menu .nav-links {
        flex-direction: column;
        gap: 15px;
        padding: 15px 25px;
        text-align: center;
        align-items: center;
    }

    .nav-menu ul li a,
    .nav-menu .nav-links li a {
        font-size: 1rem;
        padding: 8px 16px;
        display: block;
    }

    .nav-icons-wrapper {
        margin-top: 10px;
    }

    .overlay.active {
        display: block;
    }

    .connect {
        margin-top: 20px;
        width: 100%;
        max-width: 200px;
        height: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .status {
        display: inline-flex;
        margin: 0 auto;
        padding: 6px 10px;
    }

    .intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px 10px;
    }

    .intro-text {
        align-items: center;
        gap: 12px;
    }

    .intro-text h2 {
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    .intro-text h3 {
        margin-bottom: 0;
        font-size: 1rem;
    }

    .exchange-calculator {
        width: 100%;
        max-width: 100%;
        margin: 25px 0 0;
        padding: 20px;
        box-sizing: border-box;
    }

    .calc-currency-btn {
        min-width: 120px;
        padding: 10px 12px;
    }

    .calc-currency-btn span {
        font-size: 0.85rem;
    }

    .features {
        padding: 0 20px 15px;
    }

    .features h2 {
        margin-top: 15px;
        margin-bottom: 35px;
    }

    .feature-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .feature-block {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
        padding: 15px;
    }

    .feature-block .feature-icon {
        margin-bottom: 0;
    }

    .feature-block h4 {
        margin-bottom: 0;
    }

    .feature-block p {
        font-size: 0.875rem;
        margin-top: 5px;
    }

    .faq {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-container {
        max-width: 100%;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .faq-answer p {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    .faq-category-title {
        font-size: 1.1rem;
        padding-left: 10px;
    }

    site-footer .container {
        flex-direction: column;
        gap: 10px;
    }

    .left-panel {
        padding-top: 0px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        height: auto;
        margin-bottom: 0px;
        padding: 25px 20px;
    }

    .exchange-panels {
        padding: 15px 10px 15px;
    }

    .exchange-panels .container {
        margin-top: 0;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .panel {
        width: 100%;
    }

    .steps-container {
        display: none;
    }

    .steps-line {
        display: none;
    }

    #right-panel-content {
        margin-top: 0;
    }

    #right-panel-content h2 {
        margin-top: 0;
    }

    .exchange-footer {
        padding-top: 0px;
    }

    .adress {
        font-size: 12px;
    }

    .payment-info-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    .payment-label {
        font-size: 0.85rem;
        width: auto;
        flex-shrink: 0;
    }

    .payment-value {
        font-size: 0.85rem;
        flex: none;
        word-break: break-all;
    }

    .wallet-row {
        flex-wrap: wrap;
    }

    .wallet-row .payment-label {
        width: 100%;
        margin-bottom: 0;
    }

    .wallet-row .payment-value {
        flex: none;
        font-size: 0.85rem;
    }

    .step {
        font-size: 10px;
    }

    .right-panel h2 {
        font-size: 24px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

}

@media (max-width: 480px) {

    .intro {
        padding: 10px 10px 5px;
    }

    .intro-text h2 {
        font-size: 1.6rem;
    }

    .intro-text h3 {
        font-size: 0.9rem;
    }

    .connect {
        width: 100%;
        margin-top: 20px;
    }

    .status {
        width: auto;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .features {
        padding: 5px 20px 10px;
    }

    .features h2 {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }

    .faq {
        padding-top: 20px;
    }
}

.privacy-policy {
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-container {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.privacy-policy h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.privacy-date {
    text-align: center;
    color: #8a9bae;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: 10px;
    color: #c5d3e8;
}

.privacy-section ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.privacy-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #c5d3e8;
}

.privacy-section ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-duration) ease;
}

.privacy-section a:hover {
    color: var(--hover-color);
}

.privacy-link {
    color: var(--text-color);
    text-decoration: underline;
    transition: color var(--transition-duration) ease;
}

.privacy-link:hover {
    color: var(--primary-color);
}

.footer-email-line {
    margin-top: 5px;
    font-size: 0.9rem;
}

.footer-email-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-duration) ease, text-decoration var(--transition-duration) ease;
}

.footer-email-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.guarantees-page {
    padding: 40px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantees-container {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.guarantees-page h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.guarantees-intro {
    text-align: center;
    color: #c5d3e8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.aml-intro {
    text-align: center;
    color: #c5d3e8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.guarantee-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    transition: transform var(--transition-duration) ease, box-shadow var(--transition-duration) ease;
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(70, 131, 223, 0.15);
}

.guarantee-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.guarantee-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.guarantee-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.guarantee-card p {
    color: #a0b3c8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.guarantees-details {
    margin-bottom: 0;
}

.guarantees-details h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.obligation-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
}

.obligation-item h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.obligation-item p {
    color: #a0b3c8;
    line-height: 1.6;
    margin: 0;
}

.guarantees-cta {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
}

.guarantees-cta p {
    color: #c5d3e8;
    margin: 5px 0;
}

.guarantees-cta a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-duration) ease;
}

.guarantees-cta a:hover {
    color: var(--hover-color);
}

@media (max-width: 992px) {
    .guarantee-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guarantees-page {
        padding: 15px 10px 30px;
    }

    .guarantees-container {
        padding: 25px 20px;
    }

    .guarantees-page h2 {
        font-size: 1.5rem;
    }

    .guarantee-cards {
        grid-template-columns: 1fr;
    }

    .guarantees-intro {
        font-size: 1rem;
    }

    .privacy-policy {
        padding: 15px 10px 30px;
    }

    .privacy-container {
        padding: 25px 20px;
    }

    .privacy-policy h2 {
        font-size: 1.5rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }

    .faq-page {
        padding: 15px 10px 30px;
    }

    .faq-page h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .exchange-footer {
        padding: 20px 0;
    }

    .site-footer {
        padding: 20px 0;
    }
}

.stats-section {
    max-width: 1100px;
    margin: 16px auto;
    padding: 5px 40px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d42 100%);
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(70, 131, 223, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), #6fa8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: #8a9bae;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #3a4a5e, transparent);
}

.how-it-works {
    max-width: 1100px;
    margin: 16px auto;
    padding: 5px 40px 5px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--text-color);
}

.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.step-card {
    background-color: var(--secondary-color);
    border-radius: 16px;
    padding: 30px 25px;
    width: 200px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(70, 131, 223, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #6fa8ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(70, 131, 223, 0.4);
}

.step-icon {
    width: 50px;
    height: 50px;
    margin: 15px auto 20px;
    background-color: rgba(70, 131, 223, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
}

.step-card h4 {
    font-size: 1rem;
    margin: 0 0 10px 0;
    color: var(--text-color);
}

.step-card p {
    font-size: 0.85rem;
    color: #8a9bae;
    margin: 0;
    line-height: 1.5;
}

.step-arrow {
    color: var(--primary-color);
    opacity: 0.5;
}

.step-arrow svg {
    width: 24px;
    height: 24px;
}

.popular-directions {
    max-width: 1100px;
    margin: 16px auto;
    padding: 5px 40px 60px;
    text-align: center;
}

.popular-directions h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--text-color);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.direction-card {
    background-color: transparent;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.direction-card:hover {
    transform: scale(1.05);
}

.direction-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.direction-from,
.direction-to {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.direction-from img,
.direction-to img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.direction-from span,
.direction-to span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.direction-rub-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.direction-arrow {
    color: var(--primary-color);
}

.direction-arrow svg {
    width: 20px;
    height: 20px;
}

.direction-info {
    border-top: 1px solid rgba(58, 74, 94, 0.5);
    padding-top: 12px;
}

.direction-label {
    font-size: 0.85rem;
    color: #8a9bae;
}

.cta-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a6fc9 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.cta-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    color: #fff;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.security-tips-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 60px;
}

.security-tips-container {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2d42 100%);
    border-radius: 20px;
    padding: 35px 40px;
    border: 1px solid rgba(70, 131, 223, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.security-tips-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(58, 74, 94, 0.5);
}

.security-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.security-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.security-tips-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-color);
}

.security-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.security-tip {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.tip-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: rgba(70, 131, 223, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

.tip-content h4 {
    font-size: 1rem;
    margin: 0 0 6px 0;
    color: var(--text-color);
}

.tip-content p {
    font-size: 0.9rem;
    color: #8a9bae;
    margin: 0;
    line-height: 1.5;
}

.tip-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tip-content a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
        padding: 30px;
    }

    .stat-item {
        min-width: 45%;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .steps-grid {
        gap: 20px;
        flex-wrap: wrap;
    }

    .step-arrow {
        display: none;
    }

    .step-card {
        width: calc(50% - 20px);
    }

    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 5px 20px;
    }

    .stats-container {
        padding: 25px 20px;
    }

    .stat-item {
        min-width: 100%;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .how-it-works {
        padding: 5px 20px;
    }

    .how-it-works h2 {
        font-size: 1.5rem;
        margin-top: 15px;
        margin-bottom: 35px;
    }

    .step-card {
        width: 100%;
    }

    .popular-directions {
        padding: 5px 20px 40px;
    }

    .popular-directions h2 {
        font-size: 1.5rem;
        margin-top: 15px;
        margin-bottom: 35px;
    }

    .directions-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 40px 20px 60px;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .security-tips-section {
        padding: 10px 10px 50px;
    }

    .security-tips-container {
        padding: 25px 20px;
    }

    .security-tips-header h3 {
        font-size: 1.2rem;
    }

    .security-tip {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}