:root {
    --rev-bg: #191c1f; 
    --rev-card: #ffffff;
    --rev-text-main: #ffffff;
    --rev-text-muted: #8a8d91;
    --rev-accent: #0666eb;
}

.footer {
    background-color: var(--rev-bg);
    color: var(--rev-text-main);
    padding: 80px 40px 40px 40px;
    font-family: 'Inter', -apple-system, sans-serif;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* SECTION 1: PLANS */
.footer-plans-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.plans-main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan-card {
    background: var(--rev-card);
    border-radius: 20px;
    padding: 30px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.plan-name { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.plan-price { font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.plan-price span { font-size: 14px; color: #666; font-weight: 400; margin-left: 5px; }
.plan-desc { font-size: 14px; line-height: 1.4; color: #444; }

.plan-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
}

/* DIVIDER */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 60px 0;
}

/* MAIN GRID */
.footer-main-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--rev-text-muted);
    margin-bottom: 25px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--rev-text-main);
    text-decoration: none;
    font-size: 15px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }

/* BUSINESS SECTION */
.disabled-link { display: flex; flex-direction: column; margin-bottom: 15px; opacity: 0.4; cursor: default; }
.disabled-link strong { font-size: 15px; color: #fff; }
.disabled-link span { font-size: 12px; color: var(--rev-text-muted); }

/* SOCIAL LINKS (Original Colors) */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}

.social-link-item:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

.social-link-item img {
    width: 20px;
    height: 20px;
    /* Убрали фильтр, чтобы сохранить оригинальные цвета */
}

/* TELEGRAM BOT BUTTON (Revolut Style) */
.tg-bot-revolut {
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #000;
    padding: 8px 16px 8px 8px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    width: fit-content;
    transition: transform 0.2s;
    margin-top: 25px; 
    margin-bottom: 30px; /* Отступ до заголовка Language */
}
.lang-section-wrapper {
    margin-top: 10px;
}
.tg-bot-revolut:hover {
    transform: scale(1.05);
}

.tg-icon-circle {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.tg-icon-circle img {
    width: 18px;
    height: 18px;
}

/* LANGUAGE SELECTOR */
.language-dropdown-wrapper {
    position: relative;
    width: 180px;
}

.language-dropdown {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-arrow-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: var(--rev-text-muted);
}

/* BOTTOM SECTION */
.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

.copyright { font-size: 13px; color: var(--rev-text-muted); }
.footer-legal-mini { font-size: 13px; color: var(--rev-text-muted); }

@media (max-width: 1024px) {
    .plans-grid { grid-template-columns: 1fr 1fr; }
    .footer-main-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .plans-grid { grid-template-columns: 1fr; }
    .footer-main-grid { grid-template-columns: 1fr; }
    .footer { padding: 60px 20px 40px 20px; }
}
.footer-legal-block {
    max-width: 900px; /* Чтобы текст не растягивался на всю ширину */
    text-align: left;
}

.legal-text {
    font-size: 11px;
    line-height: 1.6;
    color: var(--rev-text-muted); /* Тот же серый цвет, что мы использовали */
    margin-top: 15px;
    opacity: 0.6;
}