@import "tom-select/dist/css/tom-select.css";
@import "../../node_modules/intl-tel-input/build/css/intlTelInput.min.css";
@import "../../node_modules/glightbox/dist/css/glightbox.min.css";
@import "./variables.css";
/* Remove Filament Tables import as it's now handled by Filament's assets */
@tailwind base;
@tailwind components;
@tailwind utilities;

[x-cloak] {
    display: none;
}
@media (max-width: 640px) {
    /* Tailwind's 'sm' breakpoint */
    .chat-users {
        height: calc(100vh - -100px);
        -webkit-overflow-scrolling: touch; /* smooth scrolling for iOS */
    }
}

.ts-wrapper {
    @apply rounded-md focus-within:border-info-500 focus-within:ring-2 focus-within:ring-info-500
  dark:border-gray-600 dark:focus-within:border-info-500 dark:focus-within:ring-info-500 bg-gray-900;
}

.ts-control {
    @apply bg-white text-slate-900 dark:bg-slate-800 rounded-md dark:border-slate-500 dark:text-white z-0 !important;
}

/* Style when Tom Select is disabled */
.ts-wrapper.disabled {
    @apply bg-gray-200 dark:bg-gray-700 opacity-50 cursor-not-allowed;
}
.ts-control.disabled {
    @apply bg-gray-300 dark:bg-gray-800 text-gray-500 dark:text-gray-400;
}

.ts-control input::placeholder {
    @apply text-slate-800;
}

.ts-dropdown {
    @apply bg-white border border-slate-300 rounded-md shadow-lg dark:bg-slate-800  dark:border-slate-600;
}

.ts-dropdown [data-selectable].option {
    @apply bg-white text-slate-900 dark:bg-slate-800 dark:text-white text-sm hover:bg-primary-100 dark:hover:bg-primary-400 !important;
}

::-webkit-scrollbar {
    width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    @apply bg-primary-200 !important;
}

.dark ::-webkit-scrollbar-track {
    background: #1e293b; /* Dark mode track color */
}

/* Handle */
::-webkit-scrollbar-thumb {
    @apply bg-primary-400 !important;
}

.dark ::-webkit-scrollbar-thumb {
    background: #64748b; /* Dark mode thumb color */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #bac4d8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* Dark mode hover color */
}

.iti {
    width: 100%;
}

.iti .iti__search-input {
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    padding: 5px;
    width: 100%;
}

.iti .iti__dropdown-content {
    width: 250px !important;
    border-radius: 5px;
}
.iti .iti__selected-dial-code {
    line-height: 1;
    font-size: 14px;
}
/* Dark Mode Styles */
.dark .iti {
    background-color: #1e293b;
}

.dark .iti .iti__search-input {
    background-color: #1e293b;
    border: 1px solid #444;
    color: #fff;
}

.dark .iti .iti__dropdown-content {
    background-color: #1e293b;
    color: #fff;
    border: 1px solid #444;
}

.dark .iti .iti__search-input::placeholder {
    color: #9ca3b1;
}
.dark .iti .iti__selected-dial-code {
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

#power-grid-table-base {
    font-size: 14px !important;
}

/* Ensure the action links are hidden by default */
.contact-actions {
    display: none;
}

/* Show action links when hovering anywhere in the row */
#power-grid-table-base tbody tr:hover .contact-actions {
    display: flex;
}

.table {
    background: white !important;
}

.dark .table {
    background-color: #1e293b !important;
}

.pg-filter-container > div {
    margin-bottom: 1rem; /* or use 16px or any value you prefer */
}

.pg-enabled-filters-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

/* Small devices (phones) */
@media (max-width: 640px) {
    .pg-enabled-filters-base {
        gap: 8px;
    }
    .pg-enabled-filters-base > div {
        margin-bottom: 5px;
    }
}

/* Medium devices (tablets) */
@media (min-width: 641px) and (max-width: 1024px) {
    .pg-enabled-filters-base {
        gap: 12px;
    }
}

/* Large devices (laptops/desktops) */
@media (min-width: 1025px) {
    .pg-enabled-filters-base {
        gap: 20px;
    }
}

.filament-tables-container {
    @apply bg-transparent;
}

.fi-ta-table {
    @apply bg-white dark:bg-secondary-800 shadow-sm rounded-lg;
}

.fi-ta-header-cell {
    @apply bg-secondary-50 dark:bg-secondary-700;
}

/* Match your existing button styles */
.fi-btn {
    @apply transition-colors duration-200;
}

.fi-btn-primary {
    @apply bg-primary-600 hover:bg-primary-700 text-white;
}

/* Override bg-custom-600 when toggle is enabled */
.fi-color-custom.bg-custom-600[aria-checked="true"] {
    background-color: rgb(79 70 229) !important; /* bg-indigo-600 */
}

/* Compact Filament table rows globally — overrides Filament's .py-4 on all column content */
.fi-ta-table .py-4 {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
}

.fi-ta-header-cell {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

/* Uppercase + smaller text in Filament table header cells */
.fi-ta-header-cell .fi-ta-header-cell-label {
    text-transform: uppercase;
    font-size: 0.80rem !important;
}

/* ============================================================
   Xperia theme scope — only applies under <body data-theme="xperia">.
   Keeps thecore + tenant/admin UIs untouched.
   ============================================================ */

[data-theme="xperia"] {
    --landing-section-py: clamp(4rem, 8vw, 7rem);
    --landing-container-px: clamp(1rem, 4vw, 2rem);
    font-feature-settings: "cv11", "ss01", "ss03";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

[data-theme="xperia"] .landing-section {
    padding-top: var(--landing-section-py);
    padding-bottom: var(--landing-section-py);
}

[data-theme="xperia"] .landing-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--landing-container-px);
    padding-right: var(--landing-container-px);
}

[data-theme="xperia"] .landing-eyebrow {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgb(var(--color-primary-600));
}

[data-theme="xperia"] .landing-display {
    font-family: "Geist", "Lexend", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

[data-theme="xperia"] .landing-gradient-text {
    background: linear-gradient(
        90deg,
        rgb(var(--color-primary-500)),
        rgb(var(--color-info-500))
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== Floating pill nav ===== */
[data-landing-nav] {
    transition: transform 0.3s ease;
}

.landing-nav-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px -12px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.3s ease, background-color 0.3s ease,
        border-color 0.3s ease, transform 0.3s ease;
}
[data-landing-nav][data-scrolled="true"] .landing-nav-card {
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05),
        0 16px 40px -16px rgba(15, 23, 42, 0.18);
}
.dark .landing-nav-card {
    background-color: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}
.dark [data-landing-nav][data-scrolled="true"] .landing-nav-card {
    background-color: rgba(15, 23, 42, 0.85);
}
/* Mobile dropdown: solid bg, square-ish corners, not a pill */
.landing-nav-mobile-menu {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
}
.dark .landing-nav-mobile-menu {
    background: rgba(15, 23, 42, 0.98);
}

.landing-nav-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgb(82 82 91);
    transition: color 0.2s ease;
    white-space: nowrap;
}
.landing-nav-link:hover,
.landing-nav-link[data-active="true"] {
    color: rgb(15 23 42);
}
.dark .landing-nav-link {
    color: rgb(161 161 170);
}
.dark .landing-nav-link:hover,
.dark .landing-nav-link[data-active="true"] {
    color: rgb(248 250 252);
}

.landing-nav-pill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.06);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}
.dark .landing-nav-pill {
    background: rgba(255, 255, 255, 0.08);
}

/* Dynamic menu (Resources / Pages) dropdown — glass pill matching nav card */
.landing-nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    min-width: 12rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 16px 40px -16px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}
.dark .landing-nav-dropdown {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-nav-dropdown-link {
    display: block;
    padding: 0.55rem 1rem;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgb(82 82 91);
    white-space: nowrap;
    border-radius: 0.6rem;
    margin: 0 0.4rem;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        padding-left 0.2s ease;
}
.landing-nav-dropdown-link:hover {
    background: rgba(15, 23, 42, 0.05);
    color: rgb(15 23 42);
    padding-left: 1.15rem;
}
.dark .landing-nav-dropdown-link {
    color: rgb(161 161 170);
}
.dark .landing-nav-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}
.landing-nav-dropdown-link-active {
    background: rgba(var(--color-primary-500), 0.1);
    color: rgb(var(--color-primary-700));
    padding-left: 1.15rem;
}
.dark .landing-nav-dropdown-link-active {
    background: rgba(var(--color-primary-500), 0.15);
    color: rgb(var(--color-primary-300));
}

/* Hero primary/secondary CTAs (large) */
.landing-cta-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    border-radius: 9999px;
    background: rgb(var(--color-primary-600));
    color: white;
    font-family: "Geist", system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 2px rgba(var(--color-primary-700), 0.2),
        0 8px 20px -8px rgba(var(--color-primary-600), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.3s ease,
        background-color 0.2s ease;
}
.landing-cta-hero-primary:hover {
    transform: translateY(-1px);
    background: rgb(var(--color-primary-700));
    box-shadow: 0 2px 4px rgba(var(--color-primary-700), 0.25),
        0 16px 30px -10px rgba(var(--color-primary-600), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.landing-cta-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    color: rgb(15 23 42);
    font-family: "Geist", system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background-color 0.2s ease,
        border-color 0.2s ease;
}
.landing-cta-hero-secondary:hover {
    transform: translateY(-1px);
    background: white;
    border-color: rgba(15, 23, 42, 0.18);
}
.dark .landing-cta-hero-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: white;
    border-color: rgba(255, 255, 255, 0.12);
}
.dark .landing-cta-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.landing-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgb(15 23 42);
    color: white;
}
.dark .landing-play-icon {
    background: white;
    color: rgb(15 23 42);
}

/* Header CTA in nav (compact) — follows admin primary color */
.landing-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    border-radius: 9999px;
    background: rgb(var(--color-primary-600));
    color: white;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(var(--color-primary-700), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.landing-cta-primary:hover {
    transform: translateY(-1px);
    background: rgb(var(--color-primary-700));
}

/* Hero gradient mesh blobs */
[data-theme="xperia"] .landing-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
[data-theme="xperia"] .landing-mesh::before,
[data-theme="xperia"] .landing-mesh::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.5;
}
[data-theme="xperia"] .landing-mesh::before {
    width: 520px;
    height: 520px;
    top: -180px;
    right: -120px;
    background: radial-gradient(
        circle at 30% 30%,
        rgb(var(--color-primary-300)),
        transparent 60%
    );
}
[data-theme="xperia"] .landing-mesh::after {
    width: 480px;
    height: 480px;
    bottom: -200px;
    left: -120px;
    background: radial-gradient(
        circle at 70% 70%,
        rgb(var(--color-info-300)),
        transparent 60%
    );
}

/* ===== Logo marquee ===== */
.landing-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.landing-marquee-mask {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 8%,
        black 92%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 8%,
        black 92%,
        transparent
    );
}

.landing-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: landing-marquee 35s linear infinite;
    will-change: transform;
}

.landing-marquee:hover .landing-marquee-track {
    animation-play-state: paused;
}

@keyframes landing-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.landing-marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    min-width: 11rem;
    height: 4.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.landing-logo-card:hover {
    background: white;
    border-color: rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.2);
}
.dark .landing-logo-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}
.dark .landing-logo-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.landing-logo-img {
    height: 2rem;
    width: auto;
    max-width: 10rem;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.landing-logo-card:hover .landing-logo-img {
    filter: grayscale(0);
    opacity: 1;
}
.dark .landing-logo-img {
    filter: grayscale(1) invert(0.85) brightness(1.2);
    opacity: 0.45;
}
.dark .landing-logo-card:hover .landing-logo-img {
    filter: grayscale(0) invert(0.85) brightness(1.2);
    opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
    .landing-marquee-track {
        animation: none;
    }
}

/* ===== Feature rows (zigzag) ===== */

/* Styled divider between feature rows — skip the very first row in the section */
.landing-feature-row {
    position: relative;
}
.landing-feature-row::before {
    content: "";
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 56rem);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 23, 42, 0.08) 25%,
        rgba(15, 23, 42, 0.18) 50%,
        rgba(15, 23, 42, 0.08) 75%,
        transparent 100%
    );
    pointer-events: none;
}
@media (min-width: 1024px) {
    .landing-feature-row::before {
        top: -4.5rem;
    }
}
.landing-feature-row::after {
    content: "";
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgb(var(--color-primary-500));
    box-shadow:
        0 0 0 4px white,
        0 0 0 5px rgba(15, 23, 42, 0.06),
        0 0 16px rgba(var(--color-primary-500), 0.4);
    pointer-events: none;
}
@media (min-width: 1024px) {
    .landing-feature-row::after {
        top: -4.5rem;
    }
}
.dark .landing-feature-row::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 25%,
        rgba(255, 255, 255, 0.14) 50%,
        rgba(255, 255, 255, 0.06) 75%,
        transparent 100%
    );
}
.dark .landing-feature-row::after {
    box-shadow:
        0 0 0 4px rgb(10 10 10),
        0 0 0 5px rgba(255, 255, 255, 0.06),
        0 0 16px rgba(var(--color-primary-500), 0.5);
}

/* Skip divider on the first feature row in the list
   (each Livewire component renders inside its own <div>, so first-child
   targets the first Livewire wrapper) */
.landing-feature-list > div:first-child .landing-feature-row::before,
.landing-feature-list > div:first-child .landing-feature-row::after {
    display: none;
}

/* Reusable section divider — same look as feature-row divider, but
   rendered inline as its own block between two sections.
   Usage: <div class="landing-section-divider"></div> */
.landing-section-divider {
    position: relative;
    height: 1px;
    width: min(80%, 56rem);
    margin: 1.5rem auto;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 23, 42, 0.08) 25%,
        rgba(15, 23, 42, 0.18) 50%,
        rgba(15, 23, 42, 0.08) 75%,
        transparent 100%
    );
    pointer-events: none;
}
.landing-section-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgb(var(--color-primary-500));
    box-shadow:
        0 0 0 4px white,
        0 0 0 5px rgba(15, 23, 42, 0.06),
        0 0 16px rgba(var(--color-primary-500), 0.4);
}
@media (min-width: 1024px) {
    .landing-section-divider {
        margin: 2rem auto;
    }
}
.dark .landing-section-divider {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 25%,
        rgba(255, 255, 255, 0.14) 50%,
        rgba(255, 255, 255, 0.06) 75%,
        transparent 100%
    );
}
.dark .landing-section-divider::after {
    box-shadow:
        0 0 0 4px rgb(10 10 10),
        0 0 0 5px rgba(255, 255, 255, 0.06),
        0 0 16px rgba(var(--color-primary-500), 0.5);
}

.landing-feature-visual {
    position: relative;
    isolation: isolate;
}

.landing-feature-grid {
    position: absolute;
    inset: -1.5rem;
    z-index: -1;
    background-image: radial-gradient(
        rgba(15, 23, 42, 0.18) 1px,
        transparent 1px
    );
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(
        ellipse 80% 70% at 50% 50%,
        black 20%,
        transparent 75%
    );
    mask-image: radial-gradient(
        ellipse 80% 70% at 50% 50%,
        black 20%,
        transparent 75%
    );
    opacity: 0.5;
    pointer-events: none;
}
.dark .landing-feature-grid {
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.14) 1px,
        transparent 1px
    );
}

.landing-feature-image-frame {
    position: relative;
    transition: transform 0.5s ease;
}
.landing-feature-image-frame:hover {
    transform: translateY(-4px);
}

/* Placeholder mock (only shown when no CMS image is set) keeps a visible card surface */
.landing-feature-placeholder {
    padding: 1.5rem;
    min-height: 18rem;
    border-radius: 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.5)
    );
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 20px 40px -16px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}
.dark .landing-feature-placeholder {
    background: linear-gradient(
        145deg,
        rgba(30, 41, 59, 0.7),
        rgba(15, 23, 42, 0.5)
    );
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 20px 40px -16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    /* Align tile vertically with the cap-height of the first text line.
       text-base + leading-relaxed = ~26px line; tile = 24px;
       2px / 2 = 1px (0.0625rem) top offset puts tile centered on x-height. */
    margin-top: 0.0625rem;
}

/* Gradient divider above each feature row's bullet list.
   The center of the gradient picks up the row's accent color so it
   visually ties the divider to the check tiles below. */
.landing-feature-divider {
    height: 2px;
    width: 100%;
    border-radius: 9999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 23, 42, 0.15) 12%,
        rgba(var(--color-primary-500), 0.9) 50%,
        rgba(15, 23, 42, 0.15) 88%,
        transparent 100%
    );
}
.dark .landing-feature-divider {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 12%,
        rgba(var(--color-primary-500), 1) 50%,
        rgba(255, 255, 255, 0.12) 88%,
        transparent 100%
    );
}

/* Per-accent center color so the divider ties to the row's tile color */
.landing-feature-divider-info {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 23, 42, 0.15) 12%,
        rgba(var(--color-info-500), 0.9) 50%,
        rgba(15, 23, 42, 0.15) 88%,
        transparent 100%
    );
}
.dark .landing-feature-divider-info {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 12%,
        rgba(var(--color-info-500), 1) 50%,
        rgba(255, 255, 255, 0.12) 88%,
        transparent 100%
    );
}
.landing-feature-divider-success {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 23, 42, 0.15) 12%,
        rgba(var(--color-success-500), 0.9) 50%,
        rgba(15, 23, 42, 0.15) 88%,
        transparent 100%
    );
}
.dark .landing-feature-divider-success {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 12%,
        rgba(var(--color-success-500), 1) 50%,
        rgba(255, 255, 255, 0.12) 88%,
        transparent 100%
    );
}
.landing-feature-divider-warning {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 23, 42, 0.15) 12%,
        rgba(var(--color-warning-500), 0.9) 50%,
        rgba(15, 23, 42, 0.15) 88%,
        transparent 100%
    );
}
.dark .landing-feature-divider-warning {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 12%,
        rgba(var(--color-warning-500), 1) 50%,
        rgba(255, 255, 255, 0.12) 88%,
        transparent 100%
    );
}

/* ===== Testimonials (dark glass) ===== */
.landing-testimonials {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top, rgb(30 41 59) 0%, rgb(15 23 42) 50%, rgb(2 6 23) 100%);
    color: white;
}

.landing-testimonials-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(
        ellipse 70% 80% at 50% 50%,
        black 30%,
        transparent 80%
    );
    mask-image: radial-gradient(
        ellipse 70% 80% at 50% 50%,
        black 30%,
        transparent 80%
    );
    pointer-events: none;
}

.landing-testimonials-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.landing-testimonials-glow-1 {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -120px;
    background: radial-gradient(
        circle,
        rgba(var(--color-primary-500), 0.35),
        transparent 70%
    );
}
.landing-testimonials-glow-2 {
    width: 520px;
    height: 520px;
    bottom: -160px;
    right: -160px;
    background: radial-gradient(
        circle,
        rgba(var(--color-info-500), 0.25),
        transparent 70%
    );
}

/* Nav buttons (prev/next) */
.landing-testimonials-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}
.landing-testimonials-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Rail */
.landing-testimonials-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .landing-testimonials-rail {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .landing-testimonials-rail {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.landing-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 40px -20px rgba(0, 0, 0, 0.4);
    transition:
        transform 0.4s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.4s ease;
    min-height: 280px;
}
.landing-testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

/* Big decorative quote glyph */
.landing-testimonial-quote {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    color: rgba(255, 255, 255, 0.08);
    transition: color 0.3s ease;
}
.landing-testimonial-card:hover .landing-testimonial-quote {
    color: rgba(var(--color-primary-500), 0.3);
}

.landing-testimonial-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-testimonial-avatar {
    position: relative;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(var(--color-primary-500), 0.4),
        rgba(var(--color-info-500), 0.4)
    );
    padding: 1px;
}
.landing-testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
    display: block;
}

/* Pagination dots (thin lines) */
.landing-testimonial-dot {
    display: inline-block;
    width: 1.25rem;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}
.landing-testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.35);
}
.landing-testimonial-dot-active {
    width: 2.5rem;
    background: white;
}

/* ===== Pricing ===== */
.landing-pricing-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(
        ellipse 90% 50% at 50% 30%,
        black 0%,
        transparent 75%
    );
    mask-image: radial-gradient(
        ellipse 90% 50% at 50% 30%,
        black 0%,
        transparent 75%
    );
    pointer-events: none;
}
.dark .landing-pricing-grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Pricing grid breakout — escapes the parent .landing-container's max-width
   so the cards can use a wider portion of the viewport on lg+ screens.
   Uses the standard `calc(50% - 50vw)` full-bleed trick which guarantees
   symmetric margins regardless of parent width. We then constrain the
   inner content with max-width + padding so it doesn't go infinite. */
.landing-pricing-grid-break {
    width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
@media (min-width: 640px) {
    .landing-pricing-grid-break {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 1280px) {
    .landing-pricing-grid-break {
        /* Full-bleed trick: pull margins to viewport edges, then cap width
           to a comfortable max via max-width + auto centering. */
        width: 100vw;
        max-width: 96rem;
        margin-left: 50%;
        margin-right: 0;
        transform: translateX(-50%);
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Billing toggle */
.landing-billing-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9999px;
    flex-wrap: wrap;
    justify-content: center;
}
.dark .landing-billing-toggle {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.landing-billing-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgb(82 82 91);
    transition:
        color 0.2s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}
.landing-billing-toggle-btn:hover {
    color: rgb(15 23 42);
}
.dark .landing-billing-toggle-btn {
    color: rgb(161 161 170);
}
.dark .landing-billing-toggle-btn:hover {
    color: white;
}

.landing-billing-toggle-btn-active {
    background: rgb(var(--color-primary-600));
    color: white !important;
    box-shadow:
        0 1px 2px rgba(var(--color-primary-700), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.landing-billing-save-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.45rem;
    border-radius: 9999px;
    background: rgb(var(--color-success-100));
    color: rgb(var(--color-success-700));
    font-family: "Geist", system-ui, sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 600;
}
.landing-billing-toggle-btn-active .landing-billing-save-pill {
    background: rgb(var(--color-success-200));
    color: rgb(var(--color-success-800));
}

/* Plan cards */
.landing-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.02),
        0 8px 24px -16px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
    isolation: isolate;
}
@media (min-width: 640px) {
    .landing-plan-card {
        padding: 1.5rem;
    }
}
.landing-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 60px -20px rgba(15, 23, 42, 0.2);
}
.dark .landing-plan-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}
.dark .landing-plan-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
}

/* Decorative blob behind price (tinted per tier) */
.landing-plan-blob {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.4s ease, transform 0.6s ease;
}
.landing-plan-card:hover .landing-plan-blob {
    opacity: 0.75;
    transform: scale(1.08);
}

/* Tier-specific blob colors — all via theme tokens */
.landing-plan-card[data-plan-tier="free"] .landing-plan-blob {
    background: radial-gradient(circle, rgba(var(--color-info-200), 0.7), transparent 60%);
}
.landing-plan-card[data-plan-tier="starter"] .landing-plan-blob {
    background: radial-gradient(circle, rgba(var(--color-primary-200), 0.7), transparent 60%);
}
.landing-plan-card[data-plan-tier="pro"] .landing-plan-blob {
    background: radial-gradient(circle, rgba(var(--color-success-200), 0.7), transparent 60%);
}
.landing-plan-card[data-plan-tier="featured"] .landing-plan-blob {
    background: radial-gradient(circle, rgba(var(--color-primary-300), 0.8), rgba(var(--color-info-200), 0.4) 40%, transparent 70%);
}
.landing-plan-card[data-plan-tier="enterprise"] .landing-plan-blob {
    background: radial-gradient(circle, rgba(var(--color-warning-200), 0.7), transparent 60%);
}
.landing-plan-card[data-plan-tier="lifetime"] .landing-plan-blob {
    background: radial-gradient(circle, rgba(var(--color-success-200), 0.7), transparent 60%);
}

/* Subtle gradient surface tint per tier */
.landing-plan-card[data-plan-tier="free"]::before,
.landing-plan-card[data-plan-tier="starter"]::before,
.landing-plan-card[data-plan-tier="pro"]::before,
.landing-plan-card[data-plan-tier="enterprise"]::before,
.landing-plan-card[data-plan-tier="lifetime"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--color-info-50), 0.4) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}
.landing-plan-card[data-plan-tier="starter"]::before {
    background: linear-gradient(180deg, rgba(var(--color-primary-50), 0.5) 0%, transparent 40%);
}
.landing-plan-card[data-plan-tier="pro"]::before {
    background: linear-gradient(180deg, rgba(var(--color-success-50), 0.5) 0%, transparent 40%);
}
.landing-plan-card[data-plan-tier="enterprise"]::before {
    background: linear-gradient(180deg, rgba(var(--color-warning-50), 0.5) 0%, transparent 40%);
}
.landing-plan-card[data-plan-tier="lifetime"]::before {
    background: linear-gradient(180deg, rgba(var(--color-success-50), 0.5) 0%, transparent 40%);
}
.dark .landing-plan-card::before {
    opacity: 0.4;
}

/* Tier-colored icon tile */
.landing-plan-icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.04);
    color: rgb(15 23 42);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}
.landing-plan-card:hover .landing-plan-icon-tile {
    transform: rotate(-6deg) scale(1.05);
}

.landing-plan-card[data-plan-tier="free"] .landing-plan-icon-tile {
    background: rgba(var(--color-info-100), 0.8);
    color: rgb(var(--color-info-700));
    border-color: rgba(var(--color-info-200), 0.6);
}
.landing-plan-card[data-plan-tier="starter"] .landing-plan-icon-tile {
    background: rgba(var(--color-primary-100), 0.8);
    color: rgb(var(--color-primary-700));
    border-color: rgba(var(--color-primary-200), 0.6);
}
.landing-plan-card[data-plan-tier="pro"] .landing-plan-icon-tile {
    background: rgba(var(--color-success-100), 0.8);
    color: rgb(var(--color-success-700));
    border-color: rgba(var(--color-success-200), 0.6);
}
.landing-plan-card[data-plan-tier="featured"] .landing-plan-icon-tile {
    background: linear-gradient(135deg, rgb(var(--color-primary-500)), rgb(var(--color-primary-700)));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px -2px rgba(var(--color-primary-500), 0.5);
}
.landing-plan-card[data-plan-tier="enterprise"] .landing-plan-icon-tile {
    background: rgba(var(--color-warning-100), 0.8);
    color: rgb(var(--color-warning-700));
    border-color: rgba(var(--color-warning-200), 0.6);
}
.landing-plan-card[data-plan-tier="lifetime"] .landing-plan-icon-tile {
    background: rgba(var(--color-success-100), 0.8);
    color: rgb(var(--color-success-700));
    border-color: rgba(var(--color-success-200), 0.6);
}
.dark .landing-plan-icon-tile {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Featured plan — bold gradient, strong glow */
.landing-plan-card-featured {
    background: linear-gradient(165deg, rgba(var(--color-primary-50), 0.6) 0%, white 50%, rgba(var(--color-info-50), 0.4) 100%);
    border-color: rgb(var(--color-primary-500));
    box-shadow:
        0 0 0 1px rgb(var(--color-primary-500)),
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 32px 60px -24px rgba(var(--color-primary-500), 0.4);
}
.landing-plan-card-featured::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 6px;
    background: linear-gradient(
        90deg,
        rgb(var(--color-primary-500)),
        rgb(var(--color-primary-400)),
        rgb(var(--color-info-500))
    );
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    z-index: 1;
}
.landing-plan-card-featured:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgb(var(--color-primary-500)),
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 40px 80px -24px rgba(var(--color-primary-500), 0.5);
}
.dark .landing-plan-card-featured {
    background: linear-gradient(165deg, rgba(var(--color-primary-500), 0.15) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(var(--color-info-500), 0.08) 100%);
}

/* Bigger, more vivid blob for featured plan */
.landing-plan-card-featured .landing-plan-blob {
    width: 320px;
    height: 320px;
    opacity: 0.7;
    background: radial-gradient(circle, rgba(var(--color-primary-300), 0.9), rgba(var(--color-info-200), 0.4) 40%, transparent 70%);
}
.landing-plan-card-featured:hover .landing-plan-blob {
    opacity: 0.85;
}

.landing-plan-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 9999px;
    background: rgb(var(--color-primary-600));
    color: white;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 4px 12px -2px rgba(var(--color-primary-500), 0.4);
}
.landing-plan-featured-badge svg {
    color: rgb(251 191 36);
}

/* Price typography */
.landing-plan-price-currency {
    font-family: "Geist", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(82 82 91);
    line-height: 1;
    align-self: flex-start;
    margin-top: 0.6rem;
}
.dark .landing-plan-price-currency {
    color: rgb(161 161 170);
}

.landing-plan-price {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgb(15 23 42);
}
.dark .landing-plan-price {
    color: white;
}

.landing-plan-price-period {
    font-family: "Geist", system-ui, sans-serif;
    font-size: 0.85rem;
    color: rgb(100 116 139);
    font-weight: 400;
    text-transform: lowercase;
}
.dark .landing-plan-price-period {
    color: rgb(148 163 184);
}

/* CTAs */
.landing-plan-cta-primary,
.landing-plan-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 0.875rem;
    font-family: "Geist", system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.3s ease,
        color 0.2s ease;
}

.landing-plan-cta-primary {
    background: linear-gradient(135deg, rgb(var(--color-primary-600)), rgb(var(--color-primary-700)));
    color: white;
    box-shadow:
        0 1px 2px rgba(var(--color-primary-700), 0.2),
        0 10px 24px -8px rgba(var(--color-primary-600), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    position: relative;
}
.landing-plan-cta-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.landing-plan-cta-primary:hover::before {
    opacity: 1;
}
.landing-plan-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 1px 2px rgba(var(--color-primary-700), 0.25),
        0 18px 36px -10px rgba(var(--color-primary-600), 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Soft-tinted CTA — light primary background, dark font.
   Each tier override picks its own tint below. Defaults to primary. */
.landing-plan-cta-outline {
    background: rgba(var(--color-primary-50), 1);
    color: rgb(var(--color-primary-700));
    border: 1px solid rgba(var(--color-primary-100), 0.9);
    box-shadow: inset 0 -2px 0 rgba(var(--color-primary-100), 0.5);
}
.landing-plan-cta-outline:hover {
    background: rgba(var(--color-primary-100), 1);
    border-color: rgba(var(--color-primary-200), 1);
    color: rgb(var(--color-primary-800));
    transform: translateY(-1px);
    box-shadow:
        0 1px 2px rgba(var(--color-primary-500), 0.08),
        0 10px 24px -8px rgba(var(--color-primary-500), 0.25);
}
.dark .landing-plan-cta-outline {
    background: rgba(var(--color-primary-500), 0.12);
    color: rgb(var(--color-primary-300));
    border-color: rgba(var(--color-primary-500), 0.25);
    box-shadow: inset 0 -2px 0 rgba(var(--color-primary-500), 0.1);
}
.dark .landing-plan-cta-outline:hover {
    background: rgba(var(--color-primary-500), 0.2);
    border-color: rgba(var(--color-primary-500), 0.4);
    color: white;
}

/* Tier-specific tints for the soft CTA */
.landing-plan-card[data-plan-tier="free"] .landing-plan-cta-outline {
    background: rgba(var(--color-info-50), 1);
    color: rgb(var(--color-info-700));
    border-color: rgba(var(--color-info-100), 0.9);
    box-shadow: inset 0 -2px 0 rgba(var(--color-info-100), 0.5);
}
.landing-plan-card[data-plan-tier="free"] .landing-plan-cta-outline:hover {
    background: rgba(var(--color-info-100), 1);
    border-color: rgba(var(--color-info-200), 1);
    color: rgb(var(--color-info-800));
    box-shadow:
        0 1px 2px rgba(var(--color-info-500), 0.08),
        0 10px 24px -8px rgba(var(--color-info-500), 0.25);
}
.landing-plan-card[data-plan-tier="pro"] .landing-plan-cta-outline {
    background: rgba(var(--color-success-50), 1);
    color: rgb(var(--color-success-700));
    border-color: rgba(var(--color-success-100), 0.9);
    box-shadow: inset 0 -2px 0 rgba(var(--color-success-100), 0.5);
}
.landing-plan-card[data-plan-tier="pro"] .landing-plan-cta-outline:hover {
    background: rgba(var(--color-success-100), 1);
    border-color: rgba(var(--color-success-200), 1);
    color: rgb(var(--color-success-800));
    box-shadow:
        0 1px 2px rgba(var(--color-success-500), 0.08),
        0 10px 24px -8px rgba(var(--color-success-500), 0.25);
}
.landing-plan-card[data-plan-tier="enterprise"] .landing-plan-cta-outline {
    background: rgba(var(--color-warning-50), 1);
    color: rgb(var(--color-warning-700));
    border-color: rgba(var(--color-warning-100), 0.9);
    box-shadow: inset 0 -2px 0 rgba(var(--color-warning-100), 0.5);
}
.landing-plan-card[data-plan-tier="enterprise"] .landing-plan-cta-outline:hover {
    background: rgba(var(--color-warning-100), 1);
    border-color: rgba(var(--color-warning-200), 1);
    color: rgb(var(--color-warning-800));
    box-shadow:
        0 1px 2px rgba(var(--color-warning-500), 0.08),
        0 10px 24px -8px rgba(var(--color-warning-500), 0.25);
}
.landing-plan-card[data-plan-tier="lifetime"] .landing-plan-cta-outline {
    background: rgba(var(--color-success-50), 1);
    color: rgb(var(--color-success-700));
    border-color: rgba(var(--color-success-100), 0.9);
    box-shadow: inset 0 -2px 0 rgba(var(--color-success-100), 0.5);
}
.landing-plan-card[data-plan-tier="lifetime"] .landing-plan-cta-outline:hover {
    background: rgba(var(--color-success-100), 1);
    border-color: rgba(var(--color-success-200), 1);
    color: rgb(var(--color-success-800));
    box-shadow:
        0 1px 2px rgba(var(--color-success-500), 0.08),
        0 10px 24px -8px rgba(var(--color-success-500), 0.25);
}

/* Feature check icon — colored success default, tier overrides below */
.landing-plan-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: rgb(var(--color-success-100));
    color: rgb(var(--color-success-700));
    margin-top: 0.125rem;
    box-shadow: inset 0 0 0 1px rgba(var(--color-success-200), 0.6);
}
.dark .landing-plan-check {
    background: rgba(var(--color-success-500), 0.15);
    color: rgb(var(--color-success-300));
    box-shadow: inset 0 0 0 1px rgba(var(--color-success-500), 0.25);
}

/* Per-tier check colors */
.landing-plan-card[data-plan-tier="free"] .landing-plan-check {
    background: rgb(var(--color-info-100));
    color: rgb(var(--color-info-700));
    box-shadow: inset 0 0 0 1px rgba(var(--color-info-200), 0.6);
}
.landing-plan-card[data-plan-tier="starter"] .landing-plan-check {
    background: rgb(var(--color-primary-100));
    color: rgb(var(--color-primary-700));
    box-shadow: inset 0 0 0 1px rgba(var(--color-primary-200), 0.6);
}
.landing-plan-card[data-plan-tier="pro"] .landing-plan-check {
    background: rgb(var(--color-success-100));
    color: rgb(var(--color-success-700));
    box-shadow: inset 0 0 0 1px rgba(var(--color-success-200), 0.6);
}
.landing-plan-card[data-plan-tier="enterprise"] .landing-plan-check {
    background: rgb(var(--color-warning-100));
    color: rgb(var(--color-warning-700));
    box-shadow: inset 0 0 0 1px rgba(var(--color-warning-200), 0.6);
}
.landing-plan-card[data-plan-tier="lifetime"] .landing-plan-check {
    background: rgb(var(--color-success-100));
    color: rgb(var(--color-success-700));
    box-shadow: inset 0 0 0 1px rgba(var(--color-success-200), 0.6);
}

/* Unavailable feature cross — overrides all tier colors */
.landing-plan-check-unavailable,
.landing-plan-card[data-plan-tier] .landing-plan-check-unavailable {
    background: rgb(254 242 242) !important;
    color: rgb(248 113 113) !important;
    box-shadow: inset 0 0 0 1px rgb(254 202 202) !important;
}
.dark .landing-plan-check-unavailable,
.dark .landing-plan-card[data-plan-tier] .landing-plan-check-unavailable {
    background: rgba(239, 68, 68, 0.12) !important;
    color: rgb(252 165 165) !important;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25) !important;
}

/* Featured check stays as legacy class but now stronger primary */
.landing-plan-check-featured,
.landing-plan-card-featured .landing-plan-check {
    background: rgb(var(--color-primary-100)) !important;
    color: rgb(var(--color-primary-700)) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--color-primary-200), 0.6) !important;
}
.dark .landing-plan-check-featured,
.dark .landing-plan-card-featured .landing-plan-check {
    background: rgba(var(--color-primary-500), 0.15) !important;
    color: rgb(var(--color-primary-300)) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--color-primary-500), 0.25) !important;
}

/* ===== FAQ section ===== */

/* Base section background — soft cream gradient in light, deep navy in dark */
.landing-faq-section {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at top, rgba(var(--color-primary-50), 0.5) 0%, transparent 60%),
        linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}
.dark .landing-faq-section {
    background:
        radial-gradient(ellipse at top, rgba(var(--color-primary-500), 0.12) 0%, transparent 60%),
        linear-gradient(180deg, rgb(9 9 11) 0%, rgb(15 15 17) 100%);
}

/* Faint grid overlay — same idiom as the hero/pricing grids */
.landing-faq-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(
        ellipse 80% 60% at 50% 30%,
        black 0%,
        transparent 75%
    );
    mask-image: radial-gradient(
        ellipse 80% 60% at 50% 30%,
        black 0%,
        transparent 75%
    );
    pointer-events: none;
}
.dark .landing-faq-grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Aurora blobs — three colored ellipses gently breathing in the background */
.landing-faq-aurora {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.dark .landing-faq-aurora {
    opacity: 0.4;
}

.landing-faq-aurora-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -120px;
    background: radial-gradient(
        circle,
        rgba(var(--color-primary-300), 0.65),
        transparent 70%
    );
    animation: landing-faq-aurora-float-1 14s ease-in-out infinite;
}
.landing-faq-aurora-2 {
    width: 460px;
    height: 460px;
    top: 30%;
    right: -160px;
    background: radial-gradient(
        circle,
        rgba(var(--color-info-300), 0.55),
        transparent 70%
    );
    animation: landing-faq-aurora-float-2 18s ease-in-out infinite;
}
.landing-faq-aurora-3 {
    width: 380px;
    height: 380px;
    bottom: -120px;
    left: 30%;
    background: radial-gradient(
        circle,
        rgba(var(--color-success-300), 0.4),
        transparent 70%
    );
    animation: landing-faq-aurora-float-3 16s ease-in-out infinite;
}
.dark .landing-faq-aurora-1 {
    background: radial-gradient(
        circle,
        rgba(var(--color-primary-500), 0.5),
        transparent 70%
    );
}
.dark .landing-faq-aurora-2 {
    background: radial-gradient(
        circle,
        rgba(var(--color-info-500), 0.4),
        transparent 70%
    );
}
.dark .landing-faq-aurora-3 {
    background: radial-gradient(
        circle,
        rgba(var(--color-success-500), 0.3),
        transparent 70%
    );
}

@keyframes landing-faq-aurora-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(40px, 30px); }
}
@keyframes landing-faq-aurora-float-2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, -40px); }
}
@keyframes landing-faq-aurora-float-3 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(20px, -25px); }
}

@media (prefers-reduced-motion: reduce) {
    .landing-faq-aurora-1,
    .landing-faq-aurora-2,
    .landing-faq-aurora-3 {
        animation: none;
    }
}

/* ===== FAQ accordion ===== */

/* WhatsApp contact card — branded, with status pill and tile */
.landing-faq-whatsapp-card {
    position: relative;
    display: block;
    padding: 1.4rem;
    border-radius: 1.25rem;
    background:
        linear-gradient(135deg, rgba(37, 211, 102, 0.06) 0%, rgba(255, 255, 255, 0.85) 60%);
    border: 1px solid rgba(37, 211, 102, 0.25);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 12px 32px -16px rgba(37, 211, 102, 0.2);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.landing-faq-whatsapp-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 20px 40px -16px rgba(37, 211, 102, 0.32);
}
.dark .landing-faq-whatsapp-card {
    background:
        linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(255, 255, 255, 0.03) 60%);
    border-color: rgba(37, 211, 102, 0.3);
}

/* WhatsApp brand-green icon tile */
.landing-faq-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 14px -4px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease;
}
.landing-faq-whatsapp-card:hover .landing-faq-whatsapp-icon {
    transform: rotate(-6deg) scale(1.05);
}

/* "Open WhatsApp →" call-to-action text */
.landing-faq-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #128C7E;
}
.dark .landing-faq-whatsapp-cta {
    color: #25D366;
}

/* Accordion items */
.landing-faq-item {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}
.landing-faq-item:hover {
    border-color: rgba(var(--color-primary-500), 0.4);
    background: white;
    box-shadow: 0 6px 16px -8px rgba(var(--color-primary-500), 0.12);
}
.dark .landing-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}
.dark .landing-faq-item:hover {
    border-color: rgba(var(--color-primary-500), 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 16px -8px rgba(var(--color-primary-500), 0.25);
}

.landing-faq-item-open {
    border-color: rgb(var(--color-primary-500)) !important;
    background: linear-gradient(
        180deg,
        rgba(var(--color-primary-50), 0.6) 0%,
        white 60%
    ) !important;
    box-shadow:
        0 0 0 1px rgba(var(--color-primary-500), 0.2),
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 16px 36px -12px rgba(var(--color-primary-500), 0.25) !important;
}
.dark .landing-faq-item-open {
    background: linear-gradient(
        180deg,
        rgba(var(--color-primary-500), 0.15) 0%,
        rgba(255, 255, 255, 0.04) 60%
    ) !important;
    box-shadow:
        0 0 0 1px rgba(var(--color-primary-500), 0.4),
        0 16px 36px -12px rgba(0, 0, 0, 0.5) !important;
}

.landing-faq-trigger {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0.85rem 1.1rem;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.landing-faq-trigger:hover {
    background: rgba(15, 23, 42, 0.02);
}
.dark .landing-faq-trigger:hover {
    background: rgba(255, 255, 255, 0.02);
}

.landing-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgb(243 244 246);
    color: rgb(15 23 42);
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}
.dark .landing-faq-icon {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}
.landing-faq-item-open .landing-faq-icon {
    transform: rotate(135deg);
    background: rgb(var(--color-primary-500));
    color: white;
    box-shadow: 0 4px 10px -2px rgba(var(--color-primary-500), 0.5);
}
.dark .landing-faq-item-open .landing-faq-icon {
    background: rgb(var(--color-primary-500));
    color: white;
}

.landing-faq-content {
    padding: 0 1.1rem 1rem;
    color: rgb(82 82 91);
    font-size: 0.875rem;
    line-height: 1.55;
}
.dark .landing-faq-content {
    color: rgb(161 161 170);
}

/* Smooth height collapse using grid-template-rows trick.
   Animates from 0fr -> 1fr (closed -> open), so height: auto interpolates
   without measuring with JS. Avoids the layout flash that x-show causes. */
.landing-faq-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition:
        grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease;
    opacity: 0;
}
.landing-faq-collapse-open {
    grid-template-rows: 1fr;
    opacity: 1;
}
.landing-faq-collapse-inner {
    overflow: hidden;
    min-height: 0;
}

/* ===== Footer ===== */
.landing-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: rgb(8 8 11);
    color: rgb(212 212 216);
}

/* Top gradient hairline */
.landing-footer-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(var(--color-primary-500), 0.4) 50%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent 100%
    );
    z-index: 1;
}

.landing-footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    border-radius: 9999px;
    background: radial-gradient(
        ellipse at center,
        rgba(var(--color-primary-500), 0.18),
        transparent 70%
    );
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Column heading */
.landing-footer-heading {
    font-family: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgb(113 113 122);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* Footer links */
.landing-footer-link {
    display: inline-block;
    font-family: "Geist", system-ui, sans-serif;
    font-size: 0.875rem;
    color: rgb(161 161 170);
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}
.landing-footer-link:hover {
    color: white;
    transform: translateX(2px);
}

/* Newsletter */
.landing-footer-newsletter {
    width: 100%;
    max-width: 24rem;
}

.landing-footer-input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    font-family: "Geist", system-ui, sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.landing-footer-input::placeholder {
    color: rgb(82 82 91);
}
.landing-footer-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.landing-footer-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border-radius: 9999px;
    background: rgb(var(--color-primary-500));
    color: white;
    font-family: "Geist", system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 1px 2px rgba(var(--color-primary-700), 0.2);
}
.landing-footer-subscribe:hover {
    background: rgb(var(--color-primary-600));
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 8px 20px -8px rgba(var(--color-primary-500), 0.6);
}

/* Social icons */
.landing-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgb(161 161 170);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}
.landing-footer-social:hover {
    background: rgba(var(--color-primary-500), 0.15);
    border-color: rgba(var(--color-primary-500), 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Status dot pulse — follows --color-success-500 */
@keyframes landing-pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--color-success-500), 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(var(--color-success-500), 0);
    }
}
.landing-status-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgb(var(--color-success-500));
    animation: landing-pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* ===== Hero decorative layers ===== */
.landing-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(
        ellipse 80% 60% at 50% 30%,
        black 30%,
        transparent 70%
    );
    mask-image: radial-gradient(
        ellipse 80% 60% at 50% 30%,
        black 30%,
        transparent 70%
    );
    pointer-events: none;
}
.dark .landing-hero-grid {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.landing-hero-spotlight {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 600px;
    background: radial-gradient(
        ellipse at center top,
        rgba(var(--color-primary-500), 0.18),
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

/* ===== Hero visual wrapper (holds chat mockup + floating cards) ===== */
.landing-hero-visual-wrap {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
}

/* ===== WhatsApp chat mockup ===== */
.landing-chat-mockup {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 30rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, #faf6f0 0%, #ece5d8 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 30px 60px -20px rgba(15, 23, 42, 0.25),
        0 8px 24px -10px rgba(15, 23, 42, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transform: perspective(1200px) rotateX(2deg);
}

.landing-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(6px);
}

.landing-chat-body {
    padding: 1rem 0.9rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 360px;
    background-image:
        radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 14px 14px;
}

.landing-chat-bubble {
    position: relative;
    max-width: 82%;
    padding: 0.55rem 0.85rem 0.5rem;
    border-radius: 1rem;
    font-family: "Geist", system-ui, sans-serif;
    font-size: 0.85rem;
    line-height: 1.35;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
}
.landing-chat-bubble p {
    margin: 0;
    color: rgb(15 23 42);
}
.landing-chat-bubble .landing-chat-time {
    display: block;
    font-family: "Geist Mono", monospace;
    font-size: 0.625rem;
    color: rgb(100 116 139);
    margin-top: 0.2rem;
    text-align: right;
}
.landing-chat-bubble-in {
    align-self: flex-start;
    background: white;
    border-bottom-left-radius: 0.35rem;
}
.landing-chat-bubble-out {
    align-self: flex-end;
    background: #dcf8c6;
    border-bottom-right-radius: 0.35rem;
}
.landing-chat-bubble-out .landing-chat-time {
    color: rgb(34 139 34 / 0.7);
}
.landing-chat-bubble-rich {
    max-width: 88%;
}

.landing-chat-typing {
    align-self: flex-start;
    background: white;
    padding: 0.65rem 0.9rem;
    border-radius: 1rem;
    border-bottom-left-radius: 0.35rem;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
    display: inline-flex;
    gap: 0.25rem;
}
.landing-chat-typing span {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: rgb(100 116 139);
    animation: landing-typing 1.4s infinite ease-in-out both;
}
.landing-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.landing-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes landing-typing {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-4px); opacity: 1; }
}

/* ===== Floating dashboard cards around the chat mockup ===== */
.landing-float-card {
    position: absolute;
    z-index: 2;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px -10px rgba(15, 23, 42, 0.18);
}
.landing-float-tl { top: 8%; left: -8%; }
.landing-float-tr { top: 4%; right: -10%; }
.landing-float-bl { bottom: 12%; left: -10%; }
.landing-float-br { bottom: 6%; right: -8%; }

@media (max-width: 1100px) {
    .landing-float-tl { left: -2%; }
    .landing-float-tr { right: -2%; }
    .landing-float-bl { left: -2%; }
    .landing-float-br { right: -2%; }
}

.dark .landing-float-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.06);
}
.dark .landing-float-card p {
    color: rgb(226 232 240);
}
.dark .landing-float-card .text-neutral-500 {
    color: rgb(148 163 184);
}
.dark .landing-float-card .text-neutral-900 {
    color: white;
}

/* CMS image frame fallback */
.landing-hero-image-frame {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(var(--color-primary-500), 0.1),
        rgba(var(--color-info-500), 0.1)
    );
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
}
