/* ==========================================================================
   Tornado Cash Components CSS
   ========================================================================== */

/* Guide cards logo styling */
.product .image img {
    max-width: 120px;
    height: auto;
    margin: 0 auto;
    display: block;
    padding: 1rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover .image img {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product .image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

/* Enhanced guides section styling */
.guides-highlight {
    background: transparent;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.guides-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.featured-guide {
    position: relative;
    border: 2px solid #44F1A6;
    border-radius: 12px;
    padding: 1.5rem;
    background: rgba(68, 241, 166, 0.05);
    transition: all 0.3s ease;
    overflow: visible;
}

.featured-guide:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(68, 241, 166, 0.15);
    background: rgba(68, 241, 166, 0.08);
}

.featured-guide .title,
.featured-guide .subtitle {
    color: #ffffff;
}

.guide-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #44F1A6;
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guide-features {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1rem 0;
}

.feature {
    font-size: 0.85rem;
    color: #666;
}

.guide-button {
    display: inline-block;
    background: #44F1A6;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.guide-button:hover {
    background: #3de395;
    transform: translateY(-1px);
    color: #000;
}

.popular-guides {
    margin-bottom: 2rem;
}

.all-guides {
    border-top: 1px solid #e6fffa;
    padding-top: 1rem;
}

/* FAQ internal links styling */
.internal-link {
    color: #44F1A6;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: #3de395;
    border-bottom-color: #3de395;
}

/* Language Selector Dropdown Styles */
.navbar-language-item {
    display: flex !important;
    align-items: center !important;
}

.navbar-language-selector {
    position: relative;
    display: inline-block !important;
    margin-left: 20px;
}

.navbar-language-selector .dropdown {
    position: relative;
}

.navbar-language-selector .dropdown-trigger button {
    background: transparent !important;
    border: 1px solid rgba(61, 227, 149, 0.3) !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    color: #3de395 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    min-width: 60px !important;
}

.navbar-language-selector .dropdown-trigger button:hover {
    border-color: #3de395 !important;
    background-color: rgba(61, 227, 149, 0.1) !important;
}

.navbar-language-selector .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #000403;
    border: 1px solid rgba(61, 227, 149, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    margin-top: 8px;
    backdrop-filter: blur(10px);
    display: none;
}

.navbar-language-selector .dropdown-content {
    padding: 8px 0;
    overflow: hidden;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background-color: rgba(61, 227, 149, 0.1);
    color: #3de395;
}

.dropdown-item.is-active {
    color: #3de395;
    background-color: rgba(61, 227, 149, 0.15);
    font-weight: 500;
}

.dropdown-item.is-active:hover {
    background-color: rgba(61, 227, 149, 0.2);
}

/* Typography and Layout Utilities */
.hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.nova-title {
    font-size: 1.625rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

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

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

.how-it-works-subtitle {
    font-size: 1.125rem;
}

.guides-subtitle {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.guides-description {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #666;
    font-size: 0.95rem;
}

.popular-guides-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #44F1A6;
}

.all-guides-title {
    text-align: center;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 1.1rem;
    color: #666;
}

.featured-guide-title {
    font-size: 1.1rem;
}

.product-title {
    font-size: 1rem;
}

.language-dropdown-arrow {
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.7;
}

.dropdown-menu-hidden {
    display: none;
}

.background-hidden {
    display: none;
}
