/* ==============================================================================
   BacklinkGenerator.io - Million Dollar SaaS Design System
   Theme Base: Pure White + Emerald/Mint Green
   Aesthetics: Sleek, High-Converting, Micro-Interactions, 100% Light Theme Only
   ============================================================================== */

/* Fonts are loaded via <link> in includes/header.php (avoids render-blocking @import) */

:root {
    /* Brand Green Color Matrix */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    /* Base Surfaces (Strictly Light Theme) */
    --bg-page: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-emerald-soft: #f0fdf4;
    
    /* Text Hierarchy */
    --text-primary: #0f172a;       /* Slate 900 */
    --text-secondary: #334155;     /* Slate 700 */
    --text-muted: #64748b;         /* Slate 500 */
    --text-light: #94a3b8;         /* Slate 400 */
    --text-emerald: #047857;       /* High-contrast emerald */

    /* Borders & Outlines */
    --border-subtle: #f1f5f9;
    --border-card: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-emerald: #a7f3d0;
    --border-emerald-focus: #10b981;

    /* Shadows & Glows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-cta: 0 12px 24px -6px rgba(5, 150, 105, 0.35);
    --shadow-glow: 0 0 40px -10px rgba(16, 185, 129, 0.25);

    /* Radii & Typography */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container-max: 1120px;
}

/* Base Reset & Smooth Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background-color: var(--bg-page);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--emerald-300) var(--bg-surface);
}

/* Sleek Modern Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-500);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-page);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Ambient Radial Mesh Top Glow */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    background: radial-gradient(ellipse 70% 320px at 50% 0%, rgba(16, 185, 129, 0.12) 0%, rgba(209, 250, 229, 0.05) 50%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -100px; /* far enough that its shadow doesn't peek into view */
    left: 12px;
    background: var(--emerald-600);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
    top: 12px;
}

/* Visible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="tab"]:focus-visible {
    outline: 2px solid var(--emerald-600);
    outline-offset: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-500);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.live-pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.4);
    animation: radar-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes radar-pulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ------------------------------------------------------------------------------
   Universal Header - Super Sleek, Compact, Centered Brand
   ------------------------------------------------------------------------------ */
.site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.2s ease;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-brand-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-link:hover {
    opacity: 0.85;
}

/* Wordmark: "Backlink" (ink) + "Generator" (solid brand green) + ".io" (muted) */
.brand-text {
    display: inline-flex;
    align-items: baseline;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--text-primary);
    white-space: nowrap;
    font-feature-settings: "ss01", "kern";
    -webkit-font-smoothing: antialiased;
}

.brand-word-main {
    font-weight: 400;
    color: var(--text-primary);
}

.brand-word-accent {
    color: var(--emerald-600);
}

.brand-tld {
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

/* ------------------------------------------------------------------------------
   Universal Footer - Super Sleek, Compact, Links + Copyright
   ------------------------------------------------------------------------------ */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-card);
    padding: 28px 16px 24px;
    margin-top: auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-nav {
    width: 100%;
}

.footer-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 8px 14px;
    font-size: 0.875rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 600;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: var(--emerald-600);
}

.footer-separator {
    color: var(--border-card);
    user-select: none;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Copyright centered, "Back to top" pinned right on the same line (stacked on phones) */
.footer-bottom-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.back-to-top {
    font-size: 0.8125rem;
}

@media (min-width: 640px) {
    .footer-bottom-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .footer-bottom-row .footer-copyright {
        grid-column: 2;
    }

    .footer-bottom-row .back-to-top {
        grid-column: 3;
        justify-self: end;
    }
}

/* ------------------------------------------------------------------------------
   Layout Containers
   ------------------------------------------------------------------------------ */
.site-main {
    flex: 1;
    width: 100%;
    padding: 40px 16px 64px;
    position: relative;
    z-index: 1;
}

.page-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
}

/* ------------------------------------------------------------------------------
   Hero Section - Modern High-Converting SaaS
   ------------------------------------------------------------------------------ */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--emerald-800);
    border: 1px solid var(--emerald-200);
    box-shadow: 0 2px 8px -2px rgba(16, 185, 129, 0.15);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hero-pill-badge:hover {
    border-color: var(--emerald-400);
    transform: translateY(-1px);
}

.hero-pill-tag {
    background: var(--emerald-600);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 4px;
}

.hero-title {
    font-size: clamp(2.1rem, 4.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-heading {
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
    color: var(--text-secondary);
    max-width: 840px;
    margin: 0 auto 16px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto 24px;
    line-height: 1.65;
}

/* ------------------------------------------------------------------------------
   What, Why & How Section (SEO Architecture)
   ------------------------------------------------------------------------------ */
.what-why-how-section {
    margin-bottom: 64px;
}

.what-why-how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 860px) {
    .what-why-how-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-pillar-card {
    background: #ffffff;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--emerald-400);
    box-shadow: var(--shadow-lg), 0 0 20px -5px rgba(16, 185, 129, 0.15);
}

.guide-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-200);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.71875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    width: fit-content;
}

.guide-pillar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.35;
}

.guide-pillar-body {
    font-size: 0.90625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.guide-pillar-body p {
    margin-bottom: 12px;
}

.guide-step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.guide-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.guide-step-num {
    min-width: 22px;
    height: 22px;
    background: var(--emerald-600);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.71875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.hero-social-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 24px;
    font-size: 0.84375rem;
    color: var(--text-muted);
}

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #f59e0b; /* Amber */
}

/* Half star: grey star with the left half overlaid in amber (hard cut, no gradient) */
.rating-stars .star-half {
    position: relative;
    display: inline-block;
    color: var(--border-hover);
}

.rating-stars .star-half::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #f59e0b;
}

/* ------------------------------------------------------------------------------
   Hero CTA Action Group & Secondary Buttons
   ------------------------------------------------------------------------------ */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.btn-million-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
    color: #ffffff;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: inherit;
    padding: 15px 32px;
    border-radius: var(--radius-md);
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-cta);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-million-cta:hover {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -6px rgba(5, 150, 105, 0.45);
    color: #ffffff;
}

.btn-million-cta:active {
    transform: translateY(1px);
}

.btn-million-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: inherit;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-card);
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.btn-million-secondary:hover {
    border-color: var(--emerald-400);
    background: var(--bg-emerald-soft);
    color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------------------------
   Interactive SaaS Platform Showcase Window
   ------------------------------------------------------------------------------ */
.saas-showcase-section {
    margin-bottom: 64px;
}

.saas-sample-note {
    margin-top: 12px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.saas-window-frame {
    background: #ffffff;
    border: 1px solid var(--emerald-300);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    overflow: hidden;
    position: relative;
}

.saas-window-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-card);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.saas-window-dots {
    display: flex;
    gap: 6px;
}

.saas-window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.saas-window-dots span:nth-child(1) { background: #ef4444; opacity: 0.8; }
.saas-window-dots span:nth-child(2) { background: #f59e0b; opacity: 0.8; }
.saas-window-dots span:nth-child(3) { background: #10b981; opacity: 0.8; }

.saas-window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.saas-window-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 2px 10px;
    border-radius: 9999px;
}

/* Tabs Bar */
/* Phones: the status badge has no room next to the window title */
@media (max-width: 639px) {
    .saas-window-status {
        display: none;
    }
}

/* Even grid of tabs (1 / 2 / 4 columns) instead of a horizontally scrolling
   row with a hidden scrollbar, so no tab is ever cut off. */
.saas-tabs-bar {
    display: grid;
    grid-template-columns: 1fr;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-card);
    padding: 8px 12px 0;
    gap: 6px;
}

@media (min-width: 640px) {
    .saas-tabs-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .saas-tabs-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.saas-tab-trigger {
    min-width: 0;
    display: inline-flex;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.84375rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.saas-tab-trigger:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
}

.saas-tab-trigger.active {
    background: #ffffff;
    color: var(--emerald-700);
    border-color: var(--border-card);
    border-bottom: 1px solid #ffffff;
    margin-bottom: -1px;
    box-shadow: 0 -2px 6px -1px rgba(0, 0, 0, 0.04);
}

.tab-chip {
    font-size: 0.6875rem;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-200);
    padding: 1px 6px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-weight: 700;
}

/* Panels */
.saas-panel-view {
    padding: 28px;
    display: none;
}

.saas-panel-view.active {
    display: block;
    animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Radar Toolbar & Filters */
.radar-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}

.radar-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.radar-filter-chip {
    background: #ffffff;
    border: 1px solid var(--border-card);
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.78125rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.radar-filter-chip:hover {
    border-color: var(--emerald-300);
    color: var(--emerald-700);
}

.radar-filter-chip.active {
    background: var(--emerald-600);
    color: #ffffff;
    border-color: var(--emerald-600);
}

.radar-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.radar-search-wrap .search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
    pointer-events: none;
}

.radar-search-input {
    padding: 6px 12px 6px 32px;
    font-size: 0.8125rem;
    font-family: inherit;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    outline: none;
    background: #ffffff;
    width: 200px;
    transition: border-color 0.15s ease;
}

.radar-search-input:focus {
    border-color: var(--emerald-500);
}

.btn-inspect-link {
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-300);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-inspect-link:hover {
    background: var(--emerald-600);
    color: #ffffff;
    border-color: var(--emerald-600);
}

/* Module 2: Pipeline Kanban Board */
.pipeline-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .pipeline-board {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pipeline-column {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pipeline-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.pipeline-col-title {
    font-size: 0.78125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.pipeline-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid var(--border-card);
    padding: 2px 6px;
    border-radius: 9999px;
    color: var(--text-muted);
}

.pipeline-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.pipeline-card:hover {
    transform: translateY(-2px);
    border-color: var(--emerald-300);
}

.pipeline-card.live-highlight {
    border-color: var(--emerald-400);
    background: #f0fdf4;
}

.pipeline-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.pipeline-card-p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pipeline-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.pipeline-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
}

.pipeline-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.pipeline-status-dot.green { background: #10b981; }
.pipeline-status-dot.yellow { background: #f59e0b; }
.pipeline-status-dot.blue { background: #3b82f6; }

/* Module 3: Velocity Metrics & Anchor Balance */
.velocity-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .velocity-metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.velocity-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: left;
}

.velocity-title {
    font-size: 0.78125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.velocity-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.velocity-gain {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--emerald-600);
}

.velocity-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.anchor-balance-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
}

.anchor-balance-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.anchor-bar-track {
    display: flex;
    height: 14px;
    border-radius: 9999px;
    overflow: hidden;
    background: var(--bg-subtle);
    margin-bottom: 14px;
}

.anchor-bar-fill.branded { background: var(--emerald-600); }
.anchor-bar-fill.naked { background: var(--emerald-400); }
.anchor-bar-fill.keyword { background: #3b82f6; }
.anchor-bar-fill.generic { background: #94a3b8; }

.anchor-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.branded { background: var(--emerald-600); }
.legend-dot.naked { background: var(--emerald-400); }
.legend-dot.keyword { background: #3b82f6; }
.legend-dot.generic { background: #94a3b8; }

/* Module 4: Indexing Engine Telemetry */
.indexer-intro-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    text-align: left;
}

.indexer-feed {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.indexer-log-row {
    display: grid;
    grid-template-columns: 80px 1.5fr 2fr 1.5fr;
    gap: 12px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    align-items: center;
    text-align: left;
}

@media (max-width: 768px) {
    .indexer-log-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.indexer-time { color: var(--text-muted); }
.indexer-endpoint { font-weight: 700; color: var(--text-primary); }
.indexer-target { color: var(--emerald-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.indexer-status { color: var(--emerald-600); font-weight: 700; }

.metrics-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .metrics-summary-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: left;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.metric-card:hover {
    border-color: var(--emerald-300);
    transform: translateY(-2px);
}

.metric-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-card-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--emerald-700);
    letter-spacing: -0.02em;
}

.metric-card-sub {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Results Actions Toolbar */
.results-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.results-heading-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.toolbar-buttons {
    display: flex;
    gap: 8px;
}

.btn-tool-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-tool-action:hover {
    background: var(--emerald-50);
    color: var(--emerald-700);
    border-color: var(--emerald-300);
}

/* Results Table */
.results-table-container {
    overflow-x: auto;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.saas-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.saas-table th {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.78125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-card);
}

.saas-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-card);
    color: var(--text-secondary);
    vertical-align: middle;
}

.saas-table tr:last-child td {
    border-bottom: none;
}

.saas-table tr:hover {
    background-color: var(--bg-emerald-soft);
}

/* SaaS Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-da {
    background: var(--emerald-50);
    color: var(--emerald-800);
    border: 1px solid var(--emerald-200);
}

.badge-dofollow {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-nofollow {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.badge-verified {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.btn-claim-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-300);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-claim-link:hover {
    background: var(--emerald-600);
    color: #ffffff;
    border-color: var(--emerald-600);
}

/* ------------------------------------------------------------------------------
   Social Proof Brand Logos Strip
   ------------------------------------------------------------------------------ */
.trust-strip-section {
    text-align: center;
    margin-bottom: 56px;
}

.trust-strip-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.trust-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 44px;
    opacity: 0.75;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #475569;
}

.trust-logo-item svg {
    color: var(--emerald-600);
}

/* ------------------------------------------------------------------------------
   Bento Grid Feature Showcase (Million-Dollar SaaS Style)
   ------------------------------------------------------------------------------ */
.bento-section {
    margin-bottom: 64px;
}

.bento-header {
    text-align: center;
    margin-bottom: 36px;
}

.bento-tag {
    color: var(--emerald-600);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.bento-title {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.bento-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bento-card.col-span-2 {
        grid-column: span 2;
    }
}

.bento-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-3px);
    border-color: var(--emerald-300);
    box-shadow: var(--shadow-lg);
}

.bento-icon-box {
    width: 44px;
    height: 44px;
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.bento-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.bento-card-desc {
    font-size: 0.90625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ------------------------------------------------------------------------------
   Services & Solutions Matrix
   ------------------------------------------------------------------------------ */
.services-section {
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald-400);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--emerald-500);
    box-shadow: var(--shadow-md), 0 0 25px -5px rgba(16, 185, 129, 0.2);
}

.service-badge-pill {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.90625rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    font-size: 0.84375rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li span {
    color: var(--emerald-600);
    font-weight: 800;
}

/* ------------------------------------------------------------------------------
   Transparent SaaS Pricing Section
   ------------------------------------------------------------------------------ */
.pricing-section {
    margin-bottom: 64px;
}

.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.billing-toggle-pill {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-card);
    border-radius: 9999px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.billing-toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.84375rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.billing-toggle-btn.active {
    background: #ffffff;
    color: var(--emerald-700);
    box-shadow: var(--shadow-sm);
}

.discount-pill {
    background: var(--emerald-100);
    color: var(--emerald-800);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
}

@media (min-width: 768px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.pricing-card {
    background: #ffffff;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald-300);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--emerald-500);
    box-shadow: var(--shadow-lg), 0 0 30px -5px rgba(16, 185, 129, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, var(--emerald-50) 100%);
}

.pricing-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px -2px rgba(5, 150, 105, 0.4);
}

.pricing-tier-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.pricing-tier-sub {
    font-size: 0.84375rem;
    color: var(--text-secondary);
    min-height: 40px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.pricing-tier-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.tier-currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.tier-price-val {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.tier-billing-period {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-tier-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none !important;
    background: #ffffff;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-card);
    transition: all 0.15s ease;
    cursor: pointer;
    margin-bottom: 24px;
}

.btn-tier-cta:hover {
    background: var(--bg-surface);
    border-color: var(--emerald-400);
    color: var(--emerald-700) !important;
    text-decoration: none !important;
}

/* Featured Pro Plan Button */
.btn-pro-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid var(--emerald-600) !important;
    box-shadow: 0 4px 14px -2px rgba(5, 150, 105, 0.45);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    margin-bottom: 24px;
}

.btn-pro-cta:hover {
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 100%) !important;
    border-color: var(--emerald-700) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px -2px rgba(5, 150, 105, 0.55);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.btn-pro-cta:active {
    transform: translateY(0);
}

.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.84375rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    margin-top: auto;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.pricing-features-list li span {
    color: var(--emerald-600);
    font-weight: 800;
}

/* ------------------------------------------------------------------------------
   Before vs After Comparison Matrix
   ------------------------------------------------------------------------------ */
.comparison-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 36px 24px;
    margin-bottom: 64px;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
}

@media (min-width: 680px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    background: #ffffff;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
}

.comparison-card.pro {
    border-color: var(--emerald-400);
    background: #ffffff;
    box-shadow: var(--shadow-md), 0 0 25px -5px rgba(16, 185, 129, 0.15);
}

.comparison-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.875rem;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
}

.comp-icon-bad {
    color: #ef4444;
    min-width: 16px;
    margin-top: 2px;
}

.comp-icon-good {
    color: var(--emerald-600);
    min-width: 16px;
    margin-top: 2px;
}

/* ------------------------------------------------------------------------------
   Editorial Comparison Matrix Table
   ------------------------------------------------------------------------------ */
.comp-table-wrap {
    margin-top: 36px;
    background: #ffffff;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comp-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
    font-size: 0.875rem;
}

.comp-table th,
.comp-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.comp-table thead th {
    background: var(--bg-surface);
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-card);
}

.comp-table thead th.col-highlight {
    background: var(--emerald-50);
    color: var(--emerald-900);
    border-bottom: 2px solid var(--emerald-400);
    border-left: 1.5px solid var(--emerald-300);
    border-right: 1.5px solid var(--emerald-300);
}

.comp-table tbody tr:last-child td {
    border-bottom: none;
}

.comp-table tbody tr:hover td {
    background: rgba(248, 250, 252, 0.7);
}

.comp-table tbody tr:hover td.col-highlight {
    background: rgba(236, 253, 245, 0.85);
}

.comp-table td.col-highlight {
    background: rgba(240, 253, 244, 0.5);
    border-left: 1.5px solid var(--emerald-200);
    border-right: 1.5px solid var(--emerald-200);
    font-weight: 600;
    color: var(--text-primary);
}

.comp-feature-name {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.comp-feature-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comp-pill-winner {
    display: inline-block;
    background: var(--emerald-100);
    color: var(--emerald-800);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-left: 6px;
    vertical-align: middle;
}

.comp-val-good {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--emerald-800);
    font-weight: 700;
}

.comp-val-neutral {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.comp-val-bad {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    font-weight: 600;
}

.comp-check-icon {
    width: 20px;
    height: 20px;
    background: var(--emerald-500);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
}

.comp-cross-icon {
    width: 20px;
    height: 20px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------------------
   Verified Customer Testimonials
   ------------------------------------------------------------------------------ */
.testimonials-section {
    margin-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    border-color: var(--emerald-300);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 0.90625rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-800);
    font-weight: 800;
    font-size: 0.84375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author strong {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.testimonial-author small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ------------------------------------------------------------------------------
   5 Always-Visible FAQs (Sleek SaaS Cards, No Collapse)
   ------------------------------------------------------------------------------ */
.faq-section {
    margin-bottom: 64px;
}

.faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.faq-item:hover {
    border-color: var(--emerald-300);
    transform: translateY(-1px);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.faq-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    border: 1px solid var(--emerald-200);
    font-size: 0.8125rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    margin-top: 1px;
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 40px;
}

/* ------------------------------------------------------------------------------
   Bottom Conversion Callout (High CTA & FOMO)
   ------------------------------------------------------------------------------ */
.bottom-cta-banner {
    background: linear-gradient(135deg, #ffffff 0%, var(--emerald-50) 100%);
    border: 1.5px solid var(--emerald-300);
    border-radius: var(--radius-xl);
    padding: 44px 28px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
}

.bottom-cta-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.bottom-cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 24px;
}

/* ------------------------------------------------------------------------------
   Editorial & Standard Pages (About, Contact, Privacy, Terms)
   ------------------------------------------------------------------------------ */
.editorial-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 36px;
    text-align: left;
}

.page-title {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.editorial-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 28px 0 10px;
    color: var(--text-primary);
}

.editorial-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 18px 0 8px;
    color: var(--text-primary);
}

.editorial-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.editorial-card ul,
.editorial-card ol {
    margin: 12px 0 18px 24px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.editorial-card li {
    margin-bottom: 6px;
}

/* Obfuscated Email Box (Contact Page) */
/* ------------------------------------------------------------------------------
   Contact Page: info card + message form (stacked on mobile, 2 columns on desktop)
   ------------------------------------------------------------------------------ */
.contact-page-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}

.contact-page-header .bento-tag {
    margin-bottom: 12px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    }
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 28px 24px;
    min-width: 0;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-card-sub {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.contact-info-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    min-width: 0;
}

.contact-info-item > div {
    min-width: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--emerald-200);
    border-radius: 50%;
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Email and phone use the same plain text style as Address / Hours (still clickable) */
.contact-info-link,
.contact-info-item .obfuscated-email-link {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.55;
    letter-spacing: normal;
}

.contact-info-link:hover,
.contact-info-item .obfuscated-email-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.contact-info-text {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Form */
.contact-form {
    display: grid;
    gap: 18px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 640px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-field .req {
    color: #dc2626;
}

.form-field .opt {
    font-weight: 500;
    color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem; /* 16px+ prevents iOS zoom on focus */
    color: var(--text-primary);
    background: #ffffff;
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--border-emerald-focus);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: #dc2626;
}

.field-error {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #b91c1c;
}

.form-alert {
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.9375rem;
    margin-bottom: 18px;
}

.form-alert-success {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    color: var(--emerald-800);
}

.form-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

.contact-submit-btn {
    font-size: 1rem;
    padding: 13px 28px;
}

.contact-submit-btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.form-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.form-privacy-note a {
    color: var(--emerald-700);
    font-weight: 700;
}

.contact-hero-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 44px 32px;
    text-align: center;
}

.contact-icon-bubble {
    width: 60px;
    height: 60px;
    background: var(--emerald-50);
    color: var(--emerald-600);
    border: 1px solid var(--emerald-200);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.obfuscated-email-box {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    max-width: 100%;
    background: var(--bg-surface);
    border: 1.5px solid var(--emerald-200);
    border-radius: var(--radius-md);
    padding: 14px 22px;
    margin: 24px auto;
}

.obfuscated-email-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.obfuscated-email-link {
    overflow-wrap: anywhere;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-700);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.obfuscated-email-link:hover {
    text-decoration: underline;
}

.btn-copy-email {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.15s ease;
}

.btn-copy-email:hover {
    background: var(--emerald-50);
    color: var(--emerald-700);
    border-color: var(--emerald-300);
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 24px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-list a:hover {
    color: var(--emerald-600);
}

/* ------------------------------------------------------------------------------
   Outbound Link Compliance
   ------------------------------------------------------------------------------ */
a[target="_blank"]:not(.btn-tier-cta):not(.btn-pro-cta):not(.btn-million-cta):not(.btn-million-secondary):not(.btn-claim-link):not(.btn-inspect-link):not(.brand-link) {
    color: var(--emerald-700);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

a[target="_blank"]:not(.btn-tier-cta):not(.btn-pro-cta):not(.btn-million-cta):not(.btn-million-secondary):not(.btn-claim-link):not(.btn-inspect-link):not(.brand-link):hover {
    color: var(--emerald-800);
}

/* ------------------------------------------------------------------------------
   Live Toast Notifications & Floating FOMO Popups
   ------------------------------------------------------------------------------ */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notice.show {
    opacity: 1;
    transform: translateY(0);
}

