/* Mobile-First Responsive Styles */
html {
    margin: 0 auto;
}

.logo {
    min-width: 200px;
    height: auto;
    margin: 2rem 0 0.5rem;
}

/* Color Splash Decorative Elements */
.color-splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.color-splash {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    width: 250px;
    height: 250px;
}

.color-splash-1 {
    background: radial-gradient(circle, #c3bdff 0%, transparent 70%);
    top: 5%;
    left: -5%;
}

.color-splash-2 {
    background: radial-gradient(circle, #fff3d6 0%, transparent 70%);
    top: 15%;
    right: -3%;
}

.color-splash-3 {
    background: radial-gradient(circle, #a3baff 0%, transparent 70%);
    top: 35%;
    left: 5%;
}

.color-splash-4 {
    background: radial-gradient(circle, #ffd8d6 0%, transparent 70%);
    top: 50%;
    right: 0%;
}

.color-splash-5 {
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    top: 70%;
    left: -2%;
}

.color-splash-6 {
    background: radial-gradient(circle, #c3bdff 0%, transparent 70%);
    top: 85%;
    right: 5%;
}

.color-splash-7 {
    background: radial-gradient(circle, #fff3d6 0%, transparent 70%);
    top: 60%;
    left: 8%;
}

.color-splash-8 {
    background: radial-gradient(circle, #a3baff 0%, transparent 70%);
    top: 92%;
    left: 15%;
}

.color-splash-9 {
    background: radial-gradient(circle, #ffd8d6 0%, transparent 70%);
    top: 8%;
    right: 10%;
}

html,
body,
.block,
.full-width,
.container,
.main,
.content,
.section {
    box-sizing: border-box !important;
    max-width: 95vw !important;
}

/* Prevent headings from overflowing on mobile */
h1,
h2,
h3,
.section-title,
.section-header {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100vw;
}

.section-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

body {
    font-family: 'Geist', system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: #f4f4f4;
    color: #222;
    margin: 0;
}

/* Section heading style for all headings */
h2,
h3,
.section-title,
.section-header {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #282c34;
    margin-bottom: 0.75rem;
}

/* Subtitle <p> after headings */
h1+p,
h2+p,
h3+p,
.section-title+p,
.section-header+p {
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
    font-weight: 400;
    color: #1a1a1a;
}

button {
    font-family: "Fragment Mono";
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 16px;
    text-align: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: auto;
}

.full-width {
    width: 100%;
}

.domain-header {
    width: 100%;
    text-align: left;
    margin-bottom: 24px;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.domain-header .domain-header-row {
    display: block;
}

.domain-header .report-run-date {
    font-size: 0.8rem;
    color: #4b5563;
    white-space: nowrap;
}

.domain-header h1 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #1f2937;
}

.domain-header h1 span.text-primary {
    font-weight: 700;
    color: #111827;
}

.justify {
    text-align: justify;
    text-justify: inter-word;
    flex-grow: 1;
}

img {
    width: 30%;
    max-width: 75px;
    height: auto;
}

.vis-indicator {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.question-table-row:hover {
    background-color: #f8fafc !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.close-modal {
    color: #666;
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.modal-model-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-left: 0;
}

.modal-model-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.modal-model-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 10px 0;
}

.modal-status-indicator.success strong.success {
    color: #16a34a;
}

.modal-status-indicator.error strong.error {
    color: #de2626;
}

.modal-status-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.modal-body {
    padding: 0 16px 24px 16px;
}

.modal-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
}

.brand-grid-item {
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.brand-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-name.highlighted span:not(.reference-badge) {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.reference-badge {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 12px;
}

.brand-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-links li {
    margin-bottom: 6px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-links li::before {
    content: "";
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'%3E%3C/path%3E%3Cpath d='M10 14 21 3'%3E%3C/path%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.brand-links a {
    color: #3b82f6;
    text-decoration: none;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.brand-links a:hover {
    text-decoration: underline;
}

.llm-output-section h4 {
    margin-bottom: 16px;
    color: #374151;
}

.llm-output-text {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
    padding: 16px;
}

.llm-output-text mark {
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

.contact-form-container {
    max-width: 100%;
    margin: 20px 0;
    background-color: #55f3ae;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
}

.contact-form {
    background: none;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #0b2241;
    font-size: 0.875rem;
}

.form-group label span {
    color: red;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    max-height: 38px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-bottom-row {
    margin-top: 10px;
}

.contact-form-container button {
    background: #0b2241;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.contact-form-container button:hover {
    background: #1a3c6d;
}

#form-message {
    border-radius: 4px;
    padding: 12px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    display: none;
}

.contact-form-container button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    width: 100% !important;
}

.bulletpoints {
    list-style-type: disc;
    margin-bottom: 0px;
    text-align: left;
}

.bulletpoints2 {
    text-align: left;
    margin: 0;
}

.bulletpoints li {
    padding-left: 10px;
    margin-top: 5px;
}

.bulletpoints2 li {
    padding-left: 10px;
    margin-top: 10px;
}

#prompts {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 11px;
    overflow-x: auto;
    display: none;
    white-space: nowrap;
}

/* Override base prompts styles for visibility table */
#prompts.visibility-table {
    display: none;
    font-size: 14px !important;
    white-space: normal !important;
    margin-top: 0 !important;
}

/* Legacy table styles - keep for compatibility but override for new design */
#prompts.visibility-table {
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    table-layout: fixed !important;
    min-width: 820px !important;
}

#prompts.visibility-table thead {
    display: table-header-group !important;
    width: auto !important;
}

#prompts.visibility-table tbody {
    display: table-row-group !important;
    width: auto !important;
}

#prompts.visibility-table tr {
    width: auto !important;
}

#prompts.visibility-table tbody td,
#prompts.visibility-table tbody th {
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
    color: inherit !important;
    vertical-align: middle !important;
    text-align: center !important;
}

#prompts.visibility-table .model-headers {
    border-bottom: 1px solid #f1f5f9 !important;
}

#prompts.visibility-table thead th {
    font-weight: 600 !important;
}

#prompts.visibility-table tbody td:first-child {
    text-align: left !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    width: 50% !important;
}

#prompts.visibility-table thead th:first-child {
    text-align: left !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}

#prompts.visibility-table .section-header {
    width: 25% !important;
    color: #6b7280 !important;
}

#prompts.visibility-table .model-col {
    width: 8.33% !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}

#prompts.visibility-table thead th:last-child,
#prompts.visibility-table tbody td:last-child {
    border-right: none !important;
}

#prompts.visibility-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Mobile-friendly prompt results - Visible by default */
.mobile-prompt-results {
    display: block;
}

.mobile-prompt-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-prompt-card:hover {
    background: #f0f0f0;
}

.mobile-prompt-question {
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #333;
}

.mobile-prompt-results-grid {
    display: block;
}

.mobile-prompt-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
}

.mobile-prompt-section h4 {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
}

.mobile-prompt-models {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-model-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mobile-model-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-align: center;
}

.mobile-model-icon {
    width: 22px;
    height: 22px;
}

.mobile-vis-indicator {
    width: 18px;
    height: 18px;
}

.mobile-vis-indicator.success {
    color: #22c55e;
}

.mobile-vis-indicator.error {
    color: #ef4444;
}

#prompts tbody tr th:nth-of-type(3) {
    border-right: 1px #cbd0dd solid;
}

#prompts tbody tr th:nth-of-type(6) {
    border-right: 1px #cbd0dd solid;
}

#prompts tbody tr:nth-of-type(10) th,
#prompts tbody tr:nth-of-type(10) td {
    border-bottom: 1px #cbd0dd solid;
}

#prompts .secondRow th {
    border: 0 none !important;
    border-bottom: 1px #cbd0dd solid !important;
}

#prompts .secondRow th:nth-of-type(3),
#prompts .secondRow th:nth-of-type(6) {
    border-right: 1px #cbd0dd solid !important;
}

.timeline {
    display: flex;
    flex-direction: column;
    margin: 10px auto;
    position: relative;
}

.timeline__event {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;
    margin: 15px 0;
    border-radius: 6px;
    width: 95%;
}

/* Mobile: Icon and Date in same row */
.timeline__event__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f8f9fa;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.timeline__event__content {
    width: 100%;
}

.timeline__event__icon {
    border-radius: 0;
    width: 80px;
    height: 80px;
    margin: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9251ac;
    position: relative;
    flex-shrink: 0;
}

.timeline__event__icon img {
    width: 60px;
    height: auto;
}

.timeline__event__icon:before,
.timeline__event__icon:after {
    display: none;
}

.timeline__event__date {
    border-radius: 0;
    padding: 20px;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    background: #9251ac;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex: 1;
}

.timeline__event__title {
    font-size: 0.9rem;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
    padding: 15px 20px;
    font-weight: 600;
    letter-spacing: 1.1px;
    background: #f8f9fa;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

.timeline__event__icon i {
    font-size: 28px;
}

.timeline__event__description {
    flex-basis: 100%;
    padding: 15px 10px;
    background: #fff;
    border-radius: 0 0 6px 6px;
}

.perplexity .timeline__event__date {
    background: #DE7356 !important;
}

.gemini .timeline__event__date {
    background: #4796E3 !important;
}

.chatgpt .timeline__event__date {
    background: #000 !important;
}

.timeline__event--type2:after {
    background: #555ac0;
}

.timeline__event--type2 .timeline__event__date {
    color: #87bbfe;
    background: #555ac0;
}

.timeline__event--type2:nth-child(2n+1) .timeline__event__icon:before,
.timeline__event--type2:nth-child(2n+1) .timeline__event__icon:after {
    background: #87bbfe;
}

.timeline__event--type2 .timeline__event__icon {
    background: #87bbfe;
    color: #555ac0;
}

.timeline__event--type2 .timeline__event__icon:before,
.timeline__event--type2 .timeline__event__icon:after {
    background: #87bbfe;
}

.timeline__event--type2 .timeline__event__title {
    color: #555ac0;
}

.timeline__event--type3:after {
    background: #24b47e;
}

.timeline__event--type3 .timeline__event__date {
    color: #aff1b6;
    background-color: #24b47e;
}

.timeline__event--type3:nth-child(2n+1) .timeline__event__icon:before,
.timeline__event--type3:nth-child(2n+1) .timeline__event__icon:after {
    background: #aff1b6;
}

.timeline__event--type3 .timeline__event__icon {
    background: #aff1b6;
    color: #24b47e;
}

.timeline__event--type3 .timeline__event__icon:before,
.timeline__event--type3 .timeline__event__icon:after {
    background: #aff1b6;
}

.timeline__event--type3 .timeline__event__title {
    color: #24b47e;
}

.timeline__event:last-child .timeline__event__icon:before {
    content: none;
}

ul {
    list-style-type: none;
}

.text-grey-600 {
    color: #4a5568;
}

.sources-section {
    margin-bottom: 30px;
}

.sources-section h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.sources-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 11px;
    overflow-x: auto;
    table-layout: fixed;
}

.sources-table caption {
    font-weight: bold;
    padding: 8px 10px;
    font-size: 1.1em;
    background: #f1f1f1;
    text-align: left;
    border-bottom: 1px solid #cbd0dd;
}

.sources-table th,
.sources-table td {
    border: 0 none;
    font-size: 11px;
    color: #000;
    padding: 8px 4px;
    text-align: left;
    border-bottom: 1px solid #cbd0dd;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sources-table th {
    background: #f1f1f1;
    font-weight: 600;
    color: #000;
    border-left: 1px solid #cbd0dd;
}

.sources-table td {
    vertical-align: top;
    border-left: 1px solid #cbd0dd;
}

.sources-table tbody tr:nth-child(odd) {
    background: #f1f1f1;
}

.sources-table tr:hover {
    background: #e6f0fa !important;
}

.sources-table * {
    border-color: #cbd0dd !important;
}

.sources-table .brand-col {
    width: 30%;
    font-weight: 600;
    color: #000;
}

.sources-table .count-col {
    width: 15%;
    text-align: center;
    font-weight: 600;
    color: #000;
    font-size: 11px;
}

.sources-table .references-col {
    width: 55%;
}

.sources-table .references-col a {
    font-size: 11px;
    margin-bottom: 2px;
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.sources-table .references-col a:hover {
    color: #004499;
}

/* Tab navigation mobile improvements */
.tab-navigation {
    gap: 5px;
    margin-bottom: 16px;
}

.tab-btn {
    font-size: 13px;
    padding: 10px 12px;
    min-width: auto;
    border-radius: 6px 6px 0 0;
}

.tab-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#modalBrandTable {
    max-width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

#modalBrandTable table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    word-wrap: break-word;
}

#modalBrandTable table th,
#modalBrandTable table td {
    border-bottom: 1px solid #ddd;
    padding: 8px 12px;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Column width distribution */
#modalBrandTable table th:nth-child(1),
#modalBrandTable table td:nth-child(1) {
    width: 25%;
}

#modalBrandTable table th:nth-child(2),
#modalBrandTable table td:nth-child(2) {
    width: 10%;
    text-align: center;
}

#modalBrandTable table th:nth-child(3),
#modalBrandTable table td:nth-child(3) {
    width: 65%;
}

/* Link styling within the references column */
#modalBrandTable table td a {
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
    color: #0066cc;
    text-decoration: underline;
    margin-bottom: 4px;
}

#modalBrandTable table td a:hover {
    color: #004499;
}

/* Caption styling */
#modalBrandTable table caption {
    font-weight: bold;
    padding: 6px 10px;
    text-align: left;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.col-4 {
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

.col-4 img {
    width: 100%;
    max-width: 50px;
    height: auto;
    margin: 0 auto;
}

.ai-description-item {
    text-align: center;
    margin-bottom: 20px;
    align-items: center;
}

.ai-description-item img {
    margin-bottom: 15px;
    width: 30%;
    max-width: 75px;
}

.ai-description-item img.padded {
    max-width: 65px;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.pagination-container {
    margin-top: 20px;
    text-align: center;
}

.pagination-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.show-more-btn,
.show-less-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 140px;
}

.show-more-btn:hover,
.show-less-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.show-less-btn {
    background: #6c757d;
}

.show-less-btn:hover {
    background: #545b62;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.show-more-btn:disabled,
.show-less-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ai-score-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ai-score-description {
    font-size: 15px;
    color: #444;
    margin-bottom: 20px;
}

.ai-score-value {
    font-size: 36px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #bb2424;
}

.ai-score-status {
    font-size: 16px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 6px;
    background-color: #fff0f0;
    color: #bb2424;
    display: inline-block;
    margin-bottom: 10px;
}

.ai-score-status-high {
    background-color: #e6f9e6;
    color: #56bd4c;
}

.ai-score-status-medium-high {
    background-color: #f0f9f0;
    color: #12d091;
}

.ai-score-status-medium {
    background-color: #fffbe6;
    color: #fcc034;
}

.ai-score-status-medium-low {
    /* light red */
    background-color: #fff5f5;
    color: #f87171;
}

.ai-score-status-low {
    background-color: #fff0f0;
    color: #bb2424;
}

.score-pill {
    background-color: #f5f7fa;
    border-radius: 10px;
    padding: 16px 10px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.score-pill strong {
    display: block;
    font-weight: 600;
}

.score-pill-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px 16px;
    margin-top: 16px;
}

.llm-modal-box {
    font-family: 'Geist', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding: 24px;
}

.llm-warning {
    background: #fff4f4;
    border-left: 6px solid #bb2424;
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    color: #bb2424;
    display: flex;
    align-items: center;
    gap: 10px;
}

.llm-warning strong {
    color: black;
}

.llm-success {
    background: #f1fff5;
    border-left: 6px solid #2e7d32;
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 10px;
}

.llm-success strong {
    color: black;
}

.llm-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.brand-card {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.brand-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.brand-links {
    margin: 0;
}

.brand-links li {
    font-size: 13px;
    margin-bottom: 6px;
    word-break: break-word;
}

.brand-links a {
    color: #2a66d9;
    text-decoration: none;
}

.toggle-links-btn {
    background: none;
    border: none;
    color: #2a66d9;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    margin-bottom: 8px;
}

.llm-steps {
    font-size: 15px;
    line-height: 1.6;
}

.llm-steps ol {
    padding-left: 20px;
    margin-top: 0;
}

.llm-steps ol li {
    margin-bottom: 14px;
}

.llm-modal-box h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.sentiment-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-family: 'Geist', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.sentiment-header {
    text-align: center;
    margin-bottom: 20px;
}

.sentiment-header h3 {
    font-size: 1.5rem;
}

.sentiment-score {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.sentiment-score p {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: -10px;
    color: #2e7d32;
}

.sentiment-description {
    text-align: center;
    font-size: 14px;
    margin: 20px 0;
    min-height: 60px;
}

.llm-metrics-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.llm-box {
    flex: 1 1 30%;
    text-align: center;
}

.llm-box img {
    max-height: 48px;
    margin-bottom: 8px;
}

.llm-donut {
    width: 100%;
    height: 120px;
    margin-top: -25px;
    margin-bottom: -25px;
}

.grid-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 220px;
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.grid-item .logo {
    margin-bottom: 10px;
}

.grid-item img {
    width: 48px;
    height: auto;
}

.grid-text .emoji-x {
    font-size: 32px;
    margin-bottom: 12px;
}

.grid-text .divider {
    border-top: 1px solid #ddd;
    margin: 12px auto;
    width: 40%;
}

.grid-text {
    text-align: center;
    flex: 1;
    overflow-y: auto;
    max-height: 160px;
    padding-right: 4px;
}

.grid-text .title {
    font-weight: bold;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.grid-text .date {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.grid-text ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.grid-text ul li {
    margin-bottom: 4px;
    font-size: 14px;
}

.sources-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sources-table th,
.sources-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}

.sources-table th,
.sources-table th img {
    font-size: 1.1em;
    vertical-align: middle;
}

.sources-table thead {
    background-color: #fff;
}

.sources-table td {
    vertical-align: middle;
}

.sources-table td:nth-of-type(3) {
    font-weight: bold;
}

.sources-table tbody tr {
    background-color: #f1f1f1;
}

.sources-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.sources-table a {
    color: gray;
}

.sources-table a:hover {
    color: #111 !important;
}

.toggle-btn {
    background: none;
    border: none;
    color: #1a73e8;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

/* New Visibility Table Styles */
.visibility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.visibility-card-header {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.visibility-card-title {
    flex: 1;
    text-align: center;
}

.domain-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin: 0 4px;
}

.visibility-card-description {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.visibility-card-subtext {
    color: #6b7280;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
}

.visibility-card-content {
    padding: 0 24px 24px 24px;
    display: none;
}

.table-scroll-area {
    overflow-x: auto;
    border-radius: 8px;
    background: white;
}

.prompts-table-footer {
    margin-top: 0.5rem;
    background-color: #000;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
}

.prompts-table-footer a {
    color: #fff;
    font-weight: 700;
}

.visibility-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
    background: white;
    font-size: 14px;
    table-layout: fixed;
    border-radius: 8px;
    overflow: hidden;
    display: none;
}

.visibility-table-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.visibility-table-header th {
    text-align: center;
    font-weight: 600;
    font-size: 0.65rem;
    color: #6b7280;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.visibility-table-header th:last-child {
    border-right: none;
}

.question-col {
    text-align: left !important;
    padding-left: 16px !important;
    font-weight: 600;
    color: #6b7280;
}

.model-col {
    color: #9ca3af !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    width: 8.33%;
    padding: 12px 8px !important;
    text-align: center;
}

.visibility-table-body tr:hover {
    background: #fbfbfc;
}

.visibility-table-row {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.visibility-table-row:last-child {
    border-bottom: none;
}

.question-cell {
    font-weight: 500;
    color: #1f2937;
    text-align: left;
    vertical-align: middle;
    line-height: 1.5;
    font-size: 14px;
    width: 700px;
}

.visibility-table-header img {
    max-width: 100px !important;
}

.visibility-cell {
    padding: 20px 8px;
    text-align: center;
    vertical-align: middle;
    width: 6.25%;
}

.visibility-cell:hover {
    background: #f7f7f8;
}

.visibility-table tr td:last-child {
    border-right: none;
}

.visibility-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 50px;
}

.visibility-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.visibility-icon.success {
    color: #d7f6f2;
}

.visibility-icon.warning {
    color: #fefde3;
}

.visibility-icon.error {
    color: #9ca3af;
}

.visibility-legend {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: #6b7280;
    justify-content: center;
}

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

.legend-item .visibility-icon.success {
    color: #bbeee6;
}

.legend-item .visibility-icon.warning {
    color: #f8ddd0;
}

.legend-item .visibility-icon.error {
    color: #9ca3af;
}

footer {
    margin-top: 40px;
    padding: 20px 0;
    font-size: 14px;
    color: #888;
}

.site-footer {
    margin-top: 48px;
    background: #040506;
    color: #f3f4f6;
    padding: 42px 18px;
}

.site-footer-inner {
    max-width: 1420px;
    margin: 0 auto;
}

.site-footer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;
}

.site-footer-logo {
    width: auto;
    max-width: 120px;
    min-width: 0;
    margin: 0;
}

.site-footer-linkedin {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f3f4f6;
    text-decoration: none;
}

.site-footer-linkedin svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.site-footer-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.site-footer-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 22px;
}

.site-footer-panel h4 {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 500;
}

.site-footer-panel p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer-panel p a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer-panel p a:hover,
.site-footer-panel p a:focus {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer-menu-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.site-footer-menu-group h4 {
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.site-footer-menu-group h4 a,
.site-footer-menu-group ul a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer-menu-group h4 a:hover,
.site-footer-menu-group ul a:hover {
    text-decoration: underline;
}

.site-footer-menu-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-menu-group li {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.4;
}

.site-footer-panel--logo-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 0;
}

.site-footer-bottom-logo {
    width: auto;
    max-width: 120px;
    min-width: 0;
    margin: 0;
}

.site-footer-awards-logo {
    width: auto;
    max-width: 150px;
    min-width: 0;
    margin: 0;
    filter: brightness(0) invert(1);
}

.site-footer-panel--spacer {
    display: none;
    border-top: 0;
    padding-top: 0;
}

.site-footer-panel--brand-divider {
    display: none;
}

.site-footer-copyright {
    margin-bottom: 12px !important;
}

.site-footer-privacy {
    display: inline-block;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.site-footer-privacy:hover {
    text-decoration: underline;
}

@media (min-width: 1025px) {
    .site-footer {
        padding: 56px 24px 52px;
    }

    .site-footer-layout {
        grid-template-columns: 1.8fr 0.9fr 0.9fr;
        column-gap: 20px;
        row-gap: 34px;
    }

    .site-footer-menu-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .site-footer-panel h4 {
        margin-bottom: 18px;
    }

    .site-footer-menu-group li {
        margin-bottom: 8px;
    }

    .site-footer-panel--spacer,
    .site-footer-panel--brand-divider {
        display: block;
    }

    .site-footer-copyright {
        margin-bottom: 24px !important;
    }

    .site-footer-privacy {
        font-size: 16px;
    }
}

/* Tablet/Landscape Phone Styles - 768px and up */
@media (min-width: 768px) {
    .color-splash {
        filter: blur(80px);
        opacity: 1;
        width: 400px;
        height: 400px;
    }

    body {
        padding: 0;
    }

    .domain-header .domain-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-prompt-results {
        display: none !important;
    }

    #prompts {
        display: table !important;
    }

    #prompts.visibility-table {
        display: table !important;
        width: 1100px !important;
        min-width: 1100px !important;
    }

    #prompts.visibility-table th,
    #prompts.visibility-table td {
        box-sizing: border-box;
    }

    #prompts.visibility-table thead th.question-cell,
    #prompts.visibility-table tbody td.question-cell {
        width: 820px !important;
        min-width: 820px !important;
        max-width: 820px !important;
        padding: 20px 8px !important;
    }

    #prompts.visibility-table thead th:nth-child(n + 2),
    #prompts.visibility-table tbody td.visibility-cell {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    #prompts.visibility-table thead th {
        padding: 20px 8px !important;
        line-height: 1 !important;
    }

    #prompts.visibility-table thead th img {
        width: 24px !important;
        height: 24px !important;
        max-width: none !important;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 72rem;
    }

    .block {
        padding: 18px 18px 8px 18px;
        max-width: 550px;
    }

    .full-width {
        grid-column: 1 / -1;
        max-width: 1175px;
    }

    .vis-indicator {
        width: 30px;
        height: 30px;
    }

    #timeline-training-data-chart {
        display: block;
    }

    .timeline-chart {
        height: 450px;
        margin: -80px auto;
    }

    .contact-form-container {
        max-width: 1200px;
        margin: 20px auto;
    }

    .form-row {
        flex-direction: row;
        gap: 20px;
    }

    .contact-form-container button {
        font-size: 1.2em;
        width: auto;
        min-width: 200px;
    }

    .row {
        flex-direction: row;
        gap: 20px;
    }

    .column {
        margin-right: 20px;
    }

    .column:last-child {
        margin-right: 0;
    }

    #prompts tbody td,
    #prompts tbody th {
        font-size: 13px;
        padding: 6px;
    }

    #modalBrandTable table {
        max-width: 1000px;
    }

    .col-4 {
        width: 33.3333%;
        margin-bottom: 0;
    }

    .col-4 img {
        max-width: 60px;
    }

    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* AI Descriptions - Desktop layout (side by side) */
    .ai-description-item {
        display: flex;
        text-align: left;
        gap: 20px;
        margin-bottom: 20px;
    }

    .ai-description-item img {
        margin-bottom: 0;
        flex-shrink: 0;
        width: auto;
    }

    .ai-description-item .justify {
        flex: 1;
    }

    /* Timeline desktop styles */
    .timeline__event {
        flex-direction: row;
        margin: 15px 0;
    }

    /* Desktop: Reset mobile header wrapper to individual elements */
    .timeline__event__header {
        display: contents;
    }

    .timeline__event__content {
        padding: 15px 10px;
        background: #fff;
        width: 69%;
        border-radius: 0 6px 6px 0;
        border: 1px solid #ddd;
    }

    .timeline__event__icon {
        width: 100px;
        height: 100px;
        margin: auto 20px;
        border-radius: 0;
        box-shadow: initial;
        background: none;
    }

    .timeline__event__icon img {
        width: 100px;
        height: auto;
    }

    .timeline__event__date {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 600;
        background: #9251ac;
        display: flex;
        width: 15%;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        padding: 0 20px;
        border-radius: 6px 0 0 6px;
    }

    .timeline__event__title {
        font-size: 1rem;
        padding: 15px 30px;
        background: transparent;
        border-bottom: none;
        letter-spacing: 1.3px;
    }

    .timeline__event__description {
        flex-basis: 60%;
    }

    #prompts {
        display: table;
        font-size: 13px;
    }

    #prompts thead,
    #prompts tbody,
    #prompts tr {
        display: table-row-group;
        width: auto;
        table-layout: auto;
    }

    #prompts tr {
        display: table-row;
    }

    #prompts tbody td,
    #prompts tbody th {
        font-size: 13px;
        padding: 6px;
    }

    /* Sources table desktop styling to match prompts */
    .sources-table {
        font-size: 13px;
        table-layout: fixed;
    }

    .sources-table caption {
        font-size: 1.2em;
        padding: 6px 10px;
    }

    .sources-table th,
    .sources-table td {
        padding: 6px;
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .sources-table .references-col a {
        font-size: 13px;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }

    .tab-navigation {
        flex-wrap: nowrap;
        gap: 0;
    }

    .tab-btn {
        flex: 1;
        min-width: auto;
        padding: 15px 20px;
        font-size: 15px;
    }

    .visibility-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 24px;
    }

    .visibility-table {
        display: table;
    }

    .visibility-card-content {
        display: block;
    }

    .mobile-prompt-results {
        display: none;
    }
}

/* Desktop Styles - 1024px and up */
@media (min-width: 1024px) {
    h2 {
        font-size: 2.5em;
    }

    .form-group label {
        font-size: 1.1em;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="url"],
    .form-group textarea {
        padding: 14px;
    }

    .timeline__event__icon i {
        font-size: 32px;
    }

    .score-pill-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, auto);
    }
}

/* ================================================
   AI VISIBILITY REPORT STYLES
   ================================================ */

/* MOBILE-FIRST BASE STYLES */
.ai-visibility-header {
    text-align: center;
    margin-bottom: 20px;
}
.ai-visibility-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.ai-visibility-domain {
    color: #3b82f6;
}
.ai-visibility-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.ai-visibility-card-content {
    padding: 16px 8px;
}

/* Responsive: Tablet/Desktop Enhancements */
@media (min-width: 700px) {
    .ai-visibility-title {
        font-size: 2.5rem;
    }
    .ai-visibility-card-content {
        padding: 24px 24px;
    }
}
@media (min-width: 1024px) {
    .ai-visibility-title {
        font-size: 3rem;
    }
}

/* HERO GRID: mobile = single column, desktop = 2 columns */
.ai-visibility-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
@media (min-width: 1024px) {
    .ai-visibility-hero-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 32px;
        margin-bottom: 48px;
    }
}

.ai-visibility-score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-visibility-score-header {
    text-align: center;
}

.ai-visibility-score-subtitle {
    max-width: 100%;
    text-align: center;
}

.ai-visibility-gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
}

.ai-visibility-gauge-wrapper {
    position: relative;
    display: inline-block;
}

.ai-visibility-gauge-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ai-visibility-gauge-score {
    font-size: 3.75rem;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ai-visibility-gauge-out-of {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

.ai-visibility-gauge-container .ai-visibility-snapshot-description {
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 0;
}

.ai-visibility-score-status {
    text-align: center;
    margin-top: 1.5rem;
}

.ai-visibility-score-status-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
}

.ai-visibility-score-icon {
    width: 20px;
    height: 20px;
}

.ai-visibility-score-label {
    font-size: 1rem;
    font-weight: 600;
}

.ai-visibility-metrics-section {
    display: flex;
    flex-direction: column;
}

.ai-visibility-score-title, .ai-visibility-snapshot-header h2 {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.ai-visibility-snapshot-header-row .explain-section {
    margin-top: auto;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

.ai-visibility-snapshot-header-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-visibility-snapshot-description {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.ai-visibility-metrics-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    column-gap: 1.5rem;
}
@media (min-width: 700px) {

    .ai-visibility-snapshot-header h2 {
        text-align: left;
    }
    .ai-visibility-snapshot-header-row .explain-section {
        margin-left: 15px;
    }
    .ai-visibility-metrics-grid {
        gap: 2rem 1.5rem;
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-visibility-snapshot-header-row {
        flex-direction: row;
    }
}

.ai-visibility-metrics-grid a {
    text-decoration: none;
    color: inherit;
}

.ai-visibility-metric-card {
    padding: 0.875rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: "Fragment Mono", monospace;
}

.ai-visibility-metric-red {
    background-color: #f5dbdb;
}

.ai-visibility-metric-orange {
    background-color: #fceee6;
}

.ai-visibility-metric-yellow {
    background-color: #fefde3;
}

.ai-visibility-metric-green {
    background-color: #adeee4;
}

.ai-visibility-metric-light-green {
    background-color: #d7f6f2;
}

.ai-visibility-metric-value {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: .5rem;
}

.ai-visibility-metric-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-visibility-metric-desc {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.ai-visibility-analysis-section {
    gap: .75rem;
}

.ai-visibility-analysis-header {
    text-align: center;
    margin-bottom: 24px;
}

.ai-visibility-analysis-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #282c34;
    margin-bottom: 8px;
}

.ai-visibility-analysis-description {
    font-size: 0.875rem;
    color: #6c727f;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* AREAS GRID: mobile = 2 column, tablet = 3, desktop = 6 */
.ai-visibility-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}
@media (min-width: 700px) {
    .ai-visibility-areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .ai-visibility-areas-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.ai-visibility-area-card {
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 0.3);
    background: rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in;
    min-height: 90px;
    box-sizing: border-box;
}

.ai-visibility-area-card:hover {
    background: rgba(255, 255, 255, 0.4);
}

.ai-visibility-area-icon {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    width: 20px;
    height: 20px;
}

.ai-visibility-area-title {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.875rem;
    margin: 0;
    line-height: unset;
}

.ai-visibility-insight-card {
    margin-top: 8px;
    padding: 12px;
    background: linear-gradient(to right, rgba(249, 115, 22, 0.05), rgba(234, 88, 12, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(254, 215, 170, 0.3);
}

.ai-visibility-insight-header {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-visibility-insight-icon {
    width: 16px;
    height: 16px;
    color: #f97316;
    margin-right: 0.5rem;
    margin-bottom: 5px;
}

.ai-visibility-insight-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 10px;
    max-width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* AI Visibility specific gauge adjustments */
.ai-visibility-card .gauge-container {
    margin: -40px auto;
}

.ai-visibility-card .gauge-score-display {
    font-size: 3.75rem;
    color: #374151;
}

.ai-visibility-card .gauge-out-of {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 500;
}

/* Animation delays for staggered effect */
.ai-visibility-area-card:nth-child(1) {
    animation-delay: 0s;
}

.ai-visibility-area-card:nth-child(2) {
    animation-delay: 0.1s;
}

.ai-visibility-area-card:nth-child(3) {
    animation-delay: 0.2s;
}

.ai-visibility-area-card:nth-child(4) {
    animation-delay: 0.3s;
}

.ai-visibility-area-card:nth-child(5) {
    animation-delay: 0.4s;
}

.ai-visibility-area-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* HOVER EFFECTS: only apply on devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    #ai-visibility-report .ai-visibility-metric-card:hover {
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
        z-index: 1;
        transition: box-shadow 0.18s, border-color 0.18s;
    }
    #ai-visibility-report .ai-visibility-metric-red:hover {
        transform: scale(1.05);
        transition: transform 0.18s, border-color 0.18s;
        background-color: #f0c4c4;
    }
    #ai-visibility-report .ai-visibility-metric-orange:hover {
        transform: scale(1.05);
        transition: transform 0.18s, border-color 0.18s;
        background-color: #f8ddd0;
    }
    #ai-visibility-report .ai-visibility-metric-yellow:hover {
        transform: scale(1.05);
        transition: transform 0.18s, border-color 0.18s;
        background-color: #fcf9c8;
    }
    #ai-visibility-report .ai-visibility-metric-light-green:hover {
        transform: scale(1.05);
        transition: transform 0.18s, border-color 0.18s;
        background-color: #bbeee6;
    }
    #ai-visibility-report .ai-visibility-metric-green:hover {
        background-color: #98eadd;
        transform: scale(1.05);
        transition: transform 0.18s, border-color 0.18s, background-color 0.18s;
    }
}

#ai-visibility-report .ai-tabs { margin-top: 10px; }
/* Mobile-first: nav scrolls horizontally if needed */
#ai-visibility-report .ai-tab-nav { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#ai-visibility-report .ai-tab-button {
    appearance: none; background: #fff; color: #374151; border: 1px solid #e5e7eb; border-bottom: none;
    padding: 8px 12px; border-top-left-radius: 10px; border-top-right-radius: 10px; cursor: pointer; font-weight: 600;
    display: inline-flex; align-items: center; font-size: 0.65rem; max-width: 155px; text-transform: uppercase; letter-spacing: 0.02em;
}
#ai-visibility-report .ai-tab-button:hover { background: #faf9ff; }
#ai-visibility-report .ai-tab-button .ai-tab-icon-wrapper {
    width: 100%; height: 100%; max-width: 24px; max-height: 24px; margin-right: 15px;
}
#ai-visibility-report .ai-tab-button .ai-tab-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: #7c55fd; width: 20px; height: 20px;
}
#ai-visibility-report .ai-tab-button span:not(.ai-tab-arrow) { max-width: 90px; text-align: left; margin-left: 10px; }
#ai-visibility-report .ai-tab-button .ai-tab-arrow { display: inline-flex; color: #7c55fd; transition: transform 0.2s ease; width: 12px; height: 12px; align-items: center; }
#ai-visibility-report .ai-tab-button[aria-selected="true"],
#ai-visibility-report .ai-tab-button.is-active { background: #faf9ff; color: #111827; border: 1px solid #e5e7eb; border-bottom: none; }
#ai-visibility-report .ai-tab-button.is-active .ai-tab-arrow { transform: rotate(180deg); }
#ai-visibility-report .ai-tab-panels { background: #faf9ff; border: 1px solid #e5e7eb; border-radius: 10px; border-top-left-radius: 0; border-top-right-radius: 0; padding: 16px; border-top: none; }
#ai-visibility-report .ai-tab-panel { display: none; }
/* Mobile-first: stack content */
#ai-visibility-report .ai-tab-panel.is-active { display: block; }
#ai-visibility-report .ai-tab-panel > .col-2 { margin-bottom: 8px; }
#ai-visibility-report .ai-tab-panel > .col-10 { min-width: 0; }
#ai-visibility-report .ai-tab-panel-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
#ai-visibility-report .ai-tab-panel .col-10.ai-tab-panel-header { flex-direction: column; align-items: flex-start; gap: 8px; }
#ai-visibility-report .ai-panel-icon-wrap { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #7c55fd; background: #f3f0ff; border: 1px solid #e9e5ff; }
#ai-visibility-report .ai-panel-icon-wrap img { width: 18px; height: 18px; }
#ai-visibility-report .ai-tab-panel-header-title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: #282c34; margin: 5px 0 0; }
#ai-visibility-report .ai-visibility-insight-text { margin: 0; max-width: 100%; color: #6c727f; font-size: 0.875rem; line-height: 1.25rem; }
#ai-visibility-report .ai-tab-panel-header h4, #ai-visibility-report .ai-tab-panel-header p { margin: 0; color: #1a1a1a; font-size: 0.875rem; }
#ai-visibility-report .ai-tab-panel-header h4 {font-weight: 500;}

/* Desktop/tablet: two-column layout */
@media (min-width: 700px) {
    #ai-visibility-report .ai-tab-nav { flex-wrap: nowrap; }
    #ai-visibility-report .ai-tab-panel.is-active { display: flex; gap: 16px; align-items: flex-start; }
    #ai-visibility-report .ai-tab-panel > .col-2 { flex: 0 0 56px; max-width: 56px; margin-bottom: 0; }
    #ai-visibility-report .ai-tab-panel > .col-10 { flex: 1 1 auto; min-width: 0; }
}

/* ================================================
   SIMPLE CTA STYLES
   ================================================ */

.simple-cta-section {
    padding: 20px 16px;
    background: rgba(124, 85, 253, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(124, 85, 253, 0.15);
}

.simple-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
}

.simple-cta-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.simple-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #7c55fd;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
    width: 80%;
    justify-content: center;
}

.simple-cta-btn:hover {
    background: #6b46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 85, 253, 0.3);
}

.simple-cta-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 85, 253, 0.3);
}

.simple-cta-btn svg {
    transition: transform 0.2s ease;
}

.simple-cta-btn:hover svg {
    transform: translateY(3px);
}

@media (min-width: 701px) {
    .simple-cta-section {
        padding: 24px;
        border-radius: 16px;
    }
    
    .simple-cta-content {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .simple-cta-text {
        font-size: 1.125rem;
    }
    
    .simple-cta-btn {
        width: auto;
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* ================================================
   SUBSCRIBE CTA STYLES
   ================================================ */

.subscribe-cta-section {
    padding: 14px 16px;
    border-radius: 8px;
    background: #ece7ff;
    border: 1px solid #dfd4ff;
}

.subscribe-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-direction: column;
    text-align: center;
}

.subscribe-cta-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #111827;
}

.subscribe-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    background: #7c55fd;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    letter-spacing: 0.02em;
    width: 80%;
}

.subscribe-cta-btn:hover {
    background: #6b46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 85, 253, 0.3);
}

.subscribe-cta-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 85, 253, 0.3);
}

@media (min-width: 701px) {
    .subscribe-cta-section {
        padding: 14px 20px;
    }

    .subscribe-cta-content {
        flex-direction: row;
        text-align: left;
    }

    .subscribe-cta-text {
        font-size: 0.93rem;
    }

    .subscribe-cta-btn {
        width: auto;
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* ================================================
   PROMPT VISIBILITY STYLES (Mobile-first)
   ================================================ */

/* Mobile base styles */
.prompt-visibility-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.prompt-score-card {
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-right: 0;
    margin-bottom: 0;
    padding: 0.875rem;
    min-height: 90px;
    min-width: 100px;
    box-sizing: border-box;
    transition: none;
    max-width: 100%;
    width: 100%;
}

.prompt-score-card.ai-visibility-metric-green {
    background-color: #d7f6f2;
}

.prompt-score-card.ai-visibility-metric-light-green {
    background-color: #d7f6f2;
}

.prompt-score-card.ai-visibility-metric-yellow {
    background-color: #fefde3;
}

.prompt-score-card.ai-visibility-metric-orange {
    background-color: #fceee6;
}

.prompt-score-card.ai-visibility-metric-red {
    background-color: #f5dbdb;
}

.prompt-score-value {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.1;
    font-family: "Fragment Mono";
}

.prompt-score-desc {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
    text-align: center;
}

.visibility-icon.warning,
.mobile-vis-indicator.warning {
    color: #fceee6;
}

.visibility-icon.success,
.mobile-vis-indicator.success {
    color: #bbeee6;
}

.visibility-icon.error,
.mobile-vis-indicator.error {
    color: #9ca3af;
}

.prompt-visibility-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.prompt-visibility-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
    max-width: 900px;
}

.prompt-visibility-tip {
    background: #1f2937;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #e5e7eb;
    font-size: 0.65rem;
    margin: 18px 0 22px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    width: fit-content;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.prompt-visibility-tip .tip-icon {
    font-size: 0.875rem;
    margin-right: 6px;
}

.prompt-visibility-tip strong {
    color: #fbbf24;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.tip-divider {
    display: block;
    width: 100%;
    height: 0;
    margin: 8px 0;
    overflow: hidden;
}

.tip-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 8px;
    font-size: 0.56rem;
    line-height: 1;
    white-space: nowrap;
}

.tip-legend-item:first-of-type {
    margin-left: 0;
}

.tip-legend-item svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.modal-content {
    width: 100%;
    margin: 24px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 24px 24px 16px 24px;
    box-sizing: border-box;
    overflow-x: auto;
    max-width: 98vw;
    width: 98vw;
    margin: 8px 1vw;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 12px;
}

/* Tablet/Desktop enhancements */
@media (min-width: 700px) {
    .prompt-visibility-hero {
        flex-direction: row;
        gap: 32px;
    }
    
    .prompt-score-card {
        min-width: 200px;
        max-width: 200px;
    }
    
    .prompt-visibility-title {
        font-size: 2rem;
    }
    
    .prompt-visibility-tip {
        display: inline-flex;
        flex-wrap: nowrap;
    }

    .tip-legend-item {
        gap: 4px;
        margin-left: 12px;
        font-size: inherit;
        line-height: inherit;
    }

    .tip-legend-item svg {
        width: 16px;
        height: 16px;
    }

    .tip-divider {
        display: inline-block;
        width: 1px;
        height: 14px;
        background: rgba(255, 255, 255, 0.3);
        margin: 0 16px;
        vertical-align: middle;
    }

    .modal-content {
        max-width: 1000px;
        padding: 32px 32px 24px 32px;
        margin: 24px auto;
    }
}

/* ================================================
   INDUSTRY VISIBILITY STYLES (Mobile-first)
   ================================================ */

/* Mobile base styles */
.industry-visibility-container {
    padding: 12px;
}

.industry-visibility-table-container {
    overflow-x: auto;
}

.industry-visibility-table {
    width: 100%;
    border-collapse: collapse;
}

.industry-visibility-table th {
    padding: 8px 8px;
    text-align: left;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.industry-visibility-table th.text-center {
    text-align: center;
    text-wrap-mode: nowrap;
}

.industry-visibility-table th .header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.industry-visibility-table th .header-content span {
    display: none;
}

.industry-visibility-table th img {
    width: 20px;
    height: 20px;
}

.industry-visibility-table tbody tr {
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    transition: background-color 0.2s ease;
}

.industry-visibility-table tbody tr:hover {
    background-color: rgba(248, 250, 252, 0.5);
}

.industry-visibility-table tbody tr.user-domain-row {
    background-color: #fafafa !important;
    border: none;
}

.industry-visibility-table tbody tr.user-domain-row:hover {
    background-color: #f5f5f5 !important;
}

.industry-visibility-table td {
    padding: 8px 8px;
    color: #374151;
    vertical-align: middle;
    font-size: 0.875rem;
}

.industry-visibility-table td.text-center {
    text-align: center;
}

.industry-visibility-table td.rank-cell {
    font-weight: 600;
    font-size: 14px;
}

.industry-visibility-table td.brand-cell {
    font-weight: 500;
    color: #3b82f6;
}

.industry-visibility-checked-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    background: #1f2937 !important;
    color: #ffffff !important;
    border: none;
    line-height: 1.2;
}

.industry-visibility-table td.score-cell {
    font-weight: 600;
    padding: 12px;
}

.industry-visibility-references-btn {
    background: #ffffff;
    border: 1px solid #1f2937;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.75rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    line-height: 1.2;
    height: auto;
    white-space: nowrap;
}

.industry-visibility-references-btn:hover {
    background: #f9fafb;
    border-color: #1f2937;
    color: #1f2937;
}

.industry-visibility-expanded-row {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.industry-visibility-expanded-content {
    padding: 16px 24px;
}

.industry-visibility-expanded-content h4 {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 12px;
    color: #1f2937;
    padding-left: 12px;
}

.industry-visibility-references-list {
    display: block;
    padding-left: 12px;
    margin: 0;
}

.industry-visibility-reference-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 0;
}

.industry-visibility-reference-number {
    font-weight: 600;
    color: #374151;
    margin-right: 8px;
    min-width: 20px;
    font-size: 0.875rem;
}

.industry-visibility-reference-link {
    color: #3b82f6;
    text-decoration: underline;
    font-size: 0.875rem;
    line-height: 1.4;
    word-break: break-all;
    overflow-wrap: break-word;
    transition: color 0.2s ease;
}

.industry-visibility-reference-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.industry-visibility-show-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}
.industry-visibility-show-more-btn {
    background-color: #1f2937;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 6px 12px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.industry-visibility-show-more-btn:hover {
    background-color: #111827;
}

.industry-visibility-show-more-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.industry-visibility-title {
    font-size: 1.3rem;
}

.industry-visibility-description {
    font-size: 1rem;
}

.industry-gauge-container {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-button {
    background: #ffffff;
    border: 1px solid #1f2937;
    border-radius: 50px;
    padding: 8px 12px;
    font-size: 13px;
    color: #1f2937;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-right: 8px;
    margin-bottom: 4px;
}

.reference-button:hover {
    background: #f9fafb;
    border-color: #1f2937;
    color: #1e293b;
    text-decoration: none;
}

.references-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    align-items: flex-start;
}

.user-domain-highlight {
    background-color: #f9f9fa !important;
}

.domain-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.domain-link:hover {
    color: #2563eb;
}

.industry-visibility-hero {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 18px;
}

.industry-visibility-hero-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.industry-visibility-hero-content {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.industry-visibility-title.section-header {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    color: #1a1a1a;
}

.industry-visibility-description {
    font-size: 1.05rem;
    color: #6c727f;
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
    max-width: 900px;
}

.metric-value-lg {
    font-size: 2rem;
}

/* Tablet/Desktop enhancements */
@media (min-width: 700px) {
    .industry-visibility-container {
        padding: 32px;
    }
    
    .industry-visibility-title {
        font-size: 2rem;
    }
    
    .industry-visibility-table th,
    .industry-visibility-table td {
        padding: 12px 16px;
    }
    
    .industry-visibility-references-list {
        padding-left: 16px;
    }
    
    .industry-visibility-expanded-content h4 {
        padding-left: 16px;
    }
}

@media (min-width: 900px) {
    .industry-visibility-table th .header-content span {
        display: inline;
    }
}

/* =================================================================
   AI Sentiment Awareness Styles
   ================================================================= */

/* MOBILE-FIRST BASE STYLES */
.ai-sentiment-awareness-container {
    padding: 16px;
}
.ai-sentiment-awareness-header {
    margin-bottom: 16px;
}
.ai-sentiment-awareness-content {
    padding: 0 8px 24px;
}
.ai-sentiment-awareness-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}
.ai-sentiment-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Keep the model grid anchored at the bottom of each section card */
.ai-sentiment-section .llm-models-grid {
    margin-top: auto;
}

.section-header {
    text-align: left;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
}

.section-title .domain-highlight {
    color: #3b82f6;
}

.score-display-container {
    border: 2px solid;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.score-display-container:hover {
    /* Only apply brightness to the container, not to child .progress-bar backgrounds */
    box-shadow: 0 2px 8px 0 rgba(31, 41, 55, 0.06);
}

.score-display-container .progress-bar,
.score-display-container .progress-bar * {
    filter: none !important;
    background-blend-mode: normal !important;
}

.score-display-container.positive-sentiment {
    border-color: rgba(34, 197, 94, 0.25);
}

.score-display-container.negative-sentiment {
    border-color: rgba(220, 38, 38, 0.25);
}

.score-display-container.low-awareness {
    border-color: rgba(220, 38, 38, 0.25);
}

.score-display-container.medium-awareness {
    border-color: rgba(245, 158, 11, 0.25);
}

.score-display-container.high-awareness {
    border-color: rgba(34, 197, 94, 0.25);
}

.progress-bar-container {
    width: 100%;
}

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

.progress-score {
    font-size: 2rem;
    font-weight: bold;
}

.progress-percentage {
    font-size: 0.875rem;
    color: #6b7280;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    transition: all 0.5s ease-out;
    border-radius: 6px;
}

.section-description {
    font-size: 0.875rem;
    max-width: 450px;
    margin: 16px auto 0;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
}

.ai-sentiment-section .section-description {
    text-align: center;
    color: #6c727f;
}

/* MOBILE-FIRST BASE STYLES */
.llm-models-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 700px) {
    .llm-models-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.llm-model-card {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb4d;
    transition: all 0.2s ease;
    text-align: center;
}

.llm-model-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.llm-model-icon {
    width: 32px;
    height: 32px;
}

.llm-model-info h4 {
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    font-size: 0.875rem;
}

.llm-model-info p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 2px 0 0 0;
}

.llm-model-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.llm-gauge-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6b7280;
}

/* Circular Progress for AI Sentiment Awareness */
.ai-sentiment-awareness-card .circular-progress {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-sentiment-awareness-card .circular-progress svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ai-sentiment-awareness-card .circular-progress .progress-circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}

.ai-sentiment-awareness-card .circular-progress .progress-background {
    stroke: #e5e7eb;
}

.ai-sentiment-awareness-card .circular-progress .progress-foreground {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 1s ease-in-out, stroke-dashoffset 1s ease-in-out;
}

.ai-sentiment-awareness-card .circular-progress .progress-text {
    position: relative;
    z-index: 1;
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Score-based colors for sentiment awareness gauges */
.ai-sentiment-awareness-card .gauge-excellent .progress-foreground {
    stroke: #10b981;
}

.ai-sentiment-awareness-card .gauge-excellent .progress-text {
    color: #10b981;
}

.ai-sentiment-awareness-card .gauge-moderate .progress-foreground {
    stroke: #f59e0b;
}

.ai-sentiment-awareness-card .gauge-moderate .progress-text {
    color: #f59e0b;
}

.ai-sentiment-awareness-card .gauge-low .progress-foreground {
    stroke: #ef4444;
}

.ai-sentiment-awareness-card .gauge-low .progress-text {
    color: #ef4444;
}

.llm-score-text {
    font-size: 0.75rem;
    color: #6b7280;
}

.ai-sentiment-awareness-title {
    color: #1a1a1a;
    text-align: left;
    margin-top: 0;
}

.ai-sentiment-awareness-subtitle {
    max-width: 100%;
}

/* Tablet/Desktop Enhancements */
@media (min-width: 900px) {
    .ai-sentiment-awareness-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}
@media (min-width: 700px) {
    .ai-sentiment-awareness-container {
        padding: 32px;
    }
    .ai-sentiment-awareness-content {
        padding: 0 24px 32px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .ai-sentiment-section {
        gap: 24px;
    }
}
@media (min-width: 700px) {
    .ai-sentiment-awareness-title {
        font-size: 2rem;
    }
}

.business-analysis-container {
    padding: 16px;
}

.business-analysis-header {
    text-align: center;
    padding: 24px 16px 16px;
}

.business-analysis-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.business-analysis-title .domain-highlight {
    color: #3b82f6;
}

.business-analysis-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 auto;
    line-height: 1.5;
    text-align: center;
}

.ai-model-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 16px;
    padding: 16px 0;
}

.ai-model-section:not(:last-child) {
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.ai-model-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.ai-model-icon-container.chatgpt {
    animation-delay: 0s;
}

.ai-model-icon-container.gemini {
    animation-delay: 1s;
}

.ai-model-icon-container.perplexity {
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

.ai-model-icon {
    width: 24px;
    height: 24px;
}

.ai-model-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-wrap: break-word;
    max-width: 290px;
}

.ai-description-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.ai-description-point:last-child {
    margin-bottom: 0;
}

.ai-description-point:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-description-point:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-description-point:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-description-point:nth-child(4) {
    animation-delay: 0.4s;
}

.ai-description-point:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.description-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

.description-bullet.chatgpt {
    background-color: #000000;
}

.description-bullet.gemini {
    background-color: #3b82f6;
}

.description-bullet.perplexity {
    background-color: #21808D;
}

.description-text {
    color: #1f2937;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ai-model-content .bulletpoints {
    margin: 0;
    padding: 0 1rem;
}

.ai-model-content .bulletpoints li {
    list-style: none;
    margin-bottom: 8px;
    padding-left: 0;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    color: #374151 !important;
    line-height: 1.625;
    font-size: .875rem;
}

.ai-model-content .bulletpoints li strong {
    color: #374151;
    font-weight: 400;
}

.ai-model-content .bulletpoints li:last-child {
    margin-bottom: 0;
}

.ai-model-content .bulletpoints li:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-model-content .bulletpoints li:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-model-content .bulletpoints li:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-model-content .bulletpoints li:nth-child(4) {
    animation-delay: 0.4s;
}

.ai-model-content .bulletpoints li:nth-child(5) {
    animation-delay: 0.5s;
}

.ai-model-content .bulletpoints li:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    left: -1rem;
    top: 8px;
    background-color: #1a1a1a;
}

/* ChatGPT section bullet colors */
.ai-model-section:nth-child(1) .bulletpoints li:before {
    background-color: #1a1a1a;
}

/* Gemini section bullet colors */
.ai-model-section:nth-child(2) .bulletpoints li:before {
    background-color: #1a1a1a;
}

/* Perplexity section bullet colors */
.ai-model-section:nth-child(3) .bulletpoints li:before {
    background-color: #1a1a1a;
}

.important-note {
    padding: .75rem 1rem;
    background: #f7f7f9;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    font-size: 0.875rem;
    color: #6c727f;
    margin-top: 32px;
}

.important-note strong {
    color: #000;
}

.important-note-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.important-note-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
}

.important-note-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.important-note-content p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (min-width: 400px) {
    .ai-model-content {
        max-width: 500px;
    }
}

@media (min-width: 769px) {
    .business-analysis-container {
        padding: 32px;
    }

    .business-analysis-header {
        padding: 0;
    }

    .ai-model-section {
        gap: 32px;
    }

    .ai-model-icon-container {
        width: 64px;
        height: 64px;
    }

    .ai-model-icon {
        width: 32px;
        height: 32px;
    }

    .important-note {
        margin-top: 0;
    }
}

/* LLM Scores section classes */
.llm-score-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 1.25rem;
    box-shadow: none;
    min-height: auto;
}

.llm-score-icon-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
}

.llm-score-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.llm-score-model-name {
    font-size: 0.9rem;
    color: #1f2937;
    font-weight: 600;
    margin-top: 0;
}

.llm-score-main-col {
    background-color: #f5f5f5;
    padding: 1rem;
    margin-left: -2rem;
    border-radius: 8px;
    width: 95%;
}

.llm-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: .5rem;
    min-width: 0;
    gap: 4px;
}

.llm-score-row .sentiment-label-negative,
.llm-score-row .sentiment-label-positive {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.sentiment-label-negative {
    color: #d88782;
}

.llm-score-row .sentiment-label-positive {
    color: #8bd0c5;
}

.llm-score-value {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 45px;
    width: 45px;
    flex-shrink: 0;
    display: inline-block;
    text-align: center;
    letter-spacing: -1px;
    color: #1a1a1a;
}

.llm-score-label {
    font-size: .875rem;
    color: #6b7280;
    margin-left: 2px;
    text-align: right;
}

.llm-score-bar-outer {
    position: relative;
    width: 100%;
    height: 8px;
    background: #ffffff;
    border-radius: 4px;
    overflow: visible;
    border: 1px solid #e5e7eb;
}

.llm-score-bar-fill {
    position: absolute;
    height: 100%;
    border-radius: 3px;
    display: block;
    top: 0;
    left: 0;
}

.llm-score-bar-marker {
    display: none;
}

.llm-score-bar-legend {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: .35rem;
}

/* Refactored inline styles for .ai-sentiment-awareness-grid and children */
.sentiment-awareness-two-col {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    align-items: flex-start !important;
}

.sentiment-awareness-one-col {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

.sentiment-section-no-gap {
    gap: 0 !important;
    margin: auto 0 !important;
}

.sentiment-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}

.sentiment-title {
    margin-bottom: 5px !important;
    text-align: left !important;
    font-size: 1.15rem !important;
}

.sentiment-badge {
    display: inline-block;
    padding: 2px 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
}

.sentiment-score-container {
    margin-bottom: 16px !important;
}

.sentiment-bar-header {
    justify-content: space-between !important;
    margin-bottom: 0 !important;
}

.sentiment-score-value {
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.sentiment-score-label {
    font-size: 1.1rem !important;
    color: #6b7280 !important;
}

.sentiment-progress-bar {
    height: 10px !important;
    margin: 12px 0 0 0 !important;
    background: #f3f4f6 !important;
    border-radius: 6px !important;
    position: relative !important;
}

.sentiment-bar-fill-outer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.sentiment-bar-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    border-radius: 6px;
}

.sentiment-bar-half-left {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: transparent;
}

.sentiment-bar-half-right {
    position: absolute;
    left: 50%;
    width: 50%;
    height: 100%;
    background: transparent;
}

.sentiment-bar-fill {
    position: absolute;
    height: 100%;
    border-radius: 6px;
}

.sentiment-bar-legend {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 6px;
}

.llm-score-cards-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.business-analysis-margin-top {
    margin-top: 40px !important;
}

/* Awareness Overview custom styles */
.awareness-flex-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
}

.awareness-score {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: auto 0;
    height: 100%;
}

.awareness-score-card {
    flex: 1 1 320px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

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

.awareness-score-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
}

.awareness-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #141414;
}

.awareness-score-main-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
    justify-content: flex-start;
}

.awareness-score-value {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -1px;
}

.awareness-score-pct {
    font-size: 0.875rem;
    color: #1a1a1a;
    margin-left: auto;
}

.awareness-bar-outer {
    position: relative;
    width: 100%;
    height: 6px;
    background: #ffffff;
    border-radius: 3px;
    margin-top: auto;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.awareness-bar-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
}

.awareness-bar-fill {
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(.4, 1, .4, 1);
}

.awareness-llm-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%;
}

.awareness-llm-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    box-shadow: none;
}

.awareness-llm-icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.awareness-llm-icon {
    width: 18px;
    height: 18px;
}

.awareness-llm-name {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0;
}

.awareness-llm-gauge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awareness-llm-gauge svg {
    position: absolute;
    left: 0;
    top: 0;
}

.awareness-llm-score {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    font-weight: bold;
    text-align: center;
    width: 56px;
    color: #f59e0b;
}

@media (min-width: 400px) {
    .llm-score-main-col {
        width: 100%;
    }
}

@media (min-width: 700px) {
    
    .llm-score-card {
        border-right: 1px solid #e5e7eb;
        max-width: 190px;
    }

    .llm-score-card:last-child {
        border-right: none;
    }

    .ai-model-content {
        max-width: 210px;
    }
}

@media (min-width: 1001px) {
    .llm-score-main-col {
        width: 100%;
    }

    .awareness-flex-row {
        flex-direction: row;
        gap: 48px;
        align-items: center;
    }

    .awareness-llm-cards {
        display: flex;
        flex-direction: row;
        gap: 16px;
        flex: 1 1 0;
        width: auto;
        justify-content: flex-end;
        grid-template-columns: none;
    }

    .awareness-llm-card {
        min-width: 80px;
    }

    .awareness-score {
        width: 350px;
        max-width: 350px;
        margin: 0 0 24px 0;
        height: 220px;
    }

    .awareness-score-card {
        max-width: none;
        width: auto;
    }
}

@media (min-width: 1020px) {
    .awareness-score {
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .awareness-score {
        height: 130px;
    }
}

/* =================================================================
   LLM Facts Styles
   ================================================================= */

.llm-facts-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    text-align: left;
    margin: 0 0 16px 0;
}

.llm-facts-description {
    font-size: 1rem;
    color: #666;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 100% !important;
}

.methodology-section {
    padding-bottom: 16px;
    display: none;
}

.methodology-text,
.methodology-subtitle {
    width: 100%;
    max-width: 100%;
}

.methodology-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #3d6eff1a;
    border: 1px solid #3d6eff4d;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.methodology-toggle:hover {
    background: #d8e2ff;
    transform: translateY(-1px);
}

.methodology-content {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.methodology-icon {
    color: #4796E3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.methodology-title {
    font-size: 1rem;
    font-weight: 600;
    color: #282c34;
    margin: 0;
}

.methodology-subtitle {
    font-size: 0.875rem;
    color: #6c727f;
    margin: 0;
}

.methodology-chevron {
    color: #4796E3;
    transition: transform 0.3s ease;
}

.methodology-toggle[aria-expanded="true"] .methodology-chevron {
    transform: rotate(180deg);
}

.methodology-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.methodology-expandable.expanded {
    max-height: 1000px;
}

.methodology-expanded-content {
    padding: 16px 0;
}

.methodology-description {
    font-size: 0.875rem;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.no-facts-alert {
    padding: 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    margin: 16px 0;
}

.no-facts-text {
    color: #dc2626;
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0;
}

.no-facts-subtext {
    color: rgba(220, 38, 38, 0.8);
    font-size: 0.75rem;
    margin: 4px 0 0 0;
}

.timeline-chart-container {
    text-align: center;
    padding: 16px 0;
}

.custom-timeline-chart {
    margin: 10px 0;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    overflow-x: auto;
    min-height: 200px;
}

.timeline-axis {
    position: relative;
    height: 200px;
    margin: 20px 0;
}

.timeline-track {
    position: absolute;
    height: 40px;
    left: 60px;
    right: 10px;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
}

.timeline-track.chatgpt {
    top: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
}

.timeline-track.gemini {
    top: 70px;
    background: linear-gradient(90deg, rgba(71,150,227,0.1) 0%, rgba(71,150,227,0.05) 100%);
}

.timeline-track.perplexity {
    top: 120px;
    background: linear-gradient(90deg, rgba(35,128,141,0.1) 0%, rgba(35,128,141,0.05) 100%);
}

.timeline-track.grok {
    top: 170px;
    background: linear-gradient(90deg, rgba(170,170,170,0.15) 0%, rgba(170,170,170,0.08) 100%);
}

.timeline-label {
    position: absolute;
    left: 0;
    width: 50px;
    text-align: right;
    font-weight: 600;
    font-size: 10px;
    color: #333;
}

.timeline-label.chatgpt {
    top: 28px;
    color: #000;
}

.timeline-label.gemini {
    top: 78px;
    color: #4796E3;
}

.timeline-label.perplexity {
    top: 128px;
    color: #23808D;
}

.timeline-label.grok {
    top: 178px;
    color: #666666;
}

.timeline-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.timeline-dot.chatgpt {
    background: #000;
}

.timeline-dot.gemini {
    background: #4796E3;
}

.timeline-dot.perplexity {
    background: #23808D;
}

.timeline-dot.grok {
    background: #aaaaaa;
}

.timeline-dot.no-facts {
    background: #ccc;
    opacity: 0.5;
}

.timeline-line {
    position: absolute;
    height: 3px;
    top: 40%;
    transform: translateY(-40%);
    z-index: 2;
    border-radius: 2px;
}

.timeline-line.chatgpt {
    background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.6) 100%);
}

.timeline-line.gemini {
    background: linear-gradient(90deg, #4796E3 0%, rgba(71,150,227,0.6) 100%);
}

.timeline-line.perplexity {
    background: linear-gradient(90deg, #23808D 0%, rgba(35,128,141,0.6) 100%);
}

.timeline-line.grok {
    background: linear-gradient(90deg, #aaaaaa 0%, rgba(170,170,170,0.6) 100%);
}

.timeline-tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
}

.timeline-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
}

.timeline-tooltip.show {
    opacity: 1;
}

.timeline-date-labels {
    position: absolute;
    top: 220px;
    left: 60px;
    right: 10px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #666;
}

.timeline-no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
}

@media (min-width: 769px) {
    .custom-timeline-chart {
        padding: 20px;
        margin: 20px 0;
    }
    
    .timeline-track {
        left: 80px;
        right: 20px;
    }
    
    .timeline-label {
        width: 70px;
        font-size: 12px;
    }
    
    .timeline-date-labels {
        left: 80px;
        right: 20px;
        font-size: 11px;
    }
}

.timeline-caption {
    font-size: 0.75rem;
    color: #666;
    margin: 8px 0 0 0;
}

.llm-facts-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px;
}

.llm-fact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    flex-direction: column;
}

.llm-fact-item:not(:first-child) {
    margin-top: 25px;
}

.llm-timeline-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 95%;
    position: relative;
    padding-top: 0;
    margin: auto 0;
}

.llm-date-box-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

.llm-date-box {
    font-size: 0.6rem;
    font-weight: 600;
    width: 95%;
    max-width: 95%;
    height: auto;
    min-height: 50px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
    box-shadow: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    gap: 2px;
    align-self: flex-start;
}

.timeline-dot {
    display: none;
    width: 14px;
    height: 14px;
    border-radius: 20%;
    position: absolute;
    left: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    z-index: 3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.llm-timeline-line {
    display: none;
    width: 2px;
    background: #e5e7eb;
    position: absolute;
    top: calc(50% + 7px);
    left: calc(100% + 22px);
    height: 100px;
    z-index: 0;
}

.llm-fact-item:first-child .llm-date-box-container {
    margin-top: 20px;
}

.llm-fact-item:not(:first-child) .llm-fact-card {
    margin-top: 0;
}

.llm-fact-item:not(:first-child) .llm-timeline-col {
    padding-top: 0;
}

.llm-fact-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    background: #fff;
    width: 83%;
    box-shadow: none;
}

@media (min-width: 700px) {
    .methodology-section {
        display: block;
    }
}

.llm-fact-card:hover {
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
}

.llm-fact-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.llm-fact-card-model {
    display: flex;
    align-items: center;
    gap: 10px;
}

.llm-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.llm-model-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
}

.coverage-badge {
    display: inline-block;
    padding: 2px 14px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

.llm-fact-card-body {
    margin-top: 6px;
    margin-left: 2.1rem;
}

.llm-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.llm-fact-item-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.llm-fact-bullet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

.llm-fact-item-text span {
    color: #6b7280 !important;
    font-size: 0.875rem;
    line-height: 1.5;
}

.no-facts-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-facts-item .no-facts-text {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 400;
}

.llm-logo-container {
    flex-shrink: 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.llm-date-box-container {
    max-width: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.llm-fact-item:has(.llm-logo[alt*="ChatGPT"]) .llm-fact-bullet,
.llm-fact-item:has(.llm-logo[alt*="chatgpt"]) .llm-fact-bullet {
    background-color: #000000;
}

.llm-fact-item:has(.llm-logo[alt*="Gemini"]) .llm-fact-bullet,
.llm-fact-item:has(.llm-logo[alt*="gemini"]) .llm-fact-bullet {
    background-color: #4796E3;
}

.llm-fact-item:has(.llm-logo[alt*="Perplexity"]) .llm-fact-bullet,
.llm-fact-item:has(.llm-logo[alt*="perplexity"]) .llm-fact-bullet {
    background-color: #23808D;
}

.llm-fact-item:has(.llm-logo[alt*="Grok"]) .llm-fact-bullet,
.llm-fact-item:has(.llm-logo[alt*="grok"]) .llm-fact-bullet {
    background-color: #aaaaaa;
}

.emoji-x {
    font-size: 1.2rem;
}

/* Tablet/Desktop Enhancements */
@media (min-width: 701px) {
    .llm-fact-item {
        flex-direction: row;
        align-items: stretch;
        gap: 40px;
    }
    
    .llm-fact-item:not(:first-child) {
        margin-top: 0;
    }
    
    .llm-timeline-col {
        width: 130px;
        min-width: 130px;
        max-width: 130px;
    }
    
    .llm-logo-container {
        width: 80px;
    }
    
    .llm-date-box {
        align-self: center;
        width: 120px;
        max-width: 120px;
    }
    
    .llm-fact-card {
        width: 93%;
    }
    
    .timeline-dot {
        display: block;
    }
    
    .llm-timeline-line {
        display: block;
    }
}

.llm-fact-item:last-child .llm-timeline-line {
    display: none;
}

/* =================================================================
   Technical Analysis Styles
   ================================================================= */

/* MOBILE-FIRST BASE STYLES */
.technical-analysis-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}
@media (min-width: 700px) {
    .technical-analysis-hero {
        flex-direction: row;
        gap: 32px;
        margin-bottom: 24px;
    }
}

.technical-analysis-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 0.875rem;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    margin-right: 24px;
    text-align: center;
}

.technical-analysis-score-value {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.technical-analysis-score-desc {
    font-size: 1rem;
    font-weight: 600;
}

.technical-analysis-hero-content {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.technical-analysis-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    text-align: left;
}

.technical-analysis-description {
    text-align: center;
    color: #141414;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technical-analysis-section {
    margin-bottom: 40px;
}

.technical-analysis-table-header {
    display: flex;
    align-items: center;
}

.technical-analysis-section h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
    margin-right: 12px;
}

.technical-analysis-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.6rem;
    margin-left: 12px;
    border: none;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #141414;
}

.technical-analysis-ps-badge-good {
    background: #d7f6f2;
}

.technical-analysis-ps-badge-attention {
    background: #fefde3;
}

.technical-analysis-ps-badge-critical {
    background: #f5dbdb;
    margin-top: 15px;
}

.technical-analysis-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.technical-analysis-table th,
.technical-analysis-table td {
    padding: 14px 12px;
    text-align: left;
    font-size: 0.875rem;
    border-bottom: 1px solid #f3f4f6;
}

.technical-analysis-table th:nth-child(6),
.technical-analysis-table td:nth-child(6) {
    text-align: center;
}

.technical-analysis-table th {
    font-weight: 500;
    color: #9ca3af;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.technical-analysis-table td {
    color: #374151;
}

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

.technical-analysis-body {
    padding: 0 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.technical-analysis-tested-url {
    margin-bottom: 1rem;
}

.technical-analysis-tested-url p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.technical-analysis-status-blocked {
    color: #141414;
    font-weight: 600;
    background: #f5dbdb;
    border-radius: 9999px;
    padding: .25rem .75rem;
    display: inline-block;
    font-size: 0.65rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.technical-analysis-status-allowed {
    color: #141414;
    font-weight: 600;
    background: #d7f6f2;
    border-radius: 9999px;
    padding: .25rem .75rem;
    display: inline-block;
    font-size: 0.65rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.technical-analysis-status-icon {
    font-size: 1.2rem;
    margin-right: 6px;
}

.technical-analysis-check {
    color: #d7f6f2;
    font-size: 1.1rem;
}

.technical-analysis-cross {
    color: #9ca3af;
    font-size: 1.1rem;
}

.technical-analysis-robots-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #10b981;
}

.technical-analysis-robots-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
}

/* MOBILE-FIRST BASE STYLES */
.technical-analysis-ps-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 700px) {
    .technical-analysis-ps-section {
        flex-direction: row;
        gap: 32px;
    }
}

.technical-analysis-ps-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    flex: 1 1 0;
    background: #fff;
    padding: 22px 24px 18px 24px;
    min-width: 220px;
    margin-bottom: 0;
}

.technical-analysis-ps-card.bg-gray {
    background-color: #f5f5f5;
    border: none;
}

.technical-analysis-ps-title {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.01em;
}

.technical-analysis-ps-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 8px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.technical-analysis-ps-badge-inner {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 8px;
    margin-top: 0.5rem;
    line-height: 1.1;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #141414;
}

.technical-analysis-ps-badge-good {
    background: #d7f6f2;
    border: none;
}

.technical-analysis-ps-badge-attention {
    background: #fefde3;
    border: none;
}

.technical-analysis-ps-metric {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 0.5rem;
}

.technical-analysis-ps-metric-value {
    font-size: 0.875rem;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.25rem;
}

.technical-analysis-table-container {
    overflow-x: scroll;
}

@media (min-width: 700px) {
    .technical-analysis-table-container {
        overflow-x: auto;
    }
}

.mb-2 { margin-bottom: 0.5rem; }

/* TTFB Bar Styles */
.ttfb-bar-container {
    width: 100%;
    margin: 0 auto 8px auto;
    height: auto;
    padding-right: 4px;
    position: relative;
}

@media (min-width: 700px) {
    .ttfb-bar-container {
        height: 70px;
        padding-right: 0;
    }
}

.ttfb-bar-labels-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin-left: 0;
    gap: 0;
    font-size: 0.85rem;
    justify-content: space-between;
    margin-bottom: 2px;
}

@media (min-width: 700px) {
    .ttfb-bar-labels-row {
        flex-wrap: nowrap;
        width: 105%;
        margin-left: -2%;
        gap: 0;
        font-size: 0.95em;
        justify-content: space-between;
    }
}

.ttfb-bar-label-group {
    flex: 0 0 auto;
    min-width: 0;
    display: none;
    align-items: center;
    gap: 4px;
}

.ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(1),
.ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(5),
.ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(7),
.ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(10) {
    display: flex;
}

@media (min-width: 1000px) {
    .ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(2),
    .ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(3),
    .ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(4),
    .ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(6),
    .ttfb-bar-labels-row .ttfb-bar-laFbel-group:nth-child(8),
    .ttfb-bar-labels-row .ttfb-bar-label-group:nth-child(9) {
        display: flex;
    }
}

.ttfb-bar-dot {
    font-size: 0.65rem;
}

@media (min-width: 700px) {
    .ttfb-bar-dot {
        font-size: 0.75rem;
    }
}

.ttfb-bar-label {
    color: #222;
    font-size: 0.7rem;
    white-space: nowrap;
}

@media (min-width: 700px) {
    .ttfb-bar-label {
        font-size: 0.75rem;
        white-space: normal;
    }
}

.ttfb-bar-bar-row {
    position: relative;
    height: 18px;
    margin-bottom: 8px;
}

@media (min-width: 700px) {
    .ttfb-bar-bar-row {
        margin-bottom: 10px;
    }
}

.ttfb-bar-bar {
    display: flex;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    overflow: hidden;
}

.ttfb-bar-segment-0 { background: #22c55e; }
.ttfb-bar-segment-1 { background: #4ade80; }
.ttfb-bar-segment-2 { background: #a3e635; }
.ttfb-bar-segment-3 { background: #facc15; }
.ttfb-bar-segment-4 { background: #fbbf24; }
.ttfb-bar-segment-5 { background: #f97316; }
.ttfb-bar-segment-6 { background: #fb7185; }
.ttfb-bar-segment-7 { background: #f43f5e; }
.ttfb-bar-segment-8 { background: #ef4444; }
.ttfb-bar-segment-9 { background: #991b1b; }

.ttfb-bar-dot-0 { color: #22c55e; }
.ttfb-bar-dot-1 { color: #4ade80; }
.ttfb-bar-dot-2 { color: #a3e635; }
.ttfb-bar-dot-3 { color: #facc15; }
.ttfb-bar-dot-4 { color: #fbbf24; }
.ttfb-bar-dot-5 { color: #f97316; }
.ttfb-bar-dot-6 { color: #fb7185; }
.ttfb-bar-dot-7 { color: #f43f5e; }
.ttfb-bar-dot-8 { color: #ef4444; }
.ttfb-bar-dot-9 { color: #991b1b; }

.ttfb-bar-marker {
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    transform: rotate(180deg);
}

.ttfb-title { margin-bottom: 0.5rem; }
.ttfb-badge { margin-left: 12px; }
.ttfb-response-time { margin-bottom: 1.2rem; font-size: 1rem; color: #374151; }
.ttfb-response-value { font-weight: bold; color: #222; }
.ttfb-bar-description { background: #f8fafc; border-radius: 8px; padding: 0.75rem; color: #64748b; font-size: 0.75rem; }

.technical-analysis-ps-metrics-row { display: flex; flex-direction: column; gap: 16px; }
.ps-metric-row { display: flex; align-items: flex-start; gap: 12px; }
.ps-metric-icon { margin-top: 2px; min-width: 22px; }
.ps-metric-img { width: 22px; height: 22px; vertical-align: middle; }
.ps-metric-img-faded { opacity: 0.3; filter: grayscale(1); }
.ps-metric-content { flex: 1; }
.ps-metric-header { display: flex; flex-direction: column; align-items: flex-start; }

@media (min-width: 700px) {
    .ps-metric-header {
        flex-direction: row;
        align-items: center;
    }
}

.ps-metric-title { font-weight: 600; color: #1f2937; margin-bottom: 2px; font-size: 1.05rem; margin-top: 0; }
.ps-metric-value { font-weight: 600; margin-bottom: 2px; }
.ps-metric-value-green { color: #d7f6f2; }
.ps-metric-value-amber { color: #fefde3; }
.ps-metric-value-red { color: #b91c1c; }
.ps-metric-desc { font-size: 0.875rem; color: #9ca3af; }

.technical-analysis-empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5f5;
    border-radius: 8px;
    padding: 1rem;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

/* =================================================================
   Boost Visibility Styles
   ================================================================= */

#boost-visibility {
    margin-bottom: 25px;
}

#boost-visibility h1 span, #boost-visibility h3 span {
    font-size: 2rem;
}

@media (min-width: 700px) {
    #boost-visibility h1 span, #boost-visibility h3 span {
        font-size: 2.5rem;
    }
}

.block {
    text-align: left;
    padding: 24px;
}

.boost-visibility-content {
    padding: 0;
}

.boost-visibility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .boost-visibility-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.boost-left-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
}

.boost-header h1.boost-title {
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

@media (min-width: 700px) {
    .boost-header h1.boost-title {
        font-size: 2.5rem;
    }
}

.boost-subtitle {
    font-size: 1.125rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
}

.benefits-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.4;
    text-align: left;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

@media (min-width: 700px) {
    .benefit-item {
        gap: 12px;
    }
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-item:nth-child(4) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(5) {
    animation-delay: 0.5s;
}

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

.benefit-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7c55fd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: white;
}

@media (min-width: 700px) {
    .benefit-check {
        width: 30px;
        height: 30px;
    }
}

.benefit-item p {
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.boost-benefits-section .explain-button {
    padding: 5px 8px !important;
}

.ready-to-take-action {
    border: 2px solid #6a6a6a;
    border-radius: 8px;
    padding: 30px 20px;
    margin-top: 8px;
}

.action-title {
    font-size: 1rem;
    font-weight: 600;
    color: #b8b8b8;
    margin: 0 0 12px 0;
    letter-spacing: 0.05em;
}

.action-text {
    color: #141414;
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.boost-form-container {
    display: flex;
    align-items: stretch;
}

.form-card {
    width: 100%;
    padding: 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    box-shadow: none;
}

.form-header {
    margin-bottom: 24px;
}

.form-title {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    line-height: 1.2;
    font-weight: 500 !important;
}

@media (min-width: 700px) {
    .form-title {
        font-size: 2.5rem;
    }
}

.form-subtitle {
    font-size: 1.125rem;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.6;
    text-align: left;
}

.form-description {
    font-size: 1.125rem;
    color: #000;
    margin: 0 0 24px 0;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #7c55fd;
    box-shadow: 0 0 0 3px rgba(124, 85, 253, 0.15);
    background: #ffffff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit-btn {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background: #7c55fd;
    color: #ffffff;
    border: 0;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.form-submit-btn:hover {
    background: #6b46e5;
}

.form-submit-btn:focus-visible {
    outline: none;
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-size: 0.875rem;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* =================================================================
   Merged V2 Layout + Dynamic Section (mobile-first)
   ================================================================= */

html,
body {
    max-width: 100% !important;
}

.header {
    background-color: #000;
    color: #fff;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    min-width: 120px;
    margin: 1rem 0 0 0;
}

.domain-header h1 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.domain-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.domain-sub-header-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.domain-sub-header-row h1 {
    font-size: 1.75rem;
    color: #fff;
}

.domain-header-row span:not(.analysis-line, .report-run-date) {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.report-run-date {
    color: #fff !important;
}

.header-right-column span {
    text-align: left;
}

.header-right-column div div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header-right-column a {
    margin-top: -3px;
}

.domain-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 85%;
}

.domain-header .text-primary {
    margin-top: 0;
}

.header-left-column span {
    display: flex;
    justify-content: space-between;
}

.header-left-column a,
.header-right-column a {
    margin-top: 0.5rem;
    font-family: "Fragment Mono";
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0.27rem 0.75rem 0.25rem 0.75rem !important;
    text-decoration: none;
    margin-left: auto;
    background-color: #fff !important;
    color: #000 !important;
}

.header-left-column a {
    display: block;
    margin: 1rem 0 auto 0;
}

/* Analysis Includes Section */
.analysis-includes-section {
    margin-top: 2rem;
    padding: 1rem;
    max-width: 80vw;
    background: #111827;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.analysis-includes-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.analysis-includes-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.analysis-includes-header .explain-section {
    display: none;
}

.analysis-includes-description {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.analysis-includes-description-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.analysis-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.analysis-includes-mobile-video {
    display: block;
    margin-top: 16px;
    text-align: center;
}

.analysis-includes-mobile-video .explain-button {
    width: 100%;
}

.analysis-line {
    display: flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.analysis-line .benefit-check {
    margin-right: 6px;
    flex-shrink: 0;
}

.analysis-includes-description .benefit-check {
    display: inline-flex;
    margin-left: 0.5rem;
    margin-right: 0.25rem;
}

.analysis-includes-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.analysis-includes-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.analysis-includes-item p {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.ai-visibility-v2-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ai-visibility-v2-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.ai-visibility-v2-overall {
    text-align: center;
    border-radius: 8px;
}

.ai-visibility-v2-overall h2 {
    font-size: 1.75rem;
    font-weight: 500;
    color: #111827;
    margin: 0 0 1.5rem 0;
}

.ai-visibility-v2-overall .subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 2rem 0;
}

.overall-gauge-container {
    margin: 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    color: #141414;
    position: absolute;
    left: 50%;
    bottom: 95px;
    transform: translateX(-50%);
    margin: 0;
    z-index: 2;
}

.ai-visibility-v2-snapshot h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
}

.ai-visibility-v2-snapshot h2 span {
    font-weight: 500;
}

.snapshot-description {
    font-size: 0.8rem;
    margin: 0 0 .5rem 0;
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.ai-visibility-v2-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ai-visibility-v2-metric {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: #eee;
}

.ai-visibility-v2-metric .more-details-btn {
    margin: 0.5rem auto;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.6rem;
}

.metric-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.metric-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #141414;
    margin: 5px auto;
    text-align: center;
    line-height: 1.2;
    font-family: 'Fragment Mono';
    white-space: normal;
    word-break: break-word;
    max-width: 95px;
}

.metric-score-box {
    border-radius: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

.metric-gauge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.metric-score {
    font-size: 1.875rem;
    font-weight: 700;
    color: #141414;
    margin: 0 0 0.5rem 0;
}

.metric-description {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #141414;
    margin: 0;
    font-weight: 400;
}

.more-details-btn {
    background: #fff;
    color: #000;
    border: 1px solid #1f2937;
    border-radius: 50px;
    padding: 0.875rem 1rem;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    font-weight: 500;
}

.dynamic-section-header {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1rem;
    flex-direction: column;
    transition: opacity 0.2s ease;
}

.dynamic-section-score-box {
    flex: 0 0 auto;
    min-width: unset;
    width: 90%;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 168px;
    height: 85px;
    order: 3;
}

.score-display {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1f2937;
    font-family: "Fragment Mono";
}

.score-desc {
    font-size: 0.75rem;
    font-weight: 500;
    font-family: "Fragment Mono";
    margin-top: 5px;
}

.dynamic-section-header-content {
    flex: 1;
    min-width: 0;
    display: contents;
    padding-left: 0;
}

.dynamic-section-title-row {
    width: 100%;
    display: contents;
}

.dynamic-section-title-actions {
    display: contents;
    margin-top: 0;
    justify-content: initial;
}

.dynamic-section-title-row h2 {
    order: 1;
    margin: 0 auto;
    padding-left: 0;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.dynamic-section-title-row .explain-section {
    display: flex;
    order: 2;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.dynamic-section-title-row .explain-section button {
    width: 100%;
}

#dynamic-section-description {
    width: 100%;
    max-width: 550px;
    color: #6b7280;
    display: contents;
}

#dynamic-section-description p {
    order: 4;
}

#dynamic-section-description .explain-section {
    display: none;
    justify-content: center;
    margin: 1rem auto 0;
}

.dynamic-section-header p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 -4px 0;
    height: auto;
    align-content: center;
}

.dynamic-section-header:hover {
    opacity: 0.9;
}

.dynamic-section-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dynamic-section-content:first-child {
    margin-top: 0;
}

.dynamic-section-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.section-expandable-content {
    display: none;
    animation: slideDown 0.3s ease-out;
}

.section-expandable-content.expanded {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.expand-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 140px;
    height: 40px;
    transition: transform 0.3s ease;
    margin: 0.25rem auto 0;
    flex-shrink: 0;
    order: 5;
}

.expand-button-label {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    white-space: nowrap;
}

.expand-button svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.expand-button.collapsed svg {
    transform: rotate(0deg);
}

.expand-button.expanded svg {
    transform: rotate(180deg);
}

.explain-button {
    padding: 0 8px 0 3px !important;
    border: none !important;
    font-weight: 500 !important;
    border: 1px solid #1f2937 !important;
    background: #000 !important;
    color: #fff !important;
}

.explain-button span span {
    margin-top: 1px;
}

.button-play-icon path:first-child {
    fill: currentColor;
}

.prompt-visibility-tip {
    margin-left: 1rem;
    justify-content: space-between;
    width: 83%;
    background-color: #000;
}

.technical-analysis-table-header {
    display: block;
    text-align: center;
}

.technical-analysis-badge {
    display: inline-block;
    margin: 0 auto 1rem auto;
}

.domain-sub-header-row a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
}

.industry-visibility-show-more-btn,
.industry-visibility-references-btn {
    background: #ffffff;
    border: 1px solid #1f2937;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #000;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.2;
    height: auto;
    white-space: nowrap;
}

.industry-visibility-show-more-btn:hover {
    background: #fff;
    color: #000;
}

.form-card {
    width: 100%;
    padding: 24px;
    background: #111827;
    border: none;
    border-radius: 12px;
    box-shadow: none;
}

.form-card .form-title,
.form-card .form-subtitle,
.form-card .form-description {
    color: #fff;
}

.form-card .form-title {
    text-align: center;
}

.hsfc-Step__Content {
    padding: 0 !important;
}

.hsfc-FieldLabel {
    color: #fff !important;
}

.hsfc-NavigationRow__Buttons button {
    width: 100% !important;
    background-color: #7c55fd !important;
}

.boost-left-content {
    margin-top: auto;
    margin-bottom: auto;
}

.awareness-llm-cards {
    flex: unset;
    width: 100%;
    justify-content: space-between;
}

.visibility-card-content {
    display: block;
}

.mobile-prompt-results {
    display: block;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.mobile-prompt-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.mobile-prompt-card:hover {
    background: #f0f0f0;
}

.mobile-prompt-question {
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #333;
}

.mobile-prompt-results-grid {
    display: block;
}

.mobile-prompt-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
}

.mobile-prompt-section h4 {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.mobile-prompt-models {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-model-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mobile-model-icon {
    width: 22px;
    height: 22px;
}

.mobile-vis-indicator {
    width: 18px;
    height: 18px;
}

.sentiment-label-negative {
    color: #EF4444;
}

.llm-score-row .sentiment-label-positive {
    color: #10B981;
}

.boost-header h1.boost-title,
.form-card .form-title {
    font-weight: 500 !important;
}

@media (min-width: 700px) {
    .expand-button {
        min-width: 126px;
        justify-content: flex-start;
        margin: -3px 0 0 0;
        align-self: start;
        order: initial;
    }

    .expand-button-label {
        font-size: 0.75rem;
    }

    .dynamic-section-header {
        align-items: stretch;
        gap: 1.75rem;
        padding: 1.25rem 3rem;
        flex-direction: row;
    }

    .dynamic-section-score-box {
        flex: 0 0 148px;
        min-width: 148px;
        padding: 0 0.85rem;
        width: auto;
        order: initial;
    }

    .dynamic-section-header-content {
        display: block;
        padding-left: 0.25rem;
    }

    .dynamic-section-title-row {
        display: flex;
        width: auto;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
    }

    .dynamic-section-title-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1.2rem;
        flex-shrink: 0;
    }

    .dynamic-section-title-row h2 {
        order: initial;
        margin: 0;
        padding-left: 0.1rem;
        text-align: left;
    }

    .dynamic-section-title-row .explain-section {
        display: flex;
        margin: 0;
        order: initial;
    }

    .dynamic-section-title-row .explain-section button {
        width: auto;
    }

    #dynamic-section-description {
        display: block;
    }

    #dynamic-section-description p {
        order: initial;
    }

    #dynamic-section-description .explain-section {
        display: none;
    }

    .benefits-list {
        gap: 1.5rem;
    }

    .benefit-check {
        width: 25px;
        height: 25px;
    }
}

@media (min-width: 768px) {
    .logo {
        min-width: 180px;
    }

    .header-right-column span {
        text-align: right;
    }

    .header-right-column div div {
        flex-direction: column;
        justify-content: initial;
    }

    .header-right-column a {
        margin-top: 0.5rem;
    }

    .domain-header {
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .domain-sub-header-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-left-column a {
        display: none;
    }

    .header-right-column a {
        display: inline-flex;
    }

    .analysis-includes-section {
        padding: 1.5rem 1rem;
        max-width: none;
    }

    .analysis-includes-header {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .analysis-includes-header .explain-section {
        display: block;
        margin-left: auto;
    }

    .analysis-includes-description-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
    }

    .analysis-column {
        display: contents;
    }

    .analysis-includes-mobile-video {
        display: none !important;
    }

    .analysis-includes-description {
        flex-direction: row;
        align-items: center;
    }

    .analysis-line {
        display: inline-flex;
        margin-top: 0;
        margin-bottom: 0;
    }

    .ai-visibility-v2-card {
        padding: 2rem;
    }

    .ai-visibility-v2-metric {
        padding: 2px;
    }

    .ai-visibility-v2-metric .more-details-btn {
        font-size: 12px;
    }

    .metric-label {
        max-width: none;
    }

    .prompt-visibility-tip {
        width: 94%;
    }

    .question-cell {
        width: 66%;
    }

    .dynamic-section-header p {
        height: 57px;
    }

    .technical-analysis-table-header {
        display: flex;
        text-align: left;
    }

    .technical-analysis-badge {
        margin: 0;
    }

    .visibility-table {
        display: table !important;
    }

    .mobile-prompt-results {
        display: none !important;
    }
}

@media (min-width: 851px) {
    .dynamic-section-title-row {
        padding-right: 5vw;
    }
}

@media (min-width: 1024px) {
    .ai-visibility-v2-layout {
        grid-template-columns: 1fr 1.5fr;
    }

    .ai-visibility-v2-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1053px) {
    .dynamic-section-title-row {
        padding-right: 0;
    }
}

@media (min-width: 1280px) {
    .ai-visibility-v2-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .question-cell {
        width: 66.5%;
    }
}
