/*
Theme Name: NRDS NewVenture
Theme URI: https://newlyregistereddomains.io
Description: Visual redesign fork of NRDS Theme. All content, FAQ, SEO metadata, titles, data-loading logic, rate limiting, search behavior, and URL structure are identical to nrds-theme. Only the visual layer (CSS variables, component styling, HTML structure) is subject to redesign. Forked at nrds-theme v1.0.2.
Version: 1.0.0
Author: ABTdomain
Author URI: https://abtdomain.com
License: Proprietary
Text Domain: nrds-newventure
*/

:root {

    --t-50:  #F0FBF8;
    --t-100: #D6F4EB;
    --t-200: #A5E8D3;
    --t-300: #6EDBBC;
    --t-400: #43CDB5;
    --t-500: #2BB59A;
    --t-600: #1A9680;
    --t-700: #0F7566;
    --t-800: #0A524A;
    --t-900: #062E2A;

    --nrds-primary: var(--t-400);
    --nrds-primary-light: var(--t-300);
    --nrds-primary-lighter: var(--t-100);
    --nrds-primary-dark: var(--t-700);

    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-white: rgba(255, 255, 255, 0.7);

    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #0a0a0a;
    --bg-footer-start: #0a0f0f;
    --bg-footer-end: #1a2525;

    --border-light: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(90, 216, 196, 0.10);
    --shadow-md: 0 4px 12px rgba(90, 216, 196, 0.14);
    --shadow-lg: 0 8px 24px rgba(90, 216, 196, 0.18);

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Courier New', monospace;

    --fs-hero: 42px;
    --fs-h2:   36px;
    --fs-h3:   20px;
    --fs-lg:   18px;
    --fs-md:   16px;
    --fs-base: 14px;
    --fs-sm:   13px;
    --fs-xs:   12px;
    --fs-2xs:  11px;

    --max-width: 1400px;
    --nav-height: 50px;
}

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

body {
    font-family: var(--font-sans);
    background: linear-gradient(135deg, #fff 0%, #f0fffe 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

a {
    text-decoration: none;
    color: inherit;
}

.main-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px;
}

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    z-index: 9999;
    box-shadow: 0 1px 3px rgba(54, 209, 182, 0.08);
    transition: var(--transition);
}
.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: var(--fs-h3);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    padding-right: 30px;
    border-right: 1px solid var(--border-light);
    margin-right: 30px;
    background: linear-gradient(135deg, var(--nrds-primary) 0%, var(--nrds-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: filter 0.2s ease;
}
.logo:hover {
    filter: brightness(1.1);
}
.nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
    flex: 1;
}
.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--fs-md);
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
}
.nav-link:hover {
    background: var(--nrds-primary-lighter);
    color: var(--nrds-primary);
}

.hero-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.hero-eyebrow {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    margin-top: 0;
}
.hero-title {
    font-size: var(--fs-hero);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--nrds-primary) 0%, var(--nrds-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    padding-bottom: 10px;
    display: inline-block;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 15px;
}

.nrds-share {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 auto 30px;
}
.nrds-share a,
.nrds-share button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-light);
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    padding: 0;
}
.nrds-share a:hover,
.nrds-share button:hover {
    color: var(--nrds-primary);
    background: var(--nrds-primary-lighter);
}
.nrds-share-copy[data-copied] {
    color: var(--success);
}
.nrds-share-inline {
    margin: 0;
    gap: 8px;
    flex-shrink: 0;
}
.nrds-share-inline a,
.nrds-share-inline button {
    width: 28px;
    height: 28px;
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.results-header-left {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.search-section {
    max-width: 1200px;
    margin: 0 auto 80px;
}
.search-container {
    position: relative;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-container:hover {
    border-color: var(--t-200);
}
.search-container:focus-within {
    border-color: var(--t-400);
    box-shadow: var(--shadow-lg), 0 0 0 3px var(--t-100);
}
.search-input {
    width: 100%;
    padding: 24px 180px 24px 30px;
    font-size: var(--fs-lg);
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-sans);
}
.search-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}
.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--nrds-primary) 0%, var(--nrds-primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: var(--fs-md);
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, background 0.2s ease;
    letter-spacing: 0.5px;
}
.search-btn:hover {
    filter: brightness(1.08);
}
.search-btn:active {
    filter: brightness(0.95);
}
.search-btn:focus-visible {
    outline: 2px solid var(--t-700);
    outline-offset: 2px;
}
.tld-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}
.tld-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    user-select: none;
}
.tld-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.tld-chip:hover {
    color: var(--t-700);
    border-color: var(--t-300);
    background: var(--t-50);
}
.tld-chip:has(input[type="radio"]:checked) {
    background: var(--t-100);
    border-color: var(--t-300);
    color: var(--t-700);
    font-weight: 600;
}
.tld-chip:has(input[type="radio"]:focus-visible) {
    outline: 2px solid var(--t-400);
    outline-offset: 2px;
}

.search-results {
    margin-top: 40px;
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}
.results-count {
    font-size: var(--fs-base);
    color: var(--text-secondary);
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.result-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
}
.result-item:hover {
    border-color: var(--nrds-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.domain-name {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    word-break: break-all;
    font-family: var(--font-mono);
}
.domain-date {
    font-size: var(--fs-base);
    color: var(--text-primary);
    margin-bottom: 12px;
}
.domain-meta {
    font-size: var(--fs-base);
    color: var(--text-primary);
    margin-top: 8px;
}
.domain-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.domain-action {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    flex: 1;
    border: none;
    cursor: pointer;
}
.price-action {
    background: #ff7a59;
    color: #fff;
}
.price-action:hover {
    background: #e6693f;
}
.whois-action {
    background: var(--nrds-primary-lighter);
    color: var(--nrds-primary-dark);
}
.whois-action:hover {
    background: var(--nrds-primary);
    color: #fff;
}

.freshness {
    font-size: var(--fs-base);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.freshness .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.freshness .dot.filled {
    background: currentColor;
}
.freshness .dot.empty {
    border: 2px solid currentColor;
    box-sizing: border-box;
}
.stars-5, .stars-4, .stars-3 { color: #e74c3c; }
.stars-2, .stars-1, .stars-0 { color: var(--text-primary); }
.highlight {
    background: #fff3cd;
    color: #e74c3c;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
}

.domains-showcase {
    margin-bottom: 80px;
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.showcase-column {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--nrds-primary-lighter);
}
.showcase-title {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tld-badge {
    padding: 3px 10px;
    background: var(--t-100);
    color: var(--t-700);
    border-radius: 999px;
    font-size: var(--fs-2xs);
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.showcase-scroll {
    height: 400px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}
.showcase-scroll::-webkit-scrollbar { width: 4px; }
.showcase-scroll::-webkit-scrollbar-track { background: transparent; }
.showcase-scroll::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 999px;
}
.showcase-scroll::-webkit-scrollbar-thumb:hover { background: var(--t-200); }
.showcase-item {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-2, #f0f3f0);
    transition: background 0.15s ease, padding 0.15s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.showcase-item:last-child { border-bottom: none; }
.showcase-item:hover {
    background: var(--t-50);
    padding-left: 16px;
}
.showcase-domain {
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--text-primary);
    font-family: var(--font-mono);
    letter-spacing: -0.01em;
}
.showcase-date {
    font-size: var(--fs-2xs);
    color: var(--text-light);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.clickable-domain {
    cursor: pointer;
    transition: color 0.3s;
}
.clickable-domain:hover {
    color: var(--nrds-primary);
    text-decoration: underline;
}

.stats-section {
    margin-bottom: 40px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.stats-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: var(--fs-h2);
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
}
.section-subtitle {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}
.stat-card {
    background: var(--bg-white);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 28px 18px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nrds-primary) 0%, var(--nrds-primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.stat-card:hover {
    border-color: var(--nrds-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.stat-card:hover::before {
    transform: scaleX(1);
}
.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    background: var(--nrds-primary-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-h2);
}
.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--nrds-primary);
    fill: none;
}
.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--nrds-primary) 0%, var(--nrds-primary-dark) 100%);
}
.stat-card:hover .stat-icon svg {
    stroke: #fff;
}
.stat-name {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.stat-desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.data-stats-line {
    margin-top: 20px;
    font-size: var(--fs-base);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.data-stats-line .separator {
    color: var(--border-light);
}
.data-stats-line strong {
    color: var(--nrds-primary);
    font-size: var(--fs-md);
    font-weight: 600;
}

.faq-section {
    margin-bottom: 40px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}
.faq-container {
    max-width: 100%;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: var(--nrds-primary);
    box-shadow: var(--shadow-md);
}
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--bg-gray);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    text-align: left;
    font-family: var(--font-sans);
}
.faq-question:hover {
    background: var(--t-50);
}
.faq-item.active .faq-question {
    background: var(--t-100);
    color: var(--t-800);
}
.faq-icon {
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.3s;
    color: var(--text-light);
}
.faq-question:hover .faq-icon {
    color: var(--t-600);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--t-700);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-white);
}
.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

details.faq-item {
    display: block;
}
details.faq-item > summary.faq-question {
    list-style: none;
    user-select: none;
}
details.faq-item > summary.faq-question::-webkit-details-marker {
    display: none;
}
details.faq-item[open] > summary.faq-question {
    background: var(--t-100);
    color: var(--t-800);
}
details.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: var(--t-700);
}
details.faq-item[open] > .faq-answer {
    max-height: none !important;
    overflow: visible !important;
}
.faq-answer p {
    padding: 25px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: var(--fs-md);
}

.hero-section h1 a { color: inherit; text-decoration: none; }

.data-meta { text-align: center; margin-bottom: 30px; font-size: var(--fs-sm); color: var(--text-light); }
.data-meta .date-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--nrds-primary-lighter);
    color: var(--nrds-primary-dark);
    border-radius: 6px;
    font-weight: 600;
    margin-left: 6px;
}
.data-meta .stale-badge { background: #fef3c7; color: #92400e; }

.page-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0;
    line-height: 0;
}
.page-nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    font-size: var(--fs-base);
    line-height: 1;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.page-nav-links a:hover {
    color: var(--t-700);
    background: var(--t-50);
    border-color: var(--t-300);
    text-decoration: none;
}
.page-nav-links a:focus-visible {
    outline: 2px solid var(--t-400);
    outline-offset: 2px;
}

.toggle-group {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 30px;
    background: var(--bg-gray);
    padding: 6px;
    border-radius: 10px;
}
.toggle-btn {
    padding: 10px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px;
    font-size: var(--fs-sm);
    font-family: var(--font-sans);
}
.toggle-btn.active {
    background: var(--t-100);
    color: var(--t-800);
}
.toggle-btn:hover:not(.active) {
    color: var(--nrds-primary);
    background: var(--bg-white);
}

.no-data-msg {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.no-data-msg h2 { color: var(--text-secondary); margin-bottom: 10px; }
.no-data-msg p { color: var(--text-light); }

.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--nrds-primary) 0%, var(--nrds-primary-dark) 100%);
    color: white; border: none; border-radius: 50%; cursor: pointer;
    box-shadow: var(--shadow-md); z-index: 1000; font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, filter 0.15s ease;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s, filter 0.15s ease;
}
.back-to-top:hover {
    filter: brightness(1.08);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--t-700);
    outline-offset: 3px;
}

.cta-single {
    margin-top: 50px;
    text-align: center;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
}
.cta-single:hover {
    border-color: var(--nrds-primary);
    box-shadow: var(--shadow-lg);
}
.cta-single-line {
    font-size: var(--fs-base);
    color: var(--text-light);
    margin-bottom: 12px;
}
.cta-single-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.cta-single-desc {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: var(--fs-md);
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.cta-btn.primary {
    background: linear-gradient(135deg, var(--nrds-primary) 0%, var(--nrds-primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.cta-btn.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(10, 186, 181, 0.4);
}
.cta-btn.secondary {
    background: #ff7a59;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.cta-btn.secondary:hover {
    background: #e6693f;
    transform: scale(1.05);
}
.cta-btn .btn-arrow {
    font-size: var(--fs-h3);
    transition: transform 0.3s;
}
.cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.footer {
    background: #1a2020;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
    margin-top: 100px;
    border-top: 1px solid var(--border-light);
}
.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
    min-width: 0;
}
.footer-logo {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.footer-logo a {
    color: var(--t-300);
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-logo a:hover {
    color: var(--t-200);
}
.footer-tagline {
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    max-width: 280px;
}

.footer-col-title {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 14px 0;
}
.footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-col-list li {
    font-size: var(--fs-sm);
    line-height: 1.4;
}
.footer-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.footer-link:hover {
    color: var(--t-300);
}
.footer-link:focus-visible {
    outline: 2px solid var(--t-400);
    outline-offset: 2px;
    border-radius: 2px;
}
.footer-link svg {
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.footer-meta {
    padding-top: 24px;
    text-align: center;
}
.footer-affiliate-toggle {
    max-width: 900px;
    margin: 0 auto 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}
.footer-affiliate-toggle summary {
    padding: 10px 16px;
    cursor: pointer;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    list-style: none;
    user-select: none;
    position: relative;
}
.footer-affiliate-toggle summary::-webkit-details-marker { display: none; }
.footer-affiliate-toggle summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}
.footer-affiliate-toggle[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.footer-affiliate-toggle summary:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
}
.footer-affiliate-body {
    padding: 0 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-affiliate-body p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-xs);
    line-height: 1.6;
    margin: 12px 0 0;
}
.footer-affiliate-body strong {
    color: rgba(255, 255, 255, 0.85);
}
.footer-affiliate-body a {
    color: var(--t-300);
    text-decoration: none;
}
.footer-affiliate-body a:hover { text-decoration: underline; }
.footer-affiliate-body em {
    font-style: italic;
    opacity: 0.8;
}

.footer-methodology {
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--fs-2xs);
    margin-top: 14px;
    line-height: 1.5;
}
.footer-methodology p { margin: 0; }
.footer-methodology a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--fs-xs);
    margin-top: 12px;
}
.footer-copyright a {
    color: var(--t-300);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    opacity: 0.3;
}
.empty-icon svg {
    width: 48px;
    height: 48px;
}
.empty-text {
    font-size: var(--fs-md);
    margin-bottom: 10px;
}
.empty-subtext {
    font-size: var(--fs-base);
    color: var(--text-light);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--nrds-primary-lighter);
    border-top-color: var(--nrds-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-container { padding: 40px 20px; }
    .hero-eyebrow { font-size: var(--fs-xs); letter-spacing: 1.2px; }
    .hero-title { font-size: var(--fs-h2); }
    .hero-subtitle { font-size: var(--fs-md); }
    .search-input { padding: 20px 140px 20px 20px; font-size: var(--fs-md); }
    .search-btn { padding: 12px 24px; font-size: var(--fs-base); }
    .showcase-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-card { padding: 30px 20px; }
    .results-grid { grid-template-columns: 1fr; }
    .domain-name { font-size: var(--fs-base); }
    .stats-section { padding: 40px 20px; margin: 40px 0; }
    .faq-section { padding: 40px 20px; margin: 40px 0; }
    .section-title { font-size: var(--fs-h2); }
    .faq-question { padding: 15px 20px; font-size: var(--fs-base); }
    .faq-answer p { padding: 20px; font-size: var(--fs-base); }
    .cta-single { padding: 30px 20px; margin-top: 30px; }
    .cta-single-title { font-size: var(--fs-h3); }
    .cta-btn { padding: 14px 28px; font-size: var(--fs-md); }

    .nav-container { padding: 0 20px; }
    .nav-links { display: none; }
    .logo { border-right: none; padding-right: 0; margin-right: 0; }

    .footer { padding: 48px 0 20px; }
    .footer-content { padding: 0 20px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        padding-bottom: 28px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-affiliate-body p { font-size: var(--fs-2xs); }

    .data-stats-line { flex-direction: column; gap: 8px; font-size: var(--fs-sm); }
    .data-stats-line .separator { display: none; }
    .data-stats-line strong { font-size: var(--fs-md); display: block; margin-top: 5px; }
    .tld-filter { gap: 10px; margin-top: 12px; padding: 0 10px; }
    .tld-chip { font-size: var(--fs-sm); flex: 1; justify-content: center; padding: 8px 12px; }
}
