/* ==========================================================================
   Root Variables
   --------------------------------------------------------------------------
   New projects should use --color-*, --radius-*, --shadow-*, and --space-*.
   Legacy aliases are kept below so older templates continue to render.
   ========================================================================== */

:root {
    /* Brand */
    --primary: #2563eb;
    --primary-dark: #052377;
    --primary-light: #dbeafe; /* Status */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444; /* Typography */
    --heading: #0f172a;
    --text: #334155;
    --subtext: #64748b; /* Backgrounds */

    --bg: #ffffff;
    --bg-soft: #f8fafc; /* Borders */
    --border: #e2e8f0; /* Inputs */
    --input-bg: #f9f9f9; /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 999px; /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12); /* Layout */
    --header-height: 80px;
    --section-space: 100px;
    --container-width: 1200px;

    --font-base:
        "DM Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    --font-heading: var(--font-base);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

html.dark,
body.dark {
    --bg: #1e1e1e;
    --bg-soft: #1e293b;
    --heading: #ffffff;
    --text: #cbd5e1;
    --subtext: #94a3b8;
    --border: #334155;
    --input-bg: #2a2a2a;

    --primary-light: #d5d7e2;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}
h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

p {
    color: var(--text);
}

/* ==========================================================================
   Layout / Section Utilities
   ========================================================================== */

.section-title {
    max-width: 700px;
}

.section-subtitle {
    color: var(--subtext);
    max-width: 650px;
}

.section {
    padding: var(--section-space) 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 140px 0;
}

.bg-soft {
    background: var(--bg-soft);
}

.max-w-600 {
    max-width: 600px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-1200 {
    max-width: 1200px;
}

.text-primary {
    color: var(--primary) !important;
}
.text-primary-light {
    color: var(--primary-light) !important;
}
.text-secondary-light {
    color: var(--primary-light) !important;
}

.bg-secondary {
    background-color: var(--primary-light) !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}
a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 14px 24px;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.card-soft {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 14px 16px;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f5f9;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}
.text-primary {
    color: var(--primary) !important;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    -webkit-text-fill-color: transparent;
}
.shadow-soft {
    box-shadow: var(--shadow-md);
}
.radius-lg {
    border-radius: var(--radius-lg);
}

.glass {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.announcement-bar {
    background: #020b22;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.announcement-bar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.announcement-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #dbeafe;
    font-weight: 600;
}

.announcement-link span {
    background: var(--primary);
    color: #fff;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 11px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--header-text);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    flex-shrink: 0;
}

.brand img {
    height: 45px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    display: grid;
    place-items: center;
    transform: rotate(-5deg);
    box-shadow: var(--shadow-md);
}

.brand-icon iconify-icon {
    font-size: 24px;
}

.main-nav {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--header-text);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.is-active,
.nav-dropdown-trigger.is-active {
    color: var(--primary);
}

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

.theme-toggle,
.menu-toggle {
    width: 48px;
    height: 48px;
    border: 1px solid var(--header-border);
    border-radius: 14px;
    background: transparent;
    color: var(--header-text);
    display: grid;
    place-items: center;
}

.btn-login,
.btn-start {
    min-height: 48px;
    border-radius: var(--radius-sm);
    padding: 0 24px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background: var(--bg-soft);
    color: var(--header-text);
}

.btn-start {
    background: var(--primary);
    color: #fff;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.btn-start:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-start span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
}

.menu-toggle {
    display: none;
}

/* ==========================================================================
   Header Mega Dropdowns
========================================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--header-text);
    font: inherit;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: var(--primary);
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 22px);
    left: -24px;
    z-index: 1200;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: top left;
    transition: 0.22s ease;
}

.features-mega {
    width: 520px;
}

.help-mega {
    width: 360px;
    display: grid;
    gap: 8px;
}

.nav-dropdown:hover .mega-dropdown,
.nav-dropdown:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mega-title {
    margin-bottom: 16px;
    color: var(--subtext);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.features-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mega-item {
    padding: 13px;
    border-radius: 16px;
    color: var(--heading);
    display: flex;
    align-items: center;
    gap: 13px;
}

.mega-item:hover {
    background: var(--bg-soft);
    color: var(--heading);
    transform: translateY(-2px);
}

.mega-item.is-active {
    background: var(--primary-light);
}

.mega-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 20px;
}

.mega-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}
.mega-icon.green {
    background: #dcfce7;
    color: #16a34a;
}
.mega-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}
.mega-icon.orange {
    background: #ffedd5;
    color: #ea580c;
}
.mega-icon.pink {
    background: #fce7f3;
    color: #db2777;
}
.mega-icon.slate {
    background: #e2e8f0;
    color: #334155;
}

.mega-item strong {
    display: block;
    color: var(--heading);
    font-size: 0.95rem;
    line-height: 1.2;
}

.mega-item small {
    color: var(--subtext);
    font-size: 0.82rem;
}

.mega-bottom-link {
    margin-top: 18px;
    padding: 15px 16px;
    border-top: 1px solid var(--border);
    color: var(--heading);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 9px;
}

.mega-bottom-link:hover {
    color: var(--primary);
}

.mega-bottom-link span {
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
}

.mega-bottom-link small {
    margin-left: auto;
    color: var(--subtext);
    font-size: 0.78rem;
}

/* Mobile Accordion */

.mobile-accordion-btn {
    width: 100%;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-accordion-btn iconify-icon {
    transition: 0.25s ease;
}

.mobile-accordion.is-open .mobile-accordion-btn iconify-icon {
    transform: rotate(180deg);
}

.mobile-accordion-panel {
    display: none;
    padding: 8px 0 12px 16px;
}

.mobile-accordion.is-open .mobile-accordion-panel {
    display: grid;
}

.mobile-accordion-panel a {
    padding: 10px 0;
    border-bottom: 0;
    color: var(--subtext);
    font-weight: 700;
}

.mobile-accordion-panel a:hover {
    color: var(--primary);
}

.mobile-nav a.is-active,
.mobile-accordion-panel a.is-active {
    color: var(--primary);
    font-weight: 900;
}

/* Responsive */

@media (max-width: 991px) {
    .mega-dropdown {
        display: none;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 0;
    min-height: calc(100vh - var(--header-height));
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(120, 124, 200, 0.25),
            transparent 60%
        ),
        linear-gradient(
            to right,
            rgba(120, 152, 255, 0.12),
            rgba(120, 152, 255, 0.12)
        ),
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size:
        100% 100%,
        100% 100%,
        40px 40px,
        40px 40px;
    overflow: hidden;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--input-bg);
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 26px;
}

.hero-pill span {
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 11px;
}

.hero-content h1 {
    max-width: 900px;
    margin: 0 auto 22px;
    font-size: clamp(2rem, 5vw, 3.1rem);
    letter-spacing: -0.05em;
    font-weight: 900;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 10px;
    background: rgba(37, 99, 235, 0.25);
    z-index: -1;
    border-radius: var(--radius-pill);
}

.hero-content p {
    max-width: 650px;
    margin: 0 auto 28px;
    font-size: 18px;
}

.hero-mini-cards {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-mini-card {
    min-width: 210px;
    background: var(--bg-soft);
    border: 1px solid color-mix(in srgb, var(--primary-dark) 20%, transparent);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.hero-mini-card strong {
    display: block;
    color: var(--subtext);
    font-size: 14px;
}

.hero-mini-card small {
    display: block;
    color: var(--subtext);
    font-size: 12px;
}

.mini-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-icon.green {
    background: #bbf7d0;
    color: #15803d;
}

.mini-icon.purple {
    background: #e9d5ff;
    color: #7e22ce;
}

.mini-icon.blue {
    background: #dbeafe;
    color: var(--primary);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.btn-hero,
.btn-hero-outline {
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--subtext);
    font-size: 14px;
    font-weight: 600;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-trust iconify-icon {
    color: var(--primary);
}

.hero-visual {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 55px auto -30px;
    animation: heroFloat 5s ease-in-out infinite;
}

.hero-visual img {
    width: 100%;
    display: block;
    border-radius: 24px 24px 0 0;
    box-shadow: var(--shadow-lg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 50%;
}

.orbit-one {
    width: 520px;
    height: 520px;
    right: 8%;
    top: 18%;
}

.orbit-two {
    width: 720px;
    height: 720px;
    right: -4%;
    top: 5%;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }

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

.hero-pill,
.hero-content h1,
.hero-content p,
.hero-mini-cards,
.hero-actions,
.hero-trust,
.hero-visual {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-content h1 {
    animation-delay: 0.12s;
}

.hero-content p {
    animation-delay: 0.22s;
}

.hero-mini-cards {
    animation-delay: 0.32s;
}

.hero-actions {
    animation-delay: 0.42s;
}

.hero-trust {
    animation-delay: 0.52s;
}

.hero-visual {
    animation:
        heroFadeUp 0.8s ease forwards 0.62s,
        heroFloat 5s ease-in-out infinite 1.4s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
    transition: 0.25s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100dvh;
    background: var(--bg);
    z-index: 1200;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.is-active {
    transform: translateX(0);
}

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

.menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--heading);
    display: grid;
    place-items: center;
}

.mobile-nav {
    padding: 36px 0 22px;
    display: grid;
}

.mobile-nav a {
    padding: 16px 0;
    color: var(--heading);
    font-weight: 800;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-actions {
    display: grid;
    gap: 12px;
}

.mobile-actions .btn-login,
.mobile-actions .btn-start {
    width: 100%;
}

/* ==========================================================================
   Animation
   ========================================================================== */

@keyframes floatUp {
    0%,
    100% {
        transform: translateY(0);
    }

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .main-nav {
        gap: 22px;
    }
}

@media (max-width: 991px) {
    .announcement-bar {
        display: none;
    }

    .main-nav,
    .header-actions .btn-login,
    .header-actions .btn-start {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .header-inner {
        min-height: 76px;
    }
}

@media (max-width: 575px) {
    .brand {
        font-size: 1.55rem;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .hero-section {
        padding-top: 55px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-pill,
    .hero-actions,
    .hero-trust,
    .hero-mini-cards {
        justify-content: flex-start;
    }

    .hero-mini-card {
        width: 100%;
    }
}

@media (max-width: 575px) {
    :root {
        --header-height: 72px;
    }

    .announcement-link {
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: clamp(1.9rem, 13vw, 2.5rem);
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-hero,
    .btn-hero-outline {
        width: 100%;
    }

    .hero-trust {
        text-align: center !important;
        justify-content: center;
    }

    .hero-visual {
        margin-top: 38px;
    }
}

/* ==========================================================================
   Social Proof / Trust
========================================================================== */

.trust-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: var(--bg);
}

.trust-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.trust-head .section-badge {
    margin-inline: auto;
}

.trust-head h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.06em;
}

.trust-head p {
    max-width: 670px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-metric {
    position: relative;
    overflow: hidden;
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--input-bg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

.trust-metric::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--bg-soft);
    opacity: 0;
    transition: 0.3s ease;
}

.trust-metric strong,
.trust-metric span {
    position: relative;
    z-index: 2;
    display: block;
}

.trust-metric strong {
    margin-bottom: 8px;
    color: var(--heading);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.trust-metric span {
    color: var(--subtext);
    font-weight: 600;
}

/* Logos */

.trust-logo-card {
    margin-top: 34px;
    padding: 28px 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--input-bg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.trust-logo-marquee {
    position: relative;
    overflow: hidden;
}

.trust-logo-marquee::before,
.trust-logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 130px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trust-logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.trust-logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.trust-logo-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 74px;
    padding-inline: 40px;
    animation: trustLogoScroll 38s linear infinite;
}

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

.trust-logo-track img {
    height: 28px;
    width: auto;
    opacity: 0.56;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.trust-logo-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

/* Highlight */

.trust-highlight {
    margin-top: 34px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 34px;
}

.trust-highlight-copy span {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 900;
}

.trust-highlight-copy h3 {
    margin: 12px 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: -0.055em;
}

.trust-highlight-copy p {
    margin: 0;
    max-width: 440px;
    font-size: 1rem;
}

.analytics-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.analytics-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

.analytics-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--heading);
    font-size: clamp(1.05rem, 3vw, 1.9rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.analytics-card span {
    color: var(--subtext);
    font-weight: 700;
    font-size: 0.8rem;
}

/* Trust Badges */

.trust-badges {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-badges span {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--heading);
    font-size: 0.88rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.trust-badges iconify-icon {
    color: #16a34a;
}

/* Animation */

@keyframes trustLogoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Responsive */

@media (max-width: 991px) {
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trust-highlight-copy p {
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .analytics-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .trust-section {
        padding: 70px 0;
    }

    .trust-head {
        margin-bottom: 40px;
    }

    .trust-metrics {
        grid-template-columns: 1fr;
    }

    .trust-logo-track {
        gap: 54px;
    }

    .trust-logo-track img {
        height: 28px;
    }

    .trust-logo-marquee::before,
    .trust-logo-marquee::after {
        width: 48px;
    }

    .trust-highlight {
        padding: 24px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   Section Badge
========================================================================== */

.section-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
}

/* ==========================================================================
    Problem → Solution
========================================================================== */

.problem-section {
    position: relative;
    overflow: hidden;
    background: var(--input-bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 72px;
}

.problem-copy h2 {
    margin: 24px 0 22px;
    max-width: 620px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.problem-text {
    max-width: 590px;
}

.problem-text p {
    margin-bottom: 14px;
    font-size: 1.04rem;
}

.problem-benefits {
    margin: 32px 0 36px;
    display: grid;
    gap: 14px;
}

.problem-benefits span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--heading);
    font-weight: 800;
}

.problem-benefits iconify-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: grid;
    place-items: center;
    padding: 5px;
}

.problem-cta {
    width: fit-content;
    min-height: 54px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.problem-cta:hover {
    color: #fff;
    transform: translateY(-2px);
}

.problem-cta span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
}

/* ==========================================================================
   Problem Visual Dashboard
========================================================================== */

.problem-visual {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.live-dashboard {
    position: relative;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 2;
}

.live-dashboard::before {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.dashboard-header {
    position: relative;
    z-index: 2;
    min-height: 78px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-header strong,
.chat-top strong,
.conversation-item strong {
    display: block;
    color: var(--heading);
    line-height: 1.2;
}

.dashboard-header small,
.chat-top small,
.conversation-item small {
    color: var(--subtext);
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.82rem;
    font-weight: 800;
}

.online-pill i,
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: var(--shadow-md);
}

.dashboard-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 460px;
}

.conversation-list {
    padding: 18px;
    border-right: 1px solid var(--border);
    background: var(--bg-soft);
    display: grid;
    align-content: start;
    gap: 12px;
}

.conversation-item {
    padding: 12px;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    transition: 0.25s ease;
}

.conversation-item.is-active,
.conversation-item:hover {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.conversation-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.conversation-item span {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
}

.chat-window {
    padding: 22px;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.chat-top {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.chat-messages {
    padding: 24px 0;
    display: grid;
    align-content: start;
    gap: 14px;
}

.message-bubble {
    max-width: 78%;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-bubble.visitor {
    justify-self: start;
    background: var(--bg-soft);
    color: var(--text);
}

.message-bubble.agent {
    justify-self: end;
    background: var(--primary);
    color: #fff;
}

.typing-indicator {
    width: fit-content;
    padding: 13px 16px;
    border-radius: 999px;
    background: var(--bg-soft);
    display: flex;
    gap: 5px;
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--subtext);
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

.reply-box {
    min-height: 56px;
    padding: 8px 8px 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--subtext);
}

.reply-box button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
}

/* Floating Chips */

.floating-chip {
    position: absolute;
    z-index: 3;
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    color: #111;
    font-size: 0.84rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--shadow-md);
}

.floating-chip iconify-icon {
    color: var(--primary);
}

.floating-chip span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: var(--shadow-md);
}

.chip-visitor {
    top: 56px;
    left: -34px;
}

.chip-message {
    top: 180px;
    right: -38px;
    animation-delay: 0.35s;
}

.chip-lead {
    bottom: 82px;
    left: 52px;
    animation-delay: 0.7s;
}

/* ==========================================================================
   Animations
========================================================================== */

@keyframes floatChip {
    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes widgetPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-md);
    }

    50% {
        transform: scale(1.04);
        box-shadow: var(--shadow-md);
    }
}

@keyframes typingBounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* ==========================================================================
   Responsive
========================================================================== */

@media (max-width: 1199px) {
    .problem-grid {
        gap: 48px;
    }

    .dashboard-body {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 991px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-copy {
        text-align: center;
    }

    .problem-copy .section-badge,
    .problem-cta {
        margin-inline: auto;
    }

    .problem-text,
    .problem-copy h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .problem-benefits {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .problem-visual {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .dashboard-body {
        grid-template-columns: 1fr;
    }

    .conversation-list {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .conversation-item:nth-child(n + 3) {
        display: none;
    }

    .floating-chip {
        display: none;
    }
}

@media (max-width: 575px) {
    .problem-copy h2 {
        font-size: 2.35rem;
    }

    .live-dashboard {
        border-radius: 22px;
    }

    .dashboard-header,
    .chat-window {
        padding: 18px;
    }

    .conversation-list {
        padding: 14px;
    }

    .message-bubble {
        max-width: 92%;
    }

    .widget-bubble {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        font-size: 28px;
    }
}

/* ==========================================================================
    Features
========================================================================== */

.features-section {
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.features-head {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.features-head .section-badge {
    margin-inline: auto;
}

.features-head h2 {
    margin: 22px 0 16px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.features-head p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-box {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--input-bg);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}

.feature-box::before {
    content: "";
    position: absolute;
    inset: -1px;

    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}

.feature-box-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    margin-bottom: 42px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 28px;
}

.feature-box-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-box-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.feature-box-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.feature-box-icon.orange {
    background: #ffedd5;
    color: #ea580c;
}

.feature-box-icon.pink {
    background: #fce7f3;
    color: #db2777;
}

.feature-box-icon.slate {
    background: #e2e8f0;
    color: #334155;
}

.feature-box h3,
.feature-box p {
    position: relative;
    z-index: 2;
}

.feature-box h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.feature-box p {
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-box {
        min-height: 245px;
    }
}

@media (max-width: 575px) {
    .features-head {
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-box {
        min-height: auto;
        padding: 28px;
        border-radius: 24px;
    }

    .feature-box-icon {
        margin-bottom: 34px;
    }
}

/* ==========================================================================
    Product Showcase
========================================================================== */

.showcase-section {
    background: var(--input-bg);
    overflow: hidden;
}

.showcase-head {
    max-width: 780px;
    margin: 0 auto 84px;
    text-align: center;
}

.showcase-head .section-badge {
    margin-inline: auto;
}

.showcase-head h2 {
    margin: 22px 0 16px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.showcase-row {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 70px;
    margin-bottom: 110px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row-reverse {
    grid-template-columns: 1.18fr 0.82fr;
}

.showcase-row-reverse .showcase-copy {
    order: 2;
}

.showcase-row-reverse .showcase-visual {
    order: 1;
}

.showcase-badge {
    width: fit-content;
    display: inline-flex;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
}

.showcase-copy h3 {
    margin: 22px 0 16px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.055em;
}

.showcase-copy p {
    max-width: 520px;
    font-size: 1.04rem;
}

.showcase-list {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--heading);
    font-weight: 800;
}

.showcase-list iconify-icon {
    width: 25px;
    height: 25px;
    padding: 5px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

/* Product Window */

.showcase-visual {
    position: relative;
}

.product-window {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.product-window-top {
    height: 52px;
    padding: 0 22px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-window-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd5e1;
}

.product-window-top span:nth-child(1) {
    background: #ef4444;
}

.product-window-top span:nth-child(2) {
    background: #f59e0b;
}

.product-window-top span:nth-child(3) {
    background: #22c55e;
}

/* Showcase A Inbox */

.inbox-layout {
    min-height: 520px;
    display: grid;
    grid-template-columns: 76px 260px 1fr;
}

.mini-sidebar {
    padding: 22px 16px;
    background: var(--bg-soft);
    border-right: 1px solid var(--border);
    display: grid;
    align-content: start;
    gap: 18px;
}

.sidebar-logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.sidebar-link {
    width: 38px;
    height: 12px;
    border-radius: 999px;
    background: var(--text);
}

.sidebar-link.active {
    height: 38px;
    border-radius: 14px;
    background: var(--primary);
}

.sidebar-link.short {
    width: 26px;
}

.mini-conversations {
    padding: 18px;
    border-right: 1px solid var(--border);
    background: var(--bg);
    display: grid;
    align-content: start;
    gap: 12px;
}

.mini-filter {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--heading);
    font-size: 0.84rem;
    font-weight: 800;
}

.mini-thread {
    padding: 12px;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
}

.mini-thread.active,
.mini-thread:hover {
    background: var(--bg-soft);
}

.mini-thread img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.mini-thread strong,
.mini-chat-head strong {
    display: block;
    color: var(--heading);
}

.mini-thread small,
.mini-chat-head small {
    color: var(--subtext);
    font-size: 0.78rem;
}

.mini-chat {
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.mini-chat-head {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.mini-chat-head span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: var(--shadow-md);
}

.mini-message {
    max-width: 82%;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.mini-message.visitor {
    background: var(--bg-soft);
    color: var(--text);
}

.mini-message.agent {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
}

.mini-reply {
    margin-top: 18px;
    min-height: 54px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--subtext);
}

.mini-reply button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
}

/* Showcase B Unified */

.unified-layout {
    min-height: 500px;
    display: grid;
    grid-template-columns: 250px 1fr 220px;
}

.unified-list {
    padding: 18px;
    border-right: 1px solid var(--border);
    background: var(--bg-soft);
    display: grid;
    align-content: start;
    gap: 12px;
}

.unified-item {
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--bg);
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
}

.unified-item.active {
    box-shadow: var(--shadow-sm);
}

.status {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
}

.status.green {
    background: #22c55e;
}

.status.blue {
    background: #2563eb;
}

.status.orange {
    background: #f59e0b;
}

.unified-item strong,
.visitor-panel strong {
    display: block;
    color: var(--heading);
}

.unified-item small,
.visitor-panel small {
    color: var(--subtext);
}

.unified-chat {
    padding: 26px;
    display: grid;
    align-content: center;
    gap: 16px;
}

.unified-bubble {
    max-width: 78%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
}

.unified-bubble.left {
    background: var(--bg-soft);
}

.unified-bubble.right {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
}

.agent-note {
    width: fit-content;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 0.84rem;
}

.visitor-panel {
    padding: 24px 18px;
    border-left: 1px solid var(--border);
    background: var(--bg);
}

.visitor-avatar {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #22c55e);
}

.visitor-data {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.visitor-data span {
    display: block;
    color: var(--subtext);
    font-size: 0.78rem;
}

/* Showcase C Customization */

.customize-layout {
    min-height: 500px;
    padding: 30px;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 28px;
}

.settings-panel {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-soft);
}

.settings-panel h4 {
    margin-bottom: 22px;
}

.settings-panel label {
    margin-bottom: 18px;
    display: grid;
    gap: 8px;
    color: var(--heading);
    font-weight: 800;
    font-size: 0.86rem;
}

.settings-panel label span {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    color: var(--subtext);
    font-weight: 600;
}

.color-picker {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.color-picker i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
}

.settings-panel button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}

.widget-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-soft);
}

.preview-browser {
    padding: 28px;
    display: grid;
    gap: 14px;
}

.preview-browser div {
    height: 16px;
    border-radius: 999px;
    background: var(--bg-soft);
}

.preview-browser div:nth-child(1) {
    width: 64%;
}

.preview-browser div:nth-child(2) {
    width: 88%;
}

.preview-browser div:nth-child(3) {
    width: 52%;
}

.chat-widget-preview {
    position: absolute;
    right: 26px;
    bottom: 92px;
    width: 260px;
    overflow: hidden;

    border-radius: 24px;
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
}

.widget-head {
    padding: 18px;
    background: var(--primary);
    color: var(--text);
}

.widget-head strong,
.widget-head small {
    color: #fff;
    display: block;
}

.widget-body {
    padding: 18px;
}

.widget-body p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--bg-soft);
    color: var(--subtext);
}

.widget-input {
    margin: 0 18px 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--input-bg);
    font-size: 0.85rem;
}

.widget-launcher {
    position: absolute;
    right: 26px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: var(--shadow-md);
}

/* Responsive */

@media (max-width: 1199px) {
    .showcase-row,
    .showcase-row-reverse {
        gap: 44px;
    }
}

@media (max-width: 991px) {
    .showcase-row,
    .showcase-row-reverse {
        grid-template-columns: 1fr;
        margin-bottom: 80px;
    }

    .showcase-row-reverse .showcase-copy,
    .showcase-row-reverse .showcase-visual {
        order: unset;
    }

    .showcase-copy {
        text-align: center;
    }

    .showcase-badge,
    .showcase-list {
        margin-inline: auto;
    }

    .showcase-list {
        width: fit-content;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .showcase-visual {
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .product-window {
        min-width: 760px;
    }
}

@media (max-width: 575px) {
    .showcase-head {
        margin-bottom: 54px;
    }

    .showcase-row,
    .showcase-row-reverse {
        margin-bottom: 64px;
    }

    .showcase-copy h3 {
        font-size: 2.1rem;
    }
}

/* ==========================================================================
   How It Works Section
========================================================================== */

.how-section {
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.how-head {
    max-width: 720px;
    margin: 0 auto 76px;
    text-align: center;
}

.how-head .section-badge {
    margin-inline: auto;
}

.how-head h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
}

.how-head p {
    font-size: 1.04rem;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.how-step-card {
    position: relative;
    display: grid;
    gap: 30px;
}

.how-step-copy {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.how-step-number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 12px 26px var(--shadow-sm);
}

.how-step-card h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
}

.how-step-card p {
    margin: 0;

    line-height: 1.55;
}
.how-typing {
    margin: 0;
    color: var(--subtext);
    line-height: 1.55;
}

.how-step-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 310px;
    border-radius: var(--radius-xl);
}

.how-step-visual::before {
    content: "";
    position: absolute;
    inset: 46px 20px 16px;
    border-radius: 40% 60% 52% 48%;
    background: var(--primary-light);
}

.how-mini-card,
.how-code-card,
.how-chat-card,
.how-browser {
    position: relative;
    z-index: 1;
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow-lg);
}

.how-mini-card {
    width: min(100%, 265px);
    padding: 28px 22px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.how-mini-icon,
.how-check,
.how-code-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.how-mini-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    background: var(--primary);
}

.how-mini-card strong {
    display: block;
    margin-bottom: 18px;
    color: var(--heading);
}

.how-mini-card span {
    display: block;
    height: 40px;
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
}

.how-mini-card span p {
    display: block;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    color: var(--text);

    text-align: left;
    font-size: 0.8rem;
}

.how-mini-card span:last-of-type {
    height: 38px;
    background: linear-gradient(90deg, var(--border), var(--input-bg));
}

.how-mini-card button,
.how-code-card button {
    width: 100%;
    margin-top: 18px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 12px 14px;
}

.how-check {
    position: absolute;
    right: 38px;
    bottom: 28px;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: var(--success);
    font-size: 1.45rem;
    box-shadow: var(--shadow-md);
}

.how-browser {
    width: min(100%, 330px);
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.how-browser-bar {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--bg-soft);
}

.how-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.how-browser-bar span:nth-child(1) {
    background: #ef4444;
}
.how-browser-bar span:nth-child(2) {
    background: #f59e0b;
}
.how-browser-bar span:nth-child(3) {
    background: #22c55e;
}

.how-browser-body {
    display: grid;
    gap: 12px;
    padding: 28px;
}

.how-browser-body i {
    display: block;
    height: 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
}

.how-browser-body i:first-child {
    height: 86px;
    border-radius: var(--radius-md);
}

.how-code-card {
    position: absolute;
    right: 0;
    bottom: 30px;
    z-index: 2;
    width: min(84%, 230px);
    padding: 22px;
    border-radius: var(--radius-lg);
}

.how-code-card strong {
    color: var(--heading);
}

.how-code-card p {
    margin: 10px 0 12px;
    font-size: 0.88rem;
}

.how-code-card code {
    display: block;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.how-code-badge {
    position: absolute;
    top: 52px;
    right: 34px;
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--primary);
    font-size: 1.6rem;
    box-shadow: var(--shadow-md);
}

.how-chat-card {
    width: min(100%, 315px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.how-chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary);
    color: #fff;
}

.how-chat-head > span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.how-chat-head strong,
.how-chat-head small {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.how-chat-head small {
    opacity: 0.86;
}

.how-chat-head iconify-icon {
    margin-left: auto;
}

.how-chat-body {
    display: grid;
    gap: 14px;
    padding: 20px;
    min-height: 190px;
}

.how-bubble {
    max-width: 76%;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.how-bubble-left,
.how-typing {
    justify-self: start;
    background: var(--bg-soft);
}

.how-bubble-right {
    justify-self: end;
    background: var(--primary);
    color: #fff;
}

.how-typing {
    letter-spacing: 0.18em;
    color: var(--primary);
}

.how-chat-input {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 14px 14px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--subtext);
    font-size: 0.82rem;
}

.how-chat-input iconify-icon {
    margin-left: auto;
    color: var(--primary);
}

.how-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 980px;
    margin: 54px auto 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.how-benefits span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 74px;
    padding: 16px;
    color: var(--heading);
    font-weight: 700;
}

.how-benefits span + span {
    border-left: 1px solid var(--border);
}

.how-benefits iconify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding: 8px;
}

.how-benefits span:nth-child(2) iconify-icon {
    background: var(--success);
}

.how-benefits span:nth-child(3) iconify-icon {
    background: var(--warning);
}

html.dark .how-step-card,
body.dark .how-step-card {
    background: transparent;
}

html.dark .how-mini-card,
html.dark .how-code-card,
html.dark .how-chat-card,
html.dark .how-browser,
html.dark .how-benefits,
body.dark .how-mini-card,
body.dark .how-code-card,
body.dark .how-chat-card,
body.dark .how-browser,
body.dark .how-benefits {
    background: #242424;
}

@media (max-width: 991px) {
    .how-steps-grid,
    .how-benefits {
        grid-template-columns: 1fr;
    }

    .how-step-card {
        min-height: auto;
    }

    .how-benefits span + span {
        border-left: 0;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 575px) {
    .how-head {
        margin-bottom: 46px;
    }

    .how-step-copy {
        gap: 14px;
    }

    .how-step-number {
        width: 38px;
        height: 38px;
    }

    .how-step-visual {
        min-height: 280px;
    }

    .how-code-card {
        right: 12px;
    }
}

/* ==========================================================================
    Testimonials
========================================================================== */

.testimonial-section {
    overflow: hidden;
    background: var(--input-bg);
}

.testimonial-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.testimonial-head .section-badge {
    margin-inline: auto;
}

.testimonial-head h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.testimonial-head p {
    font-size: 1.05rem;
}

.testimonial-marquee-wrap {
    display: grid;
    gap: 24px;
}

.testimonial-marquee {
    position: relative;
    overflow: hidden;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.testimonial-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.testimonial-track {
    width: max-content;
    display: flex;
    align-items: stretch;
    gap: 24px;
    padding: 4px 0;
}

.testimonial-marquee-left .testimonial-track {
    animation: testimonialScrollLeft 38s linear infinite;
}

.testimonial-marquee-right .testimonial-track {
    animation: testimonialScrollRight 42s linear infinite;
}

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

.testimonial-card {
    width: 390px;
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);

    display: grid;
    align-content: space-between;
    transition: 0.3s ease;
}

.testimonial-stars {
    margin-bottom: 18px;
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.testimonial-card p {
    margin-bottom: 28px;
    color: var(--heading);
    font-size: 1.03rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

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

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-soft);
}

.testimonial-author strong {
    display: block;
    color: var(--heading);
    line-height: 1.2;
}

.testimonial-author span {
    display: block;
    color: var(--subtext);
    font-size: 0.88rem;
}

/* Animation */

@keyframes testimonialScrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes testimonialScrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Responsive */

@media (max-width: 991px) {
    .testimonial-card {
        width: 340px;
    }

    .testimonial-marquee::before,
    .testimonial-marquee::after {
        width: 90px;
    }
}

@media (max-width: 575px) {
    .testimonial-head {
        margin-bottom: 42px;
    }

    .testimonial-marquee-wrap {
        gap: 18px;
    }

    .testimonial-card {
        width: 300px;
        min-height: 245px;
        padding: 24px;
        border-radius: 24px;
    }

    .testimonial-marquee::before,
    .testimonial-marquee::after {
        width: 44px;
    }
}
/* ==========================================================================
    Pricing Preview
========================================================================== */

.pricing-section {
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.pricing-head {
    max-width: 720px;
    margin: 0 auto 68px;
    text-align: center;
}

.pricing-head .section-badge {
    margin-inline: auto;
}

.pricing-head h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.pricing-head p {
    font-size: 1.04rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
    gap: 24px;
}

.pricing-card {
    position: relative;
    overflow: visible;
    padding-top: 56px;
    min-height: 620px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--bg-soft), var(--bg-soft));
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: -1px;

    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}

.pricing-card-popular {
    min-height: 620px;
    border-color: color-mix(in srgb, var(--primary-dark) 40%, transparent);

    background:
        radial-gradient(circle at top right, var(--bg-soft), transparent 34%),
        linear-gradient(180deg, var(--bg-soft), var(--bg-soft));
    box-shadow: var(--shadow-md);
    transform: none;
}

.pricing-card-popular:hover {
    transform: translateY(-1px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
}

/* Optional: hide the border behind the badge */
.pricing-badge::before {
    content: "";
    position: absolute;
    inset: -6px -10px;
    background: var(--primary-light);
    border-radius: inherit;
    z-index: -1;
}

.pricing-card-head,
.pricing-price,
.pricing-list,
.pricing-btn {
    position: relative;
    z-index: 2;
}

.pricing-card-head h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.pricing-card-head p {
    min-height: 56px;
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.pricing-price {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.pricing-price strong {
    color: var(--heading);
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.pricing-price span {
    color: var(--subtext);
    font-weight: 800;
}

.pricing-list {
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 15px;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--heading);
    font-weight: 700;
    font-size: 0.8rem;
}

.pricing-list iconify-icon {
    width: 23px;
    height: 23px;
    padding: 5px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    flex-shrink: 0;
}

.pricing-btn {
    margin-top: auto;
    min-height: 54px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pricing-btn-light {
    background: var(--bg-soft);
    color: var(--heading);
    border: 1px solid var(--primary);
}

.pricing-btn-light:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.pricing-btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.pricing-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.pricing-bottom {
    margin-top: 38px;
    text-align: center;
    display: grid;
    justify-content: center;
    gap: 10px;
}

.pricing-bottom p {
    margin: 0;
}

.pricing-bottom a {
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive */

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-inline: auto;
    }

    .pricing-card,
    .pricing-card-popular {
        min-height: auto;
        transform: none;
    }

    .pricing-card-popular:hover {
        transform: translateY(-8px);
    }

    .pricing-card-head p {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .pricing-head {
        margin-bottom: 46px;
    }

    .pricing-card {
        padding: 28px;
        border-radius: 24px;
    }

    .pricing-price strong {
        font-size: 3.3rem;
    }
}

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

.faq-section {
    background: var(--input-bg);
}

.faq-head {
    max-width: 720px;
    margin: 0 auto 58px;
    text-align: center;
}

.faq-head .section-badge {
    margin-inline: auto;
}

.faq-head h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.faq-head p {
    font-size: 1.04rem;
}

.faq-wrap {
    max-width: 920px;
    margin-inline: auto;
}

.faq-accordion {
    display: grid;
    gap: 14px;
}

.faq-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.faq-accordion .accordion-button {
    padding: 24px 28px;
    background: var(--bg);
    color: var(--text) !important;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background:
        radial-gradient(circle at top right, var(--bg), transparent 34%),
        var(--bg-soft);
    color: var(--text);
}

.faq-accordion .accordion-button:focus {
    box-shadow: var(--shadow-md);
}

.faq-accordion .accordion-button::after {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-size: 16px;
    background-position: center;
    background-color: var(--primary-light);
    color: var(--text);
}

.faq-accordion .accordion-body {
    padding: 0 28px 26px;
    color: var(--subtext);
    font-size: 1rem;
    line-height: 1.8;
}

/* Responsive */

@media (max-width: 575px) {
    .faq-head {
        margin-bottom: 40px;
    }

    .faq-accordion .accordion-button {
        padding: 20px;
        font-size: 0.98rem;
    }

    .faq-accordion .accordion-body {
        padding: 0 20px 22px;
    }
}

/* ==========================================================================
    Final CTA
========================================================================== */

.final-cta-section {
    padding: 100px 0;
}

.final-cta-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 60px;
    padding: 80px;
    border-radius: 30px;

    background:
        radial-gradient(circle at top right, var(--bg-soft), transparent 30%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));

    color: #fff;
}

.final-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);

    font-size: 0.85rem;
    font-weight: 800;
}

.final-cta-content h2 {
    margin: 26px 0 18px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.final-cta-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.07rem;
}

.final-cta-actions {
    margin-top: 38px;

    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.final-btn-primary,
.final-btn-secondary {
    min-height: 56px;

    padding: 0 24px;

    border-radius: var(--radius-sm);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.final-btn-primary {
    background: #fff;
    color: var(--primary);

    gap: 10px;
}

.final-btn-primary:hover {
    color: var(--primary);
}

.final-btn-primary span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);

    display: grid;
    place-items: center;
}

.final-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.final-btn-secondary:hover {
    color: #fff;
}

.final-trust-list {
    margin-top: 36px;

    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.final-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(255, 255, 255, 0.92);

    font-weight: 700;
}

.final-trust-list iconify-icon {
    color: #86efac;
}

/* Visual */

.final-cta-visual {
    position: relative;
}

.widget-preview-card {
    position: relative;
    z-index: 2;

    width: 340px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 30px;

    background: #fff;

    box-shadow: var(--shadow-md);
}

.widget-header {
    padding: 22px;

    background: var(--primary);

    color: #fff;
}

.widget-header strong,
.widget-header small {
    display: block;
    color: #fff;
}

.widget-body {
    padding: 22px;
}

.widget-message {
    margin-bottom: 14px;

    padding: 14px 16px;

    border-radius: var(--radius-md);

    background: #f1f5f9;

    color: #334155;
}

.widget-message.user {
    margin-left: auto;

    max-width: 220px;

    background: #dbeafe;
}

.widget-input {
    margin: 0 22px 22px;

    padding: 13px 16px;

    border-radius: 999px;

    border: 1px solid #e2e8f0;

    color: #94a3b8;
}

.widget-launcher {
    position: absolute;

    right: 40px;
    bottom: -10px;

    width: 70px;
    height: 70px;

    border-radius: 24px;

    background: #fff;

    color: var(--primary);

    display: grid;
    place-items: center;

    font-size: 34px;

    box-shadow: var(--shadow-md);
}

/* Floating Notifications */

.floating-notification {
    position: absolute;

    z-index: 3;

    padding: 12px 16px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.95);

    color: #0f172a;

    font-size: 0.85rem;
    font-weight: 800;

    display: flex;
    align-items: center;
    gap: 8px;

    box-shadow: var(--shadow-md);

    animation: ctaFloat 5s ease-in-out infinite;
}

.notification-top {
    left: 0;
    top: 40px;
}

.notification-middle {
    right: 0;
    top: 180px;
    animation-delay: 0.4s;
}

.notification-bottom {
    left: 30px;
    bottom: 60px;
    animation-delay: 0.8s;
}

@keyframes ctaFloat {
    0%,
    100% {
        transform: translateY(0);
    }

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

/* Responsive */

@media (max-width: 991px) {
    .final-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 30px;
    }

    .final-cta-badge,
    .final-btn-primary,
    .final-btn-secondary {
        margin-inline: auto;
    }

    .final-cta-actions,
    .final-trust-list {
        justify-content: center;
    }

    .final-cta-content p {
        margin-inline: auto;
    }

    .final-cta-visual {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .final-cta-card {
        padding: 40px 20px;
        border-radius: 28px;
    }

    .widget-preview-card {
        width: 100%;
        max-width: 320px;
    }

    .floating-notification {
        display: none;
    }
}

/* ==========================================================================
   Section 11: Footer
========================================================================== */

.site-footer {
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.16),
            transparent 34%
        ),
        #0f172a;
    color: #94a3b8;
    padding: 90px 0 34px;
}

.footer-cta {
    margin-bottom: 72px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-cta h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.05em;
}

.footer-cta p {
    margin: 0;
    color: #94a3b8;
}

.footer-cta-btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.footer-cta-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.45fr repeat(4, 1fr);
    gap: 44px;
}

.footer-logo {
    margin-bottom: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 152px;
    height: auto;
    margin-left: -10px;
}

.footer-brand p {
    max-width: 340px;
    margin-bottom: 18px;
    color: #94a3b8;
}

.footer-email {
    color: #dbeafe;
    font-weight: 800;
}

.footer-email:hover {
    color: var(--primary);
}

.footer-socials {
    margin-top: 22px;
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    display: grid;
    place-items: center;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-column h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
}

.footer-column a {
    margin-bottom: 11px;
    color: #94a3b8;
    font-weight: 600;
    display: block;
}

.footer-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-newsletter {
    margin-top: 64px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-newsletter h3 {
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.35rem;
}

.footer-newsletter p {
    margin: 0;
    color: #94a3b8;
}

.newsletter-form {
    width: min(430px, 100%);
    padding: 6px;
    border-radius: var(--radius-pill);
    background: #fff;
    display: flex;
    gap: 6px;
}

.newsletter-form input {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    color: #0f172a;
}

.newsletter-form button {
    min-height: 46px;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 0 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

.footer-trust {
    margin-top: 34px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-trust span {
    color: #cbd5e1;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-trust iconify-icon {
    color: #86efac;
}

.footer-seo {
    max-width: 920px;
    margin: 28px auto 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
}

/* Responsive */

@media (max-width: 991px) {
    .footer-cta,
    .footer-newsletter,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        margin-inline: auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-email {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .site-footer {
        padding-top: 70px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-cta,
    .footer-newsletter {
        padding: 26px;
        border-radius: 24px;
    }

    .newsletter-form {
        border-radius: 22px;
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-column a:hover {
        transform: none;
    }
}

/* ==========================================================================
   Global Inner Page Hero
========================================================================== */

.page-hero {
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(120, 124, 200, 0.25),
            transparent 60%
        ),
        linear-gradient(
            to right,
            rgba(120, 152, 255, 0.12),
            rgba(120, 152, 255, 0.12)
        ),
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size:
        100% 100%,
        100% 100%,
        40px 40px,
        40px 40px;
    overflow: hidden;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 72px;
}

.page-hero-copy h1 {
    margin: 24px 0 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.page-hero-copy p {
    max-width: 620px;
    font-size: 1.08rem;
}

.page-hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-secondary-btn {
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--heading);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.hero-secondary-btn:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

/* ==========================================================================
   Features Page Hero
========================================================================== */

.page-hero-visual {
    position: relative;
}

.features-hero-window {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: 0 34px 90px var(--shadow-md);
}

.features-preview-layout {
    min-height: 520px;
    display: grid;
    grid-template-columns: 230px 1fr;
}

.features-preview-layout aside {
    padding: 24px;
    border-right: 1px solid var(--border);
    background: var(--bg-soft);
    display: grid;
    align-content: start;
    gap: 12px;
}

.feature-nav {
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--subtext);
    font-weight: 800;
}

.feature-nav.active {
    background: var(--bg);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.features-preview-chat {
    padding: 28px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.preview-chat-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.preview-chat-head strong {
    display: block;
    color: var(--heading);
}

.preview-chat-head small {
    color: var(--subtext);
}

.preview-message {
    max-width: 76%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
}

.preview-message.visitor {
    background: var(--bg-soft);
}

.preview-message.agent {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
}

.preview-reply {
    margin-top: 40px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--subtext);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-floating-stat {
    position: absolute;
    right: -28px;
    bottom: 44px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--input-bg);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
    animation: softFloat 5s ease-in-out infinite;
}

.hero-floating-stat strong {
    display: block;
    color: var(--heading);
    font-size: 2rem;
    letter-spacing: -0.06em;
}

.hero-floating-stat span {
    color: var(--subtext);
    font-weight: 800;
}

/* ==========================================================================
   Feature Detail Sections
========================================================================== */

.feature-detail-section {
    background: var(--bg);
}

.feature-detail-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
    margin-bottom: 100px;
}

.feature-detail-row.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.feature-detail-row.reverse .feature-detail-copy {
    order: 2;
}

.feature-detail-row.reverse .feature-detail-visual {
    order: 1;
}

.feature-detail-copy h2 {
    margin: 22px 0 16px;
    font-size: clamp(1.5rem, 4vw, 2.7rem);
    letter-spacing: -0.06em;
}

.feature-detail-copy p {
    max-width: 540px;
    font-size: 1.05rem;
}

.feature-screen {
    min-height: 430px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
}

.screen-top {
    height: 48px;
    margin-bottom: 32px;
    border-radius: 16px;
    background: var(--bg);
}

.chat-bubble {
    width: fit-content;
    max-width: 78%;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
}

.chat-bubble.left {
    background: var(--bg);
    color: var(--text);
}

.chat-bubble.right {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
}

.inbox-screen {
    display: grid;
    gap: 14px;
    align-content: center;
}

.inbox-item,
.inbox-panel {
    padding: 18px;
    border-radius: 10px;
    background: var(--bg);
    color: var(--heading);
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

.inbox-item.active {
    border-left: 5px solid var(--primary);
}

.inbox-panel {
    margin-top: 20px;
    background: var(--primary);
    color: #fff;
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-mini-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--input-bg);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}

.feature-mini-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-mini-card span {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 26px;
}

.feature-mini-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-mini-card p {
    margin: 0;
}

.apps-market-hero .page-hero-copy {
    max-width: 720px;
}

.apps-stack-preview {
    position: relative;
    min-height: 430px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(
            circle at 50% 28%,
            color-mix(in srgb, var(--primary) 14%, transparent),
            transparent 36%
        ),
        var(--bg);
    box-shadow: var(--shadow-md);
}

.apps-stack-core,
.apps-stack-node,
.apps-logo {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    box-shadow: var(--shadow-md);
}

.apps-stack-core {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 190px;
    padding: 22px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.apps-stack-core img {
    height: 42px;
    width: auto;
    margin-bottom: 12px;
}

.apps-stack-core strong,
.apps-stack-core small {
    display: block;
}

.apps-stack-core small,
.apps-directory-card small,
.apps-featured-card small,
.apps-category-card p,
.apps-featured-card p,
.apps-directory-card p,
.apps-section-head p {
    color: var(--subtext);
}

.apps-stack-node {
    position: absolute;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
}

.apps-stack-node img {
    max-width: 48px;
    max-height: 48px;
}

.apps-stack-node.node-1 {
    left: 10%;
    top: 16%;
}
.apps-stack-node.node-2 {
    right: 10%;
    top: 17%;
}
.apps-stack-node.node-3 {
    left: 12%;
    bottom: 18%;
}
.apps-stack-node.node-4 {
    right: 11%;
    bottom: 18%;
}
.apps-stack-node.node-5 {
    left: 42%;
    top: 6%;
}
.apps-stack-node.node-6 {
    left: 42%;
    bottom: 6%;
}

.apps-category-grid,
.apps-featured-grid,
.apps-directory-grid {
    display: grid;
    gap: 18px;
}

.apps-category-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

.apps-directory-grid {
    grid-template-columns: repeat(2, 1fr);
}

.apps-category-card,
.apps-featured-card,
.apps-directory-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.apps-category-card {
    padding: 24px;
}

.apps-category-card span:not(.apps-badge) {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.apps-category-card h2,
.apps-featured-card h3,
.apps-directory-card h3,
.apps-section-head h2 {
    color: var(--heading);
}

.apps-category-card h2 {
    font-size: 1rem;
}

.apps-section-head {
    margin-bottom: 26px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
}

.apps-section-head h2 {
    max-width: 660px;
    margin: 12px 0 0;
    font-size: clamp(1.35rem, 3vw, 2.15rem);
    letter-spacing: -0.04em;
}

.apps-section-head.compact {
    align-items: center;
}

.apps-card-top {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.apps-featured-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.apps-featured-card a {
    margin-top: auto;
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apps-logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
}

.apps-logo.small {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.apps-logo img {
    max-width: 34px;
    max-height: 34px;
}

.apps-logo.small img {
    max-width: 30px;
    max-height: 30px;
}

.apps-badge {
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 900;
}

.apps-badge.is-coming {
    background: #eff6ff;
    color: #2563eb;
}

.apps-directory-card {
    padding: 20px;
    display: flex;
    gap: 16px;
}

.apps-directory-card h3 {
    margin: 0;
    font-size: 1rem;
}

.help-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-analytics-preview,
.public-notification-preview {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(
            circle at top right,
            color-mix(in srgb, var(--primary) 14%, transparent),
            transparent 35%
        ),
        var(--bg);
    box-shadow: var(--shadow-md);
}

.public-analytics-preview {
    padding: 28px;
}

.public-preview-head,
.public-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-preview-head strong,
.public-preview-row b,
.public-toast-card strong {
    color: var(--heading);
}

.public-preview-head span,
.public-preview-row span,
.public-toast-card small,
.notification-rules-panel p {
    color: var(--subtext);
}

.public-chart-bars {
    height: 230px;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: flex;
    align-items: end;
    gap: 10px;
}

.public-chart-bars i {
    flex: 1;
    min-width: 8px;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
}

.public-empty-state {
    padding: 42px 24px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    text-align: center;
}

.public-empty-state iconify-icon {
    color: var(--primary);
    font-size: 42px;
}

.public-empty-state strong,
.public-empty-state p {
    display: block;
    margin-inline: auto;
}

.public-empty-state strong {
    margin-top: 12px;
    color: var(--heading);
    font-size: 1.2rem;
}

.public-empty-state p {
    max-width: 620px;
    margin-top: 8px;
    color: var(--subtext);
}

.public-notification-preview {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.public-toast-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
}

.public-toast-card span {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.public-toast-card.is-billing {
    border-left-color: #f59e0b;
}

.public-toast-card.is-billing span {
    background: #fef3c7;
    color: #d97706;
}

.public-toast-card.is-ticket {
    border-left-color: #10b981;
}

.public-toast-card.is-ticket span {
    background: #d1fae5;
    color: #059669;
}

.notification-rules-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.notification-rule-list {
    display: grid;
    gap: 12px;
}

.notification-rule-list span {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--text);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-rule-list iconify-icon {
    color: var(--primary);
}

.public-inbox-preview,
.public-contact-preview {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.public-inbox-preview {
    overflow: hidden;
    min-height: 370px;
    display: grid;
    grid-template-columns: 190px 1fr;
}

.public-inbox-preview aside {
    padding: 18px;
    border-right: 1px solid var(--border);
    background: var(--bg-soft);
    display: grid;
    align-content: start;
    gap: 12px;
}

.public-inbox-preview aside strong {
    color: var(--heading);
    font-size: 0.92rem;
}

.public-inbox-preview aside span {
    padding: 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
}

.public-inbox-preview aside span.active {
    border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
    background: var(--bg);
}

.public-inbox-preview aside i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
}

.public-inbox-preview aside b {
    font-size: 0.82rem;
}

.public-inbox-preview aside small {
    color: var(--subtext);
    font-size: 0.72rem;
}

.public-inbox-preview section {
    padding: 22px;
}

.public-inbox-preview p {
    max-width: 260px;
    padding: 14px;
    border-radius: var(--radius-md);
    color: var(--text);
}

.public-inbox-preview p.visitor {
    background: var(--bg-soft);
}

.public-inbox-preview p.agent {
    margin-left: auto;
    background: color-mix(in srgb, var(--primary) 12%, var(--bg));
    color: var(--heading);
}

.public-reply-bar {
    margin-top: 24px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--subtext);
    display: flex;
    justify-content: space-between;
}

.public-contact-preview {
    padding: 24px;
    display: grid;
    gap: 18px;
}

.contact-profile-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(
            circle at top right,
            color-mix(in srgb, var(--primary) 14%, transparent),
            transparent 38%
        ),
        var(--bg-soft);
    text-align: center;
}

.contact-profile-card span {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.contact-profile-card strong,
.contact-profile-card small,
.contact-profile-card em {
    display: block;
}

.contact-profile-card strong,
.contact-detail-list b {
    color: var(--heading);
}

.contact-profile-card small,
.contact-profile-card em,
.contact-detail-list small {
    color: var(--subtext);
}

.contact-profile-card em {
    font-style: normal;
}

.contact-detail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.contact-detail-list span {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.contact-detail-list b,
.contact-detail-list small {
    display: block;
}

/* ==========================================================================
   Responsive
========================================================================== */

@media (max-width: 991px) {
    .apps-category-grid,
    .apps-featured-grid,
    .apps-directory-grid,
    .help-faq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .apps-stack-preview {
        min-height: 360px;
    }

    .notification-rules-panel {
        grid-template-columns: 1fr;
    }

    .public-inbox-preview {
        grid-template-columns: 1fr;
    }

    .public-inbox-preview aside {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .page-hero-grid,
    .feature-detail-row,
    .feature-detail-row.reverse {
        grid-template-columns: 1fr;
    }

    .page-hero-copy,
    .feature-detail-copy {
        text-align: center;
    }

    .page-hero-actions,
    .showcase-list {
        justify-content: center;
    }

    .feature-detail-copy p,
    .showcase-list {
        margin-inline: auto;
    }

    .feature-detail-row.reverse .feature-detail-copy,
    .feature-detail-row.reverse .feature-detail-visual {
        order: unset;
    }

    .feature-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-floating-stat {
        right: 20px;
    }
}

@media (max-width: 575px) {
    .apps-category-grid,
    .apps-featured-grid,
    .apps-directory-grid,
    .help-faq-grid {
        grid-template-columns: 1fr;
    }

    .apps-section-head,
    .apps-section-head.compact {
        align-items: flex-start;
        flex-direction: column;
    }

    .apps-stack-node {
        width: 64px;
        height: 64px;
    }

    .apps-stack-node img {
        max-width: 38px;
        max-height: 38px;
    }

    .contact-detail-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .features-preview-layout {
        grid-template-columns: 1fr;
    }

    .features-preview-layout aside {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 575px) {
    .page-hero {
        padding: 70px 0;
    }

    .feature-detail-grid {
        grid-template-columns: 1fr;
    }

    .feature-detail-row {
        margin-bottom: 70px;
    }

    .feature-screen {
        min-height: 340px;
        padding: 22px;
        border-radius: 26px;
    }

    .feature-quote-card {
        padding: 30px;
        border-radius: 26px;
    }

    .hero-floating-stat {
        display: none;
    }
}

/* ==========================================================================
   Section 13: Live Chat Page
========================================================================== */

.livechat-preview-window {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.livechat-preview-layout {
    min-height: 520px;
    display: grid;
    grid-template-columns: 245px 1fr;
}

.livechat-thread-list {
    padding: 20px;
    border-right: 1px solid var(--border);
    background: var(--bg-soft);
    display: grid;
    align-content: start;
    gap: 12px;
}

.livechat-thread {
    padding: 16px;
    border-radius: var(--radius-md);
    transition: 0.3s ease;
}

.livechat-thread.active,
.livechat-thread:hover {
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.livechat-thread strong {
    display: block;
    color: var(--heading);
}

.livechat-thread small {
    color: var(--subtext);
}

.livechat-conversation {
    padding: 28px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.livechat-conversation-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.livechat-conversation-head strong {
    display: block;
    color: var(--heading);
}

.livechat-conversation-head small {
    color: var(--subtext);
}

.livechat-conversation-head span {
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 0.78rem;
    font-weight: 900;
}

.livechat-message {
    max-width: 78%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
}

.livechat-message.visitor {
    background: var(--bg-soft);
    color: var(--text);
}

.livechat-message.agent {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
}

.livechat-typing {
    width: fit-content;
    padding: 13px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    display: flex;
    gap: 5px;
}

.livechat-typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--subtext);
    animation: typingBounce 1.2s infinite ease-in-out;
}

.livechat-typing i:nth-child(2) {
    animation-delay: 0.15s;
}

.livechat-typing i:nth-child(3) {
    animation-delay: 0.3s;
}

.livechat-input {
    margin-top: 36px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--subtext);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Why Section */

.livechat-why-section {
    background: var(--bg);
}

.livechat-why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
    padding: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.livechat-why-grid h2 {
    margin: 22px 0 16px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: -0.06em;
}

.livechat-why-grid p {
    max-width: 560px;
    font-size: 1.04rem;
}

.livechat-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.livechat-stats div {
    padding: 28px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.livechat-stats strong {
    display: block;
    margin-bottom: 8px;
    color: var(--heading);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.livechat-stats span {
    color: var(--subtext);
    font-weight: 800;
}

@media (max-width: 991px) {
    .livechat-why-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .livechat-why-grid p {
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .livechat-preview-layout {
        grid-template-columns: 1fr;
    }

    .livechat-thread-list {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .livechat-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .livechat-why-grid {
        padding: 26px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   Section 14: Widget Page
========================================================================== */

.widget-hero-preview {
    position: relative;
    min-height: 560px;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.widget-browser-lines {
    display: grid;
    gap: 14px;
}

.widget-browser-lines span {
    height: 16px;
    border-radius: var(--radius-pill);
    background: var(--border);
}

.widget-browser-lines span:nth-child(1) {
    width: 62%;
}

.widget-browser-lines span:nth-child(2) {
    width: 86%;
}

.widget-browser-lines span:nth-child(3) {
    width: 48%;
}

.large-widget-preview {
    position: absolute;
    right: 46px;
    bottom: 112px;
    width: 330px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
    animation: softFloat 5s ease-in-out infinite;
}

.large-widget-head {
    padding: 22px;
    background: var(--primary);
}

.large-widget-head strong,
.large-widget-head small {
    display: block;
    color: #fff;
}

.large-widget-body {
    padding: 22px;
}

.widget-chat-message {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--text);
}

.widget-chat-message.user {
    margin-left: auto;
    max-width: 230px;
    background: var(--primary-light);
    color: var(--primary);
}

.large-widget-input {
    margin: 0 22px 22px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--subtext);
}

.large-widget-launcher {
    position: absolute;
    right: 48px;
    bottom: 36px;
    width: 70px;
    height: 70px;
    border-radius: 24px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 34px;
    box-shadow: var(--shadow-md);
}

/* Widget Settings */

.widget-settings-screen {
    min-height: 520px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 28px;
}

.widget-live-preview {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--bg-soft);
    overflow: hidden;
}

/* Install */

.widget-install-card {
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.widget-install-card h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: -0.055em;
}

.widget-code-card {
    max-width: 100%;

    position: relative;
    overflow: hidden;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    background: #020617;
    color: #fff;
}

/* Responsive */

@media (max-width: 991px) {
    .widget-settings-screen,
    .widget-install-card {
        grid-template-columns: 1fr;
    }

    .widget-install-card {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .large-widget-preview {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 60px;
    }

    .large-widget-launcher {
        right: 30px;
    }
}

@media (max-width: 575px) {
    .widget-hero-preview,
    .widget-settings-screen,
    .widget-install-card {
        padding: 24px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   Section 15: Pricing Page
========================================================================== */

.pricing-page-head {
    max-width: 820px;
    margin: 0 auto 70px;
    text-align: center;
}

.pricing-page-head .section-badge {
    margin-inline: auto;
}

.pricing-page-head h1 {
    margin: 24px 0 18px;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.pricing-page-head p {
    max-width: 650px;
    margin-inline: auto;
    font-size: 1.08rem;
}

.pricing-page-grid {
    margin-top: 0;
}

.pricing-risk-text {
    margin: 32px 0 0;
    text-align: center;
    color: var(--subtext);
    font-weight: 700;
}

/* Comparison Table */

.comparison-section {
    background: var(--bg);
}

.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    color: var(--text);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    color: var(--heading);
    font-weight: 900;
}

.comparison-table th {
    background: var(--bg-soft);
    color: var(--heading);
    font-weight: 900;
}

.comparison-table tr:last-child td {
    border-bottom: 0;
}

.comparison-table iconify-icon {
    color: #16a34a;
    font-size: 22px;
}

/* Risk Section */

.risk-section {
    background: var(--bg);
}

.risk-card {
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.risk-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 34px;
    display: grid;
    place-items: center;
}

.risk-card h2 {
    margin-bottom: 8px;
    font-size: clamp(1.86em, 3vw, 2.4rem);
    letter-spacing: -0.05em;
}

.risk-card p {
    margin: 0;
    max-width: 680px;
}

/* Responsive */

@media (max-width: 991px) {
    .risk-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .risk-icon,
    .risk-card .problem-cta {
        margin-inline: auto;
    }
}

@media (max-width: 575px) {
    .pricing-page-head {
        margin-bottom: 46px;
    }

    .risk-card {
        padding: 28px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   Section 16: Integrations Page
========================================================================== */

.integration-orbit {
    position: relative;
    min-height: 560px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.integration-orbit::before,
.integration-orbit::after {
    content: "";
    position: absolute;
    inset: 70px;
    border: 1px dashed var(--border);
    border-radius: 50%;
}

.integration-orbit::after {
    inset: 130px;
}

.orbit-center {
    position: absolute;
    inset: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.orbit-center strong {
    color: var(--heading);
    font-size: 1.2rem;
}

.orbit-app {
    position: absolute;
    min-width: 120px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--heading);
    font-weight: 900;
    text-align: center;
    box-shadow: var(--shadow-sm);
    animation: softFloat 5s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.orbit-app img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.app-wordpress {
    left: 42px;
    top: 90px;
}

.app-shopify {
    right: 54px;
    top: 118px;
    animation-delay: 0.2s;
}

.app-zapier {
    left: 72px;
    bottom: 120px;
    animation-delay: 0.4s;
}

.app-slack {
    right: 92px;
    bottom: 104px;
    animation-delay: 0.6s;
}

.app-analytics {
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    animation-delay: 0.8s;
}

/* Integration Grid */

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.integration-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--input-bg);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}

.integration-logo {
    width: 68px;
    height: 68px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    display: grid;
    place-items: center;
}

.integration-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.integration-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.integration-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.integration-card p {
    margin-bottom: 24px;
}

.integration-card span,
.integration-card small {
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 900;
}

.integration-card span {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    white-space: nowrap;
}

.integration-card span.is-muted {
    background: rgba(100, 116, 139, 0.12);
    color: var(--subtext);
}

.integration-card small {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: inline-flex;
}

/* Coming Soon */

.coming-integrations-card {
    padding: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.coming-integrations-card h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    letter-spacing: -0.055em;
}

.coming-grid {
    display: grid;
    gap: 14px;
}

.coming-app {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--heading);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.coming-app img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.coming-app span {
    color: var(--primary);
    font-size: 0.78rem;
}

/* Code */

.integration-code-card {
    max-width: 100%;

    position: relative;
    overflow: hidden;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    background: #020617;
    color: #fff;

    min-height: 360px;
}

.integration-code-card pre {
    padding: 34px 24px 70px;
}

/* Responsive */

@media (max-width: 991px) {
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .coming-integrations-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .integration-orbit {
        min-height: 520px;
    }

    .orbit-app {
        min-width: 105px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .integration-grid {
        grid-template-columns: 1fr;
    }

    .integration-orbit,
    .coming-integrations-card {
        border-radius: 26px;
    }

    .coming-integrations-card {
        padding: 26px;
    }
}

/* ==========================================================================
   Section 19: Blog Page
========================================================================== */

.blog-hero-content {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.blog-hero-content .section-badge {
    margin-inline: auto;
}

.blog-hero-content h1 {
    margin: 24px 0 18px;
    margin: 24px 0 16px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.blog-hero-content p {
    max-width: 680px;
    margin-inline: auto;
    font-size: 1.1rem;
}

/* Featured Post */

.featured-post-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.featured-post-image {
    min-height: 460px;
    background: var(--bg-soft);
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-copy {
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-category {
    width: fit-content;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
}

.featured-post-copy h2 {
    margin: 22px 0 16px;
    font-size: clamp(1.8rem, 4vw, 2.1rem);
    letter-spacing: -0.06em;
}

.blog-meta {
    margin-top: 18px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--subtext);
    font-size: 0.88rem;
    font-weight: 700;
}

.blog-read-link {
    margin-top: 30px;
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Latest Posts */

.blog-section-head {
    margin-bottom: 46px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.blog-section-head h2 {
    margin: 22px 0 0;
    max-width: 680px;
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    letter-spacing: -0.06em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

.blog-card:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
}

.blog-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: var(--bg-soft);
}

.blog-card > div {
    padding: 28px;
}

.blog-card h3 {
    margin: 18px 0 12px;
    font-size: 1.35rem;
    letter-spacing: -0.035em;
}

.blog-card p {
    margin: 0;
}

/* Extra */

.blog-extra-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.popular-categories-card,
.blog-newsletter-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.popular-categories-card h2,
.blog-newsletter-card h2 {
    margin-bottom: 22px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.05em;
}

.blog-newsletter-card .section-badge {
    margin-bottom: 20px;
}

.category-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-pill-grid a {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--heading);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.blog-newsletter-form {
    margin-top: 26px;
    width: 100%;
}

/* Responsive */

@media (max-width: 991px) {
    .featured-post-card,
    .blog-extra-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-section-head {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .featured-post-copy,
    .popular-categories-card,
    .blog-newsletter-card {
        padding: 28px;
    }

    .featured-post-image {
        min-height: 280px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card img {
        height: 210px;
    }
}

/* ==========================================================================
   Section 20: Blog Details Page
========================================================================== */

.article-hero {
    padding: 96px 0 56px;
    background: var(--input-bg);
}

.article-hero-content {
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
}

.article-hero-content h1 {
    margin: 24px 0 18px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.article-hero-content p {
    max-width: 720px;
    margin-inline: auto;
    font-size: 1.1rem;
}

.article-meta {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.article-meta img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.article-meta strong {
    display: block;
    color: var(--heading);
    text-align: left;
}

.article-meta span {
    color: var(--subtext);
    font-weight: 700;
}

.article-cover {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
}

.article-cover img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

/* Article Layout */

.article-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: 44px;
    align-items: start;
}

.article-toc,
.article-side-card {
    position: sticky;
    top: 110px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.article-toc h3,
.article-side-card h3 {
    margin-bottom: 14px;
    font-size: 1rem;
}

.article-toc a {
    padding: 10px 0;
    color: var(--subtext);
    font-weight: 800;
    display: block;
}

.article-toc a:hover {
    color: var(--primary);
}

.article-content {
    min-width: 0;
}

.article-content section {
    margin-bottom: 46px;
}

.article-content h2 {
    margin-bottom: 16px;
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: -0.055em;
}

.article-content p,
.article-content li {
    font-size: 1.01rem;
    line-height: 1.9;
    color: var(--text);
}

.article-content ul {
    padding-left: 22px;
    display: grid;
    gap: 10px;
}

.article-content blockquote {
    margin: 28px 0;
    padding: 28px;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    background: var(--bg-soft);
    color: var(--heading);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.article-insight-card {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.article-insight-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
}

.article-insight-card p {
    margin: 0;
}

.article-side-card p {
    margin-bottom: 20px;
}

.article-side-card .problem-cta {
    width: 100%;
    justify-content: center;
}

/* Newsletter */

.article-newsletter-card {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.article-newsletter-card .section-badge,
.article-newsletter-card .newsletter-form {
    margin-inline: auto;
}

/* Responsive */

@media (max-width: 1199px) {
    .article-layout {
        grid-template-columns: 1fr 260px;
    }

    .article-toc {
        display: none;
    }
}

@media (max-width: 991px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-side-card {
        position: static;
    }

    .article-cover img {
        height: 420px;
    }
}

@media (max-width: 575px) {
    .article-hero {
        padding: 72px 0 44px;
    }

    .article-cover {
        border-radius: 26px;
    }

    .article-cover img {
        height: 280px;
    }

    .article-meta {
        align-items: flex-start;
    }

    .article-content blockquote {
        padding: 22px;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Section 21: Status Page
========================================================================== */

.status-live {
    color: #16a34a;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16a34a;
    animation: pulseStatus 2s infinite;
}

.health-card,
.service-card,
.metric-card,
.status-subscribe-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.health-card {
    padding: 36px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.uptime-pill {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-weight: 800;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card span {
    color: #16a34a;
    font-weight: 800;
}

.status-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card {
    padding: 30px;
    text-align: center;
}

.metric-card strong {
    display: block;
    color: var(--heading);
    font-size: 2rem;
}

.incident-timeline {
    display: grid;
    gap: 20px;
}

.incident-item {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
}

.incident-content span {
    color: #16a34a;
    font-weight: 800;
}

.status-subscribe-card {
    padding: 50px;
    text-align: center;
}

@keyframes pulseStatus {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

@media (max-width: 991px) {
    .service-grid,
    .status-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .health-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .service-grid,
    .status-metrics-grid {
        grid-template-columns: 1fr;
    }

    .incident-item {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Section 22: About Us Page
========================================================================== */

.about-visual-card {
    position: relative;
    min-height: 560px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.pricing-toggle {
    width: fit-content;
    margin: -34px auto 34px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pricing-toggle button {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--subtext);
    font-weight: 900;
}

.pricing-toggle button.is-active {
    background: var(--primary);
    color: #fff;
}

.pricing-save-note {
    margin-left: 6px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: #dcfce7;
    color: #15803d;
    font-size: 0.72rem;
}

.about-visual-card > img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    display: block;
}

.about-message-card,
.about-growth-card {
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.about-message-card {
    width: 300px;
    padding: 24px;
}

.about-message-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--heading);
}

.about-message-card p {
    margin: 0;
}

.about-message-card.one {
    top: 80px;
    left: 54px;
    animation: softFloat 5s ease-in-out infinite;
}

.about-message-card.two {
    right: 54px;
    top: 230px;
    animation: softFloat 5s ease-in-out infinite;
    animation-delay: 0.4s;
}

.about-growth-card {
    left: 50%;
    bottom: 70px;
    width: 300px;
    padding: 28px;
    transform: translateX(-50%);
    text-align: center;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(18px);
}

.about-growth-card strong {
    display: block;
    color: var(--heading);
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.06em;
}

.about-growth-card span {
    color: var(--subtext);
    font-weight: 800;
}

/* Story */

.about-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.about-story-grid h2 {
    margin-top: 22px;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    letter-spacing: -0.06em;
}

.about-story-grid p {
    font-size: 1.08rem;
}

/* Mission */

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mission-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--input-bg);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}

.mission-card span {
    width: 58px;
    height: 58px;
    margin-bottom: 28px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 28px;
}

.mission-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* Timeline */

.about-timeline-card {
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 46px;
}

.about-timeline-card h2 {
    margin: 22px 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.055em;
}

.about-timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    position: relative;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}

.timeline-item span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
}

.timeline-item strong {
    display: block;
    margin: 6px 0;
    color: var(--heading);
    font-size: 1.1rem;
}

.timeline-item p {
    margin: 0;
}

/* Team */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.team-grid:has(.team-card:nth-child(2):last-child) {
    max-width: 820px;
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--bg-soft);
}

.team-card h3,
.team-card p {
    padding-inline: 28px;
}

.team-card h3 {
    margin: 26px 0 10px;
}

.team-card p {
    padding-bottom: 28px;
}

/* Responsive */

@media (max-width: 991px) {
    .about-story-grid,
    .about-timeline-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mission-grid,
    .team-grid,
    .team-grid:has(.team-card:nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }

    .about-message-card {
        width: 270px;
    }
}

@media (max-width: 575px) {
    .about-visual-card {
        min-height: 500px;
        border-radius: 24px;
    }

    .about-visual-card > img {
        min-height: 500px;
    }

    .about-message-card.one {
        left: 20px;
    }

    .about-message-card.two {
        right: 20px;
    }

    .about-growth-card {
        width: 260px;
    }

    .about-timeline-card {
        padding: 28px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   Section 23: Contact Page
========================================================================== */

.contact-response-pill {
    width: fit-content;
    margin-top: 28px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg);
    color: var(--heading);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--shadow-sm);
}

.contact-response-pill iconify-icon {
    color: var(--primary);
}

.contact-form-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-form-card label {
    color: var(--heading);
    font-weight: 900;
    display: grid;
    gap: 8px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    color: var(--heading);
    padding: 14px 16px;
    outline: 0;
}

.contact-form-card textarea {
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-form-card button {
    min-height: 56px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.feature-mini-card a {
    margin-top: 18px;
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
}

.contact-help-card {
    padding: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.contact-help-card h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    letter-spacing: -0.055em;
}

.contact-help-card p {
    max-width: 620px;
    margin: 0;
}

.contact-help-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 991px) {
    .contact-help-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-help-actions {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-help-card {
        padding: 26px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   Section 24: Partners Page
========================================================================== */

.partner-hero-card,
.partner-card,
.partner-form-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.partner-hero-card {
    padding: 40px;
    display: grid;
    gap: 18px;
}

.partner-stat {
    padding: 22px;
    border-radius: 10px;
    background: var(--bg-soft);
}

.partner-stat strong {
    display: block;
    color: var(--heading);
    font-size: 2rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.partner-card {
    padding: 34px;
    transition: 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
}

.partner-card iconify-icon {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 22px;
}

.partner-benefits-card {
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.partner-benefits-card h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    letter-spacing: -0.055em;
}

.partner-benefits-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.partner-benefits-grid div {
    padding: 18px;
    border-radius: 10 bpx;
    background: var(--bg);
    font-weight: 700;
}

.partner-form-card {
    max-width: 760px;
    margin: auto;
    padding: 48px;
}

.partner-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
}

.partner-form button {
    height: 56px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}

@media (max-width: 991px) {
    .partner-grid,
    .partner-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Section 25: Privacy Policy Page
========================================================================== */

.legal-hero {
    padding: 96px 0 50px;
    background: var(--input-bg);
    text-align: center;
}

.legal-hero-content {
    max-width: 820px;
    margin-inline: auto;
}

.legal-hero .section-badge {
    margin-inline: auto;
}

.legal-hero h1 {
    margin: 24px 0 12px;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    letter-spacing: -0.07em;
}

.legal-hero p {
    margin: 0;
    color: var(--subtext);
    font-style: italic;
    font-weight: 700;
}

.legal-section {
    background: var(--bg);
}

.legal-card {
    max-width: 960px;
    margin-inline: auto;
    padding: 64px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.legal-card .legal-intro {
    color: var(--heading);
    font-size: 1.12rem;
    font-weight: 600;
}

.legal-card h2 {
    margin: 44px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    letter-spacing: -0.045em;
}

.legal-card p,
.legal-card li {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.9;
}

.legal-card ul {
    margin: 18px 0 0;
    padding-left: 22px;
    display: grid;
    gap: 10px;
}

.legal-card a {
    color: var(--primary);
    font-weight: 800;
}

@media (max-width: 767px) {
    .legal-card {
        padding: 38px 28px;
        border-radius: 26px;
    }
}

/* ==========================================================================
   AI Agent Page
========================================================================== */

.ai-agent-hero {
    overflow: hidden;
}

.ai-chat-preview {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-md);
}

.ai-chat-top {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-top strong {
    display: block;
    color: var(--heading);
}

.ai-chat-top small {
    color: var(--subtext);
}

.ai-status {
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    font-size: 0.78rem;
    font-weight: 900;
}

.ai-chat-body {
    padding: 34px;
    display: grid;
    gap: 18px;
}

.ai-message {
    max-width: 82%;
    padding: 18px;
    border-radius: 22px;
    line-height: 1.7;
}

.ai-message span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ai-message.customer {
    background: var(--bg-soft);
    color: var(--text);
}

.ai-message.customer span {
    color: var(--primary);
}

.ai-message.agent {
    margin-left: auto;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}

.ai-message.agent span {
    color: rgba(255, 255, 255, 0.78);
}

.ai-thinking {
    width: fit-content;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    color: var(--subtext);
    font-size: 0.84rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-thinking i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7c3aed;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.ai-thinking i:nth-child(2) {
    animation-delay: 0.15s;
}

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

.ai-floating-chip {
    position: absolute;
    z-index: 3;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    color: var(--heading);
    font-size: 0.84rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--shadow-md);
    animation: softFloat 5s ease-in-out infinite;
}

.ai-floating-chip iconify-icon {
    color: #7c3aed;
}

.chip-one {
    left: -24px;
    top: 90px;
}

.chip-two {
    right: -20px;
    bottom: 90px;
    animation-delay: 0.4s;
}

/* Benefits */

.ai-benefits-card {
    padding: 50px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.ai-benefits-card h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.055em;
}

.ai-benefit-list {
    display: grid;
    gap: 14px;
}

.ai-benefit-list span {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--heading);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.ai-benefit-list iconify-icon {
    color: #16a34a;
}

/* Waitlist */

.ai-waitlist-card {
    max-width: 760px;
    margin-inline: auto;
    padding: 54px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.ai-waitlist-card .section-badge {
    margin-inline: auto;
}

.ai-waitlist-card h2 {
    margin: 22px 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.055em;
}

.ai-waitlist-form {
    max-width: 520px;
    margin: 30px auto 14px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    display: flex;
    gap: 6px;
}

.ai-waitlist-form input {
    width: 100%;
    min-height: 50px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--heading);
}

.ai-waitlist-form button {
    min-height: 50px;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 0 22px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
}

.ai-waitlist-card small {
    color: var(--subtext);
    font-weight: 700;
}

/* Responsive */

@media (max-width: 991px) {
    .ai-benefits-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ai-floating-chip {
        display: none;
    }
}

@media (max-width: 575px) {
    .ai-chat-preview,
    .ai-benefits-card,
    .ai-waitlist-card {
        border-radius: 26px;
    }

    .ai-benefits-card,
    .ai-waitlist-card {
        padding: 28px;
    }

    .ai-waitlist-form {
        flex-direction: column;
        border-radius: 22px;
    }

    .ai-waitlist-form button {
        width: 100%;
    }
}

/* ==========================================================================
   Auth Pages
========================================================================== */

.auth-page {
    min-height: 100vh;
    background: var(--bg);
}

.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.auth-brand-panel {
    position: relative;
    overflow: hidden;
    padding: 42px 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.auth-brand {
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.auth-brand:hover {
    color: #fff;
}

.auth-brand img,
.auth-card-brand img,
.auth-simple-brand img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 46px;
    object-fit: contain;
}

.auth-brand-content {
    max-width: 680px;
    margin-top: 90px;
}

.auth-brand-content h1 {
    margin: 28px 0 18px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.07em;
}

.auth-brand-content p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
}

.auth-stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.auth-stats div {
    padding: 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
}

.auth-stats strong {
    display: block;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
}

.auth-stats span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.auth-preview-card {
    max-width: 560px;
    margin-top: 42px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--bg-soft);
    box-shadow: var(--shadow-md);
}

.auth-preview-top {
    height: 46px;
    padding: 0 18px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-preview-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.auth-preview-chat {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.auth-chat-item {
    padding: 16px;
    border-radius: var(--radius-md);
    background: #eff6ff;
}

.auth-chat-item strong {
    display: block;
    color: #0f172a;
}

.auth-chat-item small {
    color: #64748b;
}

.auth-chat-bubble {
    width: fit-content;
    max-width: 80%;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    color: #334155;
}

.auth-chat-bubble.visitor {
    background: #f1f5f9;
}

.auth-chat-bubble.agent {
    margin-left: auto;
    background: var(--primary);
    color: #fff;
}

.auth-form-panel {
    padding: 40px;
    display: grid;
    place-items: center;
    background: var(--bg);
}

.auth-card {
    width: min(480px, 100%);
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--bg);
    box-shadow: var(--shadow-lg);
}

.auth-card-brand {
    width: fit-content;
    max-width: min(220px, 72%);
    margin: 0 auto 26px;
    color: var(--heading);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card-brand:hover {
    color: var(--heading);
}

.auth-mobile-brand {
    display: none;
}

.auth-card-head {
    margin-bottom: 28px;
    text-align: center;
}

.auth-card-head .section-badge {
    margin-bottom: 1rem;
}

.auth-card-head h2 {
    margin-bottom: 10px;
    font-size: 1.6rem;
    letter-spacing: -0.05em;
}

.auth-card-head p {
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form label {
    color: var(--heading);
    font-weight: 900;
    display: grid;
    gap: 8px;
}

.auth-form input {
    min-height: 52px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--heading);
    padding: 0 16px;
    outline: 0;
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.auth-form .is-invalid,
.auth-form input.is-invalid {
    border-color: var(--danger);
}

.auth-error {
    margin: -4px 0 0;
    color: var(--danger);
    font-size: 0.84rem;
    font-weight: 800;
}

.auth-alert {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 800;
    margin: 1.2rem 0;
}

.auth-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #166534 !important;
}

.auth-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #991b1b !important;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--subtext);
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
}

.auth-code-input {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.auth-input-wrap.has-left-icon input {
    padding-left: 46px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--subtext);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle:hover {
    color: var(--primary);
    background: var(--bg-soft);
}

.auth-input-wrap.has-password-toggle input {
    padding-right: 52px;
}

.auth-submit:disabled,
.google-btn:disabled {
    cursor: not-allowed;
    opacity: 0.78;
}

.auth-social {
    display: grid;
    gap: 16px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--subtext);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border);
}

.auth-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.auth-social-disabled {
    color: var(--subtext);
    opacity: 0.7;
}

.auth-password-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--bg-soft);
}

.auth-password-meter span {
    display: block;
    height: 100%;
    width: 35%;
    border-radius: inherit;
    background: var(--warning);
    transition:
        width 0.2s ease,
        background 0.2s ease;
}

.auth-password-meter span[data-score="strong"] {
    width: 100%;
    background: var(--success);
}

.auth-password-meter span[data-score="weak"] {
    width: 35%;
    background: var(--danger);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px !important;
    color: var(--subtext) !important;
    font-size: 0.9rem;
}

.auth-check input {
    min-height: auto;
}

.auth-row a {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.auth-submit,
.google-btn {
    min-height: 54px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit {
    border: 0;
    background: var(--primary);
    color: #fff;
}

.google-btn {
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--heading);
}

.auth-footer-text {
    margin-top: 24px;
    text-align: center;
    color: var(--subtext);
    font-weight: 700;
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 900;
}

.auth-security {
    margin-top: 22px;
    padding: 15px 13px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--subtext);
    font-size: 0.86rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.auth-countdown {
    margin: 4px 0 2px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--subtext);
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.auth-countdown strong {
    color: var(--heading);
}

.auth-link-button {
    border: 0;
    background: transparent;
    color: var(--primary);
    padding: 0;
    font: inherit;
    font-weight: 900;
    white-space: nowrap;
}

.auth-link-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

/* Responsive */

/* ==========================================================================
   Auth Responsive
========================================================================== */

@media (max-width: 991px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 40px 24px;
    }

    .auth-card {
        width: 100%;
        max-width: 520px;
    }

    .auth-mobile-brand {
        display: flex;
    }
}

@media (max-width: 767px) {
    .auth-form-panel {
        padding: 24px;
    }

    .auth-card {
        padding: 28px;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .auth-form-panel {
        padding: 16px;
    }

    .auth-card {
        padding: 24px;
        border-radius: 20px;
    }

    .auth-card-head h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .auth-stats {
        grid-template-columns: 1fr;
    }

    .auth-form-panel {
        padding: 24px;
    }

    .auth-card {
        padding: 28px;
        border-radius: 24px;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-countdown {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   Register Page
========================================================================== */

.register-page .auth-brand-panel {
    background: linear-gradient(190deg, var(--primary-dark), var(--primary));
}

.register-page .auth-card {
    max-width: 520px;
}

.register-trust {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.register-trust span {
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--heading);
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.register-trust iconify-icon {
    color: #16a34a;
}

.auth-legal-text {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.84rem;
}

.auth-legal-text a {
    color: var(--primary);
    font-weight: 800;
}

/* ==========================================================================
   Forgot Password Page
========================================================================== */

.auth-simple-layout {
    min-height: 100vh;
    padding: 40px 24px;
    background: var(--bg);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0;
}

.auth-simple-brand {
    color: var(--heading);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-simple-brand img {
    height: 46px;
    margin-bottom: 0;
}

.auth-simple-brand:hover {
    color: var(--heading);
}

.forgot-card {
    max-width: 480px;
}

.forgot-card .section-badge {
    margin-inline: auto;
    margin-bottom: 18px;
}

.forgot-card .auth-card-head h2 {
    font-size: clamp(1.7rem, 4vw, 2.1rem);
}

/* =========================
   Base Toast Container
========================= */
.iziToast-wrapper {
    gap: 5px;
}

.iziToast {
    box-shadow: 0 0 8px 2px #00000012;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px 45px 20px 0;
}

.iziToast::after {
    box-shadow: none !important;
    background: transparent !important; /* if needed */
}

/* Body layout */
.iziToast-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Text container */
.iziToast-texts {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Title */
.iziToast-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

/* Message */
.iziToast-message {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

/* =========================
   Icon (with subtle circle)
========================= */
.iziToast-icon {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;

    /* Circle */
    width: 26px;
    height: 26px;
    border-radius: 999px;
}

/* Close button */
.iziToast-close {
    opacity: 0.6;
    transition: all 0.2s ease;
}
.iziToast-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Remove progress bar */
.iziToast-progressbar {
    display: none !important;
}

/* =========================
   Color Variants
========================= */

/* ✅ SUCCESS */
.iziToast.iziToast-color-green {
    background: #eefcf5 !important;
    color: #065f46 !important;
    border-color: #86efac !important;
}

.iziToast.iziToast-color-green .iziToast-title {
    color: #064e3b;
}

.iziToast.iziToast-color-green .iziToast-message {
    color: #047857;
}

.iziToast.iziToast-color-green .iziToast-icon {
    color: #059669 !important;
}

/* ❌ ERROR */
.iziToast.iziToast-color-red {
    background: #fff5f5 !important;
    border-color: #fecaca !important;
    color: #7f1d1d !important;
}

.iziToast.iziToast-color-red .iziToast-title {
    color: #7f1d1d;
}

.iziToast.iziToast-color-red .iziToast-message {
    color: #991b1b;
}

.iziToast.iziToast-color-red .iziToast-icon {
    color: #dc2626 !important;
}

/* ⚠️ WARNING */
.iziToast.iziToast-color-yellow {
    background: #fbfaf5 !important;
    border-color: #fde68a !important;
    color: #713f12 !important;
}

.iziToast.iziToast-color-yellow .iziToast-title {
    color: #713f12;
}

.iziToast.iziToast-color-yellow .iziToast-message {
    color: #854d0e;
}

.iziToast.iziToast-color-yellow .iziToast-icon {
    color: #ca8a04 !important;
}

/* ℹ️ INFO */
.iziToast.iziToast-color-blue {
    background: #f2f6fb !important;
    border-color: #bfdbfe !important;
    color: #1e3a8a !important;
}

.iziToast.iziToast-color-blue .iziToast-title {
    color: #1e3a8a;
}

.iziToast.iziToast-color-blue .iziToast-message {
    color: #1d4ed8;
}

.iziToast.iziToast-color-blue .iziToast-icon {
    color: #2563eb !important;
}

/* =========================
   Animation
========================= */
.iziToast {
    animation: filamentSlideIn 0.25s ease;
}

@keyframes filamentSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* =========================
   Spacing for stacked toasts
========================= */
.iziToast-wrapper-topRight {
    top: 20px !important;
    right: 20px !important;
}

.iziToast-wrapper-topRight .iziToast {
    margin-bottom: 10px;
}

/* ==========================================================================
   Public Help Center And Documentation
========================================================================== */

.public-doc-shell {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(120, 124, 200, 0.25),
            transparent 60%
        ),
        linear-gradient(
            to right,
            rgba(120, 152, 255, 0.12),
            rgba(120, 152, 255, 0.12)
        ),
        linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size:
        100% 100%,
        100% 100%,
        40px 40px,
        40px 40px;
}

.public-doc-shell h1 {
    margin: 24px 0 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.public-doc-shell .lead {
    max-width: 620px;
    color: var(--subtext);
    font-size: 1.04rem;
}

.docs-search,
.help-search {
    width: min(560px, 100%);
    min-height: 64px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.docs-search iconify-icon,
.help-search iconify-icon {
    color: var(--subtext);
    font-size: 22px;
}

.docs-search input,
.help-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--heading);
    font-weight: 700;
}

.docs-search input::placeholder,
.help-search input::placeholder {
    color: var(--subtext);
}

.docs-search kbd,
.help-search kbd {
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg-soft);
    color: var(--subtext);
    font-size: 0.78rem;
}

.docs-panel {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
}

.docs-card,
.help-card,
.topic-card {
    min-height: 190px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--heading);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.docs-card:hover,
.help-card:hover,
.topic-card:hover,
.article-row:hover {
    color: var(--heading);
    border-color: color-mix(in srgb, var(--primary) 38%, var(--border));
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.docs-card strong,
.help-card strong,
.topic-card strong {
    line-height: 1.25;
}

.docs-card small,
.help-card small,
.topic-card small {
    color: var(--subtext);
    line-height: 1.6;
}

.docs-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: inline-grid;
    place-items: center;
    font-size: 24px;
}

.docs-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}
.docs-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}
.docs-icon.green {
    background: #dcfce7;
    color: #16a34a;
}
.docs-icon.orange {
    background: #ffedd5;
    color: #ea580c;
}
.docs-icon.pink {
    background: #fce7f3;
    color: #db2777;
}
.docs-icon.cyan {
    background: #ccfbf1;
    color: #0d9488;
}

.docs-link {
    color: var(--primary);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-list {
    display: grid;
    gap: 10px;
}

.article-row {
    padding: 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--heading);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
}

.article-row > span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
}

.article-row strong,
.article-row small {
    display: block;
}

.article-row small {
    color: var(--subtext);
}

.article-row em {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 900;
}

.support-cta {
    padding: 36px;
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
    border-radius: var(--radius-md);
    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(37, 99, 235, 0.15),
            transparent 30%
        ),
        var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.support-cta ul {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.support-cta li {
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-cta li iconify-icon {
    color: var(--primary);
}

.support-illustration {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #dbeafe, #ffffff);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 76px;
    box-shadow: var(--shadow-md);
}

.help-bottom-cta {
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.08),
        rgba(124, 58, 237, 0.06)
    );
}

.help-visual,
.docs-visual {
    position: relative;
    min-height: 390px;
}

.help-chat-orb {
    position: absolute;
    right: 18%;
    top: 44px;
    width: 190px;
    height: 150px;
    border-radius: 45% 45% 45% 12%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 82px;
    box-shadow: var(--shadow-lg);
}

.help-reply-card,
.help-popular-link,
.docs-code-card,
.docs-widget-card,
.docs-stat-card {
    position: absolute;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.help-reply-card {
    right: 2%;
    top: 34px;
    width: 190px;
    padding: 16px;
}

.help-reply-card strong,
.help-popular-link strong {
    color: var(--heading);
    font-size: 0.9rem;
}

.help-reply-card small {
    color: var(--subtext);
    font-weight: 800;
}

.help-reply-card small i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.help-avatars {
    margin: 12px 0 8px;
    display: flex;
}

.help-avatars span {
    width: 30px;
    height: 30px;
    margin-right: -7px;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    display: grid;
    place-items: center;
}

.help-popular-link {
    right: 0;
    bottom: 48px;
    width: 285px;
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.help-popular-link span {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #dbeafe;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.help-popular-link small {
    display: block;
    color: var(--subtext);
}

.docs-code-card {
    left: 5%;
    top: 82px;
    width: 260px;
    padding: 18px;
    display: grid;
    gap: 8px;
}

.docs-code-card span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
}

.docs-code-card code {
    color: var(--subtext);
    font-size: 0.82rem;
}

.docs-widget-card {
    right: 12%;
    top: 28px;
    width: 270px;
    padding: 18px;
}

.docs-widget-card div {
    padding: 18px;
    margin: -18px -18px 16px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.docs-widget-card div strong,
.docs-widget-card p {
    color: inherit;
}

.docs-widget-card button {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
}

.docs-widget-card a {
    width: 100%;
    margin: 12px 0;
    padding: 12px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    text-align: center;
    display: block;
}

.docs-widget-card small {
    color: var(--subtext);
    display: block;
    text-align: center;
}

.docs-stat-card {
    right: 0;
    bottom: 44px;
    width: 170px;
    padding: 18px;
}

.docs-stat-card small,
.docs-stat-card span {
    color: var(--subtext);
}

.docs-stat-card strong {
    display: block;
    color: var(--heading);
    font-size: 1.5rem;
}

.docs-stat-card span {
    color: #16a34a;
    font-weight: 900;
}

.docs-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 230px;
    gap: 34px;
    align-items: start;
}

.docs-sidebar,
.docs-toc {
    position: sticky;
    top: 110px;
}

.docs-sidebar {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 4px;
}

.docs-sidebar a {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.docs-sidebar a.active,
.docs-sidebar a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.docs-sidebar-help {
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    display: grid;
    gap: 10px;
}

.docs-sidebar-help small {
    color: var(--subtext);
}

.docs-content {
    min-width: 0;
}

.docs-content article {
    margin-bottom: 26px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 120px;
}

.docs-content article h2 {
    margin-bottom: 12px;
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    font-weight: 600;
}

.docs-content article > p {
    color: var(--subtext);
    font-size: 0.8rem;
}

.docs-breadcrumb {
    margin-bottom: 18px;
    color: var(--subtext);
    font-size: 0.86rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-step-list {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.doc-step-list > div {
    display: grid;
    grid-template-columns: 34px 48px 1fr;
    gap: 16px;
    align-items: center;
}

.doc-step-list span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--subtext);
    font-weight: 900;
    display: grid;
    place-items: center;
}

.doc-step-list i {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #dbeafe;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-style: normal;
}

.doc-step-list strong,
.doc-step-list small {
    display: block;
}

.doc-step-list small {
    color: var(--subtext);
}

.docs-tip {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--primary) 7%, var(--bg));
    display: flex;
    gap: 14px;
}

.docs-tip iconify-icon {
    color: var(--primary);
    font-size: 24px;
}

.docs-tip p {
    margin: 4px 0 0;
    color: var(--subtext);
}

.docs-code-block {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    background: #020617;
}

.docs-code-block button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 7px 10px;
    font-size: 0.78rem;
    font-weight: 900;
}

.docs-code-block pre {
    margin: 0;
    padding: 28px;
    overflow-x: auto;
}

.docs-code-block code {
    color: #bbf7d0;
}

.doc-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.doc-detail-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.doc-detail-card strong {
    display: block;
    color: var(--heading);
}

.doc-detail-card p {
    margin: 8px 0 0;
    color: var(--subtext);
}

.docs-status {
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 900;
    display: inline-flex;
}

.docs-toc {
    padding-left: 22px;
    border-left: 1px solid var(--border);
    display: grid;
    gap: 12px;
}

.docs-toc strong {
    color: var(--heading);
}

.docs-toc a {
    color: var(--subtext);
    font-size: 0.9rem;
    font-weight: 700;
}

.docs-toc-card,
.docs-conversion-card {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}

.docs-toc-card p,
.docs-conversion-card p {
    color: var(--subtext);
}

.docs-conversion-card {
    height: 100%;
    margin: 0;
}

.docs-conversion-card strong {
    color: var(--heading);
    font-size: 1.1rem;
}

.docs-conversion-card a {
    color: var(--primary);
    font-weight: 900;
}

.docs-conversion-card.blue {
    background: #eff6ff;
}
.docs-conversion-card.green {
    background: #f0fdf4;
}
.docs-conversion-card.orange {
    background: #fff7ed;
}

.help-faq .accordion-item {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
}

.help-faq .accordion-button {
    background: var(--bg);
    color: var(--heading);
    font-weight: 900;
}

.help-faq .accordion-button:not(.collapsed) {
    color: var(--primary);
    box-shadow: none;
}

.help-faq .accordion-body {
    color: var(--subtext);
}

.docs-empty-state {
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--subtext);
    font-weight: 800;
    text-align: center;
}

html.dark .docs-icon.blue,
html.dark .docs-icon.purple,
html.dark .docs-icon.green,
html.dark .docs-icon.orange,
html.dark .docs-icon.pink,
html.dark .docs-icon.cyan,
html.dark .docs-conversion-card.blue,
html.dark .docs-conversion-card.green,
html.dark .docs-conversion-card.orange,
html.dark .support-illustration {
    background: var(--bg-soft);
}

@media (max-width: 1199px) {
    .docs-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .docs-toc {
        display: none;
    }
}

@media (max-width: 991px) {
    .public-doc-shell {
        padding-top: 70px;
    }

    .help-visual,
    .docs-visual {
        min-height: 320px;
    }

    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .docs-sidebar-help {
        grid-column: 1 / -1;
    }

    .support-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .docs-panel,
    .docs-content article,
    .support-cta {
        padding: 22px;
    }

    .doc-detail-grid,
    .docs-sidebar {
        grid-template-columns: 1fr;
    }

    .article-row {
        grid-template-columns: auto 1fr;
    }

    .article-row em {
        grid-column: 2;
        width: fit-content;
    }

    .doc-step-list > div {
        grid-template-columns: 30px 42px 1fr;
        gap: 10px;
    }

    .help-reply-card,
    .docs-stat-card {
        display: none;
    }

    .help-chat-orb,
    .docs-widget-card {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .help-popular-link {
        left: 50%;
        right: auto;
        width: min(300px, 100%);
        transform: translateX(-50%);
    }

    .docs-code-card {
        left: 0;
        width: min(260px, 100%);
    }
}
