﻿
/* =========================
           BREADCRUMB
        ========================= */

.breadcrumb {
    padding: 15px 0 15px;
    font-size: 13px;
    color: #7c8798;
}

    .breadcrumb a {
        color: #667085;
    }

    .breadcrumb span {
        margin: 0 8px;
        color: #b3bac6;
    }

/* =========================
           HERO
        ========================= */

.hero {
    padding: 14px 0 32px;
}

.hero-card {
    border: 1px solid #e7ecf3;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 70%);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

    .hero-card::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        right: -130px;
        top: -160px;
        background: rgba(45, 126, 240, .06);
        border-radius: 50%;
    }

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 20px;
    background: #eaf3ff;
    color: #2478ed;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 13px;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.05;
    text-transform: uppercase;
}

.hero p {
    max-width: 760px;
    font-size: 15px;
    color: #667085;
    line-height: 1.75;
}

/* =========================
           SEARCH
        ========================= */

.search-section {
    margin-bottom: 35px;
}

.search-box {
    border: 1px solid #e0e6ef;
    background: #ffffff;
    border-radius: 13px;
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    box-shadow: 0 4px 16px rgba(27, 52, 89, .04);
}

.search-icon {
    font-size: 18px;
    color: #8b95a7;
    margin-right: 11px;
}

.search-box input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    font-size: 14px;
    color: #172033;
}

    .search-box input::placeholder {
        color: #9aa3b2;
    }

/* =========================
           SECTION
        ========================= */

.section {
    margin-bottom: 42px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title {
    margin: 0;
    font-size: clamp(18px, 4vw, 24px);
    line-height: 1.15;
}

.section-description {
    margin-top: 5px;
    font-size: 13px;
    color: #7b8494;
}

.section-link {
    color: #2478ed;
    font-size: 13px;
    font-weight: 650;
}

/* =========================
           POPULAR CURRENCIES
        ========================= */

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.currency-card {
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    padding: 20px;
    background: #ffffff;
    transition: all .2s ease;
}
    .currency-card.hiden, .currency-row.hiden {
        display: none;
    }
    .currency-card:hover {
        border-color: #cbdcf8;
        box-shadow: 0 8px 25px rgba(31, 91, 163, .08);
        transform: translateY(-2px);
    }

.currency-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.flag {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-shrink: 0;
    border: 1px solid #e8edf4;
}

.currency-code {
    font-size: 15px;
    font-weight: 750;
    color: #182235;
}

.currency-name {
    margin-top: 3px;
    font-size: 12px;
    color: #7c8798;
}

.currency-info {
    border-top: 1px solid #eef1f5;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.currency-symbol {
    font-size: 12px;
    color: #667085;
}

.view-link {
    color: #2478ed;
    font-size: 12px;
    font-weight: 650;
}

/* =========================
           ALL CURRENCIES
        ========================= */

.currency-table {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
}

.table-head,
.currency-row {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1fr 1.5fr 40px;
    align-items: center;
}

.table-head {
    min-height: 47px;
    background: #f8fafc;
    border-bottom: 1px solid #e7ebf1;
    padding: 0 18px;
    font-size: 11px;
    color: #667085;
    font-weight: 700;
}

.currency-row {
    min-height: 67px;
    padding: 0 18px;
    border-bottom: 1px solid #eef1f5;
}

    .currency-row:last-child {
        border-bottom: 0;
    }

    .currency-row:hover {
        background: #fbfdff;
    }

.currency-name-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}


.currency-name-main {
    font-size: 13px;
    font-weight: 700;
    color: #1c2739;
}

.currency-name-sub {
    margin-top: 2px;
    font-size: 11px;
    color: #8a94a5;
}

.table-value {
    font-size: 13px;
    color: #344054;
}

.iso-badge {
    display: inline-flex;
    padding: 5px 8px;
    background: #f1f6ff;
    color: #2478ed;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.row-arrow {
    color: #2478ed;
    font-size: 18px;
    text-align: right;
}

/* =========================
           INFO CARDS
        ========================= */

.info-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 18px;
}

.info-card {
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    padding: 27px;
    background: #ffffff;
}

    .info-card h2 {
        font-size: 19px;
        margin-bottom: 12px;
        color: #172033;
    }

    .info-card p {
        font-size: 13px;
        line-height: 1.75;
        color: #667085;
    }

.info-list {
    margin-top: 17px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.info-item {
    display: flex;
    gap: 12px;
}

.info-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eef6ff;
    color: #2478ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 13px;
    color: #263247;
    margin-bottom: 2px;
}

.info-item span {
    display: block;
    font-size: 12px;
    color: #7c8798;
}

/* =========================
           CTA
        ========================= */

.cta-section {
    margin-bottom: 45px;
}

.cta-card {
    border-radius: 17px;
    padding: 30px 35px;
    background: linear-gradient(135deg, #f1f7ff, #f8fbff);
    border: 1px solid #dceaff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

    .cta-card h2 {
        font-size: 19px;
        margin-bottom: 6px;
    }

    .cta-card p {
        font-size: 13px;
        color: #687386;
    }

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.btn-primary {
    background: #2478ed;
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #dce4ef;
    color: #2478ed;
}

/* =========================
           FAQ
        ========================= */

.faq-list {
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    overflow: hidden;
}

.faq-item {
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f4;
}

    .faq-item:last-child {
        border-bottom: 0;
    }

.faq-question {
    font-size: 14px;
    font-weight: 700;
    color: #263247;
    margin-bottom: 7px;
}

.faq-answer {
    font-size: 12px;
    color: #747f91;
    line-height: 1.7;
}

/* =========================
           DISCLAIMER
        ========================= */

.disclaimer {
    margin-bottom: 0;
    padding: 20px 24px;
    border: 1px solid #f4df9c;
    background: #fffaf0;
    border-radius: 14px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 25px;
    color: #e6a500;
}

.disclaimer strong {
    display: block;
    font-size: 13px;
    color: #5f4a12;
    margin-bottom: 4px;
}

.disclaimer p {
    font-size: 11px;
    color: #806d3d;
    line-height: 1.6;
}

/* =========================
           MOBILE
        ========================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 8px;
    }

    .logo {
        min-width: auto;
    }

    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .site-header,
    .header-inner {
        height: 64px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 7px;
    }

    .theme-button {
        display: none;
    }

    .breadcrumb {
        padding-top: 20px;
        font-size: 11px;
    }

    .hero {
        padding-top: 7px;
    }

    .hero-card {
        padding: 27px 22px;
        border-radius: 15px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.65;
    }

    .section-title {
        font-size: 19px;
    }

    .section-description {
        font-size: 12px;
    }

    .popular-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .currency-card {
        padding: 15px;
    }

    .flag {
        width: 36px;
        height: 36px;
        font-size: 21px;
    }

    .currency-code {
        font-size: 13px;
    }

    .currency-name {
        font-size: 10px;
    }

    .currency-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .currency-table {
        overflow-x: auto;
    }

    .table-head,
    .currency-row {
        min-width: 650px;
    }

    .info-card {
        padding: 21px;
    }

    .cta-card {
        padding: 24px 20px;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
    }
}

/* =========================
           MOBILE NAV
        ========================= */

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    z-index: 999;
}

    .mobile-nav.show {
        display: block;
    }

    .mobile-nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f2f5;
        font-size: 14px;
        font-weight: 650;
    }

        .mobile-nav a.active {
            color: #2478ed;
            background: #f6faff;
        }
#currencyGrid .flag {
    font-size: 25px
}

    #currencyGrid .flag img {
        width: 50px;
        border-radius: 50px;
        border: 1px solid var(--line);
    }
.small-flag .flag {
    font-size: 25px
}

    .small-flag .flag img {
        width: 40px;
        border-radius: 50px;
        border: 1px solid var(--line);
    }