/*
Theme Name: Crypto
Theme URI: https://wordpress.org
Author: Orkhan Chichitov
Author URI: https://wordpress.org
Description: A simple and clean WordPress theme for cryptocurrency-related websites. It features a modern design, responsive layout, and customizable options to create a unique online presence for your crypto business or blog.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================================
   ROOT VARIABLES
   ===================================================================== */
:root {
    --c-dark:    #16232A;
    --c-orange:  #FF5B04;
    --c-teal:    #075056;
    --c-sand:    #E4EEF0;
    --c-white:   #ffffff;
    --c-text:    #16232A;
    --c-muted:   #6b7a8d;
    --c-border:  rgba(7,80,86,0.18);
    --c-card-bg: #ffffff;
    --c-dark-card: #1d2f38;

    --radius:    12px;
    --radius-sm: 8px;
    --shadow:    0 4px 24px rgba(22,35,42,0.10);
    --shadow-md: 0 8px 40px rgba(22,35,42,0.16);
    --shadow-lg: 0 16px 64px rgba(22,35,42,0.22);
    --transition: 0.28s cubic-bezier(.4,0,.2,1);

    --section-y: 80px;
    --section-y-sm: 48px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
}

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--c-sand);
    color: var(--c-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-teal); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =====================================================================
   CONTAINER
   ===================================================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(22,35,42,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,91,4,0.15);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

/* Logo */
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 40px; width: auto; }
.site-header__logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.site-header__logo-etc  { color: var(--c-orange); }
.site-header__logo-swap { color: var(--c-white); }
.site-header__logo-io   { color: var(--c-teal); }

/* Desktop nav */
.site-nav { display: flex; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }

.site-nav__item { position: relative; }

.site-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link--active { color: var(--c-orange); background: rgba(255,91,4,0.08); }

.site-nav__arrow { font-size: 0.7rem; opacity: 0.7; transition: transform var(--transition); }
.site-nav__item--has-dropdown:hover .site-nav__arrow { transform: rotate(180deg); }

/* Dropdown */
.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--c-dark);
    border: 1px solid rgba(255,91,4,0.2);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 100;
}
.site-nav__item--has-dropdown:hover .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.site-nav__dropdown .site-nav__item { width: 100%; }
.site-nav__dropdown .site-nav__link {
    padding: 9px 20px;
    border-radius: 0;
    font-size: 0.875rem;
}
.site-nav__dropdown .site-nav__link:hover { background: rgba(255,91,4,0.12); }

/* Burger */
.site-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.site-header__burger:hover { background: rgba(255,91,4,0.1); }
.site-header__burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.site-header__burger.is-active .site-header__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger.is-active .site-header__burger-line:nth-child(2) { opacity: 0; }
.site-header__burger.is-active .site-header__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.site-header__mobile-nav {
    max-height: 0;
    overflow: hidden;
    background: var(--c-dark);
    border-top: 1px solid rgba(255,91,4,0.15);
    transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
}
.site-header__mobile-nav.is-open { max-height: 600px; }
.site-header__mobile-inner { padding: 12px 0 20px; }

.site-nav__mobile-list { display: flex; flex-direction: column; }
.site-nav__mobile-list li a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.site-nav__mobile-list li a:hover {
    color: var(--c-orange);
    border-left-color: var(--c-orange);
    background: rgba(255,91,4,0.06);
}
.site-nav__mobile-list .sub-menu a {
    padding-left: 40px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}

/* =====================================================================
   MAIN — push below fixed header
   ===================================================================== */
main { padding-top: 68px; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--c-orange);
    color: var(--c-white);
    border-color: var(--c-orange);
}
.btn--primary:hover {
    background: #e04e00;
    border-color: #e04e00;
    color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,91,4,0.35);
}
.btn--outline {
    background: transparent;
    color: var(--c-orange);
    border-color: var(--c-orange);
}
.btn--outline:hover {
    background: var(--c-orange);
    color: var(--c-white);
    transform: translateY(-2px);
}
.btn--teal {
    background: var(--c-teal);
    color: var(--c-white);
    border-color: var(--c-teal);
}
.btn--teal:hover {
    background: #054042;
    border-color: #054042;
    color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(7,80,86,0.35);
}

/* =====================================================================
   SECTION COMMON
   ===================================================================== */
.section { padding: var(--section-y) 0; }
.section--light   { background: var(--c-white); }
.section--sand    { background: var(--c-sand); }
.section--dark    { background: var(--c-dark); color: var(--c-white); }
.section--teal    { background: var(--c-teal); color: var(--c-white); }

.section__header { text-align: center; margin-bottom: 48px; }
.section__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: inherit;
    margin-bottom: 12px;
}
.section--light  .section__title,
.section--sand   .section__title { color: var(--c-dark); }
.section--dark   .section__title,
.section--teal   .section__title { color: var(--c-white); }

.section__subtitle {
    font-size: 1.05rem;
    color: var(--c-muted);
    max-width: 640px;
    margin: 0 auto;
}
.section--dark   .section__subtitle,
.section--teal   .section__subtitle { color: rgba(255,255,255,0.7); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    min-height: 600px;
    background: var(--c-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    transform: scale(1.05);
    animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22,35,42,0.92) 0%, rgba(7,80,86,0.60) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: var(--section-y) 0 calc(var(--section-y) + 20px);
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,91,4,0.15);
    border: 1px solid rgba(255,91,4,0.3);
    color: var(--c-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero__label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--c-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero__title span { color: var(--c-orange); }

.hero__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero__widget-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,91,4,0.2);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(8px);
}

/* =====================================================================
   EXCHANGE WIDGET
   ===================================================================== */
.exchange-widget {
    background: rgba(22,35,42,0.6);
    border: 1px solid rgba(255,91,4,0.25);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.exchange-widget iframe { display: block; }

/* =====================================================================
   COIN SNAPSHOT (front page)
   ===================================================================== */
.coin-snapshot {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--c-border);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 32px 0;
}
.coin-snapshot__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    background: var(--c-white);
    transition: background var(--transition);
}
.coin-snapshot__item:hover { background: var(--c-sand); }
.coin-snapshot__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.coin-snapshot__value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--c-dark);
}
.coin-snapshot__value--up   { color: #16a34a; }
.coin-snapshot__value--down { color: #dc2626; }

/* =====================================================================
   MARKET SNAPSHOT (price page)
   ===================================================================== */
.market-snapshot {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin: 32px 0;
}
.market-snapshot__card {
    background: var(--c-dark-card);
    border: 1px solid rgba(255,91,4,0.15);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.market-snapshot__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255,91,4,0.15);
}
.market-snapshot__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}
.market-snapshot__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-white);
}
.market-snapshot__value--price { color: var(--c-orange); font-size: 1.8rem; }
.market-snapshot__value--up    { color: #4ade80; }
.market-snapshot__value--down  { color: #f87171; }

/* =====================================================================
   PRICE CHART
   ===================================================================== */
.price-chart {
    background: var(--c-dark-card);
    border: 1px solid rgba(255,91,4,0.12);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0;
    height: 500px;
}
.price-chart canvas { height: 100% !important; }

/* =====================================================================
   RATE TABLE
   ===================================================================== */
.rate-table-wrap { overflow-x: auto; margin: 24px 0; }
.rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.rate-table th {
    background: var(--c-teal);
    color: var(--c-white);
    font-weight: 700;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.rate-table td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-dark);
    background: var(--c-sand);
}
.rate-table tbody tr:nth-child(even) td { background: var(--c-sand); }
.rate-table tbody tr:hover td { background: rgba(255,91,4,0.05); }
.rate-table__note {
    font-size: 0.78rem;
    color: var(--c-muted);
    margin-top: 10px;
    padding: 0 4px;
}

/* =====================================================================
   CARDS GRID
   ===================================================================== */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2,1fr); }
.cards--3 { grid-template-columns: repeat(3,1fr); }
.cards--4 { grid-template-columns: repeat(4,1fr); }

.card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-orange);
}
.card--dark {
    background: var(--c-dark-card);
    border-color: rgba(255,91,4,0.15);
    color: var(--c-white);
}
.card--dark:hover { border-color: var(--c-orange); }

.card__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(255,91,4,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
    transition: background var(--transition), transform var(--transition);
}
.card:hover .card__icon { background: var(--c-orange); transform: scale(1.1) rotate(5deg); }

.card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: inherit;
}
.card__text {
    font-size: 0.9rem;
    color: var(--c-muted);
    line-height: 1.6;
}
.card--dark .card__text { color: rgba(255,255,255,0.6); }

.card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.card:hover .card__img { transform: scale(1.04); }

/* =====================================================================
   POPULAR PAIRS
   ===================================================================== */
.pairs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.pairs-col__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-teal);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pairs-list { display: flex; flex-direction: column; gap: 8px; }
.pairs-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-weight: 600;
    color: var(--c-dark);
    transition: all var(--transition);
}
.pairs-list__item:hover {
    border-color: var(--c-orange);
    color: var(--c-orange);
    transform: translateX(6px);
    box-shadow: var(--shadow);
    text-decoration: none;
}
.pairs-list__item::before {
    content: '→';
    color: var(--c-orange);
    font-weight: 700;
    transition: transform var(--transition);
}
.pairs-list__item:hover::before { transform: translateX(4px); }

/* =====================================================================
   HOW IT WORKS — numbered steps
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -13px; top: 50%;
    transform: translateY(-50%);
    width: 24px; height: 2px;
    background: var(--c-orange);
    opacity: 0.4;
}
.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-orange);
}
.step__num {
    width: 48px; height: 48px;
    background: var(--c-orange);
    color: var(--c-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 900;
    margin: 0 auto 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover .step__num {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(255,91,4,0.5);
}
.step__title { font-size: 0.95rem; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; }
.step__text  { font-size: 0.85rem; color: var(--c-muted); }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.review-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-orange);
    box-shadow: 0 12px 40px rgba(255,91,4,0.15);
}
.review-card__stars { color: var(--c-orange); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-card__text  { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 18px; }
.review-card__author { font-weight: 700; color: var(--c-white); font-size: 0.9rem; }
.review-card__rating { font-size: 0.8rem; color: var(--c-orange); font-weight: 600; }

/* =====================================================================
   CHECKLIST
   ===================================================================== */
.checklist { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: all var(--transition);
    font-size: 0.9rem;
    color: var(--c-dark);
}
.checklist__item:hover {
    border-color: var(--c-teal);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}
.checklist__item::before {
    content: '✓';
    display: flex; align-items: center; justify-content: center;
    min-width: 24px; height: 24px;
    background: var(--c-teal);
    color: var(--c-white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item:hover { border-color: var(--c-orange); box-shadow: var(--shadow); }
.faq__item.is-open { border-color: var(--c-orange); }

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-dark);
    transition: color var(--transition), background var(--transition);
    user-select: none;
}
.faq__question:hover { color: var(--c-orange); background: rgba(255,91,4,0.04); }
.faq__item.is-open .faq__question { color: var(--c-orange); }

.faq__toggle {
    min-width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,91,4,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--c-orange);
    transition: transform var(--transition), background var(--transition);
    flex-shrink: 0;
}
.faq__item.is-open .faq__toggle {
    transform: rotate(45deg);
    background: var(--c-orange);
    color: var(--c-white);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
}
.faq__answer-inner {
    padding: 0 24px 20px;
    font-size: 0.93rem;
    color: var(--c-muted);
    line-height: 1.7;
}

/* =====================================================================
   TEXT CONTENT BLOCKS
   ===================================================================== */
.text-block { max-width: 860px; }
.text-block h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--c-dark);
    margin: 48px 0 16px;
    padding-top: 8px;
    border-top: 3px solid var(--c-orange);
}
.text-block h2:first-child { margin-top: 0; }
.text-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-teal);
    margin: 28px 0 12px;
}
.text-block p     { color: var(--c-muted); margin-bottom: 16px; line-height: 1.8; }
.text-block ul,
.text-block ol    { padding-left: 20px; margin-bottom: 16px; color: var(--c-muted); }
.text-block li    { margin-bottom: 8px; line-height: 1.7; }
.text-block a     { color: var(--c-orange); font-weight: 500; }
.text-block a:hover { color: var(--c-teal); }
.text-block table { border-collapse: collapse; width: 100%; margin: 20px 0; }
.text-block table th { background: var(--c-teal); color: white; padding: 12px 16px; text-align: left; }
.text-block table td { padding: 11px 16px; border-bottom: 1px solid var(--c-border); color: var(--c-dark); }
.text-block table tr:nth-child(even) td { background: var(--c-sand); }
.text-block b, .text-block strong { font-weight: 700; color: var(--c-dark); }

/* =====================================================================
   CONTENT WITH IMAGE
   ===================================================================== */
.content-img-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.content-img-block--reverse { direction: rtl; }
.content-img-block--reverse > * { direction: ltr; }

.content-img-block__img {
    border-radius: var(--radius);
    width: 100%;
    height: 380px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s ease;
}
.content-img-block:hover .content-img-block__img {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* =====================================================================
   CTA SECTION
   ===================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-teal) 100%);
    padding: var(--section-y) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,91,4,0.08);
    pointer-events: none;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%; right: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,91,4,0.06);
    pointer-events: none;
}
.cta-section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--c-white);
    margin-bottom: 16px;
    position: relative; z-index: 1;
}
.cta-section__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    position: relative; z-index: 1;
}

/* =====================================================================
   HERO PAIR (pair pages)
   ===================================================================== */
.hero-pair { position: relative; overflow: hidden; }
.hero-pair__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.12;
}
.hero-pair__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(22,35,42,0.95) 0%, rgba(7,80,86,0.75) 100%);
}
.hero-pair__content {
    position: relative; z-index: 2;
    padding: 80px 0 60px;
}
.hero-pair__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.hero-pair__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,91,4,0.15);
    border: 1px solid rgba(255,91,4,0.3);
    color: var(--c-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.hero-pair__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--c-white);
    margin-bottom: 18px;
    line-height: 1.1;
}
.hero-pair__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* =====================================================================
   NAV RELATED
   ===================================================================== */
.related-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.related-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    color: var(--c-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.related-links a:hover {
    border-color: var(--c-orange);
    color: var(--c-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.related-links a::before { content: '→'; color: var(--c-orange); }

/* =====================================================================
   QUICKEX REFERENCE BLOCK
   ===================================================================== */
.quickex-block {
    background: var(--c-sand);
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-teal);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
}
.quickex-block p { color: var(--c-muted); font-size: 0.93rem; margin: 0; }
.quickex-block a { color: var(--c-teal); font-weight: 600; }
.quickex-block a:hover { color: var(--c-orange); }

/* =====================================================================
   PAGE SECTION WITH IMAGE BG
   ===================================================================== */
.section--img-bg {
    position: relative;
    overflow: hidden;
}
.section--img-bg .section__bg-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.07;
}

/* =====================================================================
   ANCHOR TAG
   ===================================================================== */
.anchor-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-orange);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition), color var(--transition);
}
.anchor-tag:hover { border-bottom-color: var(--c-orange); color: var(--c-dark); }

/* =====================================================================
   SCROLL ANIMATION (JS adds .is-visible)
   ===================================================================== */
.anim-fade {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-fade--delay-1 { transition-delay: 0.1s; }
.anim-fade--delay-2 { transition-delay: 0.2s; }
.anim-fade--delay-3 { transition-delay: 0.3s; }
.anim-fade--delay-4 { transition-delay: 0.4s; }
.anim-slide-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-slide-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-slide-left.is-visible,
.anim-slide-right.is-visible { opacity: 1; transform: translateX(0); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--c-dark); color: var(--c-white); }

.site-footer__top { padding: 64px 0 48px; }

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
}

.site-footer__heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--c-orange);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,91,4,0.2);
}

.site-footer__menu { display: flex; flex-direction: column; gap: 8px; }
.site-footer__menu a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: color var(--transition), padding var(--transition);
    display: block;
}
.site-footer__menu a:hover { color: var(--c-orange); padding-left: 6px; }

.site-footer__about-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 14px;
}
.site-footer__contact { margin-top: 8px; }
.site-footer__email {
    color: var(--c-orange);
    font-weight: 600;
    font-size: 0.9rem;
}
.site-footer__email:hover { color: var(--c-white); }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
}
.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.site-footer__copy    { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.site-footer__tagline { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* =====================================================================
   404 PAGE
   ===================================================================== */
.not-found {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 68px);
    background: var(--c-dark);
    text-align: center;
    padding: 60px 24px;
}
.not-found__inner { max-width: 560px; }
.not-found__number {
    font-size: clamp(7rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--c-orange), var(--c-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.not-found__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 12px;
}
.not-found__text  {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* =====================================================================
   POLICY / LEGAL PAGES
   ===================================================================== */
.policy-hero {
    background: var(--c-dark);
    padding: 64px 0 48px;
}
.policy-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--c-white);
    margin-bottom: 10px;
}
.policy-hero__meta { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.policy-content { padding: var(--section-y) 0; background: var(--c-white); }
.policy-body { max-width: 800px; }

/* =====================================================================
   RESPONSIVE — 1024px
   ===================================================================== */
@media (max-width: 1024px) {
    .cards--4         { grid-template-columns: repeat(2,1fr); }
    .steps            { grid-template-columns: repeat(2,1fr); }
    .step:not(:last-child)::after { display: none; }
    .hero__grid,
    .hero-pair__grid  { grid-template-columns: 1fr; }
    .content-img-block { grid-template-columns: 1fr; }
    .content-img-block--reverse { direction: ltr; }
    .content-img-block__img { height: 280px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .market-snapshot   { grid-template-columns: repeat(2,1fr); }
}

/* =====================================================================
   RESPONSIVE — 768px
   ===================================================================== */
@media (max-width: 768px) {
    :root { --section-y: var(--section-y-sm); }

    .site-nav         { display: none; }
    .site-header__burger { display: flex; }

    .hero__grid       { grid-template-columns: 1fr; }
    .pairs-grid       { grid-template-columns: 1fr; }
    .cards--3         { grid-template-columns: 1fr; }
    .cards--2         { grid-template-columns: 1fr; }
    .reviews-grid     { grid-template-columns: 1fr; }
    .checklist        { grid-template-columns: 1fr; }
    .coin-snapshot    { grid-template-columns: repeat(2,1fr); }
    .market-snapshot  { grid-template-columns: repeat(2,1fr); }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }

    .section__title   { font-size: 1.5rem; }
    .hero__title      { font-size: 2rem; }
}

/* =====================================================================
   RESPONSIVE — 480px
   ===================================================================== */
@media (max-width: 480px) {
    .container        { padding: 0 16px; }
    .coin-snapshot    { grid-template-columns: 1fr 1fr; }
    .market-snapshot  { grid-template-columns: 1fr; }
    .steps            { grid-template-columns: 1fr; }
    .hero__actions    { flex-direction: column; }
    .btn              { width: 100%; justify-content: center; }
    .site-footer__bottom-inner { flex-direction: column; text-align: center; }
}
