:root {
    --bg: #121221;
    --bg-panel: #1a1a2e;
    --accent: #FFCD30;
    --accent-glow: rgba(255, 205, 48, 0.3);
    --glass: rgba(26, 26, 46, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text: #e0e0e0;
    --text-dim: rgba(224, 224, 224, 0.6);
    --card-bg: rgba(26, 26, 46, 0.6);
    --error: #ff4a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

.glow-bg {
    display: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Top Nav */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-section img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.nav-cta-mini {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--accent);
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-cta-mini:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Page Headers */
.page-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.category-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 205, 48, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-title {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
}

.page-lead {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 750px;
    margin: 0 auto;
}

/* Page Body */
.page-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.section-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

p {
    margin-bottom: 20px;
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.8;
}

strong {
    color: #fff;
}

.highlight {
    color: var(--accent);
}

/* FAQ Accordion Styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 205, 48, 0.2);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    user-select: none;
}

.faq-question::before {
    content: '?';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 205, 48, 0.1);
    color: var(--accent);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
}

.faq-question::after {
    content: '';
    position: absolute;
    right: 5px;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-dim);
    border-bottom: 2px solid var(--text-dim);
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.faq-item:hover .faq-question::after {
    border-color: var(--text);
}

.faq-item.active .faq-question::after {
    transform: rotate(-135deg);
    border-color: var(--accent);
}

.faq-answer {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 36px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding-top 0.3s ease;
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 15px;
}

/* FOUNDER CARD STYLES */
.founder-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 35px;
}

.founder-photo-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-photo-placeholder {
    width: 50px;
    height: 50px;
    color: var(--accent);
}

.founder-speech {
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Speech bubble arrow pointing to the left on desktop */
.founder-speech::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 55px; /* Aligns with center of photo */
    width: 14px;
    height: 14px;
    background: #121221; /* matches body background or fallback to cover border gap */
    border-left: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    transform: rotate(45deg);
}

.founder-text {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0;
}

.quote-mark {
    font-size: 24px;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: middle;
    margin: 0 5px;
    font-weight: 900;
}

.founder-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.founder-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-role {
    font-size: 12px;
    color: var(--text-dim);
}

/* 3 Quick Features Grid */
.founder-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    border-color: rgba(255, 205, 48, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 205, 48, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 22px;
    height: 22px;
}

.badge-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-text p {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Split Layout for Contact / Form Section */
.contact-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 20px;
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(255, 205, 48, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #ffcd30 0%, #ff9900 100%);
    color: #000;
    font-weight: 900;
    padding: 16px 36px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(255, 205, 48, 0.25);
    align-self: flex-start;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 205, 48, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--accent);
}

.custom-select-trigger svg {
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #1a1a2e;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: block;
    padding: 12px 15px;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
}

.custom-option:hover {
    background: rgba(255, 205, 48, 0.1);
    color: #fff;
}

.custom-select-trigger.selected {
    color: #fff;
}

/* Contact Info Panel */
.contact-info-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-block h4 {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-block p {
    font-size: 15px;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.contact-social-link svg {
    width: 20px;
    height: 20px;
}

.contact-social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(255, 205, 48, 0.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Success / Error Inline States */
.form-success-state,
.form-error-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success-state.show,
.form-error-state.show {
    display: flex;
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.status-icon.success {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.2);
}

.status-icon.error {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

.btn-secondary-link {
    color: var(--accent);
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 15px;
}

/* Footer Grid Layout */
.footer-v2 {
    padding: 80px 0 50px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg);
    backdrop-filter: blur(10px);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-col .f-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-col .f-logo-img {
    width: 32px;
    height: 32px;
}

.footer-brand-col .f-logo-text {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.footer-brand-col .f-copy {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.f-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
    background: rgba(255, 205, 48, 0.05);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 205, 48, 0.15);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
}

.footer-title-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-title-link:hover {
    color: var(--accent) !important;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-links-col h4:hover::after {
    width: 100%;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul li a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-col ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .top-nav {
        padding: 25px 0;
    }
    .page-hero {
        padding: 40px 0 20px;
    }
    .section-card {
        padding: 25px;
        border-radius: 20px;
    }
    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 0;
    }
    .founder-speech::before {
        left: 50%;
        top: -8px;
        transform: translateX(-50%) rotate(45deg);
        border-left: 1px solid var(--glass-border);
        border-top: 1px solid var(--glass-border);
        border-bottom: none;
        border-right: none;
    }
    .founder-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand-col {
        display: contents;
    }
    .f-logo-wrapper {
        order: 1;
        justify-content: center;
        margin-bottom: 10px;
    }
    .f-contact-row {
        order: 2;
        justify-content: center;
        margin-top: 5px;
        margin-bottom: 15px;
    }
    .footer-links-col {
        order: 3;
    }
    .footer-links-col:last-of-type {
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 30px;
    }
    .f-copy {
        order: 4;
        margin-top: 10px;
    }
    .f-socials {
        order: 5;
        justify-content: center;
        margin-top: 5px;
    }
    .footer-links-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links-col ul li a:hover {
        transform: translateY(-2px);
    }
    .footer-v2 { padding: 40px 0; }
    .btn-primary {
        width: 100%;
        align-self: center;
        text-align: center;
    }
}

/* Custom Dropdown Language Selector */
.f-lang-selector.dropdown {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.f-lang-selector.dropdown .dropdown-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.f-lang-selector.dropdown .dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.f-lang-selector.dropdown .dropdown-trigger .globe-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.f-lang-selector.dropdown .dropdown-trigger .chevron-icon {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: transform 0.2s ease;
}

.f-lang-selector.dropdown.open .dropdown-trigger .chevron-icon {
    transform: rotate(180deg);
}

.f-lang-selector.dropdown .dropdown-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 33, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    min-width: 130px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.f-lang-selector.dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
}

.f-lang-selector.dropdown .dropdown-item {
    display: block;
    padding: 8px 12px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    text-align: left;
    transition: all 0.2s ease;
    font-weight: 500;
}

.f-lang-selector.dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.f-lang-selector.dropdown .dropdown-item.active {
    color: var(--accent);
    background: rgba(255, 205, 48, 0.1);
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

/* Soft Language Suggestion Banner */
.lang-suggestion-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 100px);
    background: rgba(18, 19, 26, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 9999;
    width: 90%;
    max-width: 650px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.lang-suggestion-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.lang-suggestion-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.globe-icon-banner {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    animation: pulse-globe 2s infinite ease-in-out;
}

@keyframes pulse-globe {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.lang-suggestion-content p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dim);
    margin: 0;
}

.lang-suggestion-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-banner-switch {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-banner-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-banner-dismiss {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-banner-dismiss:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 650px) {
    .lang-suggestion-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 20px;
        bottom: 20px;
        text-align: center;
    }
    .lang-suggestion-content {
        flex-direction: column;
        gap: 8px;
    }
    .lang-suggestion-actions {
        justify-content: center;
        width: 100%;
    }
}

/* Footer Contact Email Styling */
.f-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}
.f-contact-row svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: stroke 0.2s ease;
    fill: none;
}
.f-contact-row a {
    color: inherit;
    text-decoration: none;
}
.f-contact-row:hover {
    color: var(--accent);
}

/* Tags Hub Page Styles */
.tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tag-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.tag-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 205, 48, 0.3);
    box-shadow: 0 25px 45px rgba(255, 205, 48, 0.08);
}

.tag-card-content {
    margin-bottom: 25px;
}

.tag-card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.tag-card h3 {
    font-size: 22px;
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.tag-card p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 0;
}

.tag-card-footer {
    display: flex;
    justify-content: flex-start;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 205, 48, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 205, 48, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 205, 48, 0.15);
}

.btn-secondary svg {
    transition: transform 0.3s ease;
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

.category-tag-link {
    text-decoration: none;
    display: inline-block;
}

.category-tag-link .category-tag {
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tag-link:hover .category-tag {
    background: rgba(255, 205, 48, 0.2);
    box-shadow: 0 0 10px rgba(255, 205, 48, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .tags-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   Help Center Layout (Sidebar + Content)
========================================= */
.help-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 60px;
    align-items: start;
}

.help-sidebar {
    position: sticky;
    top: 40px;
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Custom Scrollbar for sidebar */
.help-sidebar::-webkit-scrollbar {
    width: 6px;
}
.help-sidebar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}
.help-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.help-sidebar-title {
    font-size: 14px;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.help-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
}

.help-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.05);
}

.help-nav-link.active {
    color: #000;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    border-color: var(--accent);
}

.help-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.help-content .section-card {
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 10px;
}

/* Callout Boxes */
.callout-box {
    display: flex;
    gap: 20px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 25px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    align-items: flex-start;
}

.callout-box .icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callout-box .icon-wrap svg {
    width: 24px;
    height: 24px;
}

.callout-box .content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    text-transform: none;
    padding-bottom: 0;
}

.callout-box .content h4::after {
    display: none;
}

.callout-box .content p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Tip Variant */
.callout-box.tip {
    border-color: rgba(255, 205, 48, 0.3);
    background: rgba(255, 205, 48, 0.03);
}
.callout-box.tip .icon-wrap {
    background: rgba(255, 205, 48, 0.15);
    color: var(--accent);
}

/* Article Feedback Widget */
.article-feedback {
    margin-top: 20px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    backdrop-filter: blur(5px);
}

.article-feedback h4 {
    font-size: 20px;
    color: #fff;
    font-weight: 900;
    margin: 0;
    text-transform: none;
    padding-bottom: 0;
}

.article-feedback h4::after {
    display: none;
}

.feedback-actions {
    display: flex;
    gap: 15px;
}

.btn-feedback {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-feedback svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-feedback:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-feedback.yes:hover {
    border-color: #2ed573;
    color: #2ed573;
    box-shadow: 0 5px 20px rgba(46, 213, 115, 0.15);
}

.btn-feedback.no:hover {
    border-color: #ff4757;
    color: #ff4757;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.15);
}

.feedback-thanks {
    display: none;
    color: #2ed573;
    font-weight: 700;
    font-size: 16px;
    animation: fadeIn 0.4s ease forwards;
    align-items: center;
    gap: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .help-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .help-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 25px;
    }
}


@media (max-width: 769px) {
    .footer-links-col h4 {
        margin-left: auto;
        margin-right: auto;
    }
}


.footer-links-col ul li span.disabled-link {
    font-size: 13px;
    color: var(--text-dim);
    display: inline-block;
    cursor: default;
}

/* Footer Responsive Updates */
@media (max-width: 1310px) and (min-width: 771px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: 250px 1fr 1fr 1fr !important;
        gap: 40px !important;
    }
    .footer-brand-col { grid-column: 1 / 2; grid-row: 1 / 3; }
    
    /* 2 пункта сверху (Колонки 2 и 3 в сетке) */
    .footer-links-col:nth-child(2) { grid-column: 2 / 3; grid-row: 1; }
    .footer-links-col:nth-child(3) { grid-column: 3 / 4; grid-row: 1; }
    
    /* 3 пункта снизу (Колонки 2, 3 и 4 в сетке) */
    .footer-links-col:nth-child(4) { grid-column: 2 / 3; grid-row: 2; }
    .footer-links-col:nth-child(5) { grid-column: 3 / 4; grid-row: 2; }
    .footer-links-col:nth-child(6) { grid-column: 4 / 5; grid-row: 2; }
}

@media (max-width: 770px) {
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important; /* Убираем gap родителя, используем margin для контроля */
    }
    .footer-brand-col {
        display: contents !important;
    }
    .footer-links-col,
    .footer-brand-col > * {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* 1. Название (Логотип) */
    .footer-brand-col > a:first-child { order: 1; margin-bottom: 15px !important; }
    
    /* 2. Почта */
    .f-contact-row { order: 2; margin-bottom: 40px !important; flex-direction: row !important; gap: 10px !important; }
    
    /* 3. Списки категорий (Пункты меню) */
    .footer-links-col { order: 3; margin-bottom: 30px !important; }
    .footer-links-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-links-col ul { align-items: center !important; }
    
    /* 4. Дата реализации (Копирайт) */
    .f-copy { order: 4; margin-bottom: 20px !important; margin-top: 10px !important; }
    
    /* 5. Соцсети */
    .f-socials { order: 5; margin-bottom: 20px !important; flex-direction: row !important; gap: 20px !important; }
    
    /* 6. Переключение языка */
    .f-lang-selector { order: 6; }
}

/* Tooltip for coming-soon links */
span.coming-soon-link {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    cursor: not-allowed !important;
}

span.coming-soon-link:hover {
    color: #00e5ff;
}

span.coming-soon-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 30, 30, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: normal;
    font-family: inherit;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 100;
    margin-bottom: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Tooltip Arrow */
span.coming-soon-link::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(30, 30, 30, 0.9) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 100;
    margin-bottom: -2px;
}

span.coming-soon-link:hover::after,
span.coming-soon-link:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Tooltip fixes */
.footer-links-col ul li span.coming-soon-link {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}
.footer-links-col ul li span.coming-soon-link:hover {
    color: var(--accent);
}

.footer-title-link.coming-soon-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-title-link.coming-soon-link:hover {
    color: var(--accent) !important;
}

/* Mobile Tab Navigation */
.mobile-tab-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-tab-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 40px;
        gap: 15px;
    }
    .btn-tab-nav {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        flex: 1;
        text-align: left;
        color: #fff;
        max-width: calc(50% - 7px);
    }
    .btn-tab-nav:hover {
        background: rgba(255, 205, 48, 0.1);
        border-color: var(--accent);
    }
    .btn-tab-nav.next {
        text-align: right;
        justify-content: flex-end;
    }
    .btn-tab-nav svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        stroke: var(--accent);
    }
    .btn-tab-nav .nav-text {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .btn-tab-nav .nav-dir {
        font-size: 10px;
        text-transform: uppercase;
        color: var(--text-dim);
        margin-bottom: 2px;
        letter-spacing: 0.5px;
    }
    .btn-tab-nav .nav-name {
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
