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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ebc91d;
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 5px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.header-auth-btn {
    padding: 8px 20px;
    background: #ebc91d;
    color: #000;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 15px;
    transition: all 0.2s;
}

.header-auth-btn:hover {
    background: #d4b418;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #000;
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-lang {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.mobile-auth-btn {
    display: block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #ebc91d;
    color: #000;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
/* Hero Section */
.hero {
    background: #f6f7f9;
    padding: 50px 20px;
    margin-top: 70px;
}

.hero-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-tag-yellow {
    background: #ebc91d;
    color: #000;
}

.hero-tag-text {
    font-size: 14px;
    font-weight: 600;
    color: #ebc91d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #000;
}

.hero-text {
    font-size: 15px;
    color: #424242;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-buttons-left .btn {
    width: 100%;
    min-width: 220px;
    justify-content: center;
}

.btn-request {
    align-self: center;
    height: fit-content;
    padding: 30px 50px;
    font-size: 18px;
}

.hero-image {
    flex-shrink: 0;
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.btn-outline-dark {
    background: #0088cc;
    color: #fff;
    border: 2px solid #0088cc;
}

.btn-outline-dark:hover {
    background: #006da3;
    color: #fff;
}

.btn-telegram {
    background: #0088cc;
    color: #fff;
    border: 2px solid #0088cc;
}

.btn-telegram:hover {
    background: #006da3;
    color: #fff;
    border-color: #006da3;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
    border-color: #1da851;
}

/* International Payments Section */
.payments {
    background: #f6f7f9;
    padding: 50px 20px;
}

.payments-card {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.payments-content {
    flex: 1;
    max-width: 450px;
}

.payments-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #000;
}

.payments-text {
    font-size: 16px;
    color: #424242;
    margin-bottom: 30px;
    line-height: 1.6;
}

.payments-image {
    flex-shrink: 0;
    max-width: 450px;
}

.payments-image img {
    width: 100%;
    height: auto;
}

.btn-dark {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.btn-dark:hover {
    background: #333;
    border-color: #333;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ebc91d;
    color: #000;
    border-color: #ebc91d;
}

.btn-primary:hover {
    background: #d4b418;
    border-color: #d4b418;
}

.btn-secondary {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.btn-secondary:hover {
    background: #006da3;
    color: #fff;
    border-color: #006da3;
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 28px;
    height: 28px;
}

/* Countries Section */
.countries {
    padding: 50px 20px;
    background: #fff;
}

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

.countries-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    background: #fff;
}

.country-btn:hover {
    border-color: #ebc91d;
    background: #fffbe6;
}

.country-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.countries-more {
    text-align: center;
}

.countries-more p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

/* Why Us Section */
.why-us {
    padding: 50px 20px;
    background: #f6f7f9;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 35px;
}

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

.feature-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 60px;
    height: 60px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* How We Work Section */
.how-we-work {
    padding: 50px 20px;
    background: #f6f7f9;
}

.how-container {
    max-width: 1100px;
    margin: 0 auto;
}

.steps-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.step-new {
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.step-new-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.step-new-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.how-footer {
    text-align: center;
    margin-top: 40px;
}

.how-footer-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Trust Section */
.trust {
    padding: 50px 20px;
    background: #f6f7f9;
}

.trust-container {
    max-width: 1100px;
    margin: 0 auto;
}

.trust-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.trust-left {
    flex: 1;
    max-width: 450px;
}

.trust-quote {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.5;
    margin-bottom: 30px;
}

.trust-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trust-person {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.trust-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.trust-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-info {
    flex: 1;
}

.trust-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 5px;
}

.trust-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Old steps for backwards compatibility */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #ebc91d;
}

.step-number {
    width: 70px;
    height: 70px;
    background: #ebc91d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Reputation Section */
.reputation {
    padding: 80px 20px;
    background: #1a1a1a;
    color: #fff;
}

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

.reputation-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

.reputation-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.reputation-left h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.reputation-right {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
}

.bestchange-logo {
    display: block;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.reputation-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.reputation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.reputation-link:hover {
    color: #004499;
}

.reputation-link::after {
    content: '↗';
    font-size: 14px;
}

@media (max-width: 768px) {
    .reputation {
        padding: 50px 20px;
    }

    .reputation-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .reputation-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reputation-left h3 {
        font-size: 24px;
        text-align: center;
    }

    .reputation-right {
        padding: 25px;
    }
}

/* CTA Section */
.cta {
    padding: 50px 20px;
    background: #000;
    color: #fff;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: nowrap;
}

.cta-buttons .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: #f6f7f9;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo img {
    height: 35px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    font-size: 14px;
    color: #666;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #000;
}

.footer-contacts {
    display: flex;
    gap: 20px;
}

.footer-contacts {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000;
    transition: opacity 0.2s;
}

.footer-social:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 24px;
    height: 24px;
}

.footer-copy {
    font-size: 13px;
    color: #999;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    z-index: 1;
}

.modal-content.modal-wide {
    max-width: 550px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #000;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ebc91d;
}

.form-group textarea {
    resize: vertical;
}

/* Phone Input with Country Code - New Style */
.phone-input-new {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
    background: #fff;
}

.phone-input-new:focus-within {
    border-color: #ebc91d;
}

.phone-select {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 10px 15px 15px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.phone-select:hover {
    background: #f6f7f9;
}

.phone-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-arrow {
    transition: transform 0.2s;
}

.phone-select.active .phone-arrow {
    transform: rotate(180deg);
}

.phone-code-display {
    font-size: 16px;
    color: #000;
    padding-right: 10px;
    margin-right: 10px;
}

.phone-number-input {
    flex: 1;
    padding: 15px 15px 15px 0;
    border: none !important;
    font-size: 16px;
    font-family: inherit;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
    color: #000;
    background: transparent;
}

.phone-number-input::placeholder {
    color: #999;
}

.phone-dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.phone-dropdown.active {
    display: block;
}

.phone-option {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-option-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.phone-option:hover {
    background: #f6f7f9;
}

.phone-option:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.form-group:has(.phone-input-new) {
    position: relative;
}

/* Notification */
.notification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.notification.active {
    display: flex;
}

.notification-content {
    background: #fff;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

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

.notification-icon {
    margin-bottom: 25px;
}

.notification-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.notification-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav,
    .lang-switcher,
    .header-auth-btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-card {
        flex-direction: column;
        padding: 30px 25px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-image {
        max-width: 300px;
        order: -1;
    }

    .payments-card {
        flex-direction: column;
        text-align: center;
    }

    .payments-content {
        max-width: 100%;
    }

    .payments-image {
        max-width: 300px;
    }

    .payments-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-icon img {
        width: 50px;
        height: 50px;
    }

    .trust-content {
        flex-direction: column;
    }

    .trust-left {
        max-width: 100%;
    }

    .cta-title {
        font-size: 28px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 80px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons-left {
        width: 100%;
    }

    .btn-request {
        width: 100%;
        padding: 16px 30px;
    }

    .btn {
        width: 100%;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .country-btn {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .modal-content {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card,
.feature-card,
.step,
.country-btn {
    animation: fadeIn 0.6s ease-out;
}

/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
