/**
 * Hooks Tech - Advanced Free SEO Toolkit
 * Stylesheet: /free-seo-tools/assets/css/seo-tools.css
 * Built for 100% client-side, cPanel-compatible hosting.
 */

:root {
    --seo-primary: #FF6D00;
    --seo-primary-hover: #E65100;
    --seo-primary-soft: #FFF4EC;
    --seo-primary-border: #FFD8BE;
    
    --seo-blue-bg: #F0F8FF;
    --seo-blue-border: #BAE6FD;
    --seo-blue-accent: #0284C7;
    
    --seo-purple-bg: #F6F0FF;
    --seo-purple-border: #DDD6FE;
    --seo-purple-accent: #7C3AED;
    
    --seo-green-bg: #F0FBF4;
    --seo-green-border: #BBF7D0;
    --seo-green-accent: #10B981;
    
    --seo-rose-bg: #FFF0F5;
    --seo-rose-border: #FECDD3;
    --seo-rose-accent: #E11D48;
    
    --seo-dark: #1E293B;
    --seo-gray-600: #475569;
    --seo-gray-500: #64748B;
    --seo-gray-400: #94A3B8;
    --seo-gray-100: #F1F5F9;
    --seo-gray-50: #F8FAFC;
    
    --seo-card-radius: 20px;
    --seo-box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
    --seo-card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 109, 0, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.seo-toolkit-hero {
    background: linear-gradient(135deg, #FFFDFC 0%, #FFF5ED 50%, #FFF0E6 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.seo-toolkit-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 109, 0, 0.12) 0%, rgba(255, 109, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.seo-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFE8D6;
    color: #D84315;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(255, 109, 0, 0.1);
}

.seo-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--seo-dark);
    margin-bottom: 1.25rem;
    font-family: 'Poppins', sans-serif;
}

.seo-hero-title .text-orange-gradient {
    background: linear-gradient(135deg, #FF6D00 0%, #FF8C33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--seo-gray-600);
    max-width: 620px;
    margin-bottom: 1.75rem;
}

/* Benefit Badges */
.seo-benefit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.seo-benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--seo-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.seo-benefit-pill i.text-success {
    color: #10B981 !important;
}

.seo-benefit-pill i.text-warning {
    color: #F59E0B !important;
}

.seo-benefit-pill i.text-primary {
    color: var(--seo-primary) !important;
}

/* Hero Right Floating Illustration */
.seo-hero-illustration {
    position: relative;
    padding: 20px;
}

.seo-floating-search-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    border: 1px solid #F1F5F9;
}

.mock-search-bar {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
}

.mock-search-bar img {
    height: 24px;
}

.mock-search-bar span {
    font-size: 0.95rem;
    color: #334155;
    flex-grow: 1;
}

.mock-snippet-card {
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    padding: 16px;
}

.mock-snippet-url {
    font-size: 0.8rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.mock-snippet-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A0DAB;
    margin-bottom: 6px;
    text-decoration: underline;
}

.mock-rank-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    z-index: 3;
}

.mock-growth-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #10B981;
    font-size: 2.5rem;
}

/* ==========================================================================
   Tool Selection Ribbon (5 Cards)
   ========================================================================== */
.seo-tools-ribbon-section {
    padding: 20px 0 40px;
    background: transparent;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.tools-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.tool-select-card {
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tool-select-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
}

.tool-select-card.active {
    box-shadow: 0 12px 28px -6px rgba(255, 109, 0, 0.25), 0 0 0 2px var(--seo-primary);
}

.tool-select-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.tool-select-card .card-text {
    flex-grow: 1;
    min-width: 0;
}

.tool-select-card .tool-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--seo-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-select-card .tool-desc {
    font-size: 0.78rem;
    color: var(--seo-gray-600);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-select-card .card-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.tool-select-card:hover .card-arrow {
    transform: translateX(3px);
}

/* Card 1: Meta Previewer (Orange) */
.card-theme-orange {
    background: var(--seo-primary-soft);
    border: 1.5px solid var(--seo-primary-border);
}
.card-theme-orange .icon-box {
    background: #FF6D00;
    color: #FFFFFF;
}
.card-theme-orange .card-arrow {
    background: rgba(255, 109, 0, 0.15);
    color: #FF6D00;
}
.card-theme-orange.active .card-arrow {
    background: #FF6D00;
    color: #FFFFFF;
}

/* Card 2: Slug Generator (Blue) */
.card-theme-blue {
    background: var(--seo-blue-bg);
    border: 1.5px solid var(--seo-blue-border);
}
.card-theme-blue .icon-box {
    background: #0284C7;
    color: #FFFFFF;
}
.card-theme-blue .card-arrow {
    background: rgba(2, 132, 199, 0.15);
    color: #0284C7;
}

/* Card 3: Schema Generator (Purple) */
.card-theme-purple {
    background: var(--seo-purple-bg);
    border: 1.5px solid var(--seo-purple-border);
}
.card-theme-purple .icon-box {
    background: #7C3AED;
    color: #FFFFFF;
}
.card-theme-purple .card-arrow {
    background: rgba(124, 58, 237, 0.15);
    color: #7C3AED;
}

/* Card 4: Schema Validator (Green) */
.card-theme-green {
    background: var(--seo-green-bg);
    border: 1.5px solid var(--seo-green-border);
}
.card-theme-green .icon-box {
    background: #10B981;
    color: #FFFFFF;
}
.card-theme-green .card-arrow {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

/* Card 5: SERP Simulator (Rose) */
.card-theme-rose {
    background: var(--seo-rose-bg);
    border: 1.5px solid var(--seo-rose-border);
}
.card-theme-rose .icon-box {
    background: #E11D48;
    color: #FFFFFF;
}
.card-theme-rose .card-arrow {
    background: rgba(225, 29, 72, 0.15);
    color: #E11D48;
}

/* ==========================================================================
   Tool Workspace Container
   ========================================================================== */
.seo-workspace-card {
    background: #FFFFFF;
    border-radius: var(--seo-card-radius);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 32px;
    margin-bottom: 50px;
    border: 1px solid #F1F5F9;
}

.workspace-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.workspace-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.workspace-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    background: var(--seo-primary);
    box-shadow: 0 4px 14px rgba(255, 109, 0, 0.25);
}

.workspace-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--seo-dark);
    margin-bottom: 2px;
    font-family: 'Poppins', sans-serif;
}

.workspace-subtitle {
    font-size: 0.92rem;
    color: var(--seo-gray-500);
    margin-bottom: 0;
}

.btn-how-to-use {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF4EC;
    color: #C2410C;
    border: 1px solid #FFD8BE;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-how-to-use:hover {
    background: #FFE8D6;
    color: #9A3412;
}

/* ==========================================================================
   Step Workflow Tracker
   ========================================================================== */
.seo-step-tracker {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 12px;
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    margin-bottom: 24px;
}

.step-node {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: #E2E8F0;
    color: var(--seo-gray-600);
    transition: all 0.2s ease;
}

.step-node.active .step-circle {
    background: var(--seo-primary);
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.2);
}

.step-node.completed .step-circle {
    background: #10B981;
    color: #FFFFFF;
}

.step-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--seo-dark);
}

.step-node:not(.active) .step-text {
    color: var(--seo-gray-500);
    font-weight: 600;
}

/* ==========================================================================
   Form Controls, Badges & Meters
   ========================================================================== */
.form-group-custom {
    margin-bottom: 20px;
}

.form-label-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.form-label-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--seo-dark);
}

.char-counter-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #F1F5F9;
    color: var(--seo-gray-600);
}

.char-counter-badge.good {
    background: #DCFCE7;
    color: #166534;
}

.char-counter-badge.warning {
    background: #FEF3C7;
    color: #92400E;
}

.char-counter-badge.danger {
    background: #FEE2E2;
    color: #991B1B;
}

.seo-meter-bar {
    height: 4px;
    border-radius: 4px;
    background: #E2E8F0;
    margin-top: 6px;
    overflow: hidden;
}

.seo-meter-fill {
    height: 100%;
    width: 0%;
    transition: width 0.25s ease, background-color 0.25s ease;
    background: #10B981;
}

.seo-meter-fill.warning {
    background: #F59E0B;
}

.seo-meter-fill.danger {
    background: #EF4444;
}

.input-custom {
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--seo-dark);
    transition: all 0.2s ease;
}

.input-custom:focus {
    border-color: var(--seo-primary);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.15);
    outline: none;
}

.input-addon-group {
    display: flex;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
}

.input-addon-group:focus-within {
    border-color: var(--seo-primary);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.15);
}

.input-addon-prefix {
    background: #F8FAFC;
    color: var(--seo-gray-500);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    border-right: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
}

.input-addon-group input {
    border: none !important;
    box-shadow: none !important;
    padding: 10px 14px;
    font-size: 0.95rem;
    width: 100%;
}

/* Action Button Toolbar */
.seo-action-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-seo-primary {
    background: var(--seo-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 22px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
}

.btn-seo-primary:hover {
    background: var(--seo-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 109, 0, 0.35);
}

.btn-seo-secondary {
    background: #FFFFFF;
    color: var(--seo-dark) !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 16px;
    border: 1.5px solid #E2E8F0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-seo-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* ==========================================================================
   Preview Tabs & Google SERP Card
   ========================================================================== */
.preview-mode-switch {
    display: flex;
    background: #F1F5F9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
}

.preview-switch-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--seo-gray-600);
    transition: all 0.2s ease;
}

.preview-switch-btn.active {
    background: var(--seo-primary);
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(255, 109, 0, 0.2);
}

.google-serp-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    transition: max-width 0.3s ease;
}

.google-serp-box.mobile-mode {
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #CBD5E1;
    border-radius: 24px;
    padding: 20px 16px;
}

.google-search-bar-mock {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #DFE1E5;
    border-radius: 24px;
    padding: 8px 16px;
    margin-bottom: 20px;
    background: #FFFFFF;
}

.google-search-bar-mock img {
    height: 22px;
}

.google-search-bar-mock .query-text {
    font-size: 0.9rem;
    color: #202124;
    flex-grow: 1;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.serp-snippet-wrapper {
    font-family: Arial, sans-serif;
}

.serp-favicon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.serp-favicon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background: #FFF;
    border: 1px solid #E5E7EB;
}

.serp-site-name {
    font-size: 0.85rem;
    color: #202124;
    font-weight: 500;
}

.serp-breadcrumb {
    font-size: 0.8rem;
    color: #4D5156;
}

.serp-title-link {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 400;
    color: #1A0DAB;
    margin-bottom: 6px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    word-wrap: break-word;
}

.serp-title-link:hover {
    text-decoration: underline;
}

.serp-desc-text {
    font-size: 0.875rem;
    line-height: 1.58;
    color: #4D5156;
    margin-bottom: 0;
    word-wrap: break-word;
}

/* ==========================================================================
   SEO Suggestions & Circular Score Meter
   ========================================================================== */
.seo-suggestions-card {
    background: var(--seo-green-bg);
    border: 1px solid var(--seo-green-border);
    border-radius: 16px;
    padding: 22px;
}

.suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.suggestions-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.suggestions-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #1F2937;
    line-height: 1.45;
}

.suggestions-list li i.fa-check-circle {
    color: #10B981;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.suggestions-list li i.fa-exclamation-triangle {
    color: #F59E0B;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.suggestions-list li i.fa-times-circle {
    color: #EF4444;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* SVG Circular Gauge */
.score-gauge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-gauge-circle {
    position: relative;
    width: 90px;
    height: 90px;
}

.score-gauge-circle svg {
    transform: rotate(-90deg);
}

.score-gauge-circle .gauge-bg {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 7;
}

.score-gauge-circle .gauge-fill {
    fill: none;
    stroke: #10B981;
    stroke-width: 7;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease, stroke 0.4s ease;
}

.score-gauge-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.35rem;
    font-weight: 800;
    color: #065F46;
}

.score-pill-tag {
    background: #10B981;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Code Output Panels (Schema Generator & Validator)
   ========================================================================== */
.code-output-panel {
    background: #0F172A;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.code-header-bar {
    background: #1E293B;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.code-header-title {
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.code-editor-pre {
    padding: 16px;
    margin: 0;
    color: #E2E8F0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
    line-height: 1.6;
    overflow-x: auto;
    max-height: 480px;
}

/* ==========================================================================
   Schema Markup Generator - UI/UX Grid & Rich Result Preview
   ========================================================================== */

/* Schema Type Selection Grid & Search Toolbar */
.schema-selector-section {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.schema-search-box {
    position: relative;
    min-width: 260px;
    max-width: 360px;
    flex-grow: 1;
}

.schema-search-box input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    font-size: 0.86rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 20px;
    background: #F8FAFC;
    color: #1E293B;
    outline: none;
    transition: all 0.2s ease;
}

.schema-search-box input:focus {
    background: #FFFFFF;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.schema-search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.82rem;
    pointer-events: none;
}

/* Category Filter Pills */
.schema-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.schema-cat-pill {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.schema-cat-pill:hover {
    background: #F1F5F9;
    color: #0E1B31;
    border-color: #CBD5E1;
}

.schema-cat-pill.active {
    background: #7C3AED;
    color: #FFFFFF;
    border-color: #7C3AED;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.schema-cat-pill.active i {
    color: #FFFFFF !important;
}

/* Schema Type Cards Grid */
.schema-type-grid,
.schema-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 14px;
    margin-bottom: 0;
}

.schema-type-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.schema-type-card:hover {
    transform: translateY(-3px);
    border-color: #A78BFA;
    box-shadow: 0 10px 24px -4px rgba(124, 58, 237, 0.12);
}

.schema-type-card.active {
    background: #FAF5FF;
    border-color: #7C3AED;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25), 0 8px 20px -4px rgba(124, 58, 237, 0.15);
}

.schema-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.schema-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.schema-card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: #F1F5F9;
    color: #64748B;
}

.schema-type-card.active .schema-card-badge {
    background: #EDE9FE;
    color: #7C3AED;
}

.schema-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0E1B31;
    margin-bottom: 4px;
    line-height: 1.3;
}

.schema-card-desc {
    font-size: 0.76rem;
    color: #64748B;
    line-height: 1.4;
    margin-bottom: 12px;
}

.schema-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #E2E8F0;
    padding-top: 8px;
    margin-top: auto;
}

.schema-card-type-id {
    font-size: 0.7rem;
    font-family: monospace;
    color: #94A3B8;
}

.schema-card-status {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.schema-type-card.active .schema-card-status {
    color: #7C3AED;
}

/* ==========================================================================
   Google Rich Result SERP Preview Simulator
   ========================================================================== */
.rich-snippet-result-wrap {
    font-family: Arial, sans-serif;
    text-align: left;
}

.rich-snippet-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.rich-snippet-meta .brand-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FF6D00;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rich-snippet-meta .meta-site {
    font-size: 0.85rem;
    font-weight: 600;
    color: #202124;
}

.rich-snippet-meta .meta-url {
    font-size: 0.75rem;
    color: #4D5156;
}

.rich-snippet-title {
    font-size: 1.25rem;
    line-height: 1.35;
    color: #1A0DAB !important;
    font-weight: 400;
    margin-bottom: 6px;
    display: block;
    text-decoration: none;
    word-wrap: break-word;
}

.rich-snippet-title:hover {
    text-decoration: underline !important;
}

/* Star Ratings Row */
.rich-rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: #4D5156;
}

.rich-rating-stars {
    color: #E37400;
    letter-spacing: 1px;
    font-size: 0.82rem;
}

.rich-snippet-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #4D5156;
    margin-bottom: 10px;
}

/* Local Business Details Card */
.rich-biz-details {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #334155;
}

.rich-biz-details-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.rich-biz-details-row:last-child {
    margin-bottom: 0;
}

.rich-action-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-rich-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #DFE1E5;
    border-radius: 18px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1A73E8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-rich-action:hover {
    background: #F1F3F4;
    color: #1558D6;
}

/* FAQ Accordion in Google SERP */
.rich-faq-list {
    margin-top: 10px;
    border-top: 1px solid #EBEBEB;
    padding-top: 8px;
}

.rich-faq-item {
    border-bottom: 1px solid #F1F3F4;
    padding: 8px 0;
}

.rich-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #202124;
    font-weight: 500;
    cursor: pointer;
}

.rich-faq-q:hover {
    color: #1A0DAB;
}

.rich-faq-a {
    font-size: 0.82rem;
    color: #4D5156;
    line-height: 1.45;
    padding: 6px 0 2px;
    display: none;
}

.rich-faq-item.open .rich-faq-a {
    display: block;
}

.rich-faq-item.open .rich-faq-q i {
    transform: rotate(180deg);
}

/* Article Byline & Thumbnail */
.rich-article-flex {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.rich-article-content {
    flex: 1;
}

.rich-biz-thumb-img,
.rich-product-thumb-img,
.rich-event-thumb-img,
.rich-article-thumb {
    width: 95px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    background: #F1F5F9;
    flex-shrink: 0;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.rich-snippet-media-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.rich-thumb-caption {
    font-size: 0.65rem;
    color: #64748B;
    font-weight: 600;
}

.rich-org-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 4px;
    flex-shrink: 0;
}

.rich-author-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #7C3AED;
    flex-shrink: 0;
}

.brand-badge-lg {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FF6D00;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Live Image Preview Field in Form */
.image-field-preview-wrap {
    transition: all 0.25s ease;
}

.image-live-preview-box {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.image-live-preview-box.is-valid {
    border-color: #10B981;
    background: #F0FDF4;
}

.image-live-preview-box.is-invalid {
    border-color: #EF4444;
    background: #FEF2F2;
}

.rich-article-byline {
    font-size: 0.76rem;
    color: #70757A;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Product Details Row */
.rich-product-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.rich-badge-instock {
    background: #DEF7EC;
    color: #03543F;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.rich-badge-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #202124;
}

/* Breadcrumbs Trail */
.rich-breadcrumb-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4D5156;
    margin-bottom: 8px;
}

.rich-breadcrumb-pills span.crumb {
    color: #1A73E8;
    font-weight: 500;
}

/* ==========================================================================
   Help & Guidance Accordions
   ========================================================================== */
.seo-guidance-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.seo-accordion .accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.seo-accordion .accordion-button {
    font-weight: 700;
    color: var(--seo-dark);
    padding: 18px 20px;
    background: #FFFFFF;
    box-shadow: none !important;
}

.seo-accordion .accordion-button:not(.collapsed) {
    background: #FFF4EC;
    color: #C2410C;
}

.seo-accordion .accordion-body {
    padding: 20px;
    color: var(--seo-gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.seo-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
}

.seo-toast {
    background: #1E293B;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: toastSlideUp 0.3s ease forwards;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
    .tools-ribbon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .seo-hero-title {
        font-size: 2.2rem;
    }
    .tools-ribbon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .seo-workspace-card {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .seo-toolkit-hero {
        padding: 110px 0 40px;
    }
    .seo-hero-title {
        font-size: 1.85rem;
    }
    .tools-ribbon-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .tool-select-card {
        min-width: 250px;
        scroll-snap-align: start;
    }
    .workspace-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .seo-action-toolbar {
        flex-direction: column;
        width: 100%;
    }
    .seo-action-toolbar .btn {
        width: 100%;
        justify-content: center;
    }
    .schema-search-box {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
    }
    .schema-type-grid {
        grid-template-columns: 1fr;
    }
    .schema-cat-pills {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }
}



/* ==========================================================================
   UI ENHANCEMENTS & ALIASES (Matching Mockup Reference Exactly)
   ========================================================================== */

/* Step Sidebar on Left of Form */
.seo-step-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 6px;
    min-width: 140px;
    flex-shrink: 0;
}
.seo-step-sidebar .step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.seo-step-sidebar .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #E2E8F0;
    transition: all 0.2s ease;
}
.seo-step-sidebar .step-item.active .step-num {
    background: #FF6D00;
    color: #FFFFFF;
    border-color: #FF6D00;
    box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.2);
}
.seo-step-sidebar .step-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #64748B;
    line-height: 1.25;
}
.seo-step-sidebar .step-item.active .step-name {
    color: #0E1B31;
}
.seo-step-sidebar .step-line {
    width: 2px;
    height: 52px;
    background: #E2E8F0;
    margin: 4px 0 4px 15px;
}

/* Horizontal Step Tracker Fallback */
.seo-step-tracker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 24px;
    gap: 12px;
}
.step-node {
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-node.active .step-circle {
    background: #FF6D00;
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.2);
}
.step-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
}
.step-node.active .step-text {
    color: #0E1B31;
}

/* Preview Switcher Bar (aliases) */
.preview-mode-switch,
.preview-mode-header,
.mode-btn-group {
    display: flex;
    background: #F1F5F9;
    border-radius: 12px;
    padding: 4px;
    gap: 6px;
    margin-bottom: 20px;
    width: 100%;
}
.preview-switch-btn,
.mode-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    border: none !important;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.preview-switch-btn:hover,
.mode-tab-btn:hover {
    color: #0E1B31;
    background: rgba(255, 255, 255, 0.6);
}
.preview-switch-btn.active,
.mode-tab-btn.active {
    background: #FF6D00 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
}

/* Google SERP Box (aliases) */
.google-serp-box,
.google-serp-container {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    transition: max-width 0.3s ease;
}
.google-serp-box.mobile-mode,
.google-serp-container.mobile-mode {
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #CBD5E1;
    border-radius: 24px;
    padding: 18px 14px;
}

/* Mock Google Search Bar (aliases) */
.google-search-bar-mock,
.serp-mockup-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #DFE1E5;
    border-radius: 24px;
    padding: 8px 16px;
    margin-bottom: 18px;
    background: #FFFFFF;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
}
.serp-mockup-logo {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 1px;
    font-family: 'Product Sans', Roboto, Arial, sans-serif;
}
.serp-mockup-input,
.google-search-bar-mock .query-text {
    font-size: 0.9rem;
    color: #202124;
    flex-grow: 1;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.serp-mockup-input i,
.google-search-bar-mock i {
    color: #4285F4;
    font-size: 0.95rem;
}

/* Snippet elements (aliases) */
.serp-snippet-wrapper,
.serp-snippet-box {
    font-family: Arial, sans-serif;
}
.serp-favicon-row,
.snippet-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.serp-favicon,
.snippet-favicon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF6D00;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.serp-site-name,
.serp-breadcrumb,
.snippet-url-line {
    font-size: 0.85rem;
    color: #202124;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.snippet-url-line .domain {
    font-weight: 500;
    color: #202124;
}
.snippet-url-line .path {
    color: #4D5156;
}
.serp-title-link,
.snippet-title {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 500;
    color: #1A0DAB !important;
    margin-bottom: 6px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    word-wrap: break-word;
    font-family: Arial, sans-serif;
}
.serp-title-link:hover,
.snippet-title:hover {
    text-decoration: underline;
}
.serp-desc-text,
.snippet-desc {
    font-size: 0.875rem;
    line-height: 1.58;
    color: #4D5156;
    margin-bottom: 0;
    word-wrap: break-word;
    font-family: Arial, sans-serif;
}

/* SEO Suggestions Card & Score (aliases) */
.seo-suggestions-card,
.suggestions-container {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 16px;
    padding: 22px;
}
.suggestions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.suggestions-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.suggestions-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #1F2937;
    line-height: 1.45;
}
.suggestions-list li i {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.suggestions-list li i.check-pass,
.suggestions-list li i.text-success,
.suggestions-list li i.fa-check-circle {
    color: #10B981 !important;
}

/* Score Circle Gauge */
.score-radial-wrap,
.score-gauge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.score-circle-outer,
.score-gauge-circle {
    position: relative;
    width: 84px;
    height: 84px;
}
.score-circle-outer svg,
.score-gauge-circle svg {
    transform: rotate(-90deg);
}
.score-circle-outer .gauge-bg,
.score-gauge-circle .gauge-bg {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 7;
}
.score-circle-outer .gauge-fill,
.score-gauge-circle .gauge-fill {
    fill: none;
    stroke: #10B981;
    stroke-width: 7;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}
.score-gauge-number,
.score-circle-outer .score-number,
.score-circle-outer span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.35rem;
    font-weight: 800;
    color: #065F46;
    font-family: 'Poppins', sans-serif;
}
.score-gauge-badge {
    margin-top: 4px;
    text-align: center;
}

/* Action Buttons */
.btn-action-orange {
    background: #FF6D00;
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 9px 18px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-action-orange:hover {
    background: #E65100;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 109, 0, 0.35);
}
.btn-action-outline {
    background: #FFFFFF;
    color: #334155 !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 9px 16px;
    border: 1.5px solid #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    cursor: pointer;
}
.btn-action-outline:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #0F172A !important;
}

/* Field Progress Meters */
.field-progress-bar {
    height: 4px;
    border-radius: 4px;
    background: #E2E8F0;
    margin-top: 6px;
    overflow: hidden;
}
.field-progress-bar .bar-fill {
    height: 100%;
    width: 0%;
    transition: width 0.25s ease, background-color 0.25s ease;
    background: #10B981;
}
.field-count-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #10B981;
}

@media (max-width: 991px) {
    .seo-step-sidebar {
        flex-direction: row;
        width: 100%;
        min-width: 0;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    .seo-step-sidebar .step-line {
        width: 40px;
        height: 2px;
        margin: 0 10px;
        align-self: center;
    }
}

/* ==========================================================================
   ADVANCED SERP SIMULATOR FRAMES (Desktop Window & Mobile iPhone Mockups)
   ========================================================================== */

/* Simulator Switcher Toolbar */
.simulator-view-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.sim-nav-pills {
    display: flex;
    gap: 6px;
}

.sim-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-nav-btn:hover {
    color: #0E1B31;
    background: #FFFFFF;
}

.sim-nav-btn.active {
    background: #FFFFFF;
    color: #FF6D00;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.device-filter-pills {
    display: flex;
    background: #E2E8F0;
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.device-filter-btn {
    padding: 5px 12px;
    border-radius: 6px;
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.device-filter-btn.active {
    background: #FFFFFF;
    color: #0E1B31;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Side-by-Side Simulators Container */
.simulators-flex-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.desktop-sim-col {
    flex: 1 1 58%;
    min-width: 0;
    transition: all 0.3s ease;
}

.mobile-sim-col {
    flex: 0 0 310px;
    width: 310px;
    transition: all 0.3s ease;
}

/* Mode toggles when user filters single device */
.sim-mode-desktop-only .mobile-sim-col {
    display: none !important;
}
.sim-mode-desktop-only .desktop-sim-col {
    flex: 1 1 100%;
}
.sim-mode-mobile-only .desktop-sim-col {
    display: none !important;
}
.sim-mode-mobile-only .mobile-sim-col {
    flex: 0 0 340px;
    margin: 0 auto;
}

/* 1. Desktop Browser Mockup Frame */
.mockup-desktop-window {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.desktop-window-header {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-window-header .window-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.desktop-window-body {
    padding: 18px 20px 22px;
}

/* Google Search Mockup in Desktop */
.desktop-google-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #DFE1E5;
    border-radius: 24px;
    padding: 8px 16px;
    margin-bottom: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
}

.google-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Product Sans', Arial, sans-serif;
    display: inline-flex;
    align-items: center;
}

.desktop-search-input-mock {
    flex-grow: 1;
    font-size: 0.9rem;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Arial, sans-serif;
}

.desktop-search-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5F6368;
    font-size: 0.9rem;
}

.desktop-search-icons i.fa-magnifying-glass {
    color: #4285F4;
}

/* Google Category Tabs */
.desktop-search-tabs {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 18px;
    padding-bottom: 4px;
    font-size: 0.8rem;
    color: #5F6368;
    font-family: Arial, sans-serif;
}

.desktop-search-tabs span {
    padding: 6px 0;
    cursor: pointer;
}

.desktop-search-tabs span.active {
    color: #1A73E8;
    font-weight: 700;
    border-bottom: 3px solid #1A73E8;
}

/* Desktop Snippet Content */
.desktop-snippet-card {
    font-family: Arial, sans-serif;
    text-align: left;
}

.desktop-snippet-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.snippet-brand-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FF6D00;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.desktop-site-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #202124;
}

.desktop-site-url {
    font-size: 0.78rem;
    color: #4D5156;
}

.desktop-title-link {
    font-size: 1.25rem;
    line-height: 1.35;
    color: #1A0DAB !important;
    font-weight: 400;
    margin-bottom: 6px;
    display: block;
    text-decoration: none;
    word-wrap: break-word;
}

.desktop-title-link:hover {
    text-decoration: underline !important;
}

.desktop-desc-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #4D5156;
    margin-bottom: 0;
    word-wrap: break-word;
}

/* 2. Mobile Smartphone Mockup Frame */
.mockup-mobile-phone {
    background: #FFFFFF;
    border: 8px solid #0F172A;
    border-radius: 36px;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    position: relative;
    padding-bottom: 12px;
}

.phone-header-bar {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 8px 14px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.phone-speaker-notch {
    width: 70px;
    height: 14px;
    background: #0F172A;
    border-radius: 0 0 10px 10px;
    margin: 0 auto 4px;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 14px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0F172A;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

.phone-body {
    padding: 10px 12px;
    text-align: left;
}

.phone-google-logo {
    text-align: center;
    margin-bottom: 8px;
}

.phone-search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #DFE1E5;
    border-radius: 20px;
    padding: 6px 12px;
    margin-bottom: 8px;
    background: #FFFFFF;
    box-shadow: 0 1px 4px rgba(32, 33, 36, 0.08);
}

.phone-search-bar span {
    flex-grow: 1;
    font-size: 0.78rem;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Arial, sans-serif;
}

.phone-search-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 12px;
    padding-bottom: 4px;
    font-size: 0.72rem;
    color: #5F6368;
    overflow-x: auto;
    white-space: nowrap;
}

.phone-search-tabs span.active {
    color: #1A73E8;
    font-weight: 700;
    border-bottom: 2px solid #1A73E8;
}

.phone-snippet-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.phone-snippet-meta .snippet-brand-icon {
    width: 18px;
    height: 18px;
    font-size: 9px;
}

.phone-site-info {
    font-size: 0.74rem;
    color: #202124;
    line-height: 1.2;
}

.phone-site-info .domain {
    font-weight: 600;
}

.phone-site-info .url {
    color: #4D5156;
    font-size: 0.68rem;
}

.phone-title-link {
    font-size: 0.98rem;
    line-height: 1.35;
    color: #1A0DAB !important;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
    text-decoration: none;
    word-wrap: break-word;
}

.phone-desc-text {
    font-size: 0.76rem;
    line-height: 1.45;
    color: #4D5156;
    margin-bottom: 0;
    word-wrap: break-word;
}

/* 3. Form Input Icon Pills (Matching Left Column Mockup) */
.form-input-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.form-input-card:focus-within {
    border-color: #FF6D00;
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.12);
}

.input-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.input-label-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0E1B31;
}

.input-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFF5ED;
    color: #FF6D00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.input-badge-icon.primary {
    background: #FF6D00;
    color: #FFFFFF;
}

/* 4. Bottom Grid Cards: Score & Quick Actions */
.bottom-sim-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.sim-score-card {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sim-score-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.sim-score-circle-svg {
    position: relative;
    width: 76px;
    height: 76px;
}

.sim-score-circle-svg svg {
    transform: rotate(-90deg);
}

.sim-score-circle-svg .gauge-bg {
    fill: none;
    stroke: #DCFCE7;
    stroke-width: 6;
}

.sim-score-circle-svg .gauge-fill {
    fill: none;
    stroke: #10B981;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}

.sim-score-circle-svg .score-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 800;
    color: #065F46;
    font-family: 'Poppins', sans-serif;
}

.sim-score-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #065F46;
    margin-top: 4px;
}

.sim-suggestions-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.sim-suggestions-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #1F2937;
    font-weight: 500;
}

.sim-suggestions-checklist li i {
    color: #10B981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.quick-actions-card {
    background: #FFFDF9;
    border: 1px solid #FED7AA;
    border-radius: 14px;
    padding: 18px;
}

.quick-actions-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #9A3412;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-actions-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-quick-copy {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
}

.btn-quick-copy:hover {
    background: #FFF7ED;
    border-color: #FF6D00;
    color: #C2410C;
    transform: translateX(2px);
}

@media (max-width: 1199px) {
    .simulators-flex-grid {
        flex-direction: column;
        align-items: center;
    }
    .desktop-sim-col {
        width: 100%;
    }
    .mobile-sim-col {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .bottom-sim-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Mobile-Only Desktop Experience Alert Modal for Free Tools
   ========================================================================== */
.mobile-tool-notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-tool-notice-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-tool-notice-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 375px;
    border-radius: 26px;
    padding: 30px 24px 26px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 109, 0, 0.18);
    transform: translateY(25px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-tool-notice-overlay.active .mobile-tool-notice-card {
    transform: translateY(0) scale(1);
}

.mobile-tool-notice-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-tool-notice-close:hover {
    background: #E2E8F0;
    color: #0F172A;
    transform: rotate(90deg);
}

.mobile-tool-notice-icon-box {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    background: linear-gradient(135deg, #FFF4EC 0%, #FFE2D1 100%);
    color: #FF5500;
    font-size: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 10px 25px rgba(255, 85, 0, 0.18);
}

.mobile-tool-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF1E8;
    color: #C2410C;
    border: 1px solid #FFD4C2;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.mobile-tool-notice-title {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mobile-tool-notice-text {
    font-size: 0.93rem;
    color: #475569;
    line-height: 1.62;
    margin-bottom: 24px;
}

.mobile-tool-notice-text strong {
    color: #0F172A;
}

.btn-mobile-notice-continue {
    width: 100%;
    background: linear-gradient(135deg, #FF6D00 0%, #FF5500 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 14px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 85, 0, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-mobile-notice-continue:hover {
    background: linear-gradient(135deg, #E65100 0%, #E64A00 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 85, 0, 0.42);
    color: #FFFFFF !important;
}

/* Strict guarantee: Completely hidden on desktop viewports */
@media (min-width: 769px) {
    .mobile-tool-notice-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
