:root {
    /* Google-like Light Theme Variables */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-surface: #f8f9fa;

    --primary: #1a73e8;
    /* Google Blue */
    --primary-hover: #1557b0;

    --text-main: #202124;
    /* Google Dark Gray */
    --text-secondary: #5f6368;
    /* Google Medium Gray */
    --text-muted: #dadce0;

    --border-color: #dadce0;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Ad Slot */
    --ad-bg: #f8f9fa;
    --ad-border: #dadce0;

    /* Status Colors */
    --status-success: #1e8e3e;
    --status-error: #d93025;
    --status-warning: #f9ab00;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* Background Decoration for Glassmorphism */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(26, 115, 232, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 168, 83, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 1px 0 0 var(--border-color);
}

/* Cards */
.clean-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: none;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease;
}

.clean-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    border-color: #bdc1c6;
}

/* Buttons */
.btn-primary-google {
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-primary-google:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 1px 2px 0 rgba(66, 133, 244, 0.3), 0 1px 3px 1px rgba(66, 133, 244, 0.15);
}

/* Form Inputs */
.form-control-clean {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 24px;
    padding-left: 1.5rem;
}

.form-control-clean:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    color: var(--text-main);
}

.form-control-clean::placeholder {
    color: var(--text-secondary);
}

/* Progress Circle */
.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) var(--progress), #e8eaed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background 1s ease-in-out;
}

.progress-circle::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--bg-card);
}

.progress-value {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    z-index: 10;
}

/* Tabs */
.nav-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    background-color: rgba(26, 115, 232, 0.04);
}

.nav-tabs .nav-link.active {
    background: transparent;
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

/* Tables */
.table-clean th {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    background-color: #fff;
}

.table-clean td {
    border-bottom: 1px solid #f1f3f4;
    color: var(--text-main);
    vertical-align: middle;
}

/* Ad Slot Helpers */
.ad-slot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--ad-bg);
    border: 1px dashed var(--ad-border);
    border-radius: 4px;
    overflow: hidden;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* =========================================
   TOOLS PAGE SHOWCASE DESIGN
   ========================================= */

/* Hero Section */
.tools-hero {
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tools-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.05) 0%, transparent 70%);
    opacity: 0.8;
    z-index: -1;
}

.tools-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.tools-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tools-title span {
    background: linear-gradient(135deg, #1a73e8 0%, #a142f4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tools-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Tool Grid Cards */
.tool-card {
    display: block;
    height: 100%;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #f1f3f4;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 115, 232, 0.3);
}

/* Glassmorphism Effect on Hover */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon-box {
    transform: scale(1.1) rotate(-6deg);
}

.tool-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.tool-card:hover .tool-name {
    color: var(--primary);
}

.tool-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.tool-badge-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-arrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-arrow-icon {
    background: var(--primary);
    color: #fff;
    transform: translateX(4px);
}

/* Category Specific Styles */
/* Security */
.cat-security .tool-icon-box {
    background: #fce8e6;
    color: #d93025;
}

.cat-security .tool-badge-cat {
    color: #d93025;
}

/* SEO */
.cat-seo .tool-icon-box {
    background: #e8f0fe;
    color: #1967d2;
}

.cat-seo .tool-badge-cat {
    color: #1967d2;
}

/* Dev */
.cat-dev .tool-icon-box {
    background: #f3e8fd;
    color: #9334e6;
}

.cat-dev .tool-badge-cat {
    color: #9334e6;
}

/* Legal */
.cat-legal .tool-icon-box {
    background: #e6f4ea;
    color: #188038;
}

.cat-legal .tool-badge-cat {
    color: #188038;
}

/* Default */
.cat-default .tool-icon-box {
    background: #f1f3f4;
    color: #5f6368;
}

.cat-default .tool-badge-cat {
    color: #5f6368;
}

/* No Tools State */
.no-tools-state {
    text-align: center;
    padding: 4rem 1rem;
}

.no-tools-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* =========================================
   INDIVIDUAL TOOL STYLES
   ========================================= */

/* General Tool Hero */
.tool-hero-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 2rem;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.tool-hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, #e8f0fe 0%, #ffffff 100%);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px -5px rgba(26, 115, 232, 0.2);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* AdSense Checker Specifics (Legacy Class Mapped) */
.checker-hero {
    /* Mapped to general hero for consistency + specific overrides if needed */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 2rem;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px -15px rgba(26, 115, 232, 0.1);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.input-group-lg-premium {
    background: #fff;
    border-radius: 100px;
    padding: 0.75rem;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.input-group-lg-premium:focus-within {
    box-shadow: 0 20px 50px -10px rgba(26, 115, 232, 0.15);
    transform: translateY(-2px);
    border-color: rgba(26, 115, 232, 0.2);
}

.input-group-lg-premium input {
    border: none;
    box-shadow: none;
    font-size: 1.15rem;
    padding-left: 1.5rem;
    height: 3.5rem;
    background: transparent;
    font-weight: 500;
}

.input-group-lg-premium input:focus {
    box-shadow: none;
    background: transparent;
    outline: none;
}

.btn-scan {
    border-radius: 100px;
    padding: 0 3rem;
    height: 3.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-scan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 115, 232, 0.4);
    background: linear-gradient(135deg, #1967d2 0%, #0b3d91 100%);
}

.score-card {
    background: #0f172a;
    /* Slate 900 */
    color: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.score-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gauge-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.result-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #f1f3f4;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.stat-box {
    padding: 1.5rem;
    border-radius: 1rem;
    background: #f8f9fa;
    border: 1px solid #f1f3f4;
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Legal Generator Specifics */
.legal-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: 2rem;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.legal-form-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.paper-preview {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 20px 40px -10px rgba(0, 0, 0, 0.1);
    min-height: 600px;
    position: relative;
    border-radius: 4px;
    /* Sharp corners/slightly rounded for paper feel */
    padding: 3rem;
}

/* Fake paper stack effect */
.paper-preview::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: -4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    z-index: -1;
    border-radius: 4px;
}

.paper-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Meta Spyglass Specifics */
.spyglass-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border-radius: 2rem;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.spyglass-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.spyglass-hero::after {
    /* Abstract grid lines */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    z-index: 0;
}

.search-box-premium {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 0.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-box-premium:focus-within {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.search-box-premium input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    padding-left: 1.5rem;
    height: 4rem;
    font-weight: 500;
}

.search-box-premium input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box-premium input:focus {
    background: transparent;
    box-shadow: none;
    outline: none;
    color: white;
}

.btn-spy {
    border-radius: 100px;
    padding: 0 3.5rem;
    height: 4rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: #f59e0b;
    /* Amber 500 */
    color: #1e293b;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.2s;
}

.btn-spy:hover {
    background: #fbbf24;
    /* Amber 400 */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* Spyglass Result Cards */
.meta-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.meta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.meta-card-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-value-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #334155;
    word-break: break-all;
}

.serp-preview-card {
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 16px;
    font-family: arial, sans-serif;
    max-width: 600px;
}

.serp-title {
    color: #1a0dab;
    font-size: 20px;
    line-height: 1.3;
    cursor: pointer;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-url {
    color: #202124;
    font-size: 14px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.serp-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
    word-wrap: break-word;
}

/* Code block feeling for H-tags */
.tag-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tag-badge {
    background: #f59e0b;
    color: #1e293b;
    font-weight: bold;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    font-size: 0.75rem;
}
/* SSL Checker Specifics */
.ssl-hero {
    background: linear-gradient(135deg, #14532d 0%, #166534 100%); /* Green 900 / 800 */
    color: white;
    border-radius: 2rem;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 25px 50px -12px rgba(22, 101, 52, 0.25);
}

.ssl-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; width: 150%; height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ssl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 0;
}

.btn-ssl {
    border-radius: 100px;
    padding: 0 3.5rem;
    height: 4rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: #22c55e; /* Green 500 */
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    transition: all 0.2s;
}

.btn-ssl:hover {
    background: #16a34a; /* Green 600 */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

/* Honeypot Tool Specifics */
.honeypot-hero {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%); /* Red 900 / 800 */
    color: white;
    border-radius: 2rem;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 25px 50px -12px rgba(153, 27, 27, 0.25);
}

.honeypot-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; width: 150%; height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.honeypot-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Grid Pattern */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 0;
}

.btn-honeypot {
    border-radius: 100px;
    padding: 0 3.5rem;
    height: 4rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: #ef4444; /* Red 500 */
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.2s;
}

.btn-honeypot:hover {
    background: #dc2626; /* Red 600 */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
}

/* Robots Builder Tool Specifics */
.robots-hero {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); /* Blue 600 / 700 */
    color: white;
    border-radius: 2rem;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 25px 50px -12px rgba(3, 105, 161, 0.25);
}

.robots-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; width: 150%; height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.robots-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Grid Pattern */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 0;
}


/* Secrets Scanner Tool Specifics */
.secrets-hero {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%); /* Zinc 900 / 800 */
    color: white;
    border-radius: 2rem;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.secrets-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; width: 150%; height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.secrets-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Matrix Grid Pattern - Red Hint */
    background-image: linear-gradient(rgba(220, 38, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 0;
}

.btn-secrets {
    border-radius: 100px;
    padding: 0 3.5rem;
    height: 4rem;
    font-weight: 700;
    font-size: 1.1rem;
    background: #dc2626; /* Red 600 */
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: all 0.2s;
}

.btn-secrets:hover {
    background: #b91c1c; /* Red 700 */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}


/* =========================================
   PAGESPEED / ACCESSIBILITY FIXES (auto-added by speed-fix.php)
   ========================================= */

/* Skip to content link — keyboard accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    z-index: 99999;
    background: #1a73e8;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 0 0 6px 0;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}

/* Fix: Contrast ratio for muted text — was #dadce0 (fail), now #5f6368 (4.7:1 pass) */
:root {
    --text-muted: #5f6368; /* bumped from #dadce0 for WCAG AA contrast */
}

/* Font display: swap for any local @font-face declarations */
@font-face {
    font-display: swap;
}

/* Prevent layout shift for logo / top images */
img[fetchpriority="high"] {
    content-visibility: auto;
}


/* =========================================
   PAGESPEED FIX v2 — Accessibility & Performance
   ========================================= */

/* Prevent Flash Of Unstyled Content (FOUC) during async CSS load */
body { visibility: visible; }

/* Skip link — keyboard accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 6px;
    z-index: 99999;
    background: #1a73e8;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 0 0 6px 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: top 0.15s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.skip-link:focus { top: 0; outline: 3px solid #ffd700; outline-offset: 2px; }

/* WCAG AA Contrast fixes */
/* --text-muted was #dadce0 (fail ~1.2:1) → #5f6368 (pass 4.7:1) */
:root { --text-muted: #5f6368 !important; }
.text-muted, .text-secondary { color: #5f6368 !important; }
small.text-muted { color: #5f6368 !important; }

/* Font display: swap (stops invisible text during font load) */
@font-face { font-display: swap; }

/* Prevent CLS for inline inline images */
img { height: auto; }
img[width][height] { aspect-ratio: attr(width) / attr(height); }
