﻿:root {
    --primary: #50af3c;
    --secondary: #26a17b;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --dark: #0a0f0d;
    --dark-bg: linear-gradient(135deg, #0a1a14 0%, #0d2818 50%, #0a0f0d 100%);
    --light: #0d1f17;
    --white: #ffffff;
    --gray: #8a9a8f;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html, body {
    overflow-x: hidden;
    overscroll-behavior: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}


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


.btn-primary {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(38, 161, 123, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 161, 123, 0.4);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid #eee;
    font-weight: 600;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    font-size: 0.85rem;
    padding: 6px 15px;
    background: var(--light);
    border-radius: 15px;
    color: var(--primary);
    font-weight: 600;
}

.full-width {
    width: 100%;
    text-align: center;
}


.header {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(80, 175, 60, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo i {
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

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

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
}

.header-right {
    display: flex;
    align-items: center;
}

.mobile-menu {
    display: none;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}


.hero {
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background: #e0f7fa;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--dark);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}




.phone-mockup {
    width: 320px;
    margin: 0 auto;

    transform: rotate(-5deg) translateY(20px);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(10px);
}

/* Hero промо картинка */
.hero-promo-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.phone-border {
    background-color: #2c3e50;
    border-radius: 35px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.phone-screen {
    background-color: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Inter', sans-serif;
}


.mockup-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    background: transparent;
}

.mockup-header-new i {
    font-size: 1rem;
    color: #2c3e50;
    cursor: pointer;
}


.mockup-body-new {
    padding: 10px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}


.mockup-card {
    background-color: #f8f9fb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 10px;
}

.mockup-label {
    display: block;
    font-size: 0.85rem;
    color: #9aa0a6;
    margin-bottom: 8px;
    font-weight: 500;
}

.mockup-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c3e50;
}


.mockup-arrow-new {
    text-align: center;
    color: #5bbfa6;
    font-size: 1.2rem;
    margin: 5px 0 15px 0;
}


.mockup-btn-new {
    background-color: #5bbfa6;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(91, 191, 166, 0.3);
    transition: 0.2s;
    display: flex;
    justify-content: center;
}

.mockup-btn-new:hover {
    background-color: #4aa891;
    box-shadow: 0 5px 10px rgba(91, 191, 166, 0.3);
}



.exchange {
    background: var(--white);
    padding: 80px 0;
}

.exchange-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.exchange-steps h2 {
    margin-bottom: 30px;
}

.steps-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.steps-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 45px;
    width: 2px;
    height: 30px;
    background: #eee;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.step-info h4 {
    margin-bottom: 5px;
}

.step-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.exchange-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.exchange-card h3 {
    margin-bottom: 20px;
}

.toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.toggle-label {
    font-weight: 600;
}

.toggle-btns {
    background: var(--light);
    padding: 4px;
    border-radius: 20px;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 15px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.toggle-btn.active {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.exchange-form {
    display: none;
}

.exchange-form.active {
    display: block;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    background: #fcfcfc;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.read-only-field {
    padding: 12px 15px;
    background: #f0f0f0;
    border-radius: 10px;
    color: #555;
}

.divider {
    text-align: center;
    color: var(--primary);
    margin: 15px 0;
}

.rate-hint {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.info-message {
    background: #e3f2fd;
    color: #1565c0;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}


.services {
    padding: 80px 0;
    background: #f8fbff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

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

.icon-box {
    width: 50px;
    height: 50px;
    background: #e0f7fa;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}


.reviews {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.quote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
}

.reviews-footer {
    text-align: center;
}


.license {
    padding: 60px 0;
    background: var(--white);
}

.license-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.license-card {
    background: #fafafa;
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    min-width: 250px;
}

.license-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.license-card.clickable:hover {
    border-color: var(--primary);
    cursor: pointer;
}

.small-link {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 10px;
    display: block;
}


.contacts {
    padding: 80px 0;
    background: #f4f6f8;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.03);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}


.about {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

.about-stats {
    justify-content: center;
    margin-top: 40px;
}


.footer {
    background-color: #1a252f;
    color: #ecf0f1;
    padding: 70px 0 30px;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-desc {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.disclaimer {
    font-size: 0.75rem;
    color: #7f8c8d;
    max-width: 800px;
    line-height: 1.4;
}


@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .social-links {
        justify-content: center;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats-row {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        margin: 0 auto;
    }

    .exchange-layout {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .reviews-grid,
    .contacts-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
    }
}

.policy-section {
    padding: 60px 0;
    background-color: #f4f6f8;
    min-height: 80vh;
}

.policy-wrapper {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.policy-wrapper h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.policy-content h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.policy-content ul li {
    margin-bottom: 10px;
}

.policy-content a {
    color: var(--primary);
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-wrapper {
        padding: 30px 20px;
    }

    .policy-wrapper h1 {
        font-size: 1.8rem;
    }
}

.custom-input {
    color: #000000;
    font-weight: 700;
    opacity: 1;
}

.custom-input::placeholder {
    color: #000000;
    font-weight: 700;
    opacity: 1;
}

.input-attention {
    border-color: #ff4757 !important; 
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.2) !important; 
    transition: 0.3s ease;
}

.receive-row {
    display: flex;
    gap: 10px;
}

.receive-row .custom-input {
    flex: 1;
}

.currency-select {
    width: 80px;
    padding: 12px 10px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

/* ========== НОВЫЕ СТИЛИ ДЛЯ TETHERTRADE ========== */

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
}

.tether-logo {
    flex-shrink: 0;
}

.logo-trade {
    color: var(--secondary);
}

/* Video Popup при входе */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.video-popup.active {
    opacity: 1;
    visibility: visible;
}

.video-popup-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    max-width: 800px;
    width: 90%;
    text-align: center;
    position: relative;
}

.video-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
}

.video-popup h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 20px;
}

.video-wrapper.vertical {
    padding-bottom: 0;
    height: auto;
    max-height: 70vh;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-wrapper.vertical video {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.video-popup-content.vertical {
    max-width: 400px;
}

/* Секция безопасности */
.security {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
}

.security .section-header h2 {
    color: var(--white);
}

.security .section-header h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.security .section-header p {
    color: rgba(255,255,255,0.7);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.security-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: 0.3s;
}

.security-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.security-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.security-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.security-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.badge-item {
    background: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-item i {
    font-size: 1.1rem;
}

/* Секция токенов */
.tokens {
    padding: 60px 0;
    background: var(--light);
}

.tokens-header {
    text-align: center;
    margin-bottom: 30px;
}

.tokens-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
}

.tokens-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.token-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.token-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.token-item.active {
    background: var(--gradient);
    color: var(--white);
}

.token-item i, .token-item svg {
    font-size: 1.5rem;
}

.token-item span {
    font-weight: 600;
}

/* Видео в разделе О нас */
.about-video {
    margin-bottom: 50px;
}

.about-video h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-video h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Фиксированный виджет обмена */
.exchange-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: 0.5s;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
}

.exchange-widget.visible {
    transform: translateY(0);
}

.widget-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.widget-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

.widget-give, .widget-get {
    display: flex;
    flex-direction: column;
}

.widget-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.widget-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.widget-arrow {
    color: var(--primary);
    font-size: 1.2rem;
}

.widget-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.widget-btn:hover {
    transform: scale(1.05);
}

.widget-close {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--dark);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Мобильная адаптация виджета */
@media (max-width: 768px) {
    .exchange-widget {
        padding: 10px 15px;
    }
    
    .widget-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .widget-info {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .widget-value {
        font-size: 1rem;
    }
    
    .widget-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .widget-close {
        top: -12px;
        right: 10px;
        width: 25px;
        height: 25px;
    }
}

/* Мобильная адаптация новых элементов */
@media (max-width: 768px) {
    .video-popup-content {
        padding: 20px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .tokens-grid {
        justify-content: center;
    }
    
    .token-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .widget-content {
        flex-direction: column;
        text-align: center;
    }
    
    .widget-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .widget-arrow {
        transform: rotate(90deg);
    }
}

/* ========== СТРАНИЦА ОТЗЫВОВ ========== */
.reviews-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.reviews-page .section-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 25px 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-stars {
    color: #f1c40f;
    margin: 5px 0;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.reviews-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.review-card-full {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.review-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.user-details {
    flex: 1;
}

.user-details strong {
    display: block;
    font-size: 1.1rem;
}

.user-details .location {
    font-size: 0.85rem;
    color: var(--gray);
}

.user-details .location i {
    color: var(--primary);
    margin-right: 5px;
}

.review-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.review-card-full .stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.review-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.review-service {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.review-service span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.review-service i {
    margin-right: 8px;
}

.reviews-cta {
    text-align: center;
    padding: 50px;
    background: var(--gradient);
    border-radius: var(--radius);
    color: var(--white);
}

.reviews-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.reviews-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.reviews-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.reviews-cta .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
}

@media (max-width: 768px) {
    .reviews-page .section-header h1 {
        font-size: 1.8rem;
    }
    
    .reviews-stats {
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px;
        flex: 1;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .reviews-full-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer logo fix */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-logo .logo-trade {
    color: var(--secondary);
}

/* ========== ТЕМНАЯ ТЕМА ========== */

/* Hero секция */
.hero {
    background: linear-gradient(135deg, #0a1a14 0%, #0d2818 50%, #051a0f 100%);
}

.hero-subtext {
    color: rgba(255,255,255,0.7);
}

.stat-item span {
    color: rgba(255,255,255,0.6);
}

/* Секции с тёмным фоном */
.exchange, .services, .reviews, .license, .contacts, .about {
    background: linear-gradient(180deg, #0a1510 0%, #0d1f17 100%);
}

.section-header p {
    color: rgba(255,255,255,0.7);
}

/* Карточки */
.exchange-card {
    background: rgba(20, 35, 28, 0.9);
    border: 1px solid rgba(80, 175, 60, 0.2);
}

.exchange-card h3 {
    color: var(--white);
}

.service-card, .review-card, .license-card, .contact-card, .about-card {
    background: rgba(20, 35, 28, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.15);
}

.service-card h3, .review-card strong, .license-card h3, .contact-card h3, .about-card h3 {
    color: var(--white);
}

.service-card p, .license-card p, .contact-card p, .about-card p {
    color: rgba(255,255,255,0.7);
}

.review-card .quote {
    color: rgba(255,255,255,0.85);
}

/* Формы */
.form-control {
    background: rgba(10, 20, 15, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.3);
    color: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(10, 20, 15, 0.95);
}

.form-control option {
    background: #0d1f17;
    color: var(--white);
}

.read-only-field {
    background: rgba(10, 20, 15, 0.6);
    color: rgba(255,255,255,0.7);
}

.input-group label {
    color: rgba(255,255,255,0.7);
}

.toggle-container {
    background: rgba(10, 20, 15, 0.5);
}

.toggle-btn {
    color: rgba(255,255,255,0.7);
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Шаги */
.step-num {
    background: var(--gradient);
    color: var(--white) !important;
}

.step-info h4 {
    color: var(--white);
}

.step-info p {
    color: rgba(255,255,255,0.6);
}

/* Мобильное меню */
.mobile-menu {
    background: rgba(10, 20, 15, 0.98);
}

.mobile-link {
    color: var(--white);
    border-bottom-color: rgba(80, 175, 60, 0.2);
}

/* Модальное окно */
.modal {
    background: #0d1f17;
    border: 1px solid rgba(80, 175, 60, 0.3);
}

.modal-header {
    border-bottom-color: rgba(80, 175, 60, 0.2);
}

.modal-header h3 {
    color: var(--white);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a1510 0%, #050a08 100%);
    border-top: 1px solid rgba(80, 175, 60, 0.2);
}

.footer-desc, .footer-links a, .disclaimer {
    color: rgba(255,255,255,0.6);
}

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

.footer-col h4 {
    color: var(--white);
}

.footer-divider {
    background: rgba(80, 175, 60, 0.2);
}

/* Токены секция */
.tokens {
    background: linear-gradient(180deg, #0d1f17 0%, #0a1510 100%);
}

.tokens-header h3 {
    color: var(--white);
}

.token-item {
    background: rgba(20, 35, 28, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.2);
    color: var(--white);
}

/* Exchange steps */
.exchange-steps h2 {
    color: var(--white);
}

/* Info message */
.info-message {
    background: rgba(80, 175, 60, 0.1);
    border: 1px solid rgba(80, 175, 60, 0.3);
}

.info-message p {
    color: rgba(255,255,255,0.8);
}

/* Avatars */
.review-card .avatar {
    background: var(--gradient);
}

.user-info span {
    color: rgba(255,255,255,0.5);
}

/* Phone mockup */
.phone-border {
    background: linear-gradient(135deg, #1a2f25, #0d1f17);
    border: 2px solid rgba(80, 175, 60, 0.3);
}

.phone-screen {
    background: #0a1510;
}

.mockup-card {
    background: rgba(20, 40, 30, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.2);
}

.mockup-label {
    color: rgba(255,255,255,0.6);
}

.mockup-value {
    color: var(--white);
}

/* Badge */
.badge {
    background: rgba(80, 175, 60, 0.2);
    color: var(--primary);
}

/* Btn outline на тёмном */
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* License clickable */
.license-card.clickable {
    background: rgba(20, 35, 28, 0.8);
}

.license-card.clickable:hover {
    background: rgba(30, 50, 40, 0.9);
    border-color: var(--primary);
}

.small-link {
    color: var(--primary);
}

/* Reviews page dark theme */
.reviews-page {
    background: linear-gradient(180deg, #0a1510 0%, #0d1f17 100%);
}

.stat-box {
    background: rgba(20, 35, 28, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.2);
}

.stat-number {
    color: var(--primary);
}

.stat-label {
    color: rgba(255,255,255,0.6);
}

.review-card-full {
    background: rgba(20, 35, 28, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.15);
}

.review-card-full:hover {
    border-color: var(--primary);
}

.user-details strong {
    color: var(--white);
}

.review-date {
    color: rgba(255,255,255,0.5);
}

.review-text {
    color: rgba(255,255,255,0.85);
}

/* ========== КАСТОМНЫЙ SELECT С ФЛАГАМИ ========== */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    cursor: pointer;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(10, 20, 15, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
}

.custom-select-trigger:hover {
    border-color: var(--primary);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--primary);
    border-radius: 10px 10px 0 0;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primary);
    transition: 0.3s;
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 30, 22, 0.98);
    border: 1px solid rgba(80, 175, 60, 0.3);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 100;
}

.custom-select.open .custom-options {
    max-height: 300px;
    overflow-y: auto;
    opacity: 1;
}

.custom-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--white);
    transition: 0.2s;
    cursor: pointer;
}

.custom-option:hover {
    background: rgba(80, 175, 60, 0.2);
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.globe-icon {
    font-size: 18px;
    margin-right: 2px;
}

.flag-placeholder {
    width: 24px;
    height: 18px;
    background: rgba(80, 175, 60, 0.3);
    border-radius: 2px;
    display: inline-block;
}

/* Скроллбар для списка */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
}

.custom-options::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ========== УЛУЧШЕННЫЙ HEADER С ЛОГО ========== */
.header {
    background: linear-gradient(180deg, rgba(10, 25, 18, 0.98) 0%, rgba(13, 31, 23, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(80, 175, 60, 0.15);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(80, 175, 60, 0.3));
    transition: 0.3s;
}

.logo img:hover {
    filter: drop-shadow(0 4px 15px rgba(80, 175, 60, 0.5));
    transform: scale(1.02);
}

/* Мобильная адаптация header */
@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }
}

/* Убираем стрелки у input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ========== HEADER С ПЕРЕЛИВАЮЩИМСЯ ЭФФЕКТОМ ========== */
.header {
    background: linear-gradient(135deg, 
        rgba(5, 15, 10, 0.98) 0%, 
        rgba(10, 30, 20, 0.95) 25%,
        rgba(8, 25, 15, 0.97) 50%,
        rgba(12, 35, 22, 0.95) 75%,
        rgba(5, 15, 10, 0.98) 100%);
    background-size: 200% 200%;
    animation: headerGradient 8s ease infinite;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(80, 175, 60, 0.2);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Лого плавно вписывается */
.logo {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 8px;
    transition: 0.3s;
}

.logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(80, 175, 60, 0.4));
    transition: 0.3s;
}

.logo:hover img {
    filter: drop-shadow(0 0 25px rgba(80, 175, 60, 0.7));
    transform: scale(1.03);
}

/* Меню ссылки с подсветкой */
.nav-link {
    position: relative;
    padding: 8px 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: 0.3s;
}

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

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

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

/* Кнопка Чат в хедере */
.header-right .btn-outline {
    border-color: rgba(80, 175, 60, 0.5);
    color: var(--primary);
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.header-right .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(80, 175, 60, 0.4);
}

/* ========== БЕЛЫЕ ЦИФРЫ В СТАТИСТИКЕ ========== */
.stat-item strong {
    color: var(--white) !important;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(80, 175, 60, 0.5);
}

.hero-stats-row .stat-item strong {
    color: var(--white) !important;
}

.about-stats .stat-item strong {
    color: var(--white) !important;
}

/* ========== СЕКЦИЯ СКАЧИВАЕМЫХ ДОКУМЕНТОВ ========== */
.docs-download {
    margin-top: 50px;
    padding: 40px;
    background: rgba(20, 35, 28, 0.6);
    border-radius: var(--radius);
    border: 1px solid rgba(80, 175, 60, 0.2);
}

.docs-download h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--white);
    font-size: 1.3rem;
}

.docs-download h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(10, 20, 15, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.2);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.doc-item:hover {
    background: rgba(80, 175, 60, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.doc-item i {
    font-size: 2rem;
    color: #e74c3c;
}

.doc-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Карточка РКН кликабельная */
.license-card.clickable .small-link i {
    margin-right: 5px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .docs-download {
        padding: 25px;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== КАРТОЧКИ ДОКУМЕНТОВ ========== */
.docs-cards {
    margin-top: 50px;
    padding: 40px;
    background: rgba(20, 35, 28, 0.6);
    border-radius: var(--radius);
    border: 1px solid rgba(80, 175, 60, 0.2);
}

.docs-cards h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--white);
    font-size: 1.3rem;
}

.docs-cards h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    background: rgba(10, 20, 15, 0.8);
    border: 1px solid rgba(80, 175, 60, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.doc-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(80, 175, 60, 0.2);
}

.doc-card i {
    font-size: 3rem;
    color: #e74c3c;
}

.doc-card span {
    color: var(--white);
    font-weight: 500;
    text-align: center;
    font-size: 0.95rem;
}

/* Галерея изображений документов */
.doc-img-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(80, 175, 60, 0.3);
    transition: 0.3s;
    background: rgba(10, 20, 15, 0.5);
}

.doc-img-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(80, 175, 60, 0.2);
}

.doc-img-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.docs-images {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.doc-img-card {
    max-width: 300px;
}
