:root.tools-analysis {
    --primary: #FF6B35;
    --primary-dark: #E55100;
    --primary-light: #FFA573;
    --accent: linear-gradient(135deg, #FF6B35 0%, #FF9558 100%);
    --accent-hover: #E55100;
    --gradient-main: linear-gradient(135deg, #FF6B35 0%, #FF9558 100%);
    --text-primary: #2D1810;
    --primary-bg-1: rgba(255, 107, 53, 0.03);
    --primary-bg-2: rgba(255, 149, 88, 0.03);
    --hero-filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.2));
    --focus-shadow: 0 25px 50px rgba(255, 107, 53, 0.12), inset 0 0 0 2px rgba(255, 107, 53, 0.08);
}

body.tools-analysis {
    background: #fafafa;
}



.tools-analysis .hero-section.searching {
    padding: 40px 20px;
}

.tools-analysis .hero-section.searching .brand-logo .hero-title-link {
    font-size: 1.8rem;
}

.tools-analysis .hero-section.searching .hero-subtitle {
    display: none;
}

.tools-analysis .results-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.error-msg {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 15px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 8px;
    color: #ef4444;
    font-weight: 600;
    text-align: center;
}

.domain-overview {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.domain-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.domain-overview-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.domain-overview-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.domain-overview-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.domain-overview-right {
    display: flex;
    align-items: center;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.badge-keywords {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
}

.badge-age {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.btn-commercial {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

.btn-commercial.status-registered {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.btn-commercial.status-available {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-commercial.status-for_sale {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-commercial.status-expiring {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-commercial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.domain-overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.domain-overview-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.domain-overview-stats .stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
}

.domain-overview-stats .stat-value {
    font-size: 16px;
    color: #1f2937;
    font-weight: 700;
}

.analysis-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.analysis-tabs::-webkit-scrollbar {
    display: none;
}

.analysis-tabs .tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.analysis-tabs .tab-btn:hover {
    color: #1f2937;
}

.analysis-tabs .tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.subsection-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 25px 0 15px;
}

.info-table {
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .info-label {
    flex: 0 0 180px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.info-row .info-value {
    flex: 1;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.metric-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.metric-card .metric-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.metric-card .metric-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
}

.tlds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.view-all-tlds-form {
    margin-top: 25px;
    text-align: center;
}

.btn-view-all-tlds {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-all-tlds:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tld-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.tld-name {
    font-weight: 600;
    color: #1f2937;
}

.tld-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.tld-status.available {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.tld-status.taken {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.tld-status.forsale {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.security-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
}

.security-banner.warning {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.security-icon {
    font-size: 40px;
}

.security-text strong {
    display: block;
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 5px;
}

.security-text p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.ai-summary {
    background: #f9fafb;
    padding: 25px;
    border-radius: 10px;
    line-height: 1.8;
    border: 1px solid #e5e7eb;
}

.ai-summary p {
    margin-bottom: 15px;
    color: #374151;
    font-size: 15px;
}

.ai-summary p:last-child {
    margin-bottom: 0;
}

.ai-summary .highlight {
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--primary);
}

.process-time {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 25px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.related-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.related-item .domain-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
    word-break: break-all;
}

.related-item .domain-action {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.related-item .domain-action.btn-backorder {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.related-item .domain-action.btn-register {
    background: linear-gradient(135deg, #10b981, #059669);
}

.related-item .domain-action.btn-offer {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.related-item .domain-action.btn-buy {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.related-item .domain-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.related-section {
    margin-bottom: 25px;
}

.related-section:last-child {
    margin-bottom: 0;
}

.related-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.related-more {
    text-align: center;
    margin-top: 15px;
}

.related-more-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.related-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.no-data {
    grid-column: 1 / -1;
    text-align: center;
    color: #9ca3af;
    padding: 20px;
    margin: 0;
}

@media (max-width: 768px) {
    .domain-overview-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .domain-overview-left {
        width: 100%;
    }
    
    .domain-overview-right {
        width: 100%;
    }
    
    .domain-overview-name {
        font-size: 1.5rem;
    }
    
    .domain-overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analysis-tabs .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-row .info-label {
        flex: none;
    }
    
    .tlds-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading */
.loading-initial {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

@media (max-width: 480px) {
    .domain-overview {
        padding: 20px;
    }
    
    .domain-overview-stats {
        grid-template-columns: 1fr;
    }
    
    .security-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
}