/* Enterprise Names Index Styles */
.enterprise-names-index {
    background: #f8fafc;
}

/* Hero Section */
.names-hero-enterprise {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b1e7a 100%);
    position: relative;
    overflow: hidden;
}

.names-hero-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.names-hero-enterprise .hero-body {
    position: relative;
    z-index: 2;
}

.hero-highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.names-hero-enterprise .title {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 800;
}

.names-hero-enterprise .subtitle {
    color: #f1f5f9 !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    font-weight: 600;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-item i {
    font-size: 1.2rem;
}

/* Name Showcase Animation */
.name-showcase {
    position: relative;
    height: 300px;
    margin-top: 2rem;
}

.name-bubble {
    position: absolute;
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
    border: 3px solid #f59e0b;
    backdrop-filter: blur(10px);
}

.name-bubble .name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2d3748;
}

.name-bubble small {
    color: #667eea;
    font-weight: 500;
}

.bubble-1 { top: 20px; left: 20px; animation-delay: 0s; }
.bubble-2 { top: 80px; right: 30px; animation-delay: 1.5s; }
.bubble-3 { bottom: 80px; left: 40px; animation-delay: 3s; }
.bubble-4 { bottom: 20px; right: 20px; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* SEO Content Section */
.seo-content-section {
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.stats-grid {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.trending-names-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.trending-list {
    margin: 1.5rem 0;
}

.trending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.trending-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trending-item .rank {
    font-weight: 900;
    color: #667eea;
    width: 2rem;
}

.trending-item .name {
    flex: 1;
    font-weight: 700;
    color: #2d3748;
    margin-left: 1rem;
}

.trending-item .change {
    font-size: 1.2rem;
    font-weight: 900;
}

.change.up { color: #10b981; }
.change.down { color: #ef4444; }
.change.same { color: #64748b; }

/* Enhanced Gender Selection */
.gender-selection-enterprise {
    margin: 3rem 0;
}

.gender-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gender-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gender-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.gender-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.gender-btn.active .btn-icon {
    color: white;
}

.boy-icon { color: #3b82f6; }
.girl-icon { color: #ec4899; }
.unisex-icon { color: #8b5cf6; }

.btn-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.gender-btn.active .btn-content h4 {
    color: white;
}

.btn-content p {
    color: #64748b;
    margin: 0;
}

.gender-btn.active .btn-content p {
    color: rgba(255, 255, 255, 0.9);
}

.btn-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.gender-btn.active .btn-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Enhanced Alphabet Grid */
.alphabet-section {
    margin: 3rem 0;
}

.alphabet-grid-enterprise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.letter-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.letter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.letter-display {
    font-size: 2rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.letter-count {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Letter Page Styles */
.letter-page-header {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.letter-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.letter-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.letter-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.letter-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    color: #64748b;
    transition: all 0.2s ease;
}

.letter-nav-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.letter-nav-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Names Grid Enhancements */
.names-grid {
    margin: 2rem 0;
}

.name-card .card {
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
}

.name-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.name-card .card-content {
    padding: 1.5rem;
}

.name-card .title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.name-card .title a:hover {
    color: #667eea;
}

.meta {
    margin-top: 1rem;
}

.meta .tag {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.meaning {
    font-style: italic;
    color: #64748b;
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.pronunciation {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.875rem;
}

.gender-tag.gender-boy {
    background-color: #dbeafe !important;
    color: #1d4ed8 !important;
}

.gender-tag.gender-girl {
    background-color: #fce7f3 !important;
    color: #be185d !important;
}

.gender-tag.gender-unisex {
    background-color: #f3e8ff !important;
    color: #7c3aed !important;
}

.back-to-alphabet {
    text-align: center;
    margin: 3rem 0;
}

.explore-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Filter State Styling */
.filter-active .letter-page-header {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.filter-active .letter-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.filter-active .letter-navigation {
    border-top: 2px solid #e5e7eb;
    padding-top: 1rem;
}

/* Enhanced filter notice */
.notification.is-info {
    background-color: #dbeafe;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

.notification.is-info .delete {
    background-color: rgba(59, 130, 246, 0.1);
}

.notification.is-info .delete:hover {
    background-color: rgba(59, 130, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .alphabet-grid-enterprise {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .gender-buttons {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .alphabet-grid-enterprise {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .gender-buttons {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .letter-hero {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .letter-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
