/* Loading Screen Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Calculator Loading Overlay */
.calculator-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 20px;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.loading-overlay.hidden,
.calculator-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.calculator-loading-overlay .loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3b82f6;
    margin-bottom: 15px;
}

.calculator-loading-overlay .loading-text {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.calculator-loading-overlay .loading-subtext {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    max-width: 280px;
}

.calculator-loading-overlay .loading-progress {
    width: 180px;
    height: 3px;
    margin-top: 15px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.loading-subtext {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    max-width: 300px;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    animation: shimmer 2s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    /* максимальная ширина */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ряд - flex-контейнер для колонок */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    /* компенсируем padding колонок */
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.flex-between {
    justify-content: space-between;
}


/* Класс для центрирования колонки в ряду */
.row-center {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    /* min-height: 100vh; */
}


/* Базовые стили для всех колонок */
[class*="col-"] {
    flex: 0 0 auto;
    padding: 0 15px;
    /* отступы между колонками */
    box-sizing: border-box;
}

/* Колонки */
/* Генерация классов для колонок от 1 до 12 */
.col-1 {
    width: 8.333333%;
}

.col-2 {
    width: 16.666667%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333333%;
}

.col-5 {
    width: 41.666667%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.333333%;
}

.col-8 {
    width: 66.666667%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.333333%;
}

.col-11 {
    width: 91.666667%;
}

.col-12 {
    width: 100%;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    [class*="col-"] {
        width: 100%;
        /* на мобильных колонки становятся в одну строку */
    }
}

/* Typography */
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #1f2937;
    /* margin-bottom: 1rem; */
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}


.text-gray {
    color: rgba(255, 255, 255, 0.4000000059604645);
    text-align: left;
    vertical-align: text-top;
    font-size: 12px;
    /* font-family:DM Sans; */
    /* line-height:139.9999976158142px; */
    border-style: hidden;
    outline: none;
    /* width:113px; */
}

.section-title-dark {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dbeafe;
    /* margin-bottom: 1rem; */
    text-align: center;
}

.section-subtitle-dark {
    font-size: 1.25rem;
    color: rgb(191 219 254 / var(--tw-text-opacity, 1));
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-title-with-icon svg {
    color: #93C5FD;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-white-hero {
    background: white;
    color: rgb(30 58 138 / var(--tw-text-opacity, 1));
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.btn-white-hero:hover {
    background: #ebf2f7;
    /* transform: translateY(-1px); */
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.18);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.btn-white {
    background: white;
    color: #2563eb;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: white;
    color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    background: linear-gradient(135deg, #144088, #2563eb);
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #144088, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: #4b5563;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 999;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.mobile-menu-link:hover {
    background: #f3f4f6;
    color: #2563eb;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #144088, #1e40af, #2563eb);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}



.hero-card-obj {
    /* Frame 151 */

    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: center; */
    padding: 20px;
    gap: 10px;
    z-index: 10;

    /* position: absolute; */
    /* width: 230px; */
    /* height: 216px; */
    left: 100px;
    top: 267px;

    /* White Colors/White - 5 */
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.95;
    /* White Colors/White - 10 */
    border: 0.669535px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0px 8.03442px 18.747px rgba(10, 9, 9, 0.32);
    backdrop-filter: blur(10.7126px);
    /* Note: backdrop-filter has minimal browser support */
    border-radius: 10.7126px;
    /* transform: rotate(-14.04deg); */

}




.hero-content {
    position: relative;
    display: flex;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-accent {
    color: #93c5fd;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #dbeafe;
}

.hero-commission {
    font-weight: 700;
    color: white;
    background: rgba(37, 99, 235, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #bfdbfe;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feature svg {
    color: #93c5fd;
    flex-shrink: 0;
}

.hero-card {
    position: relative;
    display: inline-block;
}

.hero-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    transform: rotate(6deg);
    border-radius: 1.5rem;
    opacity: 0.2;
    /* height: 72%; */
}

.hero-card-content {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #dbeafe;
}

.hero-card-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #93c5fd;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f9fafb, white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #dbeafe;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.advantage-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Calculator Section */
.calculator {
    padding: 5rem 0;
    /* background: white; */
    background: linear-gradient(135deg, #144088, #1e40af, #2563eb);
}

.calculator-card {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #bfdbfe;
    box-shadow: 0 10px 25px -3px rgba(37, 99, 235, 0.1);
}

.calculator-objects {
    /* position: absolute;
    inset: 0;
    display: flex;
    justify-content: end;
    align-items: end;
    margin-bottom: -353px;
    margin-right: -285px; */
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42%;
    /* твоя ширина */
    z-index: 100000;
    pointer-events: none;
    /* чтобы не мешало кликам */
    right: -116px;
    bottom: -295px;
}

.calculator-form {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 2rem;
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calculator-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
}

.calculator-select,
.calculator-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: white;
    transition: all 0.2s ease;
}

.calculator-select:focus,
.calculator-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-input {
    font-weight: 600;
    font-size: 1.125rem;
}

.calculator-result {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: #f9fafb;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.calculator-swap {
    display: flex;
    justify-content: center;
}

.calculator-swap-btn {
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #2563eb;
}

.calculator-swap-btn:hover {
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    border-color: #2563eb;
    background: #f8fafc;
}

.calculator-info {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.rates-display {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #bfdbfe;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.rate-pair {
    font-weight: 600;
    color: #1f2937;
}

.rate-value {
    font-weight: 700;
    color: #2563eb;
}

.rates-update-time {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.rates-loading {
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

.calculator-commission {
    text-align: center;
    color: #1e40af;
    font-size: 0.875rem;
}

.calculator-action {
    text-align: center;
}

/* Fees Section */
.fees {
    padding: 5.5rem 0;
    background: linear-gradient(to bottom, white, #f9fafb);
}

.fees-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    background: white;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background: #f9fafb;
}

.accordion-header.active {
    background: #f9fafb;
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-header-content svg {
    color: #2563eb;
}

.accordion-header-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.accordion-chevron {
    color: #6b7280;
    transition: transform 0.2s ease;
}

.accordion-header.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.accordion-content.active {
    display: block;
}

.fee-highlight {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.fee-highlight h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.fee-rate {
    color: #059669;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fee-description {
    font-size: 0.875rem;
    color: #6b7280;
}

.fee-table-container {
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    border-collapse: collapse;
}

.fee-table th {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
}

.fee-table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e5e7eb;
}

.fee-table td strong {
    font-weight: 600;
}

.fee-limit {
    font-size: 0.875rem;
    color: #6b7280;
}

.cash-operations {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.cash-operation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* .cash-icon {
    background: #dcfce7;
    padding: 0.5rem;
    border-radius: 50%;
    color: #059669;
} */

.cash-icon {
    display: inline-flex;
    /* центрируем содержимое */
    align-items: center;
    justify-content: center;
    width: 40px;
    /* фиксированная ширина */
    height: 40px;
    /* фиксированная высота -> квадрат */
    aspect-ratio: 1 / 1;
    /* запасной вариант для браузеров */
    padding: 0;
    /* убираем лишний padding, который ломает форму */
    border-radius: 50%;
    /* делает круг */
    background: #dcfce7;
    /* твой фон */
    color: #059669;
    /* цвет иконки/текста */
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Если внутри стоит SVG — подгоняем его размер */
.cash-icon svg {
    width: 60%;
    height: 60%;
    display: block;
}

/* Варианты размеров */
.cash-icon--sm {
    width: 32px;
    height: 32px;
}

.cash-icon--lg {
    width: 48px;
    height: 48px;
}

.cash-operation-header h4 {
    font-weight: 600;
    color: #1f2937;
}

.cash-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #6b7280;
}

.additional-services {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-group h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.fees-notice {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #bfdbfe;
}

.fees-notice h3 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.fees-notice ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #1e40af;
    font-size: 0.875rem;
}

/* Contacts Section */
.contacts {
    padding: 5rem 0;
    background: linear-gradient(135deg, #144088, #1e40af);
    color: white;
}

.contacts-content {
    display: flex;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background: #2563eb;
    padding: 0.75rem;
    border-radius: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #dbeafe;
    margin-bottom: 0.25rem;
}

.contact-note {
    font-size: 0.875rem;
    color: #bfdbfe !important;
}

.contact-link {
    color: #dbeafe;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: white;
}

.contacts-regions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.regions-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.regions-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.regions-title svg {
    color: #93c5fd;
}

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

.region-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    transition: background-color .18s ease, transform .12s ease, box-shadow .18s ease;
    will-change: transform, background-color;
    cursor: default;
}

.region-item:hover {
    background: rgba(255, 255, 255, 0.09);
    /* чуть светлее */
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.region-item svg {
    color: #93c5fd;
    margin-bottom: 0.5rem;
}

.region-item p {
    margin-bottom: 0.25rem;
}

.region-note {
    font-size: 0.875rem;
    color: #bfdbfe !important;
}

.cta-card {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    color: #dbeafe;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
}

.footer-content {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-main {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: none;
    -webkit-text-fill-color: unset;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.footer-telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.footer-telegram:hover {
    background: #1d4ed8;
}

.footer-services h3,
.footer-contacts h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #d1d5db;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright,
.footer-regions {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        width: 91%;
    }

    .hero-card {
        display: block;
    }

    .contacts-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 769px) {
    .section-title-with-icon svg {
        display: none;
    }
    
    .hero {
        position: relative !important;
        min-height: 102vh !important;
    }
    
    .flex-objtwo-min {
        position: absolute !important;
        left: 50% !important;
        top: 80% !important;
        transform: translateX(-50%) rotate(-14.04deg) !important;
        margin: 0 !important;
        z-index: 10;
    }
    
    .hero .container {
        margin-top: -22vh !important;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .calculator-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calculator-swap {
        order: 2;
    }

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

    .additional-services {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.advantage-card,
.contact-card,
.accordion-item {
    animation: fadeInUp 0.6s ease forwards;
}

.advantage-card:nth-child(2) {
    animation-delay: 0.1s;
}

.advantage-card:nth-child(3) {
    animation-delay: 0.2s;
}

.advantage-card:nth-child(4) {
    animation-delay: 0.3s;
}

.advantage-card:nth-child(5) {
    animation-delay: 0.4s;
}

.advantage-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.calculator-select:focus,
.calculator-input:focus,
.accordion-header:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}



/* Cripto cards for hero section */

/* 1 row  */

.frame149 {
    height: 46px;
    width: 190px;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.frame148 {
    height: 46px;
    width: 113px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}



.star-span {
    color: #ffffff;
    text-align: left;
    vertical-align: text-top;
    font-size: 18px;
    /* font-family:DM Sans;
line-height:139.9999976158142px; */
    border-style: hidden;
    outline: none;
    /* width:113px; */
}

.frame60 {
    height: 17px;
    width: 61px;
    align-self: flex-start;
    left: 129px;
    top: 0px;

    padding: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
}

.icon_card_pay {
    /* height: 11px;
    width: 11px; */
    align-self: flex-start;
    top: 0.5px;
    left: 0px;

    padding: 0px;
    border-style: hidden;
    outline: none;
}

.vector {
    background-color: #99e39e;
    height: 5.3333330154418945px;
    width: 7.3333330154418945px;
    width: 7.3333330154418945px;
    height: 5.3333330154418945px;
    left: 4.33px;
    top: 5.33px;
    width: 7.3333330154418945px;
    height: 5.3333330154418945px;
    position: absolute;
}

.procents-span {
    color: #99e39e;
    text-align: left;
    vertical-align: text-top;
    font-size: 12px;
    /* font-family:DM Sans; */
    align-self: flex-start;
    left: 18px;
    top: 0px;
    /* position:absolute; */
    /* width: 43px;
    height: 17px; */
    /* line-height:139.9999976158142px; */
    border-style: hidden;
    outline: none;
    display: flex;
}


/* График для hero секции */
.gr-chart {
    height: 85px;
    width: 190px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 17.66px;
}

.gr-bar {
    background-color: rgba(255, 255, 255, 0.2);
    width: 12px;
    height: 85px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.gr-bar-fill {
    background-color: #99e39e;
    width: 100%;
    border-radius: 999px;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: transform .6s ease;
    /* плавная анимация */
    transform-origin: bottom;
    /* растёт снизу вверх */
    transform: scaleY(1);
    /* базовое состояние */
}

.gr-bar:nth-child(1) .gr-bar-fill {
    height: 26px;
}

.gr-bar:nth-child(2) .gr-bar-fill {
    height: 40px;
}

.gr-bar:nth-child(3) .gr-bar-fill {
    height: 48px;
}

.gr-bar:nth-child(4) .gr-bar-fill {
    height: 40px;
}

.gr-bar:nth-child(5) .gr-bar-fill {
    height: 69px;
}

.gr-bar:nth-child(6) .gr-bar-fill {
    height: 63px;
}

.gr-bar:nth-child(7) .gr-bar-fill {
    height: 54px;
}

/* Анимация при наведении на весь график */
.gr-chart:hover .gr-bar:nth-child(1) .gr-bar-fill {
    transform: scaleY(1.18);
}

.gr-chart:hover .gr-bar:nth-child(2) .gr-bar-fill {
    transform: scaleY(1.32);
}

.gr-chart:hover .gr-bar:nth-child(3) .gr-bar-fill {
    transform: scaleY(1.45);
}

.gr-chart:hover .gr-bar:nth-child(4) .gr-bar-fill {
    transform: scaleY(1.28);
}

.gr-chart:hover .gr-bar:nth-child(5) .gr-bar-fill {
    transform: scaleY(1.20);
}

.gr-chart:hover .gr-bar:nth-child(6) .gr-bar-fill {
    transform: scaleY(1.35);
}

.gr-chart:hover .gr-bar:nth-child(7) .gr-bar-fill {
    transform: scaleY(1.25);
}



.donut-chart {
    /* переворачиваем так, чтобы обрыв снизу был строго горизонтально */
    transform: rotate(-180deg);
    cursor: pointer;
    display: block;
    margin: auto;
}

.donut-segment {
    transition: stroke-dasharray .6s ease;
}

/* При наведении зелёная дуга плавно увеличивается */
.donut-chart:hover .donut-segment {
    stroke-dasharray: 50 50;
}

/* Увеличивает визуальный размер пончика без изменения его r/dasharray */
.donut-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    /* чтобы SVG мог вылезать за пределы карточки */
}

/* сам SVG — масштабируем через transform */
.donut-chart {
    width: 100%;
    /* заполняет контейнер карточки по ширине */
    height: auto;
    display: block;
    transform-origin: 50% 50%;
    transform: scale(1.7);
    /* <--- увеличь/уменьшай это число по вкусу */
    transition: transform .15s ease;
    /* плавность, можно убрать */
}

/* Убедись, что карточка пропускает переполнение (иначе обрезает) */
.hero-card-obj {
    overflow: visible;
    /* вместо hidden */
}




#parallaxobj {
    will-change: transform;
    pointer-events: none;
    /* фон не мешает кликам */
}

.hero-card-obj {
    pointer-events: auto;
    /* карточки кликабельны */
}



/* карточки делаем адаптивными, убираем жёсткие размеры */
.hero-card-obj {
    /* width: clamp(160px, 20vw, 320px); */
    height: auto;
    min-height: 160px;
    pointer-events: auto;
}

/* .hero-card-obj {
    width: 100%;
    max-width: 340px;
    min-height: 180px;
    height: auto;
  } */


.hero-objects {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
    left: 907px;

    /* background: rgba(0, 0, 0, 0.1); */
}

.flex-obj {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    transform: rotate(-14.04deg);
    height: 248px;
    /* margin-top: 74px; */
    margin-right: -450px;
    align-items: end;
    gap: 50px;
}

.flex-objtwo-min
{
    display: none;
    visibility: hidden;
}

.mobile-only-card {
    display: none;
    visibility: hidden;
}

/* >390px */
@media (max-width: 769px) {

    /* .hero-card-obj {
      width: 90%;
      max-width: 360px;
      min-height: 200px;
    } */
    .flex-obj {
        visibility: hidden;
        display: none;
    }

    .flex-objtwo {
        visibility: hidden;
        display: none;
    }

    .hero-objects {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: end;
        z-index: 10;
    }

    .hero-card-bg {
        visibility: hidden;
        display: none;
    }

    .hero-card-content {
        visibility: hidden;
        display: none;
    }

    .calculator-objects {
        visibility: hidden;
        display: none;
    }

    .flex-objtwo-min {
        visibility: visible;
        display: flex;
        margin: 39px;
    }
    
    .mobile-only-card {
        display: none;
        visibility: hidden;
    }
}

/* >768px */
@media (min-width: 770px) and (max-width: 1025px) {

    .hero {
        min-height: 100vh;
        padding: 4rem 0;
    }

    .hero-card-obj {
        width: 200px;
        height: auto;
        overflow: visible !important;
        position: relative;
        margin-bottom: -116px;
    }

    .hero-card-obj .col-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .flex-obj {
        visibility: visible !important;
        display: flex !important;
        /* margin-right: -250px; */
        /* margin-top: 30px; */
        align-items: flex-end;
        gap: 20px;
    }
    
    .flex-row[style*="transform: rotate(-14.04deg)"] {
        align-items: center !important;
    }

    .flex-obj .hero-card-obj:nth-child(1) {
        visibility: hidden;
        display: none;
    }

    .flex-obj .hero-card-obj:nth-child(2) {
        visibility: visible !important;
        display: flex !important;
        width: 187px !important;
        height: 283px !important;
        overflow: visible !important;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        top: 35px;
        margin-left: -64px;
    }

    .flex-objtwo {
        visibility: visible;
        display: flex;
        width: 400px;
        height: 250px;
    }

    .hero-objects {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: end;
        z-index: 10;
    }

    .hero-card-bg {
        visibility: hidden;
        display: none;
    }

    .hero-card-content {
        visibility: hidden;
        display: none;
    }

    .calculator-objects {
        visibility: hidden;
        display: none;
    }
    
    .flex-objtwo-min {
        display: none;
        visibility: hidden;
    }
    
    .mobile-only-card {
        display: flex;
        visibility: visible;
        margin-top: 20px;
        margin-left: 20px;
    }
    
    .hero-card-obj .donut-chart {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        transform: scale(1.2) !important;
    }
    
    .flex-obj .hero-card-obj:nth-child(2) .donut-chart {
        transform: scale(1.2) !important;
    }
    
    img[src="img/chart-bit.svg"] {
        width: 362px !important;
        height: auto !important;
    }
    
    #parallaxobj {
        transform: none !important;
        transition: none !important;
    }
    
    #parallaxobj2 {
        transform: none !important;
        transition: none !important;
    }
}

/* >1024px */
/* @media (min-width: 770px) and (max-width: 1025px) {


    .hero-objects {
        display: none;
        visibility: hidden;
    }

    .calculator-objects {
        z-index: 100000;
        pointer-events: none;
        right: -50px;
        bottom: -295px;
    }
    

} */

/* >1440px */
@media (min-width: 1026px) and (max-width: 1441px) {

    /* .hero-card-obj {
      width: 380px;
      height: 280px;
    } */
    .hero-objects {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: end;
        z-index: 10;
    }

    .calculator-objects {
        z-index: 100000;
        pointer-events: none;
        right: -50px;
        bottom: -295px;
    }
}

/* >1920px */
@media (min-width: 1442px) and (max-width: 1921px) {
    /* .hero-card-obj {
      width: 460px;
      height: 340px;
    } */

    .flex-obj {
        margin-left: 10px;
    }


    .hero-objects {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        z-index: 10;
        left: 907px;
    }
}