:root {
    --color-bg-dark: #171716;
    --color-bg-card: #242424;
    --color-primary: #f8ca3c;
    --color-primary-hover: #f8d76c;
    --color-text-white: #f5f5f7;
    --color-text-muted: #b7b7b7;
    --color-border: #424242;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --color-success: #10b981;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-dark);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(248, 202, 60, 0.03) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: var(--color-text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Navigation */
nav {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 10, 10, 0.8);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-white);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: invert(1);
}

/* Hero Section */
header.hero {
    position: relative;
    padding: 100px 0 40px 0;
    text-align: center;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 207, 57, 0.08) 0%, rgba(250, 207, 57, 0) 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 20px;
    background: rgba(250, 207, 57, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(250, 207, 57, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-title span {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* Lead Capture Form */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 580px;
    width: 100%;
    margin: 0 auto 16px auto;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .lead-form {
        flex-direction: row;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--color-border);
        padding: 6px;
        border-radius: 12px;
    }
    .lead-form:focus-within {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(248, 202, 60, 0.15);
    }
}

.lead-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px 20px;
    color: var(--color-text-white);
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.lead-input::placeholder {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
    .lead-input {
        background: transparent;
        border: none;
    }
}

.lead-input:focus {
    border-color: var(--color-primary);
}

.lead-input:user-invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.lead-btn {
    background-color: var(--color-primary);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.lead-btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.lead-btn:active {
    transform: scale(0.98);
}

.lead-microcopy {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    display: block;
    margin-top: 10px;
    margin-bottom: 24px;
}

/* Dashboard Showcase */
.dashboard-showcase {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* CSS-drawn Dashboard Visual Mockup */
.mock-dashboard {
    background-color: #0d0d0d;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-header {
    background-color: #121212;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.dash-title {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.dash-body {
    flex: 1;
    display: flex;
}

.dash-sidebar {
    width: 180px;
    background-color: #111;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-side-item {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    width: 70%;
}

.dash-side-item.active {
    background-color: var(--color-primary);
    opacity: 0.6;
}

.dash-main {
    flex: 1;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dash-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dash-card-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.dash-card-sub {
    font-size: 0.75rem;
    color: var(--color-success);
    margin-top: 8px;
}

/* Scroll Animation Entry styling */
.scroll-reveal {
    opacity: 1;
    /* Fallback */
}

@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes fade-reveal {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .scroll-reveal {
            animation: fade-reveal auto linear forwards;
            animation-timeline: view();
            animation-range: entry 10% entry 40%;
        }
    }
}

/* Section styles */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Pain Grid */
.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.pain-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(248, 202, 60, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(248, 202, 60, 0.05);
}

.pain-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-block;
}

.pain-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pain-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Workflow Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding-left: 48px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #121212;
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 2;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Feature Focus Sections */
.feature-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .feature-showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-visual {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG-driven AEO Radar / Comparison Chart */
.radar-chart {
    width: 100%;
    max-width: 350px;
    height: auto;
}

/* Client Portal Mockup with Pin Drops */
.portal-mockup {
    background-color: #111;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    height: 100%;
    position: relative;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-image-container {
    background: linear-gradient(135deg, #1c1a2e 0%, #0d0d0d 100%);
    border-radius: 8px;
    flex: 1;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pin-drop {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(250, 207, 57, 0.5);
}

.pin-1 {
    top: 40%;
    left: 35%;
}

.pin-2 {
    top: 60%;
    left: 70%;
}

.pin-popup {
    position: absolute;
    background: #181818;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.75rem;
    width: 160px;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.popup-1 {
    top: 15%;
    left: 15%;
}

.popup-2 {
    top: 38%;
    left: 52%;
}

.popup-header {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-white);
}

.popup-body {
    color: var(--color-text-muted);
}

/* Tool Replacement Matrix */
.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 40px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.matrix-th {
    padding: 24px 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 2px solid var(--color-border);
}

.matrix-td {
    padding: 24px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.matrix-td strong {
    color: var(--color-text-white);
    font-size: 1rem;
}

.matrix-tr {
    transition: all 0.3s ease;
}

.matrix-tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.matrix-td:first-child {
    font-weight: 600;
    color: var(--color-text-white);
    width: 22%;
    background: rgba(255, 255, 255, 0.005);
}

.matrix-td:nth-child(2) {
    width: 39%;
    color: rgba(255, 255, 255, 0.55);
}

.matrix-td.fynch-highlight {
    width: 39%;
    color: var(--color-text-white);
    font-weight: 500;
    background: rgba(248, 202, 60, 0.02);
    border-left: 1px dashed rgba(248, 202, 60, 0.15);
}

.matrix-th:last-child {
    color: var(--color-primary);
    background: rgba(248, 202, 60, 0.04);
    border-left: 1px dashed rgba(248, 202, 60, 0.15);
    font-weight: 700;
}

.matrix-tr:hover .matrix-td.fynch-highlight {
    background: rgba(248, 202, 60, 0.04);
}

/* Trust & Security Callout */
.security-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(248, 202, 60, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.security-card:hover {
    border-color: rgba(248, 202, 60, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(248, 202, 60, 0.05);
}

@media (min-width: 768px) {
    .security-card {
        flex-direction: row;
        text-align: left;
    }
}

.security-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    display: inline-block;
    flex-shrink: 0;
}

/* FAQ Accordions */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: rgba(248, 202, 60, 0.4);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-chevron {
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-content {
    max-height: 200px;
    opacity: 1;
    padding: 0 24px 20px 24px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--color-text-white);
}

/* Premium Contrast Management & Hover Highlights for Light-Themed Images */
.dashboard-showcase img,
.feature-visual img {
    opacity: 0.82;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8),
        0 0 50px -10px rgba(248, 202, 60, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-showcase img:hover,
.feature-visual img:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.9),
        0 0 60px -5px rgba(248, 202, 60, 0.1);
}

/* --- Modern Design & CRO Review Enhancements --- */

.hero-title,
.section-title {
    text-wrap: balance;
}

/* Matrix Table Column Highlight on Row Hover */
.matrix-tr:hover td.fynch-highlight {
    background-color: rgba(248, 202, 60, 0.05);
    box-shadow: inset 0 0 0 1px rgba(248, 202, 60, 0.2);
}

/* Custom CSS-Based Visual Mockups */
.custom-showcase-visual {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mock Browser/App Window Chrome */
.mock-window-header {
    height: 36px;
    background-color: #121212;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
}

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

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

.mock-window-dot.red {
    background-color: #ff5f56;
}

.mock-window-dot.yellow {
    background-color: #ffbd2e;
}

.mock-window-dot.green {
    background-color: #27c93f;
}

.mock-window-address {
    flex: 1;
    background-color: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    height: 20px;
    margin: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    font-family: var(--font-sans);
}

/* Interactive Split-Screen for Zero-Prompt */
.split-screen-visual {
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.visual-pane-left,
.visual-pane-right {
    flex: 1;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.visual-pane-left {
    border-right: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.01);
}

.visual-pane-right {
    background-color: rgba(248, 202, 60, 0.01);
}

.visual-code-window {
    font-family: monospace;
    font-size: 0.8rem;
    color: #d1d5db;
    background-color: #050505;
    border: 1px solid rgba(248, 113, 113, 0.2);
    padding: 12px;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.4;
}

.visual-agent-window {
    background-color: #121212;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visual-agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.visual-agent-badge {
    background: rgba(248, 202, 60, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(248, 202, 60, 0.2);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.visual-run-btn {
    align-self: center;
    flex-shrink: 0;
    background-color: var(--color-primary);
    color: #000;
    font-weight: 600;
    font-size: 0.72rem;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.visual-run-btn:hover {
    background-color: var(--color-primary-hover);
}

/* Stop the Slop Text Difference Editor */
.visual-diff-container {
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 24px;
    gap: 16px;
}

.diff-draft-box {
    background-color: #121212;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    font-size: 0.85rem;
    position: relative;
    line-height: 1.6;
}

.diff-draft-box.slop {
    border-color: rgba(239, 68, 68, 0.2);
    background-color: rgba(239, 68, 68, 0.01);
}

.diff-draft-box.brand {
    border-color: rgba(248, 202, 60, 0.2);
    background-color: rgba(248, 202, 60, 0.01);
}

.slop-highlight {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
    text-decoration: line-through;
    padding: 2px 4px;
    border-radius: 4px;
}

.brand-highlight {
    background-color: rgba(248, 202, 60, 0.15);
    color: var(--color-primary);
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
}

.diff-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.diff-badge.slop {
    background-color: #7f1d1d;
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.diff-badge.brand {
    background-color: rgba(248, 202, 60, 0.2);
    color: var(--color-primary);
    border: 1px solid rgba(248, 202, 60, 0.4);
}

/* Perplexity / Answer Engine Mock */
.perplexity-container {
    flex-direction: column;
    padding: 24px;
    width: 100%;
    height: 100%;
    gap: 16px;
}

.perplexity-search-bar {
    background-color: #121212;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.perplexity-answer-window {
    background-color: #121212;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.perplexity-sources {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.perplexity-source-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.perplexity-source-card.active-brand {
    border-color: var(--color-primary);
    background-color: rgba(248, 202, 60, 0.05);
    color: var(--color-text-white);
}

.perplexity-source-card.active-brand span {
    color: var(--color-primary);
    font-weight: 700;
}

/* Radar Sensor Pulse Animations */
.radar-container {
    align-items: center;
    justify-content: center;
    padding: 24px;
    width: 100%;
    height: 100%;
}

.radar-grid {
    position: relative;
    width: 340px;
    height: 340px;
    max-width: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(248, 202, 60, 0.08) 0deg, rgba(248, 202, 60, 0) 90deg);
    border-radius: 50%;
    animation: rotate linear infinite 4s;
}

.radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.radar-ring-1 {
    width: 70%;
    height: 70%;
}

.radar-ring-2 {
    width: 40%;
    height: 40%;
}

.radar-blip {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    filter: drop-shadow(0 0 6px var(--color-primary));
}

.radar-blip.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

.radar-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: var(--color-bg-dark);
    border: 1px solid rgba(248, 202, 60, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 16px rgba(248, 202, 60, 0.2);
}

.radar-center-icon {
    width: 26px;
    height: 26px;
    filter: invert(1);
    object-fit: contain;
}

.radar-social-blip {
    position: absolute;
    width: 38px;
    height: 38px;
    background: rgba(23, 23, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 5;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.radar-social-blip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.radar-social-blip:hover {
    transform: scale(1.2) translate(0%, 0%); /* Maintain centering */
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(248, 202, 60, 0.4);
    z-index: 10;
}

@media (max-width: 480px) {
    .radar-grid {
        width: 260px;
        height: 260px;
    }
    .radar-center-logo {
        width: 40px;
        height: 40px;
    }
    .radar-center-icon {
        width: 20px;
        height: 20px;
    }
    .radar-social-blip {
        width: 30px;
        height: 30px;
    }
    .radar-social-blip img {
        width: 16px;
        height: 16px;
    }
}

/* Unified Workflow Diagram */
.workflow-diagram-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    width: 100%;
    height: 100%;
}

/* Standard Keyframe Animations for CSS Visuals */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        filter: drop-shadow(0 0 10px var(--color-primary));
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- Premium SaaS Layout & CRO Updates --- */

/* Navigation Menu & Header Updates */
.nav-links {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-text-white);
}

.nav-cta-btn {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: var(--color-primary);
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(248, 202, 60, 0.2);
}

@media (min-width: 768px) {
    .nav-cta-btn {
        display: inline-flex;
    }
}

.nav-cta-btn:hover {
    background-color: #e8be2e;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(248, 202, 60, 0.4);
}

/* Lead trust cues under CTA */
.lead-trust-cues {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .lead-trust-cues {
        font-size: 0.95rem;
    }
}

/* Evergreen Foundational Badges */
.llm-badges-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
    width: 100%;
}

.llm-badges-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    opacity: 0.8;
}

.llm-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.llm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .llm-badges-label {
        font-size: 0.85rem;
    }
    .llm-badge {
        font-size: 0.85rem;
    }
}

.llm-badge:hover {
    background: rgba(248, 202, 60, 0.05);
    border-color: rgba(248, 202, 60, 0.3);
    color: var(--color-text-white);
    transform: translateY(-1px);
}

.llm-badge-logo {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    opacity: 0.85;
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.llm-badge:hover .llm-badge-logo {
    opacity: 1;
}

/* Integrations Grid Section */
.integration-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    position: relative;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

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

@media (min-width: 1024px) {
    .integration-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(248, 202, 60, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.integration-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.integration-card:hover .integration-logo-img {
    opacity: 1;
    transform: scale(1.15);
}

.integration-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.integration-card:hover .integration-name {
    color: var(--color-text-white);
}

/* Pricing Segment Grid */
.pricing-section {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid var(--color-border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    animation: fadeInPricingGrid 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.pricing-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(248, 202, 60, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(248, 202, 60, 0.05);
}

.pricing-card.featured {
    background: rgba(248, 202, 60, 0.02);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(248, 202, 60, 0.05);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-primary);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

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

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    letter-spacing: -0.02em;
}

.pricing-price-suffix {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-feature-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-feature-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.85rem;
}

.pricing-cta-btn {
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.pricing-cta-btn.primary {
    background: var(--color-primary);
    color: #000;
}

.pricing-cta-btn.primary:hover {
    background: #e8be2e;
    box-shadow: 0 4px 15px rgba(248, 202, 60, 0.3);
}

.pricing-cta-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.02);
}

.pricing-cta-btn.secondary:hover {
    border-color: rgba(248, 202, 60, 0.5);
    color: var(--color-primary);
    background: rgba(248, 202, 60, 0.02);
}

.pricing-risk-reversal {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

/* Glassmorphic Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px;
    max-width: 650px;
    margin: 40px auto;
    text-align: left;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(248, 202, 60, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-white);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(248, 202, 60, 0.2);
}

.testimonial-author-details {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.testimonial-title {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Mobile responsive fixes for custom visual showcases */
@media (max-width: 767px) {
    .custom-showcase-visual {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }
    
    .split-screen-visual {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .visual-pane-left,
    .visual-pane-right {
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        border-bottom: 1px solid var(--color-border) !important;
        padding: 16px !important;
    }
    
    .visual-pane-right {
        border-bottom: none !important;
    }
    
    .visual-code-window,
    .visual-agent-window {
        min-height: 150px !important;
    }
    
    .perplexity-container {
        height: auto !important;
        padding: 16px !important;
    }
    
    .perplexity-answer-window {
        height: auto !important;
        min-height: 180px !important;
        padding: 16px !important;
    }
    
    .workflow-diagram-container {
        padding: 16px !important;
    }
}

/* Reusable Pricing Toggle segment controls */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.pricing-toggle-container {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 4px;
    position: relative;
}

.pricing-toggle-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-toggle-btn.active {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 4px 12px rgba(248, 202, 60, 0.25);
}

.pricing-toggle-btn:hover:not(.active) {
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.02);
}

/* Mobile responsive padding and width adjustments for pricing toggle */
@media (max-width: 480px) {
    .pricing-toggle-wrapper {
        margin-bottom: 24px;
        margin-top: 10px;
        padding: 0 16px;
    }
    
    .pricing-toggle-container {
        width: 100%;
        display: flex;
    }
    
    .pricing-toggle-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.75rem;
        text-align: center;
        white-space: nowrap;
    }
}