/* ========================================
   SEO Pages - Programmatic Content Styles
   Editorial/Magazine-inspired aesthetic
   ======================================== */

/* Page Hero - Editorial Impact */
.seo-page .page-hero {
    text-align: center;
    padding: 48px 0 40px;
    position: relative;
}

.seo-page .page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.seo-page .page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-wrap: balance;
}

.seo-page .page-hero .lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Navigation - Refined */
.seo-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-page .back-link::before {
    content: none;
}

.seo-page .back-link svg {
    transition: transform 0.25s ease;
}

.seo-page .back-link:hover {
    color: var(--accent);
}

.seo-page .back-link:hover svg {
    transform: translateX(-4px);
}

/* Breadcrumbs - Minimal */
.breadcrumbs {
    margin-top: 12px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 6px;
    color: var(--text-faint);
    opacity: 0.5;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs li[aria-current="page"] {
    color: var(--text-secondary);
}

/* Summary Box - Editorial Callout */
.summary-box {
    position: relative;
    background: linear-gradient(135deg,
        rgba(20, 184, 166, 0.06) 0%,
        rgba(20, 184, 166, 0.02) 50%,
        transparent 100%);
    border: none;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px 28px 24px 24px;
    margin-bottom: 48px;
}

.summary-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-elevated);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    z-index: -1;
}

.summary-label {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-deep);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    border-radius: 4px;
    position: absolute;
    top: -12px;
    left: 24px;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25);
}

.summary-box p {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
}

/* Key Facts Box - Scannable Data */
.key-facts-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 56px;
    position: relative;
    overflow: hidden;
}

.key-facts-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 70%);
    pointer-events: none;
}

.key-facts-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.key-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.key-facts-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.key-facts-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    transform: rotate(45deg);
    opacity: 0.8;
}

/* Content Links - Consistent teal styling */
.seo-article a:not(.back-link):not(.cta-button):not(.related-link):not(.breadcrumbs a):not(.author-link):not(.index-card) {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-article a:not(.back-link):not(.cta-button):not(.related-link):not(.breadcrumbs a):not(.author-link):not(.index-card):hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Blog section links */
.blog-section a,
.blog-intro a,
.faq-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-section a:hover,
.blog-intro a:hover,
.faq-item a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Main Content Section - Editorial Typography */
.main-content {
    margin-bottom: 56px;
}

.main-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    margin-top: 48px;
    line-height: 1.25;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 14px;
}

.main-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 18px;
}

.main-content p:last-child {
    margin-bottom: 0;
}

.main-content ul,
.main-content ol {
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-left: 0;
    list-style: none;
}

.main-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.75;
}

.main-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.7;
}

.main-content ol {
    counter-reset: list-counter;
}

.main-content ol li {
    counter-increment: list-counter;
}

.main-content ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

.main-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Example Patterns Section - Showcase Grid */
.examples-section {
    margin-bottom: 56px;
}

.examples-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.example-patterns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.pattern-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: default;
}

.pattern-card:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-surface), rgba(20, 184, 166, 0.04));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pattern-card code {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pattern-card:hover code {
    color: var(--accent);
}

/* TLD Recommendations - Pill Tags */
.tld-recommendations {
    margin-bottom: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.tld-recommendations h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.tld-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tld-chip {
    display: inline-flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 500;
}

.tld-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: linear-gradient(135deg, var(--bg-surface), var(--accent-muted));
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
    transform: translateY(-1px);
}

/* Comparison Tables - Clean Data Display */
.comparison-section {
    margin-bottom: 56px;
}

.comparison-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
    border-radius: var(--radius-md);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background: var(--bg-surface);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table td {
    color: var(--text-secondary);
    transition: background 0.15s ease;
}

.comparison-table tbody tr:hover td {
    background: var(--bg-hover);
}

.comparison-table .highlighted-row td {
    background: linear-gradient(90deg, var(--accent-muted), rgba(20, 184, 166, 0.08));
    border-left: 3px solid var(--accent);
}

.comparison-table .highlighted-row td:first-child {
    padding-left: 17px;
}

.comparison-table td strong {
    color: var(--text-primary);
}

/* Comparison Hero (for /compare pages) */
.comparison-hero {
    margin-top: 24px;
}

/* Choose Grid (for comparison pages) */
.choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 640px) {
    .choose-grid {
        grid-template-columns: 1fr;
    }
}

.choose-section {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.choose-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.choose-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Verdict Box */
.verdict-section {
    margin-bottom: 48px;
}

.verdict-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.verdict-box {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.verdict-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Do's and Don'ts */
.dos-donts-section {
    margin-bottom: 48px;
}

.dos-donts-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.dos-donts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .dos-donts-grid {
        grid-template-columns: 1fr;
    }
}

.dos-column,
.donts-column {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 20px;
}

.dos-column {
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.donts-column {
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.dos-column h3,
.donts-column h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.dos-column h3 {
    color: var(--success);
}

.donts-column h3 {
    color: var(--error);
}

.dos-list,
.donts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dos-list li,
.donts-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.dos-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.donts-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: bold;
}

/* FAQ Section - Structured Q&A */
.faq-section {
    margin-bottom: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.faq-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.faq-item {
    margin-bottom: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-of-type {
    padding-top: 0;
}

.faq-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Section - Premium Conversion Block */
.cta-section {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    margin-bottom: 56px;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(20, 184, 166, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(20, 184, 166, 0.06), transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-section p {
    position: relative;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 28px;
    line-height: 1.7;
    font-size: 1rem;
}

.cta-button {
    position: relative;
    display: inline-block;
    background: var(--accent);
    color: var(--bg-deep);
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.25);
}

.cta-button:hover {
    background: var(--accent-light);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.35);
    transform: translateY(-3px);
}

/* Article Footer - Minimal Attribution */
.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-subtle);
}

.author-attribution {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.author-link {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.author-link:hover {
    color: var(--accent);
}

.article-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Related Section - Navigation Cards */
.related-section {
    margin-bottom: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.related-section h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.25s ease;
}

.related-link:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-elevated), rgba(20, 184, 166, 0.04));
    transform: translateX(4px);
}

.related-link::after {
    content: '→';
    margin-left: auto;
    color: var(--text-muted);
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateX(-8px);
}

.related-link:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

.related-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.related-text strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.related-link:hover .related-text strong {
    color: var(--accent);
}

.related-text span {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Blog-specific styles */
.blog-hero {
    margin-bottom: 40px;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-meta a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-meta a:hover {
    color: var(--accent-light);
}

.blog-author,
.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.blog-section {
    margin-bottom: 40px;
}

.blog-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.blog-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Takeaways Section */
.takeaways-section {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 48px;
}

.takeaways-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.takeaways-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.takeaways-list li:last-child {
    margin-bottom: 0;
}

.takeaways-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Best For Section */
.best-for-section,
.pricing-section {
    margin-bottom: 40px;
}

.best-for-section h2,
.pricing-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.best-for-section p,
.pricing-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Best For / Pricing Sections - Improved */
.best-for-section,
.pricing-section {
    margin-bottom: 48px;
}

.best-for-section h2,
.pricing-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.best-for-section p,
.pricing-section p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1rem;
}

.best-for-section strong,
.pricing-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .seo-page .page-hero {
        padding: 32px 0 28px;
    }

    .seo-page .page-hero h1 {
        font-size: 1.75rem;
    }

    .summary-box {
        padding: 20px 20px 20px 20px;
        margin-bottom: 36px;
    }

    .summary-label {
        left: 20px;
    }

    .key-facts-box {
        padding: 22px 20px;
        margin-bottom: 40px;
    }

    .example-patterns {
        grid-template-columns: 1fr 1fr;
    }

    .comparison-table {
        font-size: 0.82rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
    }

    .cta-section {
        padding: 36px 24px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 14px 28px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .related-links {
        grid-template-columns: 1fr;
    }

    .related-link:hover {
        transform: none;
    }
}

/* ========================================
   Index Pages - Category Listing Styles
   ======================================== */

/* Index Grid */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.index-card {
    display: block;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.index-card:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.index-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.index-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.index-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.index-card-author {
    font-weight: 500;
    color: var(--text-secondary);
}

.index-card-meta time {
    color: var(--text-muted);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-elevated);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .index-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .index-card {
        padding: 20px;
    }
}

/* ========================================
   Resources Hub Page
   ======================================== */

/* Resources Hero - Slightly larger */
.resources-hero {
    padding-bottom: 48px;
}

.resources-hero h1 {
    font-size: clamp(2.25rem, 6vw, 3rem);
}

/* Resources Grid */
.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
}

/* Resource Card - Horizontal Layout */
.resource-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.resource-card:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(20, 184, 166, 0.04) 100%);
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.resource-card:hover::before {
    opacity: 1;
}

/* Resource Card Icon */
.resource-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.resource-card:hover .resource-card__icon {
    background: var(--accent-muted);
    border-color: var(--accent);
}

/* Resource Card Content */
.resource-card__content {
    min-width: 0;
}

.resource-card__content h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.resource-card:hover .resource-card__content h2 {
    color: var(--accent);
}

.resource-card__content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Resource Card Arrow */
.resource-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.resource-card:hover .resource-card__arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent);
}

/* Resource Card Variants - Subtle accent colors */
.resource-card--industry .resource-card__icon {
    color: #14b8a6; /* teal */
}

.resource-card--tld .resource-card__icon {
    color: #8b5cf6; /* purple */
}

.resource-card--ideas .resource-card__icon {
    color: #f59e0b; /* amber */
}

.resource-card--compare .resource-card__icon {
    color: #3b82f6; /* blue */
}

.resource-card--blog .resource-card__icon {
    color: #ec4899; /* pink */
}

/* Variant hover states */
.resource-card--industry:hover .resource-card__icon {
    background: rgba(20, 184, 166, 0.15);
    border-color: #14b8a6;
}

.resource-card--tld:hover .resource-card__icon {
    background: rgba(139, 92, 246, 0.15);
    border-color: #8b5cf6;
}

.resource-card--ideas:hover .resource-card__icon {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
}

.resource-card--compare:hover .resource-card__icon {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.resource-card--blog:hover .resource-card__icon {
    background: rgba(236, 72, 153, 0.15);
    border-color: #ec4899;
}

/* Title color variants on hover */
.resource-card--tld:hover .resource-card__content h2 {
    color: #8b5cf6;
}

.resource-card--ideas:hover .resource-card__content h2 {
    color: #f59e0b;
}

.resource-card--compare:hover .resource-card__content h2 {
    color: #3b82f6;
}

.resource-card--blog:hover .resource-card__content h2 {
    color: #ec4899;
}

/* Arrow color variants */
.resource-card--tld:hover .resource-card__arrow {
    color: #8b5cf6;
}

.resource-card--ideas:hover .resource-card__arrow {
    color: #f59e0b;
}

.resource-card--compare:hover .resource-card__arrow {
    color: #3b82f6;
}

.resource-card--blog:hover .resource-card__arrow {
    color: #ec4899;
}

/* Border accent on hover */
.resource-card--tld:hover {
    border-color: #8b5cf6;
}

.resource-card--ideas:hover {
    border-color: #f59e0b;
}

.resource-card--compare:hover {
    border-color: #3b82f6;
}

.resource-card--blog:hover {
    border-color: #ec4899;
}

/* Left bar color variants */
.resource-card--tld::before {
    background: #8b5cf6;
}

.resource-card--ideas::before {
    background: #f59e0b;
}

.resource-card--compare::before {
    background: #3b82f6;
}

.resource-card--blog::before {
    background: #ec4899;
}

/* Resources Page Responsive */
@media (max-width: 768px) {
    .resource-card {
        grid-template-columns: auto 1fr;
        padding: 24px;
        gap: 20px;
    }

    .resource-card__arrow {
        display: none;
    }

    .resource-card__icon {
        width: 48px;
        height: 48px;
    }

    .resource-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .resource-card__content h2 {
        font-size: 1.1rem;
    }

    .resource-card__content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .resource-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }

    .resource-card__icon {
        margin: 0 auto;
    }

    .resource-card:hover {
        transform: translateY(-2px);
    }
}

/* ========================================
   Citations Section
   ======================================== */

.citations-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.citations-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.citations-list {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    margin: 0;
}

.citations-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.citations-list li:last-child {
    margin-bottom: 0;
}

.citations-list a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.citations-list a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Superscript citation links */
sup a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

sup a:hover {
    color: var(--accent-light);
}
