/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Clean Monochrome Theme per app.rwanftfi.com screenshot)
   ========================================================================== */
:root {
    /* Colors - Strict Dark Monochrome */
    --bg-darkest: #0B0C0E; /* Глубокий угольно-черный фон */
    --bg-darker: #101113;  /* Темный фон разделов */
    --bg-dark: #131518;    /* Фоновый цвет для контраста */
    --bg-card: #141619;    /* Темно-серые карточки со скриншота */
    
    --primary: #ffffff;    /* Чистый белый для главных акцентов и кнопок */
    --primary-text: #000000;
    --secondary: #1B1E22;  /* Темно-серый для второстепенных кнопок */
    --secondary-text: #ffffff;
    
    --text-white: #ffffff;
    --text-light: #fafafa;
    --text-muted: #8B949E; /* Светло-серый приглушенный цвет */
    --error: #ff6568;
    --success: #40c181;    /* Приглушенный зеленый только для статусов */
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08); /* Тонкая белая рамка */
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Gradients */
    --gradient-card-border: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    --metallic-gradient-text: linear-gradient(180deg, #f3f9ff 24%, #d4d9de 42.85%, #9fafba 56.04%, #a8b1b8 80%);
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-darkest);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, select {
    font-family: inherit;
    outline: none;
    border: none;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

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

.text-left {
    text-align: left;
}

/* Металлический оттенок для заголовков */
.text-gradient {
    background: var(--metallic-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: var(--text-white) !important;
}

.text-muted {
    color: var(--text-muted);
}

.text-semibold {
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

.margin-top-sm {
    margin-top: 16px;
}

.grid {
    display: grid;
    gap: 32px;
}

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

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

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   BUTTONS & BADGES (Monochrome Style per Screenshot)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Главная кнопка: чисто-белая с черным текстом (стиль "Улучшить NFT") */
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-text);
}

.btn-primary:hover {
    background-color: #e5e5e5;
    transform: translateY(-1px);
}

/* Второстепенная кнопка: темно-серая с белым текстом и тонкой рамкой (стиль "Управлять моей сетью") */
.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #26292d;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Овальные серые плашки */
.badge {
    display: inline-flex;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    background-color: #1b1e22;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.badge-success {
    background-color: rgba(64, 193, 129, 0.1);
    color: var(--success);
    border-color: rgba(64, 193, 129, 0.2);
}

.badge-error {
    background-color: rgba(255, 101, 104, 0.1);
    color: var(--error);
    border-color: rgba(255, 101, 104, 0.2);
}

/* ==========================================================================
   CARDS (Dark Grey per Screenshot)
   ========================================================================== */
.glass-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.card {
    padding: 32px;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

/* Информационные карточки */
.highlight-card {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: linear-gradient(180deg, #181a1d 0%, #111315 100%) !important;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b1e22;
    border-radius: var(--border-radius-sm);
    color: var(--text-white);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Geologica', sans-serif;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 12, 14, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    text-decoration: none;
}

.logo-official {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-video {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 0.95;
}

.logo-main-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-sub-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1px;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Мобильное меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.7);
    }
    
    .nav.active {
        display: flex;
    }
    
    #nav-cta-btn {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 170px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 45%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
    font-family: 'Geologica', sans-serif;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Geologica', sans-serif;
}

/* Визуал на главном экране (Похож на NFT-карточку из скриншота) */
.visual-card {
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    background-color: #141619;
}

.visual-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.nft-preview-box {
    position: relative;
    border-radius: var(--border-radius-md);
    background: #090a0c;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.nft-glowing-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 185, 66, 0.15) 0%, transparent 70%);
    filter: blur(25px);
    z-index: 1;
}

.nft-card-ui {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.15s ease-out;
}



/* ==========================================================================
   RWA & FIN PRO SECTION
   ========================================================================== */
.finpro-container {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .finpro-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .finpro-visual {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .finpro-info {
        order: 1;
        text-align: center;
    }
}

.finpro-card {
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    background-color: #141619;
}

.finpro-badge {
    display: inline-flex;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    background-color: #1b1e22;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.finflow-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
}

.finflow-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finflow-stats-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #0d0f11;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.f-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Geologica', sans-serif;
}

.f-stat-val {
    font-size: 1.05rem;
    font-weight: 700;
}

.finflow-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.finpro-bullets {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.bullet-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bullet-num {
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #1b1e22;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.bullet-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    font-family: 'Geologica', sans-serif;
}

/* ==========================================================================
   CALCULATOR WITH MONOCHROME INPUTS
   ========================================================================== */
.calc-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .calc-wrapper {
        grid-template-columns: 1fr;
    }
}

.calc-inputs {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    background-color: #141619;
}

@media (max-width: 480px) {
    .calc-inputs {
        padding: 24px;
    }
}

.input-label-title {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.calc-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    background-color: #0f1114;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition-smooth);
}

.calc-select:hover, .calc-select:focus {
    border-color: var(--primary);
}

/* Сетка спецификаций выбранного NFT */
.nft-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background-color: #0f1114;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

@media (max-width: 480px) {
    .nft-spec-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Geologica', sans-serif;
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 700;
}

.input-value-display {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    background-color: #0f1114;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* Ползунок в серой гамме */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-bottom: 8px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
    transition: var(--transition-smooth);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.range-markers {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'Geologica', sans-serif;
}

.calc-outputs {
    padding: 40px;
    background-color: #101113;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 768px) {
    .calc-outputs {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 24px;
    }
}

.output-card {
    background-color: #141619;
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.output-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-family: 'Geologica', sans-serif;
}

.output-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.output-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'Geologica', sans-serif;
}

/* Главная итоговая карточка: контрастный темно-серый градиент */
.total-card {
    background: linear-gradient(180deg, #1b1e22 0%, #111315 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.total-card .output-value {
    font-size: 1.8rem;
}

/* Монохромный бейдж лимита */
.capped-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 700;
    text-transform: uppercase;
}

.calc-footer {
    margin-top: 24px;
    font-family: 'Geologica', sans-serif;
}

/* ==========================================================================
   TIMELINE (ONBOARDING)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 1px;
    height: 100%;
    background-color: var(--border-color);
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-num {
    position: absolute;
    left: 20px;
    top: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #141619;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
    z-index: 2;
}

.timeline-content {
    padding: 24px;
}

.timeline-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Geologica', sans-serif;
}

/* ==========================================================================
   ZOOM & TIMER SECTION
   ========================================================================== */
.zoom-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .zoom-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.zoom-features {
    list-style: none;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zoom-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.zoom-timer {
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    background-color: #141619;
}

.timer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    min-width: 60px;
}

.timer-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 4px;
}

.timer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.timer-separator {
    font-size: 2rem;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    padding-bottom: 12px;
}

.timer-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Geologica', sans-serif;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    text-align: left;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
}

.faq-question span {
    padding-right: 16px;
}

.faq-arrow {
    color: var(--text-muted);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Geologica', sans-serif;
}

/* Активные FAQ стили */
.faq-item.active {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--text-white);
}

/* ==========================================================================
   FOOTER & BADGES
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darkest);
    padding-top: 64px;
    padding-bottom: 32px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    font-family: 'Geologica', sans-serif;
}

/* Информеры/плашки CertiK и товарного знака */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    align-items: center;
}

.badge-item-link {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: #141619;
    padding: 4px 10px;
    height: 28px;
    transition: var(--transition-smooth);
}

.badge-item-link:hover {
    border-color: var(--border-hover);
    background-color: #1b1e22;
}

.badge-img {
    height: 14px;
    display: block;
}

.badge-tm-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.footer-links-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-family: 'Geologica', sans-serif;
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 32px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    max-width: 540px;
    font-family: 'Geologica', sans-serif;
}

/* Language toggle system */
html[lang="ru"] [lang-en] {
    display: none !important;
}
html[lang="en"] [lang-ru] {
    display: none !important;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #141619;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 6px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.lang-btn.active {
    background: #ffffff;
    color: #000000;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}
