/* DomainJen Professional Business Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Form help text */
small {
    display: block;
    margin-top: 4px;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

/* Fieldset and legend styling */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    font-weight: 500;
    color: #374151;
    margin: 0;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
button:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Highlight required field */
.highlight-required {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0% { 
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        border-color: #ef4444;
    }
    50% { 
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
        border-color: #dc2626;
    }
    100% { 
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        border-color: #ef4444;
    }
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #4f46e5;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #0f172a;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Magnifying Glass Tiled Background with Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Magnifying glass pattern - lens + handle */
        radial-gradient(circle 18px at 50% 40%, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.06) 65%, transparent 68%),
        linear-gradient(135deg, transparent 45%, rgba(99, 102, 241, 0.08) 50%, rgba(99, 102, 241, 0.04) 55%, transparent 60%),
        /* Secondary magnifying glasses */
        radial-gradient(circle 15px at 50% 40%, rgba(139, 92, 246, 0.10) 0%, rgba(139, 92, 246, 0.04) 65%, transparent 68%),
        linear-gradient(135deg, transparent 45%, rgba(139, 92, 246, 0.06) 50%, rgba(139, 92, 246, 0.03) 55%, transparent 60%),
        /* Gradient overlay */
        linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.03) 50%, rgba(168, 85, 247, 0.02) 100%);
    background-size: 
        60px 60px, 60px 60px,
        60px 60px, 60px 60px,
        100% 100%;
    background-position: 
        0 0, 0 0,
        30px 30px, 30px 30px,
        0 0;
    opacity: 0.4;
    pointer-events: none;
    z-index: -2;
    animation: gradientShift 20s ease-in-out infinite;
    will-change: auto;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
        opacity: 0.3;
    }
    50% {
        filter: hue-rotate(15deg);
        opacity: 0.5;
    }
}

/* Shimmer Lines - Only when loading */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: auto;
}

/* Enhanced pattern when loading - CPU optimized */
body.loading-state::before {
    opacity: 0.5;
    animation: backgroundPulse 4s ease-in-out infinite;
    will-change: opacity;
}

body.loading-state::after {
    opacity: 1;
    background: 
        linear-gradient(0deg, transparent 0%, rgba(99, 102, 241, 0.08) 2%, transparent 4%),
        linear-gradient(0deg, transparent 25%, rgba(139, 92, 246, 0.06) 27%, transparent 29%),
        linear-gradient(0deg, transparent 50%, rgba(168, 85, 247, 0.07) 52%, transparent 54%),
        linear-gradient(0deg, transparent 75%, rgba(99, 102, 241, 0.05) 77%, transparent 79%);
    background-size: 100% 300vh;
    animation: shimmerFlow 8s linear infinite;
    will-change: transform;
}

/* Reduced animation intensity */
@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes shimmerFlow {
    0% {
        transform: translateY(-200vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    position: relative;
}

/* Header with Professional Logo - Ultra Compact */
header {
    text-align: center;
    margin-bottom: 4px;
    position: relative;
    padding: 4px 0;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #6366f1;
    background: white;
    box-shadow: 
        0 4px 20px rgba(99, 102, 241, 0.25),
        0 8px 25px rgba(139, 92, 246, 0.15);
    padding: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-icon:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 
        0 6px 25px rgba(99, 102, 241, 0.3),
        0 12px 35px rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
}

.logo-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
    background: linear-gradient(135deg, #0f172a 0%, #374151 40%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.subtitle {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.description {
    text-align: center;
    margin-top: 2px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.description h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #1e293b 0%, #374151 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description p {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .description p {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
}

/* Professional Cart Button */
.cart-button {
    position: fixed;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-button.animate-add {
    animation: cartBounce 0.6s ease-out;
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.15) rotate(-5deg);
        background: linear-gradient(135deg, #10b981, #059669);
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.cart-button::before {
    content: "🛒";
    font-size: 16px;
}

.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.3);
    background: linear-gradient(135deg, #4338ca, #6b21a8);
}

.cart-button[style*="hidden"] {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
}

/* Main Card Design - Modern Professional */
.main-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.97) 50%, 
        rgba(241, 245, 249, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 30px 60px rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

/* Form Styling - Modern Professional */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    letter-spacing: -0.01em;
}

input[type="text"], select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:focus, select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.1),
        0 4px 20px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

input[type="text"]:hover, select:hover {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.95);
}

input[type="text"]::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* TLD Header */
.tld-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-select-all {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.btn-select-all:hover {
    background: linear-gradient(135deg, #475569, #334155);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.checkbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s;
}

.checkbox-item:hover::before {
    left: 100%;
}

.checkbox-item:hover {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #6366f1;
    margin: 0;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"]:checked + label {
    color: #6366f1;
    font-weight: 600;
}

.checkbox-item:has(input:checked) {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.checkbox-item label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: -0.01em;
}

/* Button Styles - Modern Professional */
.btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 25px rgba(99, 102, 241, 0.2);
    letter-spacing: -0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover:not(:disabled)::before {
    left: 100%;
}

.btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(99, 102, 241, 0.25);
    background: linear-gradient(135deg, #5b5bf6 0%, #7c3aed 50%, #9333ea 100%);
}

.btn:active:not(:disabled) {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    width: auto;
    margin: 0 auto;
    display: block;
    padding: 14px 28px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
}

/* Enhanced Loading Animation */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    position: relative;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-right-color: rgba(255, 255, 255, 0.6);
    animation: spin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loading::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.9);
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Domain Loading Animation */
.domain-loading {
    padding: 60px 24px;
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.04));
    border-radius: 20px;
    overflow: hidden;
}

.domain-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: loadingSweep 2s ease-in-out infinite;
}

@keyframes loadingSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.loading-dots {
    display: flex;
    gap: 8px;
    position: relative;
}

.loading-dots::before {
    content: '🔍';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    animation: searchPulse 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
}

.loading-dots span {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #a855f7);
    border-radius: 50%;
    display: inline-block;
    animation: flowDown 2s ease-in-out infinite both;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    will-change: transform, opacity;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes flowDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

.loading-text {
    font-size: 1.2rem;
    color: #4f46e5;
    font-weight: 600;
    text-align: center;
    animation: textGlow 2s ease-in-out infinite;
    position: relative;
}

.loading-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4f46e5, transparent);
    animation: progressBar 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(79, 70, 229, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

@keyframes progressBar {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Staggered Animation Classes for Domain Results */
.domain-row {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.domain-row.stagger-1 { animation-delay: 0.1s; }
.domain-row.stagger-2 { animation-delay: 0.2s; }
.domain-row.stagger-3 { animation-delay: 0.3s; }
.domain-row.stagger-4 { animation-delay: 0.4s; }
.domain-row.stagger-5 { animation-delay: 0.5s; }
.domain-row.stagger-6 { animation-delay: 0.6s; }
.domain-row.stagger-7 { animation-delay: 0.7s; }
.domain-row.stagger-8 { animation-delay: 0.8s; }
.domain-row.stagger-9 { animation-delay: 0.9s; }
.domain-row.stagger-10 { animation-delay: 1.0s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Availability Status Animation */
.status-badge.updating {
    animation: statusUpdate 0.8s ease-in-out;
}

@keyframes statusUpdate {
    0% {
        transform: scale(1);
        background: #dbeafe;
    }
    50% {
        transform: scale(1.1);
        background: linear-gradient(45deg, #dbeafe, #dcfce7);
    }
    100% {
        transform: scale(1);
    }
}

/* Results Section */
.results-section {
    margin-top: 48px;
}

.results-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 24px;
    text-align: center;
}

.results-table {
    overflow-x: auto;
    margin-top: 32px;
    border-radius: 20px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    position: relative;
}

thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

th, td {
    padding: 24px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

/* Fixed column widths to prevent table shifting */
th:nth-child(1), td:nth-child(1) { width: 30%; } /* Domain */
th:nth-child(2), td:nth-child(2) { width: 12%; } /* Brand Score */
th:nth-child(3), td:nth-child(3) { width: 12%; } /* Industry Score */
th:nth-child(4), td:nth-child(4) { width: 12%; } /* SEO Score */
th:nth-child(5), td:nth-child(5) { width: 18%; min-width: 120px; max-width: 140px; } /* Status - fixed width */
th:nth-child(6), td:nth-child(6) { width: 16%; min-width: 140px; } /* Action - more space */

/* Status column content height consistency */
.status-badge {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Action column content consistency */
.action-buttons {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

th {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(241, 245, 249, 0.5);
}

tbody tr:hover {
    background: rgba(99, 102, 241, 0.02);
    box-shadow: inset 0 1px 0 rgba(99, 102, 241, 0.1);
}

.domain-cell {
    font-weight: 600;
    color: #1e293b;
}

.explanation {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    font-weight: 400;
    line-height: 1.4;
}

/* Score Badges - Color-coded by performance */
.score-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-align: center;
    min-width: 40px;
}

/* High scores (8-10) - Green shades */
.brand-score-high {
    background: linear-gradient(135deg, #10b981, #059669);
}

.industry-score-high {
    background: linear-gradient(135deg, #059669, #047857);
}

.seo-score-high {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Medium scores (6-7) - Orange shades */
.brand-score-medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.industry-score-medium {
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

.seo-score-medium {
    background: linear-gradient(135deg, #fb923c, #f97316);
}

/* Low scores (0-5) - Red shades */
.brand-score-low {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.industry-score-low {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.seo-score-low {
    background: linear-gradient(135deg, #f87171, #ef4444);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: #dcfce7;
    color: #166534;
}

.status-unavailable {
    background: #fef2f2;
    color: #991b1b;
}

.status-dns-taken {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.status-checking {
    background: linear-gradient(45deg, #dbeafe 0%, #e0e7ff 50%, #dbeafe 100%);
    background-size: 200% 200%;
    animation: shimmer 2s ease-in-out infinite;
    color: #1e40af;
    padding: 0 !important;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.domain-checking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 14px;
}

.checking-dots {
    display: flex;
    gap: 3px;
}

.checking-dots span {
    width: 4px;
    height: 4px;
    background: #4f46e5;
    border-radius: 50%;
    display: inline-block;
    animation: wave 1.2s ease-in-out infinite;
}

.checking-dots span:nth-child(1) {
    animation-delay: 0s;
}

.checking-dots span:nth-child(2) {
    animation-delay: 0.1s;
}

.checking-dots span:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes wave {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.checking-text {
    font-size: 11px;
    font-weight: 600;
    color: #4f46e5;
}

/* Creative Loading Animations */

/* Radar Animation */
.checking-radar {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-ping {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid #4f46e5;
    border-radius: 50%;
    animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.radar-center {
    position: relative;
    font-size: 14px;
    z-index: 1;
}

@keyframes radar-ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Wave Animation */
.checking-wave {
    display: flex;
    gap: 3px;
    align-items: center;
}

.checking-wave span {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, #4f46e5, #7c3aed);
    border-radius: 2px;
    animation: wave-bars 1.2s ease-in-out infinite;
}

.checking-wave span:nth-child(1) { animation-delay: 0s; }
.checking-wave span:nth-child(2) { animation-delay: 0.1s; }
.checking-wave span:nth-child(3) { animation-delay: 0.2s; }
.checking-wave span:nth-child(4) { animation-delay: 0.3s; }

@keyframes wave-bars {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        opacity: 0.7;
    }
    20% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Pulse Animation */
.checking-pulse {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 3px solid #4f46e5;
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

.pulse-core {
    position: relative;
    font-size: 14px;
    z-index: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Orbit Animation */
.checking-orbit {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-center {
    position: relative;
    font-size: 14px;
    z-index: 1;
    animation: orbit-glow 2s ease-in-out infinite;
}

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #4f46e5;
    border-radius: 50%;
    top: 2px;
    left: 50%;
    transform-origin: 50% 14px;
    animation: orbit-rotate 1.5s linear infinite;
}

@keyframes orbit-rotate {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes orbit-glow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Matrix Animation */
.checking-matrix {
    display: flex;
    gap: 2px;
    align-items: center;
}

.checking-matrix span {
    width: 3px;
    height: 18px;
    background: linear-gradient(to bottom, #10b981, #4f46e5);
    border-radius: 1px;
    animation: matrix-flow 1.5s ease-in-out infinite;
}

.checking-matrix span:nth-child(1) { animation-delay: 0s; }
.checking-matrix span:nth-child(2) { animation-delay: 0.1s; }
.checking-matrix span:nth-child(3) { animation-delay: 0.2s; }
.checking-matrix span:nth-child(4) { animation-delay: 0.3s; }
.checking-matrix span:nth-child(5) { animation-delay: 0.4s; }

@keyframes matrix-flow {
    0%, 100% {
        transform: scaleY(0.3);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-add {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-buy {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Show More Section */
.show-more-section {
    text-align: center;
    margin-top: 40px;
}

/* Return to Top Button */
.return-to-top {
    margin-top: 20px;
    text-align: center;
}

.btn-return-top {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-return-top:hover {
    color: #4f46e5;
    border-color: #cbd5e1;
    background: rgba(99, 102, 241, 0.02);
    transform: translateY(-1px);
}

/* Domain Loading Animation */
.domain-loading {
    padding: 40px 24px;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-dots {
    display: flex;
    gap: 8px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loading-text {
    font-size: 1.1rem;
    color: #4f46e5;
    font-weight: 600;
    text-align: center;
}

/* Cart Styles */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.cart-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f172a;
}

.cart-summary {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.cart-list {
    margin-bottom: 32px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 12px;
    background: white;
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-domain-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cart-domain {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    flex: 1;
}

.cart-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* Desktop: Hide delete button in domain row, show in actions */
.cart-domain-row .btn-remove {
    display: none;
}

.btn-remove-desktop {
    display: flex;
}

.btn-remove {
    background: #ef4444;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-remove-inline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-remove-inline:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.cart-actions-bottom {
    text-align: center;
}

/* Error and Empty States */
.error-message {
    background: #fef2f2;
    color: #991b1b;
    padding: 20px;
    border-radius: 16px;
    margin: 24px 0;
    border: 1px solid #fecaca;
}

.error-message h3 {
    margin-bottom: 8px;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: #64748b;
}

.empty-state h3 {
    margin-bottom: 12px;
    color: #374151;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 8px 20px;
        position: relative;
    }
    
    /* Cart Mobile Layout */
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cart-domain-row {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .cart-domain {
        width: auto;
        margin-bottom: 0;
    }
    
    .cart-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-register {
        flex: 1;
        padding: 12px 16px;
        text-align: center;
    }
    
    /* Mobile: Show delete button in domain row, hide in actions */
    .cart-domain-row .btn-remove {
        display: flex;
    }
    
    .btn-remove-desktop {
        display: none;
    }
    
    header {
        padding: 2px 0;
        margin-bottom: 0px;
        position: relative;
    }
    
    .logo-container {
        gap: 8px;
        margin-bottom: 1px;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .description {
        margin-top: 1px;
        margin-bottom: 0px;
    }
    
    .description h3 {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
    
    .description p {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 0;
    }
    
    .main-card {
        padding: 20px 20px;
        margin: 0px 4px 20px 4px !important;
        margin-top: 0px !important;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    label {
        margin-bottom: 6px;
        font-size: 14px;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 10px;
    }
    
    .checkbox-item {
        padding: 12px 16px;
    }
    
    .cart-button {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 1001 !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 16px 12px;
    }
    
    .results-section h3 {
        font-size: 1.5rem;
    }
    
    header {
        padding: 12px 0;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 6px 16px;
    }
    
    header {
        padding: 1px 0;
        margin-bottom: 0px;
    }
    
    .logo-container {
        gap: 6px;
        margin-bottom: 0;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        border-width: 2px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .description {
        margin-bottom: 0px;
    }
    
    .description h3 {
        font-size: 1rem;
        margin-bottom: 1px;
    }
    
    .description p {
        font-size: 0.85rem;
        line-height: 1.1;
        margin-bottom: 0;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-card {
        padding: 16px 16px;
        margin: 0px 8px 16px 8px !important;
        margin-top: 0px !important;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    label {
        margin-bottom: 4px;
        font-size: 13px;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
        gap: 8px;
    }
    
    .checkbox-item {
        padding: 10px 12px;
    }
    
    .results-table {
        overflow-x: scroll;
    }
    
    th, td {
        padding: 12px 8px;
    }
    
    .explanation {
        font-size: 11px;
    }
}

/* Cookie Notice - Unobtrusive and Non-blocking */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    font-size: 14px;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-notice-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-notice p {
    margin: 0;
    color: #475569;
    line-height: 1.4;
    flex: 1;
}

.cookie-notice a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.cookie-notice a:hover {
    text-decoration: underline;
}

.cookie-notice-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.btn-cookie {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cookie.accept {
    background: #4f46e5;
    color: white;
}

.btn-cookie.accept:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-cookie.dismiss {
    color: #64748b;
    font-size: 18px;
    font-weight: normal;
    padding: 4px 8px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cookie.dismiss:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Mobile Table Layout - Card-based */
@media (max-width: 768px) {
    .results-table {
        overflow-x: visible;
    }
    
    table {
        display: block;
        width: 100%;
    }
    
    thead {
        display: none;
    }
    
    tbody {
        display: block;
        width: 100%;
    }
    
    tbody tr {
        display: block;
        background: white;
        border: 2px solid #e2e8f0;
        border-radius: 16px;
        margin-bottom: 16px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    tbody tr:hover {
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    
    /* Default mobile cell layout */
    tbody td {
        display: block;
        width: 100% !important;
        max-width: none !important;
        min-width: auto !important;
        text-align: left;
        padding: 8px 0;
        border: none;
        position: relative;
    }
    
    tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #374151;
        display: inline-block;
        min-width: 90px;
        vertical-align: top;
    }
    
    tbody td[data-label]:not([data-label=""]):before {
        content: attr(data-label) ": ";
    }
    
    /* Domain cell - block layout with description below */
    .domain-cell {
        display: block !important;
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .domain-cell:before {
        display: none;
    }
    
    .domain-cell strong {
        display: block;
        margin-bottom: 4px;
        font-size: 1.1rem;
    }
    
    .domain-cell .explanation {
        display: block;
        margin-top: 4px;
        font-size: 0.9rem;
        color: #64748b;
        line-height: 1.3;
    }
    
    /* Score cells - flex layout with proper alignment */
    tbody td[data-label="Brand Score"],
    tbody td[data-label="Industry Score"],
    tbody td[data-label="SEO Score"],
    tbody td[data-label="Status"] {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    
    tbody td[data-label="Brand Score"]:before,
    tbody td[data-label="Industry Score"]:before,
    tbody td[data-label="SEO Score"]:before,
    tbody td[data-label="Status"]:before {
        flex: 0 0 90px;
        margin: 0;
    }
    
    /* Action cell - column layout for stacked buttons */
    tbody td[data-label="Actions"] {
        display: block !important;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #f1f5f9;
    }
    
    tbody td[data-label="Actions"]:before {
        display: block;
        margin-bottom: 8px;
    }
    
    .action-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 4px;
    }
    
    .btn-add, .btn-remove-inline, .btn-buy {
        width: 100%;
        max-width: 120px;
        margin: 0;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Score badges mobile styling */
    .score-badge {
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    /* Status badge mobile styling */
    .status-badge {
        flex-shrink: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    
    .cookie-notice-content {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        text-align: center;
    }
    
    .cookie-notice-buttons {
        justify-content: center;
        margin-top: 8px;
    }
}